/* ═══════════════════════════════════════════════════════════
   ALBAKOS CONSTRUCTION, Homepage Demo
   Design system: deep forest green / near-black / muted gold
   ═══════════════════════════════════════════════════════════ */

/* ---------- Font (self-hosted, no external requests) ---------- */
@font-face {
  font-family: "Manrope";
  src: url("../fonts/manrope-var.woff2") format("woff2");
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  --green: #082F28;          /* primary deep forest green */
  --green-2: #0C3A31;        /* card green (lighter than section) */
  --green-3: #0A342C;        /* section green alt */
  --black: #111111;          /* near-black sections */
  --charcoal: #1A1A1A;       /* cards on black */
  --gold: #C49A4A;           /* muted gold accent */
  --gold-soft: #D3B478;      /* lighter gold for text on dark */
  --offwhite: #F7F7F5;       /* light sections */
  --white: #FFFFFF;
  --ink: #16181A;            /* headings on light */
  --body: #4A4F52;           /* body text on light */
  --body-dark: rgba(255,255,255,.72); /* body text on dark */
  --line: #E6E6E1;           /* borders on light */
  --line-dark: rgba(255,255,255,.09); /* borders on dark */

  --font: "Manrope", "Segoe UI", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  --container: 1240px;
  --radius: 16px;
  --radius-sm: 12px;
  --shadow-card: 0 8px 28px rgba(8, 47, 40, .07);
  --ease: cubic-bezier(.22, .61, .21, 1);
  --header-h: 76px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); }

body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  color: var(--body);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; background: none; border: none; color: inherit; }
input, textarea { font-family: inherit; font-size: 15px; }
iframe { border: 0; }

::selection { background: var(--gold); color: var(--green); }

.container { max-width: var(--container); margin: 0 auto; padding: 0 28px; }
.container.narrow { max-width: 880px; }
.container.center { text-align: center; }

/* ---------- Typography ---------- */
h1, h2, h3 { color: var(--ink); font-weight: 800; letter-spacing: -.02em; line-height: 1.14; }

.section-title { font-size: clamp(30px, 3.6vw, 44px); }
.section-title.light { color: var(--white); }

.section-lead { margin-top: 16px; font-size: 17px; max-width: 620px; }
.section-lead.light-dim { color: var(--body-dark); }
.section-head { margin-bottom: 56px; }
.section-head.center { text-align: center; }
.section-head.center .section-lead { margin-left: auto; margin-right: auto; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}

/* ---------- Sections ---------- */
.section { padding: clamp(84px, 9vw, 122px) 0; }
.section-green { background: var(--green); }
.section-dark { background: var(--black); }
.section-light { background: var(--white); }
.section-offwhite { background: var(--offwhite); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 30px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .01em;
  line-height: 1;
  transition: all .28s var(--ease);
  border: 1.5px solid transparent;
}
.btn-lg { padding: 17px 36px; font-size: 16px; }
.btn-gold { background: var(--gold); color: #1D1608; }
.btn-gold:hover { background: #D3AE62; transform: translateY(-2px); box-shadow: 0 10px 26px rgba(196,154,74,.32); }
.btn-gold .btn-arrow { display: inline-block; transition: transform .28s var(--ease); }
.btn-gold:hover .btn-arrow { transform: translateX(5px); }
.btn-ghost { color: var(--white); border-color: rgba(255,255,255,.45); }
.btn-ghost:hover { border-color: var(--white); background: rgba(255,255,255,.07); transform: translateY(-2px); }
.btn-outline-gold { color: var(--gold-soft); border-color: rgba(196,154,74,.65); padding: 11px 24px; font-size: 14px; }
.btn-outline-gold:hover { background: var(--gold); border-color: var(--gold); color: #1D1608; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: var(--green);
  border-bottom: 1px solid rgba(196,154,74,.16);
}
.header-inner { display: flex; align-items: center; height: 100%; gap: 32px; }

.brand { display: flex; flex-direction: column; line-height: 1.12; flex-shrink: 0; }
.brand-name { color: var(--white); font-size: 21px; font-weight: 800; letter-spacing: .04em; }
.brand-sub { color: var(--gold); font-size: 9.5px; font-weight: 700; letter-spacing: .42em; text-transform: uppercase; }
.brand-logo { width: 46px; height: 46px; border-radius: 10px; display: block; }
.brand-logo-footer { width: 64px; height: 64px; border-radius: 14px; margin-bottom: 14px; }
@media (max-width: 640px) { .brand-logo { width: 40px; height: 40px; border-radius: 9px; } }

.main-nav { margin-left: auto; }
.main-nav ul { display: flex; align-items: center; gap: 26px; }
.nav-link { color: rgba(255,255,255,.85); font-size: 14px; font-weight: 600; transition: color .2s; position: relative; padding: 6px 0; }
.nav-link::after { content: ""; position: absolute; left: 0; bottom: 0; width: 0; height: 2px; background: var(--gold); transition: width .25s var(--ease); }
.nav-link:hover, .nav-link.active { color: var(--white); }
.nav-link:hover::after, .nav-link.active::after { width: 100%; }

.header-cta { flex-shrink: 0; }

.hamburger { display: none; flex-direction: column; gap: 5px; padding: 8px; margin-left: auto; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--white); transition: all .3s var(--ease); }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-cta-mobile { display: none; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: calc(100vh - var(--header-h)); display: flex; align-items: center; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center 30%; }
.hero-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(100deg, rgba(8,47,40,.94) 0%, rgba(8,47,40,.78) 42%, rgba(17,17,17,.42) 100%),
    linear-gradient(to top, rgba(8,47,40,.55) 0%, rgba(8,47,40,0) 40%);
}
.hero-content { position: relative; z-index: 2; padding-top: 70px; padding-bottom: 90px; max-width: 860px; }
.eyebrow-hero { color: var(--gold-soft); font-size: 13px; }
.hero-title { color: var(--white); font-size: clamp(40px, 5.2vw, 64px); max-width: 760px; margin-top: 4px; }
.hero-text { color: rgba(255,255,255,.82); font-size: clamp(16px, 1.4vw, 18.5px); max-width: 640px; margin-top: 22px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 38px; }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; align-items: center; }
.about-media { position: relative; }
.about-media img { width: 100%; height: 560px; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow-card); }
.about-badge {
  position: absolute; right: -18px; bottom: 34px;
  background: var(--green); color: var(--white);
  border-radius: var(--radius-sm); padding: 22px 26px;
  display: flex; align-items: center; gap: 14px;
  box-shadow: 0 16px 40px rgba(8,47,40,.28);
}
.about-badge-num { font-size: 42px; font-weight: 800; color: var(--gold-soft); line-height: 1; }
.about-badge-label { font-size: 13px; font-weight: 600; color: rgba(255,255,255,.85); line-height: 1.35; }

/* ---------- Language switch ---------- */
.header-actions { display: flex; align-items: center; gap: 12px; }
.language-switch { display: inline-flex; align-items: center; border: 1px solid rgba(255,255,255,.36); border-radius: 999px; padding: 3px; }
.language-switch button { appearance: none; border: 0; background: transparent; color: var(--white); padding: 5px 7px; border-radius: 999px; font: 700 11px/1 var(--font-body); cursor: pointer; letter-spacing: .04em; }
.language-switch button.active { background: var(--gold); color: var(--green-deep); }
.language-switch button:focus-visible { outline: 2px solid var(--gold-soft); outline-offset: 2px; }

.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 36px; }
.feature-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 18px 16px;
  display: flex; flex-direction: column; gap: 10px;
  transition: border-color .25s, transform .25s var(--ease), box-shadow .25s;
}
.feature-card:hover { border-color: rgba(196,154,74,.55); transform: translateY(-3px); box-shadow: var(--shadow-card); }
.feature-card svg { width: 22px; height: 22px; stroke: var(--gold); }
.feature-card span { font-size: 13.5px; font-weight: 700; color: var(--ink); line-height: 1.3; }

/* ---------- Services ---------- */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.service-card {
  background: var(--green-2);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  padding: 34px 30px;
  transition: transform .3s var(--ease), border-color .3s, background .3s;
}
.service-card:hover { transform: translateY(-4px); border-color: rgba(196,154,74,.4); background: #0E4036; }
.service-icon {
  width: 52px; height: 52px; border-radius: 14px;
  background: rgba(196,154,74,.13);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 22px;
}
.service-icon svg { width: 26px; height: 26px; stroke: var(--gold); }
.service-card h3 { color: var(--white); font-size: 19px; font-weight: 700; letter-spacing: -.01em; margin-bottom: 10px; }
.service-card p { color: var(--body-dark); font-size: 14.5px; }

/* ---------- Stats ---------- */
.stats-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-bottom: 64px; }
.stat {
  text-align: center;
  background: var(--charcoal);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: var(--radius);
  padding: 38px 20px 32px;
}
.stat-num { font-size: clamp(40px, 4.4vw, 56px); font-weight: 800; color: var(--gold-soft); line-height: 1; letter-spacing: -.02em; }
.stat-label { display: block; margin-top: 12px; font-size: 12.5px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: rgba(255,255,255,.6); }

.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.trust-item {
  display: flex; align-items: center; gap: 12px;
  background: var(--charcoal);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: var(--radius-sm);
  padding: 16px 18px;
  font-size: 14.5px; font-weight: 600; color: rgba(255,255,255,.85);
  transition: border-color .25s;
}
.trust-item:hover { border-color: rgba(196,154,74,.35); }
.trust-item svg { width: 18px; height: 18px; flex-shrink: 0; stroke: var(--gold); }

.placeholder-note { text-align: center; margin-top: 28px; font-size: 12.5px; color: rgba(255,255,255,.38); font-style: italic; }

/* ---------- Projects ---------- */
.projects-top { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; flex-wrap: wrap; margin-bottom: 34px; }
.projects-top .section-title { margin-top: 0; }
.projects-search {
  display: flex; align-items: center; gap: 10px;
  background: var(--white); border: 1px solid var(--line);
  border-radius: 999px; padding: 12px 20px; min-width: 260px;
  transition: border-color .25s, box-shadow .25s;
}
.projects-search:focus-within { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(196,154,74,.14); }
.projects-search svg { width: 17px; height: 17px; stroke: #9A9C98; flex-shrink: 0; }
.projects-search input { border: 0; outline: none; background: transparent; width: 100%; color: var(--ink); font-size: 14.5px; }
.projects-search input::placeholder { color: #A6A8A4; }

.filter-pills { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 40px; }
.filter-pills.wrap { margin-bottom: 36px; }
.pill {
  padding: 9px 20px; border-radius: 999px;
  font-size: 13.5px; font-weight: 700;
  background: var(--white); color: #3C4043;
  border: 1px solid var(--line);
  transition: all .22s var(--ease);
}
.pill:hover { border-color: var(--gold); color: var(--ink); }
.pill.active { background: var(--ink); color: var(--white); border-color: var(--ink); }

.projects-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; }
.project-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .3s var(--ease), box-shadow .3s;
}
.project-card:hover { transform: translateY(-5px); box-shadow: 0 18px 44px rgba(8,47,40,.12); }
.project-media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.project-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s var(--ease); }
.project-card:hover .project-media img { transform: scale(1.045); }
.project-badge {
  position: absolute; top: 16px; left: 16px;
  background: var(--gold); color: #1D1608;
  font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase;
  padding: 7px 14px; border-radius: 999px;
}
.project-body { padding: 26px 28px 30px; }
.project-body h3 { font-size: 22px; margin-bottom: 8px; }
.project-loc { display: flex; align-items: center; gap: 6px; font-size: 13.5px; font-weight: 600; color: var(--gold); margin-bottom: 10px; }
.project-loc svg { width: 15px; height: 15px; stroke: var(--gold); }
.project-body p { font-size: 14.5px; }

.empty-state { text-align: center; padding: 48px 0 10px; color: #8A8D88; font-size: 15.5px; }

/* ---------- Gallery ---------- */
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.gallery-item { position: relative; border-radius: 14px; overflow: hidden; aspect-ratio: 3 / 2; background: #ECECE7; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s var(--ease); }
.gallery-item:hover img { transform: scale(1.05); }
.gallery-lightbox-trigger { display: block; width: 100%; height: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
.gallery-cap {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 34px 16px 12px;
  background: linear-gradient(to top, rgba(8,47,40,.78), rgba(8,47,40,0));
  color: var(--white); font-size: 13px; font-weight: 700;
  opacity: 0; transform: translateY(6px);
  transition: opacity .3s, transform .3s var(--ease);
}
.gallery-item:hover .gallery-cap { opacity: 1; transform: none; }

.image-lightbox { position: fixed; inset: 0; z-index: 1000; display: flex; align-items: center; justify-content: center; padding: 28px; background: rgba(4, 14, 12, .94); }
.image-lightbox[hidden] { display: none; }
.lightbox-image { display: block; max-width: min(1200px, 100%); max-height: calc(100vh - 56px); width: auto; height: auto; object-fit: contain; border-radius: 8px; box-shadow: 0 24px 70px rgba(0,0,0,.45); }
.lightbox-close { position: fixed; top: 18px; right: 22px; width: 44px; height: 44px; border: 1px solid rgba(255,255,255,.45); border-radius: 50%; background: rgba(0,0,0,.3); color: var(--white); font-size: 32px; line-height: 1; cursor: pointer; }
.lightbox-close:hover { border-color: var(--gold); color: var(--gold-soft); }
body.lightbox-open { overflow: hidden; }

/* ---------- Testimonials ---------- */
.testimonial { text-align: center; position: relative; }
.quote-mark {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 96px; line-height: .6;
  color: rgba(196,154,74,.4);
  margin-bottom: 26px;
}
.testimonial-slides { position: relative; min-height: 190px; overflow: hidden; }
.t-slide {
  position: absolute; inset: 0;
  opacity: 0; transform: translateX(26px);
  transition: opacity .5s var(--ease), transform .5s var(--ease);
  pointer-events: none;
  display: flex; flex-direction: column; align-items: center; justify-content: flex-start;
}
.t-slide.active { opacity: 1; transform: none; pointer-events: auto; position: relative; }
.t-text { font-size: clamp(20px, 2.4vw, 27px); font-weight: 600; color: var(--white); line-height: 1.5; letter-spacing: -.01em; max-width: 760px; margin: 0 auto; }
.t-name { margin-top: 26px; font-size: 16px; font-weight: 800; color: var(--gold-soft); }
.t-role { font-size: 13.5px; color: var(--body-dark); margin-top: 2px; }

.testimonial-controls { display: flex; align-items: center; justify-content: center; gap: 22px; margin-top: 40px; }
.t-arrow {
  width: 46px; height: 46px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.28);
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  transition: all .25s var(--ease);
}
.t-arrow svg { width: 18px; height: 18px; }
.t-arrow:hover { border-color: var(--gold); color: var(--gold); transform: translateY(-2px); }
.t-dots { display: flex; align-items: center; gap: 8px; }
.t-dot { width: 8px; height: 8px; border-radius: 999px; background: rgba(255,255,255,.32); transition: all .3s var(--ease); padding: 0; }
.t-dot.active { width: 28px; background: var(--gold); }

/* ---------- Blog ---------- */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.blog-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 30px 26px;
  display: flex; flex-direction: column; gap: 10px;
  transition: transform .3s var(--ease), border-color .3s, box-shadow .3s;
}
.blog-card:hover { transform: translateY(-4px); border-color: rgba(196,154,74,.5); box-shadow: var(--shadow-card); }
.blog-cat { font-size: 11px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); }
.blog-card h3 { font-size: 19px; line-height: 1.3; }
.blog-card p { font-size: 14.5px; flex: 1; }
.blog-date { font-size: 12.5px; color: #9A9C98; font-weight: 600; }
.blog-arrow {
  position: absolute; top: 24px; right: 24px;
  width: 34px; height: 34px; border-radius: 50%;
  border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  transition: all .25s var(--ease);
}
.blog-arrow svg { width: 14px; height: 14px; stroke: #3C4043; }
.blog-card:hover .blog-arrow { background: var(--gold); border-color: var(--gold); transform: translate(2px, -2px); }
.blog-card:hover .blog-arrow svg { stroke: #1D1608; }

/* ---------- Careers ---------- */
.careers-icon {
  width: 74px; height: 74px; margin: 0 auto 26px;
  border-radius: 20px; border: 1px solid rgba(196,154,74,.45);
  background: rgba(196,154,74,.1);
  display: flex; align-items: center; justify-content: center;
}
.careers-icon svg { width: 34px; height: 34px; stroke: var(--gold); }
.careers-text { color: var(--body-dark); font-size: 17px; max-width: 560px; margin: 14px auto 34px; }

/* ---------- FAQ ---------- */
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  text-align: left;
  padding: 24px 4px;
  font-size: 17px; font-weight: 700; color: var(--ink);
  transition: color .2s;
}
.faq-q:hover { color: var(--gold); }
.faq-q svg { width: 18px; height: 18px; stroke: var(--gold); flex-shrink: 0; transition: transform .35s var(--ease); }
.faq-item.open .faq-q svg { transform: rotate(180deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .4s var(--ease); }
.faq-a p { padding: 0 4px 26px; font-size: 15.5px; max-width: 92%; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 72px; }
.contact-rows { margin-top: 34px; display: flex; flex-direction: column; gap: 20px; }
.contact-row { display: flex; align-items: center; gap: 16px; }
.contact-row-icon {
  width: 46px; height: 46px; flex-shrink: 0;
  border-radius: 50%; border: 1px solid rgba(196,154,74,.4);
  display: flex; align-items: center; justify-content: center;
}
.contact-row-icon svg { width: 19px; height: 19px; stroke: var(--gold); }
.contact-row small { display: block; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.45); font-weight: 700; }
.contact-row a, .contact-row span.val { font-size: 16px; font-weight: 700; color: var(--white); transition: color .2s; }
.contact-row a:hover { color: var(--gold-soft); }

.social-row { display: flex; gap: 12px; margin-top: 30px; }
.social-row a {
  width: 42px; height: 42px; border-radius: 50%;
  border: 1px solid var(--line-dark);
  display: flex; align-items: center; justify-content: center;
  transition: all .25s var(--ease);
}
.social-row a svg { width: 17px; height: 17px; fill: rgba(255,255,255,.8); transition: fill .25s; }
.social-row a:hover { border-color: var(--gold); transform: translateY(-3px); }
.social-row a:hover svg { fill: var(--gold); }

.map-wrap { margin-top: 34px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line-dark); }
.map-wrap iframe { width: 100%; height: 250px; display: block; border: 0; }
.map-link { display: block; padding: 13px 16px; background: var(--green); color: var(--white); font-size: 13px; font-weight: 800; text-align: center; }
.map-link:hover { color: var(--gold-soft); }

.contact-form-wrap { background: var(--charcoal); border: 1px solid rgba(255,255,255,.07); border-radius: var(--radius); padding: 44px 44px 40px; align-self: start; }
.contact-form .form-row { margin-bottom: 26px; }
.contact-form .form-row.two { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.field label { display: block; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.5); margin-bottom: 10px; }
.field input, .field textarea {
  width: 100%; background: transparent; border: 0;
  border-bottom: 1.5px solid rgba(255,255,255,.18);
  color: var(--white); padding: 10px 2px 12px;
  outline: none; border-radius: 0;
  transition: border-color .25s;
  resize: vertical;
}
.field input::placeholder, .field textarea::placeholder { color: rgba(255,255,255,.28); }
.field input:focus, .field textarea:focus { border-bottom-color: var(--gold); }
.field input.invalid, .field textarea.invalid { border-bottom-color: #C96A5A; }
.form-status { margin-top: 16px; font-size: 14px; font-weight: 600; min-height: 20px; }
.form-status.ok { color: #8FCF9E; }
.form-status.err { color: #D89A8E; }

/* ---------- Footer ---------- */
.site-footer { background: var(--green); padding: 78px 0 36px; }
.footer-grid { display: grid; grid-template-columns: 2.2fr 1fr 1.4fr 1.3fr; gap: 48px; }
.footer-brand p { margin-top: 20px; color: var(--body-dark); font-size: 14.5px; max-width: 300px; }
.footer-col h3 { color: var(--white); font-size: 14px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 22px; }
.footer-links { display: flex; flex-direction: column; gap: 12px; }
.footer-links a { color: var(--body-dark); font-size: 14.5px; transition: color .2s, transform .2s var(--ease); display: inline-block; }
.footer-links a:hover { color: var(--gold-soft); transform: translateX(4px); }
.footer-contact { display: flex; flex-direction: column; gap: 14px; }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; color: var(--body-dark); font-size: 14.5px; }
.footer-contact svg { width: 16px; height: 16px; stroke: var(--gold); flex-shrink: 0; margin-top: 4px; }
.footer-divider { height: 1px; background: rgba(255,255,255,.1); margin: 54px 0 28px; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.footer-bottom p { color: rgba(255,255,255,.5); font-size: 13.5px; }
.footer-legal { display: flex; gap: 26px; }
.footer-legal a { color: rgba(255,255,255,.5); font-size: 13.5px; transition: color .2s; }
.footer-legal a:hover { color: var(--gold-soft); }

/* ---------- Floating controls ---------- */
.floating-stack { position: fixed; right: 24px; bottom: 24px; z-index: 90; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.float-btn {
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  opacity: 0; transform: translateY(14px); pointer-events: none;
  transition: opacity .3s, transform .3s var(--ease), background .25s;
}
.float-btn.visible { opacity: 1; transform: none; pointer-events: auto; }
.float-top { width: 46px; height: 46px; background: var(--green); border: 1px solid rgba(196,154,74,.45); color: var(--gold); }
.float-top svg { width: 20px; height: 20px; }
.float-top:hover { background: #0C3A31; }
.float-wa { width: 54px; height: 54px; background: #25D366; color: var(--white); box-shadow: 0 10px 26px rgba(37,211,102,.35); }
.float-wa svg { width: 27px; height: 27px; }
.float-wa:hover { transform: scale(1.07); }
.float-wa.visible:hover { transform: scale(1.07); }

/* ---------- Reveal animations ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ═══════════════ RESPONSIVE ═══════════════ */

@media (max-width: 1080px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1.6fr 1fr 1.2fr; }
  .footer-grid .footer-col:last-child { grid-column: 1 / -1; }
  .contact-grid { gap: 48px; }
}

@media (max-width: 900px) {
  .main-nav {
    position: fixed; top: var(--header-h); left: 0; right: 0;
    background: var(--green);
    border-bottom: 1px solid rgba(196,154,74,.2);
    padding: 26px 28px 34px;
    transform: translateY(-12px); opacity: 0; visibility: hidden; pointer-events: none;
    transition: all .3s var(--ease);
    max-height: calc(100vh - var(--header-h)); overflow-y: auto;
  }
  .main-nav.open { transform: none; opacity: 1; visibility: visible; pointer-events: auto; }
  .main-nav ul { flex-direction: column; align-items: flex-start; gap: 4px; }
  .nav-link { font-size: 17px; padding: 12px 0; display: block; width: 100%; }
  .nav-link::after { display: none; }
  .nav-cta-mobile { display: inline-flex; margin-top: 20px; }
  .hamburger { display: flex; }
  .header-cta { display: none; }

  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .about-media img { height: 420px; }
  .about-badge { right: 16px; }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .projects-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-form-wrap { padding: 34px 26px 30px; }
  .hero-content { padding-top: 48px; padding-bottom: 70px; }
}

@media (max-width: 640px) {
  .container { padding: 0 20px; }
  .section { padding: 72px 0; }
  .section-head { margin-bottom: 42px; }
  .hero-title { font-size: clamp(38px, 9.5vw, 46px); }
  .hero-actions .btn { width: 100%; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .gallery-cap { display: none; }
  .blog-grid { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: 1fr; }
  .projects-top { flex-direction: column; align-items: stretch; }
  .projects-search { min-width: 0; }
  .form-row.two { grid-template-columns: 1fr !important; gap: 26px !important; }
  .contact-form .form-row.two { display: flex; flex-direction: column; gap: 26px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .about-media img { height: 340px; }
  .about-badge { padding: 16px 20px; }
  .about-badge-num { font-size: 32px; }
  .floating-stack { right: 16px; bottom: 16px; }
  .quote-mark { font-size: 70px; }
  .testimonial-slides { min-height: 260px; }
}
