:root{
  --teal-deep: #0E4D4A;
  --teal: #14938D;
  --teal-soft: #14938D;
  --gold: #E2A03F;
  --gold-soft: #FBF4E8;
  --cream: #FAF9F6;
  --cream-2: #EEF7F6;
  --bg: #FAF9F6;
  --ink: #111827;
  --muted: #374151;
  --sage: #14938D;
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --shadow: 0 10px 30px -10px rgba(14,77,74,0.18);
  --ease: cubic-bezier(.22,.68,.32,1);
}

*{box-sizing:border-box;}
html{scroll-behavior:smooth; overflow-x:hidden;}
body{
  margin:0;
  font-family:'Inter', -apple-system, sans-serif;
  color:var(--ink);
  overflow-x: hidden;
  background:var(--bg);
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}
h1,h2,h3{
  font-family:'Fraunces', Georgia, serif;
  margin:0;
  color:var(--teal-deep);
  font-weight:600;
  letter-spacing:-0.01em;
}
p{margin:0;}
a{color:inherit; text-decoration:none;}
img{max-width:100%; display:block;}
.wrap{
  max-width:1180px;
  margin:0 auto;
  padding:0 32px;
}
@media (prefers-reduced-motion: reduce){
  *{animation-duration:0.001ms !important; animation-iteration-count:1 !important; transition-duration:0.001ms !important; scroll-behavior:auto !important;}
}

/* ============ Scroll progress ============ */
.scroll-progress{
  position:fixed; top:0; left:0; height:3px; width:0%;
  background:linear-gradient(90deg,var(--gold),var(--teal));
  z-index:1000;
  transition:width 0.1s linear;
}

/* ============ Buttons ============ */
.btn{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:13px 26px;
  border-radius:999px;
  font-weight:600;
  font-size:0.95rem;
  cursor:pointer;
  border:1px solid transparent;
  transition:transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background 0.35s var(--ease);
}
.btn-primary{
  background:var(--teal);
  color:#fff;
}
.btn-primary:hover{
  background:var(--teal-deep);
  transform:translateY(-2px);
  box-shadow:0 14px 24px -10px rgba(18,60,60,0.5);
}

/* ============ Header ============ */
.site-header{
  position:sticky; top:0; z-index:200;
  background:rgba(253,251,246,0.85);
  backdrop-filter:blur(10px);
  border-bottom:1px solid transparent;
  transition:box-shadow 0.4s var(--ease), border-color 0.4s var(--ease), padding 0.4s var(--ease);
}
.site-header.scrolled{
  box-shadow:0 8px 30px -18px rgba(18,60,60,0.4);
  border-bottom-color:rgba(18,60,60,0.08);
}
.header-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
  padding:18px 32px;
  transition:padding 0.4s var(--ease);
}
.site-header.scrolled .header-inner{padding-top:12px; padding-bottom:12px;}

.logo{display:flex; align-items:center; gap:10px;}
.logo-mark{display:inline-flex; transition:transform 0.6s var(--ease);}
.logo:hover .logo-mark{transform:rotate(12deg);}
.logo-text{
  font-family:'Fraunces', serif;
  font-weight:600;
  font-size:1.25rem;
  letter-spacing:0.03em;
  color:var(--teal-deep);
}
.logo-text.light{color:var(--cream-2);}

.main-nav{
  display:flex;
  gap:34px;
  margin-left:auto;
}
.nav-link{
  position:relative;
  font-size:0.95rem;
  font-weight:500;
  color:var(--ink);
  padding-bottom:4px;
}
.nav-link::after{
  content:'';
  position:absolute; left:0; bottom:0;
  width:0; height:2px;
  background:var(--gold);
  transition:width 0.35s var(--ease);
}
.nav-link:hover::after, .nav-link.active::after{width:100%;}
.nav-link.active{color:var(--teal-deep);}

.header-cta{margin-left:8px; flex-shrink:0;}

.hamburger{
  display:none;
  flex-direction:column;
  justify-content:center;
  gap:5px;
  width:34px; height:34px;
  background:none; border:none; cursor:pointer;
}
.hamburger span{
  width:100%; height:2px; background:var(--teal-deep);
  transition:transform 0.3s var(--ease), opacity 0.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);}

/* ============ Reveal animation ============ */
.reveal{
  opacity:0;
  transform:translateY(28px);
  transition:opacity 0.8s var(--ease), transform 0.8s var(--ease);
  transition-delay:var(--d, 0ms);
}
.reveal.in-view{opacity:1; transform:translateY(0);}

/* ============ Hero ============ */
.hero{padding:64px 0 40px;}
.hero-grid{
  display:grid;
  grid-template-columns:1.05fr 0.95fr;
  gap:64px;
  align-items:center;
}
.eyebrow{
  font-size:0.85rem;
  font-weight:600;
  color:var(--teal-soft);
  letter-spacing:0.06em;
  margin-bottom:14px;
}
.hero h1{
  font-size:clamp(2.3rem, 4vw, 3.1rem);
  line-height:1.15;
  margin-bottom:22px;
}
.hero .lede{
  font-size:1.05rem;
  line-height:1.7;
  color:var(--muted);
  max-width:46ch;
  margin-bottom:34px;
}
.mini-cards{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:18px;
}
.mini-card{
  background:var(--cream-2);
  border:1px solid #e2e8f0;
  border-radius:var(--radius-md);
  padding:20px 22px;
  transition:transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
}
.mini-card:hover{
  transform:translateY(-6px);
  box-shadow:var(--shadow);
  border-color:var(--gold);
}
.mini-card h3{
  font-size:1.05rem;
  margin-bottom:8px;
  color:var(--teal);
}
.mini-card p{
  font-size:0.88rem;
  line-height:1.55;
  color:var(--muted);
}

.hero-media{position:relative;}
.hero-blob{
  position:relative;
  border-radius:46% 54% 38% 62% / 55% 42% 58% 45%;
  overflow:hidden;
  aspect-ratio:5/4.3;
  box-shadow:var(--shadow);
  animation:blobfloat 9s ease-in-out infinite;
}
.hero-blob img{width:100%; height:100%; object-fit:cover;}
@keyframes blobfloat{
  0%,100%{border-radius:46% 54% 38% 62% / 55% 42% 58% 45%;}
  50%{border-radius:58% 42% 52% 48% / 42% 58% 42% 58%;}
}
.hero-leaf{
  position:absolute; right:8%; bottom:-6%;
  animation:sway 5s ease-in-out infinite;
  opacity:0.85;
}
@keyframes sway{
  0%,100%{transform:rotate(-4deg) translateY(0);}
  50%{transform:rotate(4deg) translateY(-6px);}
}

/* ============ Sections generic ============ */
.section{padding:78px 0;}
.section-title{
  text-align:center;
  font-size:clamp(1.7rem, 2.6vw, 2.2rem);
  position:relative;
  padding-bottom:18px;
  margin-bottom:8px;
}
.section-title::after{
  content:'';
  position:absolute; left:50%; bottom:0;
  transform:translateX(-50%);
  width:56px; height:3px;
  background:var(--gold);
  border-radius:3px;
}
.section-sub{
  text-align:center;
  display:block;
  color:var(--muted);
  margin-bottom:44px;
}

/* ============ Values ============ */
.value-grid{
  margin-top:48px;
  display:grid;
  grid-template-columns:repeat(5,1fr);
  gap:18px;
}
.value-item{
  text-align:center;
  padding:26px 12px;
  border-radius:var(--radius-md);
  transition:transform 0.4s var(--ease), background 0.4s var(--ease);
}
.value-item:hover{
  background:var(--cream-2);
  transform:translateY(-8px);
}
.value-icon{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:64px; height:64px;
  border-radius:50%;
  background:var(--sage);
  background:linear-gradient(145deg, #e6f7f6, #d4f2f0);
  margin-bottom:14px;
  transition:transform 0.4s var(--ease), background 0.4s var(--ease);
}
.value-item:hover .value-icon{
  transform:scale(1.1) rotate(-6deg);
  background:linear-gradient(145deg, var(--gold-soft), var(--gold));
}
.value-item p{font-weight:600; font-size:0.95rem; color:var(--teal);}

/* ============ Trust section ============ */
.trust-section{background:var(--cream-2);}
.trust-grid{
  margin-top:48px;
  display:grid;
  grid-template-columns:repeat(5,1fr);
  gap:18px;
}
.trust-item{
  text-align:center;
  padding:8px 10px;
}
.trust-icon{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:58px; height:58px;
  border-radius:50%;
  background:#fff;
  box-shadow:0 10px 24px -14px rgba(32,178,170,0.3);
  margin-bottom:16px;
  transition:transform 0.45s var(--ease);
}
.trust-item:hover .trust-icon{transform:translateY(-6px) scale(1.06);}
.trust-item p{font-size:0.88rem; font-weight:600; color:var(--teal); line-height:1.4;}

/* ============ Stats ============ */
.stats-band{
  background:linear-gradient(135deg, var(--cream) 0%, #fffde6 100%);
  padding:52px 0;
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
}
.stats-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:24px;
}
.stat{
  text-align:center;
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:4px;
}
.stat-icon{font-size:1.6rem; margin-bottom:4px;}
.stat-number{
  font-family:'Fraunces', serif;
  font-size:2.4rem;
  font-weight:700;
  color:var(--teal-deep);
}
.stat-label{font-size:0.9rem; color:#ffffff; font-weight:500;}

/* ============ Team ============ */
.team-section{text-align:center;}
.team-grid{
  margin-top:16px;
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:22px;
  text-align:left;
}
.team-card{
  background:var(--cream-2);
  border-radius:var(--radius-md);
  padding:22px;
  transition:transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
}
.team-card:hover{
  transform:translateY(-10px);
  box-shadow:var(--shadow);
}
.team-photo{
  width:100%;
  aspect-ratio:1/1;
  border-radius:var(--radius-sm);
  overflow:hidden;
  margin-bottom:16px;
}
.team-photo img{width:100%; height:100%; object-fit:cover; transition:transform 0.6s var(--ease);}
.team-card:hover .team-photo img{transform:scale(1.08);}
.team-card h3{font-size:1.05rem; margin-bottom:2px;}
.team-role{color:var(--teal-soft); font-weight:500; font-size:0.88rem; margin-bottom:12px;}
.team-stats{list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:4px;}
.team-stats li{
  font-size:0.8rem;
  color:var(--muted);
  padding-left:14px;
  position:relative;
}
.team-stats li::before{
  content:'✓';
  position:absolute; left:0; color:var(--gold);
  font-weight:700;
}

.quote-banner{
  margin-top:56px;
  background:var(--cream);
  border-radius:var(--radius-lg);
  padding:38px 52px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
  text-align:left;
}
.quote-banner p{
  font-family:'Fraunces', serif;
  font-size:1.3rem;
  color:var(--teal-deep);
  max-width:60ch;
  line-height:1.4;
}
.quote-heart{flex-shrink:0; animation:pulse 3s ease-in-out infinite;}
@keyframes pulse{
  0%,100%{transform:scale(1);}
  50%{transform:scale(1.08);}
}

.badge-row{
  margin-top:52px;
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:18px;
}
.badge-item{padding:10px;}
.badge-icon{
  display:inline-block;
  color:var(--gold);
  font-size:1.1rem;
  margin-bottom:10px;
  transform:rotate(0deg);
  transition:transform 0.5s var(--ease);
}
.badge-item:hover .badge-icon{transform:rotate(90deg);}
.badge-item p{font-size:0.85rem; font-weight:600; color:var(--teal);}

/* ============ Footer ============ */
#footer-container,
.site-footer{
  width:100%;
  box-sizing:border-box;
}
.site-footer{
  background: linear-gradient(181deg, #168d87 0%, #9f8509 100%);
  color: #FFFFFF;
  padding:64px 0 0;
  position:relative;
  clear:both;
  border-top: 3px solid #FFE066;
}
.footer-grid{
  display:grid;
  grid-template-columns:1.4fr minmax(0, 1fr) minmax(0, 1fr) 1.2fr;
  gap:40px;
  padding-bottom:48px;
  width:100%;
  box-sizing:border-box;
}
.footer-logo{margin-bottom:16px; display:inline-flex; align-items:center; gap:10px;}
.footer-brand p{font-size:0.88rem; line-height:1.6; color:#BEE3DF; max-width:34ch;}
.social-row{display:flex; gap:10px; margin-top:20px;}
.social-row a{
  width:36px; height:36px;
  border-radius:50%;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color:#ffffff;
  display:flex; align-items:center; justify-content:center;
  font-size:0.85rem;
  transition:background 0.35s var(--ease), transform 0.35s var(--ease);
}
.social-row a:hover{background:#E2A03F; color:#0A4A45; border-color:#E2A03F; transform:translateY(-3px);}

.footer-col h4{
  color:#ffffff;
  font-family:'Inter', sans-serif;
  font-size:0.95rem;
  font-weight:700;
  margin-bottom:18px;
  letter-spacing:0.02em;
}
.footer-col a, .footer-col p{
  display:block;
  font-size:0.88rem;
  color:#C6ECE7;
  margin-bottom:12px;
  transition:color 0.3s var(--ease), transform 0.3s var(--ease);
}
.footer-col a:hover{color:#E2A03F; transform:translateX(3px);}
.contact-line{margin-bottom:12px;}

.footer-bottom{
  border-top:1px solid rgba(255, 255, 255, 0.15);
  background: rgba(0, 0, 0, 0.18);
  padding:20px 32px;
  text-align:center;
  font-size:0.82rem;
  color:#A3D8D2;
}

/* ============ Responsive ============ */
@media (max-width: 980px){
  .hero-grid{grid-template-columns:1fr !important; gap:40px;}
  .hero-media{order:-1; max-width:480px; margin:0 auto;}
  .value-grid, .trust-grid{grid-template-columns:repeat(3,1fr);}
  .stats-grid{grid-template-columns:repeat(2,1fr); row-gap:32px;}
  .team-grid{grid-template-columns:repeat(2,1fr);}
  .badge-row{grid-template-columns:repeat(2,1fr);}
  .footer-grid{grid-template-columns:1fr 1fr;}
}
@media (max-width: 760px){
  .main-nav{
    position:fixed; top:0; right:0; height:100vh; width:min(78vw,320px);
    background:var(--bg);
    flex-direction:column;
    padding:100px 32px 32px;
    gap:26px;
    transform:translateX(100%);
    transition:transform 0.45s var(--ease);
    box-shadow:-20px 0 40px -20px rgba(18,60,60,0.3);
  }
  .main-nav.open{transform:translateX(0);}
  .hamburger{display:flex;}
  .header-cta{display:none;}
  .value-grid, .trust-grid{grid-template-columns:repeat(2,1fr);}
  .quote-banner{flex-direction:column; text-align:center; padding:32px 24px;}
  .quote-banner p{text-align:center;}
  .footer-grid{grid-template-columns:1fr; text-align:center;}
  .footer-logo{justify-content:center;}
  .footer-brand p{margin:0 auto 16px;}
  .social-row{justify-content:center;}
  .wrap{padding:0 20px; width:100%; margin-left:auto; margin-right:auto; box-sizing:border-box;}
}

/* ==========================================================================
   GLOBAL SITE-WIDE MOVING ANIMATION ENGINE
   ========================================================================== */

/* 1. Ambient Background Orbs & Blobs Floating Motion */
.ambient-orb, .ambient-blob, .hero-ambient-glow, .values-glow, .stage-glow {
  animation: globalOrbFloat 14s ease-in-out infinite alternate !important;
  will-change: transform;
}

@keyframes globalOrbFloat {
  0% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(35px, -25px) scale(1.07); }
  66% { transform: translate(-25px, 20px) scale(0.95); }
  100% { transform: translate(18px, 32px) scale(1.03); }
}

/* 2. Floating Badges & Floating Cards Motion */
.glass-float-badge, .floating-badge, .metric-pill, .mini-card-box {
  animation: globalBadgeFloat 6s ease-in-out infinite alternate !important;
  will-change: transform;
}

@keyframes globalBadgeFloat {
  0% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-7px) rotate(1deg); }
  100% { transform: translateY(-12px) rotate(-0.8deg); }
}

/* 3. Doodles & SVGs Motion */
.doodle, .doodle-heart, .doodle-plane, .doodle-sparkle, .quote-heart-icon {
  animation: globalDoodleMotion 8s ease-in-out infinite alternate !important;
  will-change: transform;
}

@keyframes globalDoodleMotion {
  0% { transform: translate(0, 0) rotate(0deg); }
  50% { transform: translate(8px, -10px) rotate(5deg); }
  100% { transform: translate(-8px, 6px) rotate(-5deg); }
}

/* 4. Interactive Lift & Shadow Transition for All Cards */
.service-card, .why-choose-item, .trust-card, .team-card, .contact-card-box, .process-step-card, .pin-card {
  transition: transform 0.4s cubic-bezier(.16, 1, .3, 1), box-shadow 0.4s cubic-bezier(.16, 1, .3, 1), border-color 0.4s cubic-bezier(.16, 1, .3, 1) !important;
  will-change: transform;
}

.service-card:hover, .trust-card:hover, .team-card:hover, .contact-card-box:hover, .process-step-card:hover, .pin-card:hover {
  transform: translateY(-8px) scale(1.015) !important;
}

/* 5. CTA Glow Breathing Animation */
.btn-primary, .btn-gold, .atd-modern__cta, .btn-send-message {
  animation: globalCtaGlow 4s ease-in-out infinite alternate !important;
}

@keyframes globalCtaGlow {
  0% { box-shadow: 0 6px 18px rgba(14, 77, 74, 0.22); }
  100% { box-shadow: 0 10px 28px rgba(14, 77, 74, 0.38), 0 0 18px rgba(226, 160, 63, 0.35); }
}