/* =============================================================
   1. Tokens
   ============================================================= */
:root {
  --bg: #faf7f2;
  --bg-sand: #f0e9df;
  --paper: #ffffff;
  --ink: #20262c;
  --ink-soft: #3d454d;
  --ink-mute: #6b7480;
  --navy: #16233f;
  --navy-soft: #223255;
  --accent: #d9711f;
  --accent-dark: #b85a15;
  --accent-soft: rgba(217, 113, 31, 0.12);
  --cream: #fff;
  --line: rgba(32, 38, 44, 0.12);
  --line-soft: rgba(32, 38, 44, 0.07);

  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --display: "Manrope", var(--sans);

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft: cubic-bezier(0.25, 0.46, 0.45, 0.94);

  --nav-h: 76px;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow-sm: 0 2px 10px rgba(32, 38, 44, 0.06);
  --shadow-md: 0 16px 40px -12px rgba(32, 38, 44, 0.18);
  --shadow-lg: 0 30px 70px -20px rgba(32, 38, 44, 0.28);
}

/* =============================================================
   2. Reset & base
   ============================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  overflow-x: clip;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink-soft);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  overscroll-behavior-y: none;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
a { color: inherit; text-decoration: none; }
p { text-wrap: pretty; }
h1, h2, h3, h4 {
  font-family: var(--display);
  color: var(--navy);
  text-wrap: balance;
  line-height: 1.08;
  letter-spacing: -0.02em;
  font-weight: 800;
}
ul { list-style: none; padding: 0; }
::selection { background: var(--accent); color: #fff; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.skip-link {
  position: fixed; top: -100px; left: 1rem; z-index: 9999;
  padding: .7rem 1.1rem; background: var(--navy); color: #fff;
  border-radius: 8px; font-weight: 600; transition: top .3s var(--ease-out);
}
.skip-link:focus { top: 1rem; }

/* =============================================================
   3. Utilities
   ============================================================= */
.container { width: 100%; max-width: 1240px; margin-inline: auto; padding-inline: 1.25rem; }
.section { padding-block: clamp(3.5rem, 7vw, 6.5rem); }
.section-head { max-width: 640px; margin-bottom: clamp(2rem, 5vw, 3.5rem); }
.section-head.center { margin-inline: auto; text-align: center; max-width: 620px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--accent-dark); margin-bottom: .9rem;
}
.eyebrow::before {
  content: ""; width: 24px; height: 2px; background: var(--accent);
  border-radius: 2px;
}
.section-head h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); margin-bottom: .9rem; }
.section-head p { color: var(--ink-mute); font-size: 1.05rem; }

[data-reveal] {
  opacity: 0; transform: translateY(32px);
  transition: opacity .8s var(--ease-soft), transform .8s var(--ease-soft);
}
[data-reveal].is-revealed { opacity: 1; transform: none; }
.reveal[data-split] { opacity: 1; transform: none; }

/* =============================================================
   4. Buttons
   ============================================================= */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .95rem 1.7rem; border-radius: 999px; font-weight: 700; font-size: .96rem;
  white-space: nowrap;
  box-shadow: var(--shadow-sm);
  transition: transform .45s var(--ease-soft), box-shadow .45s var(--ease-soft), background-color .3s;
}
.btn:hover { transform: translateY(-3px); }
.btn:active { transform: translateY(-1px); transition-duration: .12s; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dark); box-shadow: 0 20px 40px -12px rgba(217,113,31,.45); }
.btn-secondary {
  background: transparent; color: var(--navy);
  border: 1.5px solid var(--line);
}
.btn-secondary:hover { border-color: var(--navy); background: rgba(22,35,63,.04); }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { box-shadow: 0 20px 40px -12px rgba(0,0,0,.25); }
.btn-lg { padding: 1.15rem 2.4rem; font-size: 1.05rem; }

/* =============================================================
   5. Nav
   ============================================================= */
.nav {
  position: fixed; top: 0; inset-inline: 0; z-index: 200;
  height: var(--nav-h);
  transition: background-color .4s var(--ease-out), box-shadow .4s var(--ease-out), backdrop-filter .4s var(--ease-out);
}
.nav.is-scrolled {
  background: rgba(250, 247, 242, .92);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--line);
}
.nav-inner {
  height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.brand { display: flex; align-items: center; gap: .6rem; }
.brand-mark {
  width: 44px; height: 44px; border-radius: 10px;
  background: #fff;
  box-shadow: var(--shadow-sm);
  display: grid; place-items: center; flex-shrink: 0;
  padding: 5px;
}
.brand-mark img { width: 100%; height: 100%; object-fit: contain; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-text strong { font-family: var(--display); font-weight: 800; font-size: 1.15rem; color: var(--navy); letter-spacing: -.01em; }
.brand-text span { font-size: .62rem; font-weight: 700; letter-spacing: .16em; color: var(--accent-dark); text-transform: uppercase; }

.nav-links { display: none; align-items: center; gap: 2rem; }
@media (min-width: 960px) { .nav-links { display: flex; } }
.nav-link {
  position: relative; font-weight: 600; font-size: .93rem; color: var(--ink-soft);
  padding-block: .3rem;
}
.nav-link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px;
  height: 2px; background: var(--accent);
  transform: scaleX(0); transform-origin: right;
  transition: transform .4s var(--ease-out);
}
.nav-link:hover::after { transform: scaleX(1); transform-origin: left; }

.nav-actions { display: flex; align-items: center; gap: 1rem; }
.nav-phone {
  display: none; align-items: center; gap: .5rem; font-weight: 700; font-size: .92rem; color: var(--navy);
}
@media (min-width: 720px) { .nav-phone { display: inline-flex; } }
.nav-phone svg { width: 18px; height: 18px; color: var(--accent); flex-shrink: 0; }
.nav-cta { display: none; }
@media (min-width: 560px) { .nav-cta { display: inline-flex; } }

.nav-burger {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 10px;
  background: var(--navy); flex-shrink: 0;
}
@media (min-width: 960px) { .nav-burger { display: none; } }
.nav-burger svg { width: 20px; height: 20px; color: #fff; }

.nav-mobile {
  position: fixed; inset: 0; z-index: 210; background: var(--navy);
  display: grid; place-items: center;
  clip-path: inset(0 0 100% 0);
  transition: clip-path .6s var(--ease-soft);
}
.nav-mobile[data-open="true"] { clip-path: inset(0); }
.nav-mobile-inner { display: flex; flex-direction: column; gap: 1.6rem; text-align: center; }
.nav-mobile a { font-family: var(--display); font-size: 1.7rem; font-weight: 800; color: #fff; }
.nav-mobile .btn { margin-top: 1rem; }
.nav-mobile-close {
  position: absolute; top: 1.4rem; right: 1.4rem; width: 44px; height: 44px;
  border-radius: 10px; background: rgba(255,255,255,.12); display: grid; place-items: center;
}
.nav-mobile-close svg { width: 20px; height: 20px; color: #fff; }
.nav-mobile-phone { color: rgba(255,255,255,.7); font-weight: 600; }

/* =============================================================
   6. Hero
   ============================================================= */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex; align-items: flex-end;
  padding-top: var(--nav-h);
  color: #fff;
  overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; z-index: -2; }
.hero-bg img {
  width: 100%; height: 100%; object-fit: cover; object-position: 68% 55%;
}
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(22,35,63,.55) 0%, rgba(22,35,63,.25) 32%, rgba(22,35,63,.35) 65%, rgba(16,20,15,.86) 100%);
}
.hero-inner { position: relative; z-index: 1; padding-block: clamp(3rem, 10vh, 5rem) clamp(2.6rem, 7vh, 3.6rem); }
.hero-kicker {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .82rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: #fff; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.25);
  padding: .5rem .9rem; border-radius: 999px; margin-bottom: 1.4rem;
  backdrop-filter: blur(6px);
}
.hero-kicker svg { width: 14px; height: 14px; color: var(--accent); }
.hero-title {
  font-size: clamp(2.3rem, 5.4vw, 4.1rem);
  max-width: 16ch;
  color: #fff;
  margin-bottom: 1.1rem;
}
.hero-title em { color: #ffb27a; font-style: normal; }
.hero-sub {
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  color: rgba(255,255,255,.86);
  max-width: 46ch;
  margin-bottom: 2.1rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; }

/* =============================================================
   7. Trust bar
   ============================================================= */
.trust-bar {
  background: var(--navy);
  color: #fff;
  padding-block: 2.4rem;
  position: relative; z-index: 2;
}
.trust-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.6rem 1rem; text-align: center;
}
@media (min-width: 720px) { .trust-grid { grid-template-columns: repeat(4, 1fr); gap: 1rem; } }
.trust-item strong {
  display: block; font-family: var(--display); font-weight: 800;
  font-size: clamp(1.5rem, 3vw, 2.1rem); color: #fff; margin-bottom: .35rem;
}
.trust-item span { font-size: .86rem; color: rgba(255,255,255,.72); font-weight: 500; }
.trust-item.is-text strong { font-size: clamp(1rem, 1.8vw, 1.3rem); }

/* =============================================================
   8. Services
   ============================================================= */
.services-grid {
  display: grid; grid-template-columns: 1fr; gap: 1.25rem;
}
@media (min-width: 640px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .services-grid { grid-template-columns: repeat(3, 1fr); } }

.service-card {
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 2rem 1.7rem;
  transition: transform .5s var(--ease-soft), box-shadow .5s var(--ease-soft), border-color .5s;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}
.service-icon {
  width: 52px; height: 52px; border-radius: 14px;
  background: var(--accent-soft);
  display: grid; place-items: center; margin-bottom: 1.3rem;
  transition: background-color .4s, transform .4s var(--ease-soft);
}
.service-card:hover .service-icon { background: var(--accent); transform: scale(1.06) rotate(-4deg); }
.service-icon svg { width: 26px; height: 26px; color: var(--accent); transition: color .3s; }
.service-card:hover .service-icon svg { color: #fff; }
.service-card h3 { font-size: 1.15rem; margin-bottom: .6rem; }
.service-card p { color: var(--ink-mute); font-size: .95rem; }

/* =============================================================
   9. Process
   ============================================================= */
.process-grid {
  display: grid; grid-template-columns: 1fr; gap: 2rem;
  position: relative;
}
@media (min-width: 860px) {
  .process-grid { grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
  .process-grid::before {
    content: ""; position: absolute; top: 28px; left: 8%; right: 8%; height: 2px;
    background: repeating-linear-gradient(90deg, var(--line) 0 10px, transparent 10px 18px);
    z-index: 0;
  }
}
.process-step { position: relative; z-index: 1; }
.process-num {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--navy); color: #fff;
  display: grid; place-items: center;
  font-family: var(--display); font-weight: 800; font-size: 1.25rem;
  margin-bottom: 1.2rem;
  box-shadow: var(--shadow-sm);
}
.process-step h3 { font-size: 1.08rem; margin-bottom: .55rem; }
.process-step p { color: var(--ink-mute); font-size: .93rem; }

/* =============================================================
   10. Gallery
   ============================================================= */
.gallery-grid {
  display: grid; grid-template-columns: 1fr; gap: 1.25rem;
}
@media (min-width: 640px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .gallery-grid { grid-template-columns: repeat(3, 1fr); } }

.gallery-card {
  position: relative; border-radius: var(--radius); overflow: hidden;
  aspect-ratio: 4 / 3.1;
  box-shadow: var(--shadow-sm);
  isolation: isolate;
}
.gallery-card img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transition: transform 1s var(--ease-soft), opacity .5s var(--ease-out);
}
.gallery-card .img-after { z-index: 1; }
.gallery-card .img-before { z-index: 2; opacity: 1; }
.gallery-card[data-toggled="true"] .img-before { opacity: 0; }
.gallery-card:hover img.img-after { transform: scale(1.08); }

.gallery-card::after {
  content: ""; position: absolute; inset: 0; z-index: 3; pointer-events: none;
  background: linear-gradient(180deg, transparent 45%, rgba(16,20,15,.78) 100%);
}
.gallery-tag {
  position: absolute; top: 1rem; left: 1rem; z-index: 4;
  background: rgba(255,255,255,.94); color: var(--navy);
  font-size: .74rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase;
  padding: .4rem .8rem; border-radius: 999px;
}
.gallery-info { position: absolute; left: 1.1rem; right: 1.1rem; bottom: 1rem; z-index: 4; color: #fff; }
.gallery-info h3 { color: #fff; font-size: 1rem; font-weight: 700; line-height: 1.3; }
.gallery-toggle {
  position: absolute; top: 1rem; right: 1rem; z-index: 4;
  background: rgba(255,255,255,.94); color: var(--navy);
  font-size: .72rem; font-weight: 800; letter-spacing: .03em; text-transform: uppercase;
  padding: .45rem .8rem; border-radius: 999px;
  display: inline-flex; align-items: center; gap: .35rem;
  transition: background-color .3s, transform .3s var(--ease-out);
}
.gallery-toggle:hover { background: #fff; transform: translateY(-2px); }
.gallery-toggle svg { width: 13px; height: 13px; }

.gallery-cta { text-align: center; margin-top: 2.75rem; }

/* =============================================================
   11. Why us
   ============================================================= */
.whyus-section { background: var(--bg-sand); }
.whyus-grid {
  display: grid; grid-template-columns: 1fr; gap: 2rem;
}
@media (min-width: 640px) { .whyus-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .whyus-grid { grid-template-columns: repeat(4, 1fr); } }
.whyus-item { text-align: left; }
.whyus-icon {
  width: 48px; height: 48px; border-radius: 12px;
  background: #fff; box-shadow: var(--shadow-sm);
  display: grid; place-items: center; margin-bottom: 1.1rem;
}
.whyus-icon svg { width: 24px; height: 24px; color: var(--accent); }
.whyus-item h3 { font-size: 1.02rem; margin-bottom: .5rem; }
.whyus-item p { color: var(--ink-mute); font-size: .92rem; }

/* =============================================================
   12. Testimonials
   ============================================================= */
.testimonials-grid {
  display: grid; grid-template-columns: 1fr; gap: 1.5rem;
}
@media (min-width: 780px) { .testimonials-grid { grid-template-columns: repeat(3, 1fr); } }
.testimonial-card {
  background: var(--paper); border: 1px solid var(--line-soft);
  border-radius: var(--radius); padding: 2rem 1.8rem;
  transition: transform .5s var(--ease-soft), box-shadow .5s var(--ease-soft);
}
.testimonial-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.stars { display: flex; gap: .2rem; margin-bottom: 1.1rem; }
.stars svg { width: 17px; height: 17px; color: var(--accent); }
.testimonial-quote { font-size: .98rem; color: var(--ink-soft); margin-bottom: 1.5rem; }
.testimonial-person { display: flex; align-items: center; gap: .8rem; }
.avatar {
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--navy); color: #fff;
  display: grid; place-items: center;
  font-family: var(--display); font-weight: 800; font-size: .9rem;
  flex-shrink: 0;
}
.testimonial-person strong { display: block; font-size: .95rem; color: var(--navy); }
.testimonial-person span { font-size: .82rem; color: var(--ink-mute); }

/* =============================================================
   13. CTA final
   ============================================================= */
.cta-final {
  background: var(--accent);
  color: #fff;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-final::before {
  content: ""; position: absolute; inset: -20% -10% auto -10%; height: 160%;
  background: radial-gradient(60% 60% at 50% 0%, rgba(255,255,255,.16), transparent 70%);
  pointer-events: none;
}
.cta-final h2 { color: #fff; font-size: clamp(1.8rem, 3.6vw, 2.7rem); margin-bottom: 1.1rem; max-width: 22ch; margin-inline: auto; }
.cta-final p { color: rgba(255,255,255,.9); max-width: 46ch; margin: 0 auto 2rem; font-size: 1.05rem; }

/* =============================================================
   14. Footer
   ============================================================= */
.footer { background: var(--navy); color: rgba(255,255,255,.72); padding-block: 4rem 2rem; }
.footer-grid {
  display: grid; grid-template-columns: 1fr; gap: 2.5rem;
  padding-bottom: 3rem; border-bottom: 1px solid rgba(255,255,255,.12);
}
@media (min-width: 720px) { .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1.2fr; } }
.footer-brand .brand-text strong { color: #fff; }
.footer-brand p { margin-top: 1rem; font-size: .92rem; max-width: 32ch; }
.footer-col h4 { color: #fff; font-size: .92rem; margin-bottom: 1.1rem; letter-spacing: .02em; }
.footer-col ul { display: flex; flex-direction: column; gap: .7rem; }
.footer-col a { font-size: .92rem; transition: color .3s; }
.footer-col a:hover { color: #fff; }
.footer-contact li { display: flex; align-items: flex-start; gap: .6rem; font-size: .92rem; }
.footer-contact svg { width: 16px; height: 16px; color: var(--accent); flex-shrink: 0; margin-top: .18rem; }
.footer-social { display: flex; gap: .7rem; margin-top: 1.3rem; }
.footer-social a {
  width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,.08);
  display: grid; place-items: center; transition: background-color .3s, transform .3s var(--ease-out);
}
.footer-social a:hover { background: var(--accent); transform: translateY(-2px); }
.footer-social svg { width: 17px; height: 17px; color: #fff; }
.footer-bottom {
  padding-top: 1.6rem; display: flex; flex-wrap: wrap; gap: .8rem 1.6rem;
  align-items: center; justify-content: space-between; font-size: .82rem;
}
.footer-bottom-links { display: flex; gap: 1.4rem; flex-wrap: wrap; }
.footer-bottom-links a:hover { color: #fff; }

/* =============================================================
   15. WhatsApp float
   ============================================================= */
.whatsapp-float {
  position: fixed; right: 1.3rem; bottom: 1.3rem; z-index: 150;
  width: 60px; height: 60px; border-radius: 50%;
  background: #25d366; display: grid; place-items: center;
  box-shadow: 0 12px 30px -6px rgba(37,211,102,.55);
  transition: transform .35s var(--ease-out);
}
.whatsapp-float:hover { transform: scale(1.08); }
.whatsapp-float svg { width: 30px; height: 30px; color: #fff; }
.whatsapp-float::before {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  background: #25d366; opacity: .55;
  animation: waPulse 2.6s ease-out infinite;
}
@keyframes waPulse {
  0% { transform: scale(1); opacity: .55; }
  100% { transform: scale(1.7); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .whatsapp-float::before { animation: none; opacity: 0; }
}

/* =============================================================
   16. Reduced motion — only intrusive effects
   ============================================================= */
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { transition-duration: .25s; }
}
