:root{
  --bg:#f4f1e8;
  --surface:#fffdf8;
  --surface-strong:#f8f3e8;
  --text:#1f2a22;
  --muted:#5f6c61;
  --brand:#2f7a4f;
  --brand-dark:#204f34;
  --brand-soft:#e6f2ea;
  --accent:#d9b66b;
  --border:rgba(31,42,34,0.12);
  --shadow:0 18px 45px rgba(28,44,34,0.12);
  --radius:22px;
  --max:1200px;
}

body[data-theme="dark"]{
  --bg:#102119;
  --surface:#162a21;
  --surface-strong:#1c3429;
  --text:#ecf2eb;
  --muted:#b9c8bc;
  --brand:#5fad7c;
  --brand-dark:#dcebdc;
  --brand-soft:#e9f7ee;
  --accent:#d9b66b;
  --border:rgba(220,235,220,0.14);
  --shadow:0 22px 48px rgba(0,0,0,0.28);
}

*{
  box-sizing:border-box;
  margin:0;
  padding:0;
}

html{
  scroll-behavior:smooth;
  scroll-padding-top:92px;
}

body{
  font-family:"Manrope",sans-serif;
  background:
    radial-gradient(circle at top left, rgba(217,182,107,0.24), transparent 28%),
    radial-gradient(circle at 85% 18%, rgba(47,122,79,0.12), transparent 22%),
    linear-gradient(180deg, #f7f4ec 0%, #eef3ee 54%, #f5f0e4 100%);
  color:var(--text);
  line-height:1.6;
  overflow-x:hidden;
  transition:background 0.25s ease, color 0.25s ease;
}

body.nav-open{
  overflow:hidden;
}

body[data-theme="dark"]{
  background:
    radial-gradient(circle at top left, rgba(217,182,107,0.14), transparent 24%),
    radial-gradient(circle at 85% 18%, rgba(95,173,124,0.12), transparent 20%),
    linear-gradient(180deg, #0d1a14 0%, #102119 56%, #0b1511 100%);
}

img{
  display:block;
  max-width:100%;
}

a{
  color:inherit;
}

button,
input,
textarea{
  font:inherit;
}

.skip-link{
  position:absolute;
  left:16px;
  top:-48px;
  background:var(--brand-dark);
  color:#fff;
  padding:10px 14px;
  border-radius:999px;
  z-index:2000;
  text-decoration:none;
}

.skip-link:focus{
  top:16px;
}

.site-header{
  position:sticky;
  top:0;
  z-index:1000;
  backdrop-filter:blur(16px);
  background:rgba(247,244,236,0.86);
  border-bottom:1px solid rgba(31,42,34,0.08);
}

body[data-theme="dark"] .site-header{
  background:rgba(13,26,20,0.82);
  border-bottom:1px solid rgba(220,235,220,0.08);
}

.nav-wrap{
  width:min(calc(100% - 32px), var(--max));
  margin:0 auto;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  padding:14px 0;
  position:relative;
}

.brand{
  display:flex;
  align-items:center;
  gap:12px;
  text-decoration:none;
}

.brand img{
  width:clamp(180px, 22vw, 320px);
  height:auto;
  max-height:72px;
  object-fit:contain;
  display:block;
}

body[data-theme="dark"] .brand img{
  filter:brightness(0.84) saturate(0.9);
}

.brand-text{
  display:none;
}

.nav-toggle{
  display:none;
  border:1px solid var(--border);
  background:var(--surface);
  border-radius:999px;
  padding:10px 14px;
  color:var(--text);
  cursor:pointer;
}

.theme-toggle{
  border:1px solid var(--border);
  background:var(--surface);
  border-radius:999px;
  padding:9px 12px;
  color:var(--text);
  cursor:pointer;
  font-weight:700;
  font-size:0.92rem;
}

.nav-links{
  display:flex;
  align-items:center;
  gap:16px;
}

.nav-backdrop{
  position:fixed;
  inset:0;
  background:rgba(8,16,12,0.42);
  opacity:0;
  pointer-events:none;
  transition:opacity 0.22s ease;
  z-index:999;
}

.nav-backdrop.open{
  opacity:1;
  pointer-events:auto;
}

.nav-links a{
  text-decoration:none;
  font-weight:700;
  font-size:0.95rem;
  color:var(--muted);
}

.nav-links a[aria-current="page"]{
  color:var(--brand-dark);
}

.nav-links a[aria-current="page"]:not(.nav-cta){
  text-decoration:underline;
  text-decoration-thickness:2px;
  text-underline-offset:8px;
}

.nav-links a:hover,
.nav-links a:focus-visible{
  color:var(--brand-dark);
}

body[data-theme="dark"] .nav-links a[aria-current="page"]{
  color:var(--brand-soft);
}

.theme-toggle:hover,
.theme-toggle:focus-visible{
  color:var(--brand-dark);
}

.nav-cta{
  padding:10px 18px;
  border-radius:999px;
  background:var(--brand);
  color:#fff !important;
  box-shadow:0 10px 25px rgba(47,122,79,0.25);
}

body[data-theme="dark"] .nav-cta{
  color:#102119 !important;
}

main section{
  width:min(calc(100% - 32px), var(--max));
  margin:0 auto;
  padding:88px 0;
}

[data-reveal]{
  opacity:1;
  transform:none;
}

@media (prefers-reduced-motion: no-preference){
  [data-reveal]{
    opacity:0;
    transform:translateY(28px);
    transition:opacity 0.65s ease, transform 0.65s ease;
  }

  [data-reveal].is-visible{
    opacity:1;
    transform:none;
  }
}

.hero{
  min-height:calc(100vh - 84px);
  display:grid;
  grid-template-columns:1.1fr 0.9fr;
  gap:40px;
  align-items:center;
  padding:56px 0 88px;
  position:relative;
}

.eyebrow{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding:8px 14px;
  border-radius:999px;
  background:rgba(47,122,79,0.1);
  color:var(--brand-dark);
  font-weight:800;
  letter-spacing:0.05em;
  text-transform:uppercase;
  font-size:0.76rem;
}

.hero h1,
.section-heading h2,
.contact-card h3{
  font-family:"Playfair Display",serif;
  line-height:1.05;
}

.hero h1{
  font-size:clamp(2.8rem, 6vw, 5rem);
  margin:22px 0 18px;
}

.hero p{
  font-size:1.08rem;
  max-width:58ch;
  color:var(--muted);
}

.hero-actions{
  display:flex;
  flex-wrap:wrap;
  gap:14px;
  margin:28px 0 34px;
}

.hero-service-list{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-bottom:26px;
}

.hero-service-list span{
  padding:9px 14px;
  border-radius:999px;
  background:rgba(255,255,255,0.72);
  border:1px solid rgba(31,42,34,0.08);
  font-size:0.92rem;
  font-weight:700;
  color:var(--brand-dark);
}

body[data-theme="dark"] .hero-service-list span{
  background:rgba(255,255,255,0.06);
  border:1px solid rgba(220,235,220,0.08);
}

.button{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:52px;
  padding:0 22px;
  border-radius:999px;
  text-decoration:none;
  font-weight:800;
  text-align:center;
  transition:transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.button:hover,
.button:focus-visible{
  transform:translateY(-2px);
}

.button-primary{
  background:var(--brand);
  color:#fff;
  box-shadow:0 14px 30px rgba(47,122,79,0.25);
}

.button-secondary{
  background:rgba(255,255,255,0.72);
  border:1px solid var(--border);
  box-shadow:0 10px 24px rgba(31,42,34,0.08);
}

body[data-theme="dark"] .button-secondary{
  background:rgba(255,255,255,0.06);
  color:var(--text);
}

.hero-points{
  list-style:none;
  display:grid;
  grid-template-columns:repeat(3, minmax(0, 1fr));
  gap:16px;
}

.hero-points li{
  padding:16px;
  border-radius:18px;
  background:rgba(255,255,255,0.7);
  border:1px solid rgba(31,42,34,0.08);
}

body[data-theme="dark"] .hero-points li{
  background:rgba(255,255,255,0.06);
  border:1px solid rgba(220,235,220,0.08);
}

.hero-points strong{
  display:block;
  font-size:1.45rem;
  color:var(--brand-dark);
}

.hero-visual{
  position:relative;
}

.hero-visual img{
  width:100%;
  min-height:520px;
  object-fit:cover;
  border-radius:32px;
  box-shadow:var(--shadow);
}

.hero-badge{
  position:absolute;
  right:-18px;
  bottom:28px;
  width:min(260px, 68%);
  padding:22px;
  border-radius:24px;
  background:rgba(255,253,248,0.92);
  border:1px solid rgba(31,42,34,0.08);
  box-shadow:var(--shadow);
}

body[data-theme="dark"] .hero-badge{
  background:rgba(18,38,29,0.9);
  border:1px solid rgba(220,235,220,0.08);
}

.hero-badge strong{
  display:block;
  font-size:1.9rem;
  color:var(--brand-dark);
}

.hero-detail{
  position:absolute;
  left:-18px;
  top:28px;
  width:min(250px, 62%);
  padding:20px 22px;
}

.hero-detail.panel{
  background:rgba(32,79,52,0.92);
  border:1px solid rgba(255,255,255,0.08);
  box-shadow:0 18px 40px rgba(20,41,28,0.28);
  color:#f7f4ec;
}

.hero-detail span{
  display:block;
  font-size:0.8rem;
  letter-spacing:0.08em;
  text-transform:uppercase;
  color:rgba(247,244,236,0.72);
  margin-bottom:8px;
}

.hero-detail p{
  color:#fff;
}

.section-heading{
  display:flex;
  justify-content:space-between;
  gap:24px;
  align-items:end;
  margin-bottom:34px;
}

.section-heading h2{
  font-size:clamp(2rem, 4vw, 3rem);
  margin-bottom:12px;
}

.section-heading p{
  max-width:58ch;
  color:var(--muted);
}

.about{
  display:grid;
  grid-template-columns:0.95fr 1.05fr;
  gap:28px;
  align-items:stretch;
}

.approach-section{
  position:relative;
}

.approach-grid{
  display:grid;
  grid-template-columns:1.05fr 0.95fr;
  gap:20px;
  margin-bottom:20px;
}

.philosophy-card,
.material-card{
  padding:32px;
}

.philosophy-card h3,
.material-card h3,
.process-step h3,
.review-card strong,
.closing-card h2{
  font-family:"Playfair Display",serif;
}

.philosophy-card h3,
.material-card h3{
  font-size:1.7rem;
  margin-bottom:12px;
}

.philosophy-card p,
.material-card p,
.process-step p,
.experience-copy p,
.experience-item p,
.closing-card p,
.review-card p{
  color:var(--muted);
}

.feature-list{
  list-style:none;
  display:grid;
  gap:14px;
  margin-top:22px;
}

.feature-list li{
  padding-left:18px;
  position:relative;
}

.feature-list li::before{
  content:"";
  position:absolute;
  left:0;
  top:11px;
  width:8px;
  height:8px;
  border-radius:50%;
  background:var(--brand);
}

.quality-grid{
  display:grid;
  grid-template-columns:repeat(2, minmax(0, 1fr));
  gap:16px;
  margin-top:22px;
}

.quality-grid div{
  padding:20px;
  border-radius:18px;
  background:#fff;
  border:1px solid rgba(31,42,34,0.08);
}

body[data-theme="dark"] .quality-grid div{
  background:rgba(255,255,255,0.04);
  border:1px solid rgba(220,235,220,0.08);
}

.quality-grid strong,
.experience-item strong{
  display:block;
  margin-bottom:6px;
  color:var(--brand-dark);
}

.process-strip{
  display:grid;
  grid-template-columns:repeat(4, minmax(0, 1fr));
  gap:18px;
  padding:26px;
  background:
    linear-gradient(135deg, rgba(255,253,248,0.92), rgba(244,241,232,0.92)),
    repeating-linear-gradient(90deg, rgba(47,122,79,0.05) 0 1px, transparent 1px 120px);
}

body[data-theme="dark"] .process-strip{
  background:
    linear-gradient(135deg, rgba(18,38,29,0.94), rgba(15,31,24,0.94)),
    repeating-linear-gradient(90deg, rgba(95,173,124,0.06) 0 1px, transparent 1px 120px);
}

.process-step{
  padding:16px 10px;
}

.process-step span{
  display:inline-flex;
  width:42px;
  height:42px;
  align-items:center;
  justify-content:center;
  border-radius:50%;
  background:rgba(47,122,79,0.12);
  color:var(--brand-dark);
  font-weight:800;
  margin-bottom:16px;
}

.process-step h3{
  font-size:1.35rem;
  margin-bottom:8px;
}

.panel{
  background:rgba(255,253,248,0.84);
  border:1px solid rgba(31,42,34,0.08);
  border-radius:var(--radius);
  box-shadow:var(--shadow);
}

body[data-theme="dark"] .panel{
  background:rgba(22,42,33,0.88);
  border:1px solid rgba(220,235,220,0.08);
}

.about-copy,
.about-list,
.contact-card,
.projects-note{
  padding:30px;
}

.about-list ul,
.service-panel ul{
  list-style:none;
  display:grid;
  gap:14px;
}

.about-list li,
.service-panel li{
  padding-left:18px;
  position:relative;
}

.about-list li::before,
.service-panel li::before{
  content:"";
  position:absolute;
  left:0;
  top:11px;
  width:8px;
  height:8px;
  border-radius:50%;
  background:var(--accent);
}

.stats{
  display:grid;
  grid-template-columns:repeat(4, minmax(0, 1fr));
  gap:18px;
  margin-top:26px;
}

.stat{
  padding:22px;
  border-radius:20px;
  background:#fff;
  border:1px solid rgba(31,42,34,0.08);
  text-align:center;
}

body[data-theme="dark"] .stat,
body[data-theme="dark"] .contact-item{
  background:rgba(255,255,255,0.04);
  border:1px solid rgba(220,235,220,0.08);
}

.stat strong{
  display:block;
  font-size:2rem;
  color:var(--brand-dark);
}

.services-grid{
  display:grid;
  grid-template-columns:repeat(2, minmax(0, 1fr));
  gap:18px;
}

.experience-band{
  width:min(calc(100% - 32px), var(--max));
  margin:0 auto;
  padding:8px 0 88px;
  display:grid;
  grid-template-columns:0.95fr 1.05fr;
  gap:22px;
  align-items:start;
}

.experience-copy h2,
.closing-card h2{
  font-family:"Playfair Display",serif;
  font-size:clamp(2rem, 4vw, 3.2rem);
  line-height:1.08;
  margin:14px 0 14px;
}

.experience-list{
  display:grid;
  grid-template-columns:repeat(3, minmax(0, 1fr));
  gap:16px;
}

.experience-item{
  padding:24px;
  height:100%;
}

.clients-section{
  position:relative;
}

.home-preview{
  padding-top:56px;
}

.preview-grid{
  display:grid;
  grid-template-columns:repeat(3, minmax(0, 1fr));
  gap:24px;
}

.preview-card{
  overflow:hidden;
  padding:0;
  height:100%;
}

.preview-card img{
  width:100%;
  height:240px;
  aspect-ratio:4/3;
  object-fit:cover;
  display:block;
}

.preview-copy{
  padding:24px;
}

.preview-copy h3{
  margin:10px 0 12px;
  font-size:1.35rem;
}

.preview-copy p{
  color:var(--muted);
  margin-bottom:18px;
}

.support-card,
.detail-card,
.contact-item{
  height:100%;
}

.client-grid{
  display:grid;
  grid-template-columns:repeat(3, minmax(0, 1fr));
  gap:18px;
}

.client-card{
  padding:24px;
  display:grid;
  gap:8px;
  align-content:start;
  background:
    linear-gradient(180deg, rgba(255,253,248,0.96), rgba(241,235,222,0.96));
}

body[data-theme="dark"] .client-card,
body[data-theme="dark"] .featured-copy,
body[data-theme="dark"] .review-card{
  background:linear-gradient(180deg, rgba(21,40,31,0.96), rgba(15,31,24,0.96));
}

.client-card strong{
  color:var(--brand-dark);
  font-size:1.02rem;
}

.client-card span{
  color:var(--muted);
}

.service-card{
  overflow:hidden;
}

.service-toggle{
  width:100%;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  border:none;
  background:linear-gradient(135deg, var(--brand-dark), var(--brand));
  color:#fff;
  padding:22px 24px;
  cursor:pointer;
  text-align:left;
}

.service-toggle span{
  font-size:1.08rem;
  font-weight:800;
}

.service-toggle small{
  display:block;
  margin-top:4px;
  color:rgba(255,255,255,0.76);
  font-weight:500;
}

.service-icon{
  flex-shrink:0;
  width:36px;
  height:36px;
  border-radius:50%;
  background:rgba(255,255,255,0.16);
  display:grid;
  place-items:center;
  font-size:1.4rem;
  transition:transform 0.2s ease;
}

.service-toggle[aria-expanded="true"] .service-icon{
  transform:rotate(45deg);
}

.service-panel{
  padding:0 24px;
  max-height:0;
  overflow:hidden;
  transition:max-height 0.3s ease, padding 0.3s ease;
  background:rgba(255,253,248,0.9);
}

body[data-theme="dark"] .service-panel{
  background:rgba(18,38,29,0.92);
}

.service-panel.open{
  padding:22px 24px 24px;
}

.projects{
  display:grid;
  grid-template-columns:1.1fr 0.9fr;
  gap:24px;
}

.projects-showcase{
  display:grid;
  gap:24px;
}

.featured-project{
  display:grid;
  grid-template-columns:1.2fr 0.8fr;
  overflow:hidden;
}

.featured-project img{
  width:100%;
  height:100%;
  min-height:360px;
  object-fit:cover;
}

.featured-copy{
  padding:32px;
  display:flex;
  flex-direction:column;
  justify-content:center;
  background:
    linear-gradient(180deg, rgba(255,253,248,0.96), rgba(244,241,232,0.96));
}

.featured-copy h3{
  font-family:"Playfair Display",serif;
  font-size:clamp(1.8rem, 3vw, 2.5rem);
  line-height:1.1;
  margin:16px 0 14px;
}

.featured-copy p{
  color:var(--muted);
  max-width:44ch;
}

.project-meta{
  font-size:0.9rem;
  color:var(--brand-dark) !important;
  margin-bottom:8px;
}

.project-meta strong{
  font-weight:800;
}

.project-grid{
  display:grid;
  grid-template-columns:repeat(3, minmax(0, 1fr));
  gap:18px;
}

.project-card{
  overflow:hidden;
  display:flex;
  flex-direction:column;
}

.project-card img{
  height:250px;
  width:100%;
  object-fit:cover;
}

.project-card div{
  padding:20px;
}

.project-card h3{
  margin-bottom:6px;
}

.project-card p,
.projects-note p,
.contact-card p{
  color:var(--muted);
}

.project-link{
  display:inline-flex;
  align-items:center;
  margin-top:14px;
  color:var(--brand-dark);
  font-weight:800;
  text-decoration:none;
}

.project-link:hover,
.project-link:focus-visible{
  color:var(--brand);
}

.contact-layout{
  display:grid;
  grid-template-columns:0.88fr 1.12fr;
  gap:24px;
}

.home-contact{
  padding-top:32px;
}

.home-contact-card{
  display:grid;
  grid-template-columns:1.15fr 0.85fr auto;
  gap:24px;
  align-items:center;
  padding:28px 32px;
}

.home-contact-card p{
  color:var(--muted);
}

.home-contact-meta{
  display:grid;
  gap:10px;
}

.home-contact-meta a,
.home-contact-meta span{
  color:var(--text);
  font-weight:600;
  text-decoration:none;
}

.home-contact-meta span{
  color:var(--muted);
  font-weight:700;
}

.review-grid{
  display:grid;
  grid-template-columns:repeat(3, minmax(0, 1fr));
  gap:18px;
}

.review-card{
  padding:28px;
  background:
    linear-gradient(180deg, rgba(255,253,248,0.96), rgba(246,240,228,0.96));
}

.review-card strong{
  display:block;
  font-size:1.15rem;
  margin-bottom:10px;
}

.closing-cta{
  padding-top:8px;
}

.closing-card{
  padding:44px;
  background:
    linear-gradient(135deg, rgba(32,79,52,0.94), rgba(47,122,79,0.88)),
    radial-gradient(circle at top right, rgba(217,182,107,0.35), transparent 30%);
  color:#fff;
  overflow:hidden;
}

.closing-card .eyebrow{
  background:rgba(255,255,255,0.12);
  color:#fff;
}

.closing-card p{
  color:rgba(255,255,255,0.82);
  max-width:62ch;
}

.closing-card .button-secondary{
  background:rgba(255,255,255,0.12);
  color:#fff;
  border-color:rgba(255,255,255,0.22);
}

.contact-stack{
  display:grid;
  gap:16px;
}

.contact-item{
  padding:22px;
  border-radius:20px;
  background:#fff;
  border:1px solid rgba(31,42,34,0.08);
}

.contact-item h4{
  margin-bottom:6px;
}

.contact-item a{
  color:var(--brand-dark);
  text-decoration:none;
  font-weight:700;
}

.contact-form{
  display:grid;
  gap:16px;
}

.review-card{
  padding:30px;
  background:
    linear-gradient(135deg, rgba(32,79,52,0.94), rgba(47,122,79,0.88)),
    radial-gradient(circle at top right, rgba(217,182,107,0.28), transparent 30%);
  color:#fff;
}

.review-card h3{
  color:#fff;
}

.review-card p,
.review-card .form-note,
.review-card .form-status,
.review-card .field label{
  color:rgba(255,255,255,0.86);
}

.review-card .field input,
.review-card .field textarea{
  background:rgba(255,255,255,0.12);
  border:1px solid rgba(255,255,255,0.2);
  color:#fff;
}

.review-card .field input::placeholder,
.review-card .field textarea::placeholder{
  color:rgba(255,255,255,0.7);
}

.review-actions{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:12px;
  margin:8px 0 4px;
}

.review-actions .button{
  width:100%;
}

.review-card .button-primary{
  background:#fff;
  color:var(--brand-dark);
  box-shadow:none;
}

body[data-theme="dark"] .review-card .button-primary{
  background:rgba(255,255,255,0.12);
  color:var(--brand-soft);
  border:1px solid rgba(220,235,220,0.12);
}

.review-card .button-secondary{
  background:rgba(255,255,255,0.12);
  color:#fff;
  border:1px solid rgba(255,255,255,0.24);
}

.contact-actions{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin:22px 0 8px;
}

.contact-actions .button{
  min-height:48px;
}

.contact-card form > .button-primary{
  margin-top:4px;
}

body[data-theme="dark"] .contact-card form > .button-primary{
  background:rgba(95,173,124,0.14);
  color:var(--brand-soft);
  border:1px solid rgba(220,235,220,0.12);
  box-shadow:none;
}

.contact-priority-list{
  list-style:none;
  display:grid;
  gap:12px;
  margin:20px 0 0;
}

.contact-priority-list li{
  padding:14px 16px 14px 36px;
  border-radius:18px;
  background:rgba(255,255,255,0.7);
  border:1px solid rgba(31,42,34,0.08);
  color:var(--muted);
  position:relative;
}

.contact-priority-list li::before{
  content:"";
  position:absolute;
  left:16px;
  top:21px;
  width:8px;
  height:8px;
  border-radius:50%;
  background:var(--accent);
}

body[data-theme="dark"] .contact-priority-list li{
  background:rgba(255,255,255,0.06);
  border:1px solid rgba(220,235,220,0.08);
}

.field{
  display:grid;
  gap:8px;
}

.field label{
  font-weight:800;
}

.field input,
.field textarea{
  width:100%;
  border:1px solid var(--border);
  border-radius:16px;
  background:#fff;
  padding:14px 16px;
  color:var(--text);
}

body[data-theme="dark"] .field input,
body[data-theme="dark"] .field textarea{
  background:rgba(255,255,255,0.04);
}

.field textarea{
  min-height:160px;
  resize:vertical;
}

.field input:focus-visible,
.field textarea:focus-visible,
.nav-toggle:focus-visible,
.theme-toggle:focus-visible,
.service-toggle:focus-visible,
.button:focus-visible,
.nav-links a:focus-visible{
  outline:3px solid rgba(217,182,107,0.55);
  outline-offset:3px;
}

.form-note,
.form-status{
  color:var(--muted);
  font-size:0.95rem;
}

.form-status{
  min-height:1.4em;
}

body[data-theme="dark"] .contact-card .form-note,
body[data-theme="dark"] .contact-card .form-status{
  color:rgba(220,235,220,0.72);
}

.map-frame{
  margin-top:24px;
  border-radius:24px;
  overflow:hidden;
  box-shadow:var(--shadow);
  border:1px solid rgba(31,42,34,0.08);
}

body[data-theme="dark"] .map-frame{
  border:1px solid rgba(220,235,220,0.08);
}

.map-frame iframe{
  width:100%;
  height:320px;
  border:0;
}

.whatsapp{
  position:fixed;
  right:18px;
  bottom:18px;
  min-height:58px;
  padding:0 18px;
  border-radius:999px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  background:linear-gradient(135deg, #1fb35f, #25d366);
  color:#fff;
  text-decoration:none;
  font-weight:800;
  box-shadow:0 18px 34px rgba(37,211,102,0.3);
  z-index:1002;
}

.whatsapp span{
  white-space:nowrap;
}

.site-footer{
  width:min(calc(100% - 32px), var(--max));
  margin:0 auto;
  padding:0 0 36px;
  color:var(--muted);
}

.footer-grid{
  display:grid;
  grid-template-columns:1.2fr 0.8fr 1fr 0.8fr;
  gap:24px;
  padding:36px 0 24px;
  border-top:1px solid rgba(31,42,34,0.1);
}

body[data-theme="dark"] .footer-grid{
  border-top:1px solid rgba(220,235,220,0.08);
}

.footer-grid strong{
  display:block;
  margin-bottom:12px;
  color:var(--brand-dark);
}

.footer-brand p{
  max-width:34ch;
}

.footer-pill{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  margin-top:10px;
  min-height:46px;
  padding:0 20px;
  border-radius:999px;
  border:1px solid rgba(47,122,79,0.16);
  background:linear-gradient(180deg, rgba(47,122,79,0.12), rgba(47,122,79,0.06));
  color:var(--brand-dark) !important;
  font-weight:800;
  line-height:1;
  box-shadow:0 10px 22px rgba(31,42,34,0.06);
  width:fit-content;
  margin-bottom:0;
}

.footer-grid .footer-pill{
  display:inline-flex;
}

body[data-theme="dark"] .footer-pill{
  border-color:rgba(220,235,220,0.12);
  background:linear-gradient(180deg, rgba(95,173,124,0.16), rgba(95,173,124,0.08));
}

.footer-grid a,
.footer-grid p{
  display:block;
  margin-bottom:8px;
  color:var(--muted);
  text-decoration:none;
}

.footer-grid a:hover,
.footer-grid a:focus-visible{
  color:var(--brand-dark);
}

.footer-note{
  text-align:center;
  padding-top:8px;
}

.page-shell{
  width:min(calc(100% - 32px), var(--max));
  margin:0 auto;
}

.page-hero{
  padding:62px 0 46px;
}

.breadcrumb{
  display:inline-flex;
  margin-bottom:18px;
  color:var(--muted);
  text-decoration:none;
  font-weight:700;
}

.page-hero-grid{
  display:grid;
  grid-template-columns:0.95fr 1.05fr;
  gap:28px;
  align-items:stretch;
}

.page-hero-copy,
.page-hero-visual,
.page-section-card{
  padding:30px;
}

.page-hero-copy h1,
.page-section-card h2,
.detail-card h3{
  font-family:"Playfair Display",serif;
}

.page-hero-copy h1{
  font-size:clamp(2.2rem, 5vw, 4rem);
  line-height:1.06;
  margin:16px 0 18px;
}

.page-meta{
  display:grid;
  gap:10px;
  margin:22px 0;
}

.page-meta span{
  color:var(--muted);
}

.page-meta strong{
  color:var(--text);
}

.page-hero-visual img{
  width:100%;
  height:100%;
  min-height:420px;
  object-fit:cover;
  border-radius:28px;
  box-shadow:var(--shadow);
}

.page-section{
  padding:0 0 72px;
}

.page-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:20px;
}

.detail-card{
  padding:28px;
}

.detail-card h3{
  font-size:1.5rem;
  margin-bottom:12px;
}

.detail-list{
  list-style:none;
  display:grid;
  gap:12px;
}

.detail-list li{
  padding-left:18px;
  position:relative;
}

.detail-list li::before{
  content:"";
  position:absolute;
  left:0;
  top:11px;
  width:8px;
  height:8px;
  border-radius:50%;
  background:var(--accent);
}

.support-grid{
  display:grid;
  grid-template-columns:repeat(3, minmax(0, 1fr));
  gap:18px;
}

.support-card{
  padding:28px;
}

.support-card h3,
.support-card strong,
.support-band-copy h2{
  font-family:"Playfair Display",serif;
}

.support-card h3,
.support-card strong{
  display:block;
  font-size:1.35rem;
  margin-bottom:10px;
}

.support-card p,
.support-band-copy p,
.support-stat p{
  color:var(--muted);
}

.support-band{
  display:grid;
  grid-template-columns:0.95fr 1.05fr;
  gap:20px;
  align-items:stretch;
}

.support-band-copy,
.support-band-stats{
  padding:30px;
}

.support-band-copy h2{
  font-size:clamp(1.9rem, 3vw, 2.8rem);
  line-height:1.08;
  margin:14px 0 14px;
}

.support-stat-grid{
  display:grid;
  grid-template-columns:repeat(2, minmax(0, 1fr));
  gap:16px;
}

.support-stat{
  padding:22px;
  border-radius:20px;
  background:#fff;
  border:1px solid rgba(31,42,34,0.08);
}

body[data-theme="dark"] .support-stat{
  background:rgba(255,255,255,0.04);
  border:1px solid rgba(220,235,220,0.08);
}

.support-stat strong{
  display:block;
  color:var(--brand-dark);
  font-size:1.8rem;
  margin-bottom:8px;
}

.support-list{
  list-style:none;
  display:grid;
  gap:14px;
}

.support-list li{
  padding-left:18px;
  position:relative;
  color:var(--muted);
}

.support-list li::before{
  content:"";
  position:absolute;
  left:0;
  top:11px;
  width:8px;
  height:8px;
  border-radius:50%;
  background:var(--brand);
}

.image-grid{
  display:grid;
  grid-template-columns:repeat(3, minmax(0, 1fr));
  gap:18px;
}

.image-grid figure{
  overflow:hidden;
}

.image-grid img{
  width:100%;
  height:260px;
  object-fit:cover;
}

.image-grid figcaption{
  padding:16px 18px 18px;
  color:var(--muted);
  font-size:0.95rem;
}

@media (max-width: 980px){
  .hero,
  .about,
  .preview-grid,
  .approach-grid,
  .experience-band,
  .footer-grid,
  .featured-project,
  .page-hero-grid,
  .page-grid,
  .support-band,
  .projects,
  .contact-layout,
  .home-contact-card{
    grid-template-columns:1fr;
  }

  .process-strip,
  .client-grid,
  .review-grid,
  .experience-list,
  .image-grid,
  .support-grid,
  .support-stat-grid,
  .services-grid,
  .stats{
    grid-template-columns:1fr 1fr;
  }

  .hero-visual{
    order:-1;
  }

  .hero-visual img{
    min-height:420px;
  }

  .home-contact-card{
    gap:20px;
  }

  .hero-detail{
    left:18px;
    top:18px;
  }
}

@media (max-width: 760px){
  .nav-wrap{
    flex-wrap:wrap;
  }

  .brand img{
    width:min(220px, calc(100vw - 140px));
    max-height:56px;
  }

  .nav-toggle{
    display:inline-flex;
  }

  .nav-links{
    position:absolute;
    top:calc(100% + 10px);
    right:0;
    width:min(320px, calc(100vw - 32px));
    display:flex;
    flex-direction:column;
    align-items:flex-start;
    gap:12px;
    padding:18px;
    background:rgba(255,253,248,0.98);
    border:1px solid rgba(31,42,34,0.08);
    border-radius:24px;
    box-shadow:0 24px 50px rgba(20,38,28,0.2);
    opacity:0;
    pointer-events:none;
    transform:translateY(-10px);
    transition:opacity 0.22s ease, transform 0.22s ease;
    z-index:1001;
  }

  .nav-links.open{
    opacity:1;
    pointer-events:auto;
    transform:translateY(0);
  }

  body[data-theme="dark"] .nav-links{
    background:rgba(18,38,29,0.98);
    border:1px solid rgba(220,235,220,0.08);
  }

  .theme-toggle{
    width:100%;
    text-align:center;
  }

  .hero{
    padding-top:26px;
  }

  main section{
    padding:68px 0;
  }

  .hero-points,
  .hero-service-list,
  .quality-grid,
  .process-strip,
  .client-grid,
  .review-grid,
  .experience-list,
  .contact-actions,
  .image-grid,
  .support-grid,
  .support-stat-grid,
  .services-grid,
  .stats{
    grid-template-columns:1fr;
  }

  .project-grid{
    grid-template-columns:1fr;
  }

  .hero-service-list{
    display:grid;
  }

  .contact-actions{
    display:grid;
  }

  .contact-actions .button,
  .hero-actions .button{
    width:100%;
  }

  .review-actions{
    grid-template-columns:1fr;
  }

  .section-heading{
    flex-direction:column;
    align-items:flex-start;
  }

  .hero-badge{
    position:static;
    width:100%;
    margin-top:18px;
  }

  .hero-detail{
    position:static;
    width:100%;
    margin-top:18px;
  }

  .closing-card{
    padding:30px;
  }

  .whatsapp{
    right:14px;
    bottom:14px;
    min-height:54px;
    padding:0 16px;
  }
}

@media (max-width: 560px){
  .nav-wrap{
    width:min(calc(100% - 24px), var(--max));
    padding:12px 0;
  }

  main section,
  .page-section{
    padding:56px 0;
  }

  .hero{
    gap:26px;
    min-height:auto;
  }

  .hero h1{
    font-size:clamp(2.35rem, 10vw, 3.4rem);
  }

  .hero-badge,
  .hero-detail,
  .page-hero-copy,
  .page-section-card,
  .contact-card,
  .review-card,
  .support-card,
  .detail-card,
  .portfolio-summary,
  .portfolio-notes,
  .portfolio-project{
    padding:24px;
  }

  .preview-copy,
  .experience-item,
  .contact-item{
    padding:20px;
  }

  .preview-card img,
  .image-grid img{
    height:220px;
  }

  .whatsapp{
    left:12px;
    right:12px;
    bottom:12px;
    justify-content:center;
  }
}
