/* ==========================================================================
   Neribo Consulting — design tokens
   ========================================================================== */
:root{
  --navy: #152238;
  --navy-soft: #24365a;
  --gold: #C7922B;
  --gold-soft: #e0b364;
  --teal: #2E6E5E;
  --paper: #F6F4EE;
  --sand: #E4DBC3;
  --ink: #1B1B1B;
  --ink-soft: #4A4A46;
  --line: rgba(21,34,56,0.12);
  --white: #ffffff;

  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Work Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --max: 1180px;
  --radius: 4px;
}

*, *::before, *::after{ box-sizing: border-box; }

html{
  scroll-behavior: smooth;
}
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
  *{ animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

body{
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3{
  font-family: var(--font-display);
  color: var(--navy);
  margin: 0 0 0.5em;
  line-height: 1.15;
  font-weight: 600;
}

p{ margin: 0 0 1em; max-width: 62ch; color: var(--ink-soft); }

a{ color: inherit; }

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

.skip-link{
  position: absolute;
  left: -999px;
  top: auto;
  background: var(--navy);
  color: var(--white);
  padding: 0.75em 1.25em;
  z-index: 200;
}
.skip-link:focus{
  left: 1rem;
  top: 1rem;
}

:focus-visible{
  outline: 3px solid var(--gold);
  outline-offset: 2px;
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn{
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.85em 1.5em;
  border-radius: var(--radius);
  text-decoration: none;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.btn-primary{
  background: var(--gold);
  color: var(--navy);
}
.btn-primary:hover{ background: var(--gold-soft); }

.btn-ghost{
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn-ghost:hover{ background: var(--navy); color: var(--white); }

.btn-whatsapp{
  background: var(--teal);
  color: var(--white);
  font-size: 0.88rem;
  padding: 0.65em 1.1em;
}
.btn-whatsapp:hover{ background: #255a4d; }
.icon-wa{ width: 18px; height: 18px; fill: currentColor; }

.btn-outline-light{
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.6);
}
.btn-outline-light:hover{ background: rgba(255,255,255,0.12); }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header{
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.header-inner{
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.9em 1.5em;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5em;
}
.logo{
  display: flex;
  align-items: center;
  gap: 0.6em;
  text-decoration: none;
  color: var(--navy);
}
.logo-mark{
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  padding: 6px;
}
.logo-mark img{
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.logo-text{
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  line-height: 1.1;
}
.logo-sub{
  display: block;
  font-family: var(--font-body);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--ink-soft);
}

.main-nav{
  display: flex;
  gap: 1.8em;
}
.main-nav a{
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--ink);
  position: relative;
  padding: 0.25em 0;
}
.main-nav a:hover{ color: var(--navy); }
.main-nav a::after{
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 0; height: 2px;
  background: var(--gold);
  transition: width 0.15s ease;
}
.main-nav a:hover::after{ width: 100%; }

.header-actions{
  display: flex;
  align-items: center;
  gap: 1em;
}

.nav-toggle{
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: transparent;
  border: 1.5px solid var(--navy);
  border-radius: var(--radius);
  cursor: pointer;
}
.nav-toggle span{
  display: block;
  height: 2px;
  margin: 0 8px;
  background: var(--navy);
}

/* ==========================================================================
   Hero — asymmetric, left aligned
   ========================================================================== */
.hero{
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(2.5em, 6vw, 5em) 1.5em clamp(3em, 7vw, 6em);
}
.hero-inner{
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2em, 5vw, 4em);
  align-items: center;
}
.hero-kicker{
  font-family: var(--font-body);
  font-weight: 600;
  color: var(--teal);
  font-size: 0.95rem;
  margin-bottom: 0.9em;
  max-width: none;
}
.hero-copy h1{
  font-size: clamp(2.2rem, 4.4vw, 3.4rem);
  max-width: 15ch;
  margin-bottom: 0.4em;
}
.hero-lede{
  font-size: 1.08rem;
  max-width: 46ch;
}
.hero-cta-row{
  display: flex;
  flex-wrap: wrap;
  gap: 1em;
  margin-top: 1.6em;
}

.hero-visual{
  position: relative;
  min-height: 380px;
}
.hero-panel{
  position: absolute;
  top: -8%;
  right: -12%;
  width: 78%;
  height: 92%;
  background: var(--navy);
  clip-path: polygon(12% 0, 100% 0, 88% 100%, 0% 100%);
  z-index: 0;
}
.hero-image-slot{
  position: relative;
  z-index: 1;
  margin-left: 8%;
  width: 88%;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius);
  background: linear-gradient(145deg, #2c4468 0%, #14213a 55%, #C7922B 150%);
  overflow: hidden;
  box-shadow: 0 24px 48px -20px rgba(21,34,56,0.45);
}
.hero-image-slot img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hero-figure{
  position: absolute;
  z-index: 2;
  left: -6%;
  bottom: -6%;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1em 1.3em;
  display: flex;
  flex-direction: column;
  box-shadow: 0 18px 36px -18px rgba(21,34,56,0.3);
}
.fig-number{
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--navy);
  font-weight: 600;
  line-height: 1;
}
.fig-label{
  font-size: 0.78rem;
  color: var(--ink-soft);
  max-width: 14ch;
  margin-top: 0.35em;
}

/* ==========================================================================
   Sections
   ========================================================================== */
.section{
  padding: clamp(3em, 7vw, 5.5em) 1.5em;
}
.section-sand{ background: var(--sand); }
.section-services{
  background-image: linear-gradient(rgba(228,219,195,0.94), rgba(228,219,195,0.94)), url("../images/service-icon-bg.jpg");
  background-size: cover;
  background-position: center;
}
.section-inner{
  max-width: var(--max);
  margin: 0 auto;
}
.section-head{
  max-width: 640px;
  margin-bottom: clamp(2em, 5vw, 3em);
}
.section-head h2{
  font-size: clamp(1.7rem, 3vw, 2.3rem);
}
.section-head p{
  font-size: 1.02rem;
}

/* What we do */
.benefit-grid{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2.2em 1.8em;
}
.benefit-icon{
  display: inline-flex;
  color: var(--teal);
  margin-bottom: 0.9em;
}
.benefit-icon svg{ width: 34px; height: 34px; }
.benefit h3{
  font-size: 1.15rem;
  margin-bottom: 0.4em;
}
.benefit p{ font-size: 0.95rem; }

/* Services */
.service-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4em;
}
.service-card{
  background: var(--paper);
  border: 1px solid var(--line);
  border-left: 3px solid var(--teal);
  border-radius: var(--radius);
  padding: 1.6em 1.6em 1.8em;
}
.section-sand .service-card{ background: var(--white); }
.service-card h3{
  font-size: 1.08rem;
  margin-bottom: 0.5em;
}
.service-card p{ font-size: 0.94rem; margin-bottom: 0; }

/* Why us / stats */
.stat-row{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.6em;
  border-top: 1px solid var(--line);
  padding-top: 2.2em;
}
.stat{ display: flex; flex-direction: column; }
.stat-number{
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.6rem);
  color: var(--gold);
  font-weight: 600;
  line-height: 1;
}
.stat-label{
  margin-top: 0.5em;
  font-size: 0.9rem;
  color: var(--ink-soft);
  max-width: 18ch;
}

/* Testimonials */
.testimonial-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.8em;
}
.testimonial{ margin: 0; }
.testimonial-photo{
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(150deg, #2E6E5E, #152238);
  margin-bottom: 1em;
  overflow: hidden;
}
.testimonial-photo img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.testimonial-photo-alt{
  background: linear-gradient(150deg, #C7922B, #152238);
}
.testimonial blockquote{
  margin: 0 0 0.9em;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.08rem;
  color: var(--navy);
  line-height: 1.5;
}
.testimonial figcaption{
  font-size: 0.88rem;
  color: var(--ink-soft);
  font-weight: 600;
}

/* CTA banner */
.cta-banner{
  background-color: var(--navy);
  background-image: linear-gradient(120deg, rgba(21,34,56,0.88), rgba(21,34,56,0.82)), url("../images/cta-background.jpg"), linear-gradient(135deg, #2c4468, #0f1a2d);
  background-size: cover, cover, cover;
  background-position: center, center, center;
  color: var(--white);
  padding: clamp(3em, 7vw, 5em) 1.5em;
}
.cta-inner{
  max-width: 680px;
  margin: 0 auto;
  text-align: left;
}
.cta-inner h2{ color: var(--white); }
.cta-inner p{ color: rgba(255,255,255,0.82); font-size: 1.05rem; }
.cta-actions{
  display: flex;
  flex-wrap: wrap;
  gap: 1em;
  margin-top: 1.6em;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer{
  background: #0f1a2d;
  color: rgba(255,255,255,0.85);
}
.footer-inner{
  max-width: var(--max);
  margin: 0 auto;
  padding: 3em 1.5em 2em;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2em;
}
.footer-brand{
  display: flex;
  gap: 0.8em;
  align-items: flex-start;
}
.logo-mark-footer{
  background: var(--gold);
  color: var(--navy);
}
.footer-name{
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--white);
  margin: 0 0 0.2em;
}
.footer-tag{
  font-size: 0.88rem;
  color: rgba(255,255,255,0.65);
  margin: 0;
}
.footer-contact, .footer-nav{
  display: flex;
  flex-direction: column;
  gap: 0.7em;
  font-size: 0.92rem;
}
.footer-contact a, .footer-nav a{
  text-decoration: none;
  color: rgba(255,255,255,0.85);
}
.footer-contact a:hover, .footer-nav a:hover{ color: var(--gold); }
.footer-bottom{
  border-top: 1px solid rgba(255,255,255,0.12);
  padding: 1.2em 1.5em;
  text-align: center;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.55);
}
.footer-bottom p{ margin: 0; max-width: none; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 980px){
  .benefit-grid{ grid-template-columns: repeat(2, 1fr); }
  .service-grid{ grid-template-columns: repeat(2, 1fr); }
  .stat-row{ grid-template-columns: repeat(2, 1fr); row-gap: 2em; }
  .testimonial-grid{ grid-template-columns: 1fr; gap: 2.2em; }
  .footer-inner{ grid-template-columns: 1fr 1fr; }
  .footer-brand{ grid-column: 1 / -1; }
}

@media (max-width: 800px){
  .main-nav{
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    gap: 0;
    padding: 0.5em 1.5em 1em;
    display: none;
  }
  .main-nav.open{ display: flex; }
  .main-nav a{ padding: 0.7em 0; border-bottom: 1px solid var(--line); }
  .nav-toggle{ display: flex; }
  .btn-whatsapp span{ display: none; }

  .hero-inner{ grid-template-columns: 1fr; }
  .hero-visual{ order: -1; min-height: 300px; margin-bottom: 1em; }
  .hero-panel{ right: -6%; }
}

@media (max-width: 560px){
  .benefit-grid{ grid-template-columns: 1fr; }
  .service-grid{ grid-template-columns: 1fr; }
  .stat-row{ grid-template-columns: 1fr 1fr; }
  .footer-inner{ grid-template-columns: 1fr; }
  .header-actions{ gap: 0.6em; }
  .btn-whatsapp{ padding: 0.6em 0.8em; }
}
