/*
Theme Name:  Hadi Architecture
Theme URI:   https://hadidesignstudio.com
Author:      Hadi Interior Design Studio
Author URI:  https://hadidesignstudio.com
Description: A bespoke WordPress theme for Hadi Architecture — an interior design studio. Features homepage with hero, services carousel, testimonials, blog preview and CTA; dedicated Services, About, Blogs and Contact pages with working EmailJS form.
Version:     1.0.0
License:     GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: hadi-architecture
Tags:        interior-design, architecture, portfolio, custom-menu, featured-images, one-column, two-columns
*/

/* ============================================================
   HADI ARCHITECTURE — Global Stylesheet
   Sections:
     1. Reset & Variables
     2. Base
     3. Navbar + Mobile Nav
     4. Section Header
     5. Footer
     6. Homepage — Hero
     7. Homepage — About
     8. Homepage — Services Carousel
     9. Homepage — Blogs
    10. Homepage — Testimonials
    11. Homepage — CTA Banner
    12. Services Page
    13. Blogs Page
    14. About Page
    15. Contact Page
    16. WordPress — Gutenberg / WP Body Classes
    17. Responsive — Tablet (≤1100px)
    18. Responsive — Mobile (≤768px)
    19. Responsive — Small Mobile (≤480px)
============================================================ */

@font-face {
  font-family: 'Nocturne Serif';
  src: url('assets/fonts/NocturneSerifTest-Bold.otf') format('opentype');
  font-weight: 600 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Argentum Sans';
  src: url('assets/fonts/ArgentumSans-VF.ttf') format('truetype');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}


/* ── 1. Reset & Variables ───────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --primary:      #d2ab67;
  --black:        #303030;
  --b80:          rgba(48,48,48,0.8);
  --b60:          rgba(48,48,48,0.6);
  --green:        #074436;
  --green20:      rgba(7,68,54,0.2);
  --serif:        'Nocturne Serif', 'Cormorant Garamond', Georgia, serif;
  --sans:         'Argentum Sans', Arial, sans-serif;
  --form-bg:      #2a2a2a;
  --input-bg:     #3a3a3a;
  --input-border: rgba(255,255,255,0.15);
}


/* ── 2. Base ────────────────────────────────────────────── */
html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  color: var(--black);
  background: #fff;
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }

.page-wrap {
  max-width: 1440px;
  width: 100%;
  margin: 0 auto;
  background: #fff;
  /* overflow:hidden intentionally omitted — breaks position:sticky in Safari */
}

.dim { color: var(--b80); }


/* ── 3. Navbar + Mobile Nav ─────────────────────────────── */
.navbar {
  position: sticky; top: 0; z-index: 200;
  height: 80px;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(20px);
  display: flex; 
  align-items: center;
  padding: 0 80px; 
  gap: 52px;
  box-shadow: 0 1px 0 rgba(0,0,0,0.06);
}

.navbar .spacer { flex: 1; }
.nav-logo {display: flex; align-items: center; height: 100%; margin-left: 0; }
.nav-logo img { height: 44px; width: auto; flex-shrink: 0; }

.nav-links {
  display: flex; gap: 52px; list-style: none;
  font-size: 16px; flex-shrink: 0;
}
.nav-links a { transition: color .2s; }
.nav-links a:hover,
.nav-links a.active { color: var(--primary); }

.nav-cta {
  background: var(--primary); color: #fff;
  padding: 14px 32px; border-radius: 40px;
  font-size: 16px; transition: opacity .2s;
  flex-shrink: 0; white-space: nowrap;
}
.nav-cta:hover { opacity: .85; }

/* Hamburger */
.ham-btn {
  display: none;
  flex-direction: column; gap: 5px;
  cursor: pointer; padding: 4px;
  background: none; border: none;
}
.ham-btn span {
  display: block; width: 24px; height: 2px;
  background: var(--black); border-radius: 2px;
  transition: transform .3s, opacity .3s;
}
.ham-btn.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.ham-btn.open span:nth-child(2) { opacity: 0; }
.ham-btn.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile drawer */
.mobile-nav {
  display: none;
  position: fixed; top: 80px; left: 0; right: 0;
  background: #fff; z-index: 199;
  flex-direction: column;
  padding: 24px 24px 32px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
  border-top: 1px solid rgba(0,0,0,0.06);
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  font-size: 18px; font-weight: 500;
  padding: 16px 0;
  border-bottom: 1px solid rgba(0,0,0,0.06);
  transition: color .2s;
}
.mobile-nav a:last-child { border-bottom: none; }
.mobile-nav a:hover,
.mobile-nav a.active { color: var(--primary); }


/* ── 4. Section Header ──────────────────────────────────── */
.sec-head {
  display: flex; align-items: center; gap: 20px;
  margin-bottom: 40px;
}
.sec-head h2 {
  font-family: var(--serif);
  font-size: 32px; font-weight: 600; white-space: nowrap;
}
.sec-head .rule { flex: 1; height: 1px; background: var(--primary); }
.sec-head .star {
  font-size: 36px; color: var(--primary);
  line-height: 1; flex-shrink: 0;
}


/* ── 5. Footer ──────────────────────────────────────────── */
footer {
  background: var(--black); color: #fff;
  padding: 60px 80px;
  display: flex; flex-direction: column;
  gap: 90px; overflow: hidden;
}
.foot-top { display: flex; justify-content: space-between; align-items: flex-start; }
.foot-logo img { height: 68px; width: auto; }

.foot-nav {
  display: flex; flex-direction: column;
  gap: 16px; list-style: none;
  font-size: 40px; font-weight: 400; color: #fff;
  letter-spacing: 0.5px; text-transform: uppercase; line-height: 1;
}
.foot-nav a:hover { color: var(--primary); }

.foot-pills { display: flex; flex-direction: column; gap: 12px; align-items: flex-end; }
.foot-pill {
  border: 1px solid #fff; border-radius: 40px;
  padding: 12px 24px; font-size: 16px; color: #fff;
  white-space: nowrap; text-align: center;
  min-width: 180px;
  transition: background .2s, color .2s;
}
.foot-pill:hover { background: #fff; color: var(--black); }

.foot-bottom { display: flex; justify-content: space-between; align-items: flex-start; }
.foot-addr { font-weight: 300; font-size: 16px; line-height: 24px; width: 359px; }
.foot-copy { font-size: 14px; line-height: 24px; width: 257px; }


/* ── 6. Homepage — Hero ─────────────────────────────────── */
.hero {
  display: flex; align-items: center;
  padding: 0 80px; min-height: 766px; overflow: hidden;
}
.hero-left {
  display: flex; flex-direction: column;
  gap: 32px; width: 600px; flex-shrink: 0; padding: 60px 0;
}
.hero-h1 {
  font-family: var(--serif);
  font-size: 54px; font-weight: 600; line-height: 80px;
}
.hero-h1 .dim { color: var(--b80); }
.hero-sub { font-size: 18px; line-height: 1.65; width: 523px; }

.hero-btns { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.btn-fill {
  background: var(--primary); color: #fff;
  padding: 12px 24px; border-radius: 40px;
  font-size: 16px; transition: opacity .2s;
}
.btn-fill:hover { opacity: .85; }
.btn-plain { font-size: 16px; }
.btn-plain:hover { text-decoration: underline; }

.proof { display: flex; align-items: center; gap: 12px; }
.proof-avs { display: flex; width: 72px; height: 30px; position: relative; }
.proof-avs img {
  width: 30px; height: 30px; border-radius: 50%;
  border: 2px solid #fff; position: absolute; object-fit: cover;
}
.proof-avs img:nth-child(1) { left: 0; }
.proof-avs img:nth-child(2) { left: 24px; }
.proof-avs img:nth-child(3) { left: 42px; }
.proof-label { display: flex; align-items: center; gap: 6px; font-size: 14px; color: var(--b80); }
.proof-label img { width: 24px; height: 24px; }

.hero-right { flex: 1; height: 766px; position: relative; overflow: hidden; margin-left: 60px; }
.hero-right > img { width: 100%; height: 100%; object-fit: cover; }
.hero-stat {
  position: absolute; bottom: 12px; left: 12px;
  width: 302px; padding: 17px;
  background: rgba(255,255,255,0.1); backdrop-filter: blur(20px);
}
.hero-stat .num { font-size: 54px; color: #fff; line-height: 1; }
.hero-stat .lbl { font-size: 16px; color: #fff; margin-top: 4px; }


/* ── 7. Homepage — About ────────────────────────────────── */
.about { padding: 80px 80px 100px; }
.about-grid { display: grid; grid-template-columns: 434px 1fr; }
.about-right { padding: 10px 10px 10px 16px; }
.about-body-text { font-size: 24px; line-height: 36px; max-width: 729px; }
.about-body-text .dim { color: var(--b60); }

.about-imgs { display: flex; gap: 16px; margin-top: 40px; align-items: flex-start; }
.about-main { width: 387px; height: 595px; object-fit: cover; flex-shrink: 0; }
.about-side { display: flex; flex-direction: column; gap: 14px; }
.about-small { width: 387px; height: 330px; object-fit: cover; }

.btn-inside {
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--primary); border-radius: 40px;
  padding: 12px 24px; font-size: 16px; color: var(--primary);
  align-self: flex-start; transition: background .2s, color .2s;
}
.btn-inside:hover { background: var(--primary); color: #fff; }


/* ── 8. Homepage — Services Carousel ───────────────────── */
.services { padding: 80px 80px 100px; overflow: hidden; }
.svc-top { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 40px; }
.svc-heading { font-size: 32px; line-height: 1.3; width: 413px; }
.svc-heading .dim { color: var(--b80); }

.svc-arrows { display: flex; gap: 10px; }
.svc-arrow-btn {
  width: 54px; height: 54px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; font-size: 20px; border: none; background: none;
  transition: background .2s, color .2s;
}
.svc-arrow-btn.prev { border: 2px solid var(--primary); background: #fff; color: var(--primary); }
.svc-arrow-btn.prev:hover { background: var(--primary); color: #fff; }
.svc-arrow-btn.next { border: 2px solid var(--primary); background: #fff; color: var(--primary); }
.svc-arrow-btn.next:hover { background: var(--primary); color: #fff; }

.svc-wrap { overflow: hidden; }
.svc-track { display: flex; gap: 16px; transition: transform .45s ease; }
.svc-card { flex: 0 0 413px; display: flex; flex-direction: column; }
.svc-card .svc-img { width: 413px; object-fit: cover; transition: transform .35s; }
.svc-card:hover .svc-img { transform: scale(1.02); }
.svc-card.tall .svc-img { height: 619px; }
.svc-card.short .svc-img { height: 376px; }
.svc-card.short { padding-top: 247px; }
.svc-card-name { margin-top: 12px; font-size: 22px; text-align: center; }
.svc-card-desc { font-size: 14px; color: var(--b80); line-height: 1.5; display: none; }
.svc-card-btn { display: none; }

.svc-footer { text-align: right; margin-top: 28px; }
.svc-footer a { font-size: 16px; text-decoration: underline; text-underline-offset: 3px; }


/* ── 9. Homepage — Blogs ────────────────────────────────── */
.blogs { padding: 80px 80px 100px; }
.blogs-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.blog-card { display: flex; flex-direction: column; gap: 20px; }
.blog-card img { width: 100%; height: 419px; object-fit: cover; transition: transform .35s; }
.blog-card:hover img { transform: scale(1.02); }
.blog-card h3 {
  font-family: var(--serif);
  font-size: 28px; font-weight: 600; line-height: 42px;
}


/* ── 10. Homepage — Testimonials ────────────────────────── */
.testimonials { padding: 80px 80px 100px; }
.testi-wrap { display: flex; flex-direction: column; align-items: center; gap: 42px; }
.testi-badge {
  background: var(--green20); border: 1px solid var(--green);
  border-radius: 40px; padding: 12px 32px; font-size: 16px; color: var(--green);
}
.testi-viewport { width: 674px; overflow: hidden; }
.testi-track { display: flex; transition: transform .5s ease; }
.testi-slide { flex: 0 0 674px; }
.testi-quote { font-size: 32px; font-weight: 500; line-height: 42px; text-align: center; margin-bottom: 42px; }
.testi-author { display: flex; align-items: center; gap: 8px; justify-content: center; }
.testi-author img { width: 50px; height: 50px; border-radius: 50%; object-fit: cover; }
.t-name { font-size: 16px; }
.t-role { font-size: 14px; color: var(--b80); margin-top: 2px; }
.t-dots { display: flex; gap: 3px; align-items: center; }
.tdot { height: 12px; border-radius: 30px; cursor: pointer; transition: width .3s, background .3s; }
.tdot.on  { width: 50px; background: var(--green); }
.tdot.off { width: 29px; background: var(--green20); }


/* ── 11. Homepage — CTA Banner ──────────────────────────── */
.cta-section { padding: 0 80px 80px; }
.cta-banner { position: relative; height: 655px; overflow: hidden; }
.cta-banner > img { width: 100%; height: 100%; object-fit: cover; }
.cta-overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.25); }
.cta-text {
  position: absolute; bottom: 60px; left: 44px;
  font-size: 32px; color: #fff; line-height: 1.4; width: 614px;
}
.btn-schedule {
  position: absolute; bottom: 67px; right: 44px;
  background: #fff; border-radius: 40px;
  padding: 12px 24px; font-size: 16px; color: var(--black);
  transition: background .2s, color .2s;
}
.btn-schedule:hover { background: var(--black); color: #fff; }


/* ── 12. Services Page ──────────────────────────────────── */
.svc-page { padding: 90px 80px 0; }
.svc-page-hero-heading {
  font-family: var(--sans);
  font-size: 52px; font-weight: 600; line-height: 66px;
  color: var(--black); width: 906px; margin-bottom: 60px;
}
.svc-page-hero-heading .dim { color: var(--b80); }

.svc-row { display: flex; align-items: flex-end; margin-bottom: 90px; position: relative; }
.svc-row.odd  { justify-content: flex-start; }
.svc-row.even { justify-content: flex-start; padding-left: 285px; }
.svc-row-img { width: 433px; height: 658px; object-fit: cover; flex-shrink: 0; }
.svc-row-text { width: 562px; flex-shrink: 0; padding-top: 435px; }
.svc-row.even .svc-row-text { padding-top: 444px; }
.svc-row-title { font-size: 32px; font-weight: 600; padding: 4px 16px; line-height: 1.3; }
.svc-row-desc  { font-size: 24px; color: var(--b80); line-height: 1.45; width: 530px; padding: 4px 16px; margin-top: 8px; }
.svc-row-btn {
  display: inline-flex; align-items: center;
  border: 1px solid var(--black); border-radius: 40px;
  padding: 12px 24px; font-size: 16px;
  margin-top: 18px; margin-left: 16px;
  cursor: pointer; transition: background .2s, color .2s; white-space: nowrap;
}
.svc-row-btn:hover { background: var(--black); color: #fff; }

/* CTA split (services page) */
.cta-split { display: flex; margin: 0 80px 80px; height: 557px; }
.cta-split-left { width: 633px; height: 557px; flex-shrink: 0; overflow: hidden; }
.cta-split-left img { width: 100%; height: 100%; object-fit: cover; }
.cta-split-right { flex: 1; height: 557px; position: relative; overflow: hidden; }
.cta-split-right img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.cta-split-right-content {
  position: absolute; inset: 0;
  padding: 36px 30px;
  display: flex; flex-direction: column; justify-content: space-between;
}
.cta-split-title { font-size: 24px; font-weight: 600; color: var(--black); line-height: 1.3; padding: 0 16px; }
.cta-split-desc  { font-size: 18px; color: var(--b80); line-height: 1.5; padding: 0 16px; margin-top: 12px; }
.cta-split-bottom { display: flex; align-items: flex-end; justify-content: space-between; padding: 0 16px; }
.cta-split-tagline { font-size: 18px; color: var(--b80); line-height: 1.5; width: 303px; }
.btn-outline-dark {
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--black); border-radius: 40px;
  padding: 12px 24px; font-size: 16px; color: var(--black);
  white-space: nowrap; cursor: pointer; transition: background .2s, color .2s;
}
.btn-outline-dark:hover { background: var(--black); color: #fff; }


/* ── 13. Blogs Page ─────────────────────────────────────── */
.blogs-page { padding: 90px 80px 0; }

.blogs-hero { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 60px; }
.blogs-hero-left { display: flex; flex-direction: column; gap: 20px; max-width: 906px; }
.blogs-hero-heading { font-family: var(--sans); font-size: 52px; font-weight: 600; line-height: 66px; }
.blogs-hero-heading .dim { color: var(--b80); }
.blogs-hero-sub { font-size: 24px; line-height: 1.4; max-width: 567px; }

.filter-pill {
  display: inline-flex; align-items: center; gap: 10px;
  border: 0.8px solid var(--b80); border-radius: 40px;
  padding: 12px 24px; font-size: 16px; color: var(--b80);
  cursor: pointer; white-space: nowrap; flex-shrink: 0;
  align-self: flex-start; margin-top: 8px;
  transition: background .2s, color .2s;
}
.filter-pill:hover { background: var(--black); color: #fff; border-color: var(--black); }
.filter-pill svg { width: 24px; height: 24px; flex-shrink: 0; }

.blogs-page-grid { display: flex; flex-direction: column; gap: 60px; }
.blogs-row { display: flex; gap: 20px; }
.blog-card-full { display: flex; flex-direction: column; gap: 20px; flex: 1; cursor: pointer; overflow: hidden; }
.blog-card-img-wrap { width: 100%; height: 419px; background: #f4f4f4; overflow: hidden; }
.blog-card-img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.blog-card-full:hover .blog-card-img-wrap img { transform: scale(1.04); }
.blog-card-title {
  font-family: var(--serif);
  font-size: 28px; font-weight: 600; line-height: 42px;
  transition: color .2s;
}
.blog-card-full:hover .blog-card-title { color: var(--primary); }


/* ── 14. About Page ─────────────────────────────────────── */
.about-page { padding: 90px 80px 0; }

.about-hero { margin-bottom: 80px; }
.about-hero-heading { font-family: var(--sans); font-size: 52px; font-weight: 600; line-height: 66px; width: 620px; margin-bottom: 20px; }
.about-hero-heading .dim { color: var(--b80); }
.about-hero-sub { font-size: 18px; line-height: 28px; color: var(--b80); width: 523px; }

.about-split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; margin-bottom: 60px; }
.about-split-right { display: flex; flex-direction: column; gap: 20px; }
.about-split-right p { font-size: 18px; line-height: 28px; }

.about-img-grid { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 280px 380px; }
.about-img-grid img { width: 100%; height: 100%; object-fit: cover; }
.grid-img-tl { grid-column: 1; grid-row: 1; overflow: hidden; }
.grid-brand  { grid-column: 2; grid-row: 1; background: var(--primary); display: flex; align-items: center; justify-content: center; }
.grid-brand img { width: 742px; height: 258; }
.grid-empty  { grid-column: 1; grid-row: 2; }
.grid-img-br { grid-column: 2; grid-row: 2; overflow: hidden; }

.about-approach { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; margin-top: -380px; margin-bottom: 100px; position: relative; z-index: 2; }
.about-approach-left { background: #fff; }
.about-approach-heading { font-family: var(--sans); font-size: 52px; font-weight: 600; line-height: 66px; margin-bottom: 24px; }
.about-approach-heading .dim { color: var(--b80); }
.about-approach-left p { font-size: 18px; line-height: 28px; color: var(--b80); margin-bottom: 16px; }

.about-process { padding: 0 0 100px; display: flex; flex-direction: column; align-items: center; }
.process-badge {
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--black); border-radius: 40px;
  padding: 10px 24px; font-size: 14px; margin-bottom: 40px;
}
.process-steps { display: flex; flex-direction: column; width: 560px; }
.process-step { display: flex; align-items: flex-start; gap: 20px; padding: 20px 0; border-bottom: 1px solid rgba(48,48,48,0.12); }
.process-step:first-child { border-top: 1px solid rgba(48,48,48,0.12); }
.step-num { font-family: var(--serif); font-size: 18px; font-weight: 600; color: var(--primary); flex-shrink: 0; width: 32px; line-height: 28px; }
.step-text { font-size: 16px; line-height: 28px; }
.step-text strong { font-weight: 600; }

.about-portfolio { padding: 0 0 80px; }
.portfolio-heading { font-family: var(--sans); font-size: 52px; font-weight: 600; line-height: 66px; width: 906px; margin-bottom: 20px; }
.portfolio-heading .dim2 { color: var(--b80); }
.portfolio-sub  { font-size: 18px; line-height: 28px; color: var(--b80); width: 830px; margin-bottom: 14px; }
.portfolio-sub2 { font-size: 18px; line-height: 28px; color: var(--b80); width: 830px; margin-bottom: 48px; }
.portfolio-imgs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.portfolio-imgs img { width: 100%; height: 340px; object-fit: cover; }


/* ── 15. Contact Page ───────────────────────────────────── */
.contact-page { padding: 80px 80px 0; }
.contact-hero { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; margin-bottom: 100px; }
.contact-left { padding-top: 16px; }
.contact-heading { font-family: var(--serif); font-size: 52px; font-weight: 600; line-height: 64px; margin-bottom: 28px; }
.contact-heading .dim {color: var(--b80);}
.contact-sub { font-size: 18px; line-height: 28px; color: var(--b80); margin-bottom: 12px; }
.contact-sub strong { font-weight: 600; color: var(--black); }

.contact-form-card { background: var(--form-bg); border-radius: 16px; padding: 40px; display: flex; flex-direction: column; gap: 24px; }
.form-field { display: flex; flex-direction: column; gap: 8px; }
.form-field label { font-size: 14px; color: rgba(255,255,255,0.7); }
.form-field input,
.form-field select,
.form-field textarea {
  background: var(--b80); border: 1px solid var(--input-border);
  border-radius: 8px; padding: 16px 18px;
  font-size: 16px; font-family: var(--sans); color: #fff;
  width: 100%; outline: none; transition: border-color .2s;
  appearance: none; -webkit-appearance: none;
}
.form-field input::placeholder,
.form-field textarea::placeholder { color: rgba(255,255,255,0.3); }
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus { border-color: var(--primary); }
.form-field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M7 10L12 15L17 10' stroke='rgba(255,255,255,0.5)' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center;
  padding-right: 48px; cursor: pointer;
}
.form-field select option { background: var(--form-bg); color: #fff; }
.form-field textarea { height: 160px; resize: none; line-height: 1.6; }

.form-submit-row { display: flex; justify-content: flex-end; }
.btn-send {
  background: var(--primary); color: #fff; border: none;
  border-radius: 40px; padding: 14px 32px;
  font-size: 16px; font-family: var(--sans); font-weight: 500;
  cursor: pointer; transition: opacity .2s, transform .15s;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
}
.btn-send:hover { opacity: .85; transform: translateY(-1px); }
.btn-send:disabled { opacity: 0.7; cursor: not-allowed; transform: none; }

/* Spinner */
.btn-send-spinner {
  display: none; width: 16px; height: 16px;
  border: 2px solid rgba(255,255,255,0.35);
  border-top-color: #fff; border-radius: 50%;
  animation: spin .7s linear infinite;
}
.btn-send.loading .btn-send-spinner { display: block; }
.btn-send.loading .btn-send-label { opacity: 0.7; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Form feedback */
.form-error {
  font-size: 13px; color: #e07070;
  min-height: 18px; text-align: right; margin-top: -8px;
}
.form-success { display: none; text-align: center; padding: 40px 0; color: #fff; }
.form-success .tick { font-size: 48px; margin-bottom: 16px; }
.form-success h3 { font-size: 24px; font-weight: 600; margin-bottom: 8px; }
.form-success p { font-size: 16px; color: rgba(255,255,255,0.6); margin-bottom: 24px; }
.btn-send-again {
  background: transparent; color: rgba(255,255,255,0.7);
  border: 1px solid rgba(255,255,255,0.25); border-radius: 40px;
  padding: 10px 24px; font-size: 14px; font-family: var(--sans);
  cursor: pointer; transition: border-color .2s, color .2s;
}
.btn-send-again:hover { border-color: rgba(255,255,255,0.6); color: #fff; }

.contact-info { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; padding: 60px 0 80px; border-top: 1px solid rgba(48,48,48,0.1); }
.contact-info-label { font-family: var(--serif); font-size: 24px; font-weight: 600; }
.contact-info-details { display: flex; flex-direction: column; gap: 8px; }
.contact-info-details a { font-size: 32px; font-weight: 500; line-height: 1.3; transition: color .2s; }
.contact-info-details a:hover { color: var(--primary); }


/* ── 16. WordPress — body class overrides ───────────────── */
.wp-block-image img { max-width: 100%; height: auto; }
.alignwide { margin-left: auto; margin-right: auto; }
.alignfull { width: 100vw; max-width: 100vw; margin-left: calc(50% - 50vw); }
.screen-reader-text {
  clip: rect(1px,1px,1px,1px); position: absolute !important;
  height: 1px; width: 1px; overflow: hidden;
}


/* ── 17. Responsive — Tablet ≤1100px ───────────────────── */
@media (max-width: 1100px) {
  .navbar { padding: 0 40px; }
  .hero { padding: 0 40px; }
  .about, .services, .blogs, .testimonials { padding-left: 40px; padding-right: 40px; }
  .cta-section { padding-left: 40px; padding-right: 40px; }
  .svc-page, .blogs-page, .about-page, .contact-page { padding-left: 40px; padding-right: 40px; }
  footer { padding: 60px 40px; }
  .cta-split { margin: 0 40px 60px; }
  .svc-page-hero-heading { font-size: 36px; line-height: 48px; width: 100%; }
  .about-hero-heading, .about-approach-heading, .portfolio-heading { font-size: 38px; line-height: 52px; width: 100%; }
  .about-hero-sub, .portfolio-sub, .portfolio-sub2 { width: 100%; }
  .about-split { grid-template-columns: 1fr; }
  .about-approach { grid-template-columns: 1fr; margin-top: 32px; }
  .portfolio-imgs { grid-template-columns: 1fr 1fr; }
  .process-steps { width: 100%; }
  .contact-hero { grid-template-columns: 1fr; gap: 48px; margin-bottom: 60px; }
  .contact-info { grid-template-columns: 1fr; gap: 16px; }
  .contact-info-details a { font-size: 24px; }
  .blogs-hero { flex-direction: column; gap: 24px; }
  .blogs-hero-heading { font-size: 36px; line-height: 48px; }
  .foot-top { flex-direction: column; gap: 40px; }
  .foot-nav { font-size: 32px; }
  .foot-pills { align-items: flex-start; flex-direction: row; flex-wrap: wrap; gap: 8px; }
  .foot-pill { min-width: unset; }
  .foot-bottom { flex-direction: column; gap: 12px; }
  .foot-addr, .foot-copy { width: 100%; }
}


/* ── 18. Responsive — Mobile ≤768px ────────────────────── */
@media (max-width: 768px) {
  .navbar { padding: 0 20px; gap: 0; justify-content: space-between; height: 64px; }
  .nav-logo img { height: 40px; }
  .nav-links, .nav-cta { display: none; }
  .navbar .spacer { display: none; }
  .ham-btn { display: flex; }
  .mobile-nav { top: 64px; }
  .sec-head { margin-bottom: 24px; }
  .sec-head h2 { font-size: 20px; }
  .sec-head .rule { display: block; }
  .sec-head .star img { width: 28px; height: 28px; }
  .hero { flex-direction: column; padding: 24px 20px 0; min-height: auto; gap: 0; align-items: flex-start; }
  .hero-left { width: 100%; padding: 0 0 24px; gap: 20px; }
  .hero-h1 { font-size: 32px; line-height: 44px; }
  .hero-sub { font-size: 15px; line-height: 1.6; width: 100%; }
  .hero-btns { gap: 12px; }
  .btn-fill { padding: 10px 20px; font-size: 14px; }
  .proof { gap: 8px; }
  .proof-label { font-size: 12px; }
  .hero-right { width: calc(100% + 40px); margin-left: -20px; height: 260px; margin-right: -20px; }
  .hero-right > img { width: 100%; height: 100%; object-fit: cover; }
  .hero-stat { width: auto; bottom: 10px; left: 10px; padding: 12px 16px; }
  .hero-stat .num { font-size: 32px; }
  .hero-stat .lbl { font-size: 12px; }
  .about { padding: 40px 20px 48px; }
  .about-grid { grid-template-columns: 1fr; }
  .about-right { padding: 0; }
  .about-body-text { font-size: 15px; line-height: 24px; }
  .about-imgs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 24px; }
  .about-main { width: 100%; height: 160px; grid-column: 1; grid-row: 1; }
  .about-side { grid-column: 2; grid-row: 1; gap: 8px; }
  .about-small { width: 100%; height: 120px; }
  .btn-inside { font-size: 12px; padding: 8px 14px; margin-top: 4px; }
  .services { padding: 40px 20px 48px; }
  .svc-top { flex-direction: column; gap: 12px; align-items: flex-start; margin-bottom: 28px; }
  .svc-heading { width: 100%; font-size: 22px; line-height: 1.4; }
  .svc-arrows { display: none; }
  .svc-wrap { overflow: visible; }
  .svc-track { flex-direction: column; gap: 0; transform: none !important; transition: none; }
  .svc-card { flex: none; width: 100%; flex-direction: row; align-items: flex-start; gap: 12px; padding: 0 0 24px; border-bottom: 1px solid rgba(0,0,0,0.08); margin-bottom: 24px; }
  .svc-card.short { padding-top: 0; }
  .svc-card .svc-img { width: 40% !important; height: 140px !important; object-fit: cover; flex-shrink: 0; border-radius: 4px; }
  .svc-card-wrap { flex: 1; display: flex; flex-direction: column; gap: 8px; }
  .svc-card-name { font-size: 16px; font-weight: 600; text-align: left; margin-top: 0; }
  .svc-card-desc { display: block; }
  .svc-card-btn { display: inline-flex; align-items: center; border: 1px solid var(--black); border-radius: 40px; padding: 7px 14px; font-size: 12px; color: var(--black); align-self: flex-start; margin-top: 4px; transition: background .2s, color .2s; }
  .svc-card-btn:hover { background: var(--black); color: #fff; }
  .svc-footer { display: none; }
  .blogs { padding: 40px 20px 48px; }
  .blogs-grid { grid-template-columns: 1fr; gap: 32px; }
  .blog-card img { height: 200px; }
  .blog-card h3 { font-size: 18px; line-height: 26px; }
  .testimonials { padding: 40px 20px 48px; }
  .testi-viewport { width: 100%; }
  .testi-slide { flex: 0 0 100%; }
  .testi-quote { font-size: 18px; line-height: 28px; margin-bottom: 28px; }
  .testi-badge { font-size: 13px; padding: 8px 20px; }
  .cta-section { padding: 0; }
  .cta-banner { height: 280px; }
  .cta-text { font-size: 16px; width: 65%; bottom: 20px; left: 20px; line-height: 1.4; }
  .btn-schedule { font-size: 12px; padding: 8px 14px; bottom: 20px; right: 16px; }
  .svc-page { padding: 32px 20px 0; }
  .svc-page-hero-heading { font-size: 22px; line-height: 32px; width: 100%; margin-bottom: 28px; }
  .svc-row { flex-direction: row !important; align-items: flex-start; padding-left: 0 !important; margin-bottom: 24px; gap: 14px; border-bottom: 1px solid rgba(0,0,0,0.08); padding-bottom: 24px; }
  .svc-row-img { width: 42% !important; height: 160px !important; flex-shrink: 0; border-radius: 4px; }
  .svc-row-text { width: auto !important; flex: 1; padding-top: 0 !important; }
  .svc-row-title { font-size: 15px; font-weight: 600; padding: 0; line-height: 1.3; }
  .svc-row-desc  { font-size: 12px; line-height: 1.5; width: 100%; padding: 0; margin-top: 6px; }
  .svc-row-btn   { font-size: 11px; padding: 6px 12px; margin-top: 10px; margin-left: 0; }
  .cta-split { flex-direction: column; margin: 0; height: auto; }
  .cta-split-left { width: 100%; height: 220px; }
  .cta-split-right { width: 100%; height: 280px; flex: none; }
  .cta-split-title { font-size: 18px; }
  .cta-split-desc  { font-size: 13px; }
  .cta-split-bottom { flex-direction: column; gap: 12px; align-items: flex-start; }
  .cta-split-tagline { font-size: 13px; width: 100%; }
  .about-page { padding: 32px 20px 0; }
  .about-hero { margin-bottom: 32px; }
  .about-hero-heading { font-size: 26px; line-height: 36px; width: 100%; margin-bottom: 12px; }
  .about-hero-sub { font-size: 14px; line-height: 22px; width: 100%; }
  .about-split { grid-template-columns: 1fr; gap: 16px; margin-bottom: 32px; }
  .about-split-right p { font-size: 14px; line-height: 22px; }
  .about-img-grid { grid-template-columns: 1fr 1fr; grid-template-rows: 160px 220px; }
  .grid-brand img { width: 100px; }
  .grid-empty { display: none; }
  .grid-img-br { grid-column: 1 / span 2; grid-row: 2; }
  .about-approach { grid-template-columns: 1fr; margin-top: 24px; margin-bottom: 40px; gap: 0; }
  .about-approach-heading { font-size: 24px; line-height: 34px; margin-bottom: 16px; }
  .about-approach-left p { font-size: 14px; line-height: 22px; }
  .about-process { padding: 0 0 40px; align-items: flex-start; }
  .process-badge { font-size: 12px; padding: 8px 16px; margin-bottom: 24px; }
  .process-steps { width: 100%; }
  .process-step { padding: 14px 0; gap: 14px; }
  .step-num { font-size: 15px; width: 24px; }
  .step-text { font-size: 13px; line-height: 20px; }
  .about-portfolio { padding: 0 0 40px; }
  .portfolio-heading { font-size: 24px; line-height: 34px; width: 100%; margin-bottom: 12px; }
  .portfolio-sub, .portfolio-sub2 { font-size: 14px; line-height: 22px; width: 100%; margin-bottom: 8px; }
  .portfolio-sub2 { margin-bottom: 24px; }
  .portfolio-imgs { grid-template-columns: 1fr; gap: 10px; }
  .portfolio-imgs img { height: 200px; }
  .blogs-page { padding: 32px 20px 0; }
  .blogs-hero { flex-direction: row; flex-wrap: wrap; align-items: flex-start; gap: 0; margin-bottom: 28px; justify-content: space-between; }
  .blogs-hero-left { max-width: calc(100% - 90px); gap: 8px; }
  .blogs-hero-heading { font-size: 26px; line-height: 34px; }
  .blogs-hero-sub { font-size: 13px; line-height: 20px; max-width: 100%; }
  .filter-pill { font-size: 12px; padding: 8px 14px; margin-top: 0; gap: 4px; align-self: flex-start; }
  .filter-pill svg { width: 16px; height: 16px; }
  .blogs-page-grid { gap: 32px; }
  .blogs-row { flex-direction: column; gap: 32px; }
  .blog-card-img-wrap { height: 200px; }
  .blog-card-title { font-size: 17px; line-height: 26px; }
  .contact-page { padding: 32px 20px 0; }
  .contact-hero { grid-template-columns: 1fr; gap: 32px; margin-bottom: 40px; }
  .contact-heading { font-size: 28px; line-height: 38px; margin-bottom: 16px; }
  .contact-sub { font-size: 14px; line-height: 22px; margin-bottom: 8px; }
  .contact-form-card { padding: 24px 16px; border-radius: 12px; gap: 20px; }
  .form-field label { font-size: 13px; }
  .form-field input, .form-field select, .form-field textarea { padding: 13px 14px; font-size: 14px; border-radius: 6px; }
  .form-field textarea { height: 120px; }
  .btn-send { padding: 12px 24px; font-size: 14px; }
  .contact-info { grid-template-columns: 1fr; gap: 12px; padding: 32px 0 40px; }
  .contact-info-label { font-size: 18px; }
  .contact-info-details a { font-size: 20px; }
  footer { padding: 40px 20px 32px; gap: 40px; }
  .foot-top { flex-direction: column; gap: 32px; }
  .foot-logo img { height: 52px; }
  .foot-nav { font-size: 36px; gap: 12px; }
  .foot-pills { align-items: flex-start; gap: 10px; }
  .foot-pill { min-width: unset; font-size: 13px; padding: 9px 18px; }
  .foot-bottom { flex-direction: column; gap: 16px; }
  .foot-addr, .foot-copy { width: 100%; font-size: 13px; }
}


/* ── 19. Responsive — Small Mobile ≤480px ──────────────── */
@media (max-width: 480px) {
  .hero-h1 { font-size: 28px; line-height: 38px; }
  .hero-right { height: 220px; }
  .svc-row-img { height: 130px !important; }
  .about-hero-heading { font-size: 22px; line-height: 30px; }
  .about-approach-heading { font-size: 20px; line-height: 28px; }
  .portfolio-heading { font-size: 20px; line-height: 28px; }
  .blogs-hero-heading { font-size: 22px; line-height: 30px; }
  .contact-heading { font-size: 24px; line-height: 32px; }
  .foot-nav { font-size: 28px; }
}

.custom-logo,
.nav-logo .custom-logo-link img {
  height: 40px !important;
  width: auto !important;
  aspect-ratio: unset !important;
}