/* ==========================================================================
   Carli Maq — Design tokens
   ========================================================================== */
:root{
  --navy-900:#081B32;
  --navy-800:#0D2555;
  --navy-700:#123368;
  --navy-600:#1B4483;
  --orange-600:#E06A0E;
  --orange-500:#F87D1F;
  --orange-400:#FF9A44;
  --amber-300:#FFC168;
  --white:#FFFFFF;
  --steel-50:#F4F6F9;
  --steel-100:#EAEEF3;
  --steel-200:#DCE2EA;
  --ink-800:#1B2530;
  --ink-700:#33404F;
  --ink-500:#5B6774;
  --ink-400:#7C8794;

  --font-head:'Sora', 'Inter', system-ui, sans-serif;
  --font-body:'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-mono:'JetBrains Mono', ui-monospace, 'Courier New', monospace;

  --radius-sm:3px;
  --radius-md:6px;
  --maxw:1240px;
  --edge:32px;
}

@media (max-width:640px){
  :root{ --edge:20px; }
}

*,*::before,*::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior:auto; }
  *,*::before,*::after{ animation-duration:0.001ms !important; animation-iteration-count:1 !important; transition-duration:0.001ms !important; scroll-behavior:auto !important; }
}

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

img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
ul{ margin:0; padding:0; list-style:none; }
h1,h2,h3,h4{
  font-family:var(--font-head);
  color:var(--navy-800);
  margin:0 0 .5em;
  line-height:1.15;
  font-weight:700;
  letter-spacing:-.02em;
}
p{ margin:0 0 1em; }
button{ font-family:inherit; cursor:pointer; }

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

.container{
  max-width:var(--maxw);
  margin:0 auto;
  padding:0 var(--edge);
}

.eyebrow{
  font-family:var(--font-mono);
  font-size:.72rem;
  font-weight:500;
  color:var(--orange-600);
  text-transform:uppercase;
  letter-spacing:.14em;
  display:inline-flex;
  align-items:center;
  gap:.6em;
  margin-bottom:.9em;
}
.eyebrow::before{
  content:"";
  width:22px;
  height:2px;
  background:var(--orange-500);
  display:inline-block;
}

.section{ padding:88px 0; }
.section--tight{ padding:64px 0; }
.section--alt{ background:var(--steel-50); }
.section--navy{ background:var(--navy-800); color:#CBD8EC; }
.section--navy h2, .section--navy h3{ color:var(--white); }

.section-head{ max-width:640px; margin-bottom:48px; }
.section-head p{ color:var(--ink-500); font-size:1.05rem; }

h2{ font-size:clamp(1.7rem, 3vw, 2.3rem); }
h3{ font-size:1.12rem; }

/* Botões — brilho que cruza no hover */
.btn{
  position:relative;
  overflow:hidden;
  isolation:isolate;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:.55em;
  padding:.85em 1.6em;
  border-radius:var(--radius-sm);
  font-weight:600;
  font-size:.98rem;
  border:2px solid transparent;
  transition:background .18s ease, border-color .18s ease, color .18s ease, transform .2s ease, box-shadow .2s ease;
  white-space:nowrap;
}
.btn::before{
  content:"";
  position:absolute; inset:0; z-index:-1;
  background:linear-gradient(110deg, transparent 30%, rgba(255,255,255,.35) 50%, transparent 70%);
  transform:translateX(-120%);
  transition:transform .6s ease;
}
.btn:hover::before{ transform:translateX(120%); }
.btn:hover{ transform:translateY(-2px); }
.btn:active{ transform:translateY(1px); }
.btn--primary{ background:var(--orange-500); color:var(--white); }
.btn--primary:hover{ background:var(--orange-600); box-shadow:0 14px 26px -12px rgba(248,125,31,.75); }
.btn--ghost{ border-color:var(--navy-700); color:var(--navy-800); background:transparent; }
.btn--ghost:hover{ background:var(--navy-800); color:var(--white); }
.btn--ghost-light{ border-color:rgba(255,255,255,.55); color:var(--white); }
.btn--ghost-light:hover{ background:var(--white); color:var(--navy-800); }
.btn--block{ width:100%; }

/* ==========================================================================
   Header / Nav
   ========================================================================== */
.site-header{
  position:fixed;
  top:0; left:0; right:0;
  z-index:500;
  background:rgba(255,255,255,.96);
  backdrop-filter:blur(6px);
  border-bottom:1px solid var(--steel-200);
}
.site-header__bar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  height:78px;
}
.brand{ display:flex; align-items:center; gap:.7em; }
.brand img{ height:44px; width:auto; }

.nav-links{
  display:flex;
  align-items:center;
  gap:2.1rem;
}
.nav-links a{
  font-size:.95rem;
  font-weight:500;
  color:var(--ink-700);
  position:relative;
  padding:.3em 0;
}
.nav-links a:hover{ color:var(--navy-800); }
.nav-links a.is-active{ color:var(--navy-800); font-weight:600; }
.nav-links a::after{
  content:"";
  position:absolute;
  left:0; bottom:-4px;
  width:100%; height:2px;
  background:var(--orange-500);
  transform:scaleX(0);
  transform-origin:left;
  transition:transform .3s ease;
}
.nav-links a:hover::after, .nav-links a.is-active::after{ transform:scaleX(1); }

.nav-right{ display:flex; align-items:center; gap:1.4rem; }
.nav-cta{ padding:.7em 1.35em; font-size:.9rem; }

.nav-toggle{
  display:none;
  width:42px; height:42px;
  border:1px solid var(--steel-200);
  border-radius:var(--radius-sm);
  background:var(--white);
  align-items:center;
  justify-content:center;
  flex-direction:column;
  gap:5px;
}
.nav-toggle span{
  width:20px; height:2px; background:var(--navy-800); display:block;
  transition:transform .2s ease, opacity .2s ease;
}
.nav-toggle.is-open span:nth-child(1){ transform:translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2){ opacity:0; }
.nav-toggle.is-open span:nth-child(3){ transform:translateY(-7px) rotate(-45deg); }

@media (max-width:900px){
  .nav-links{
    position:fixed;
    top:78px; left:0; right:0;
    background:var(--white);
    flex-direction:column;
    align-items:flex-start;
    gap:0;
    padding:8px var(--edge) 20px;
    border-bottom:1px solid var(--steel-200);
    transform:translateY(-6px);
    opacity:0;
    pointer-events:none;
    transition:opacity .18s ease, transform .18s ease;
  }
  .nav-links.is-open{ opacity:1; transform:translateY(0); pointer-events:auto; }
  .nav-links a{ width:100%; padding:.85em 0; border-bottom:1px solid var(--steel-100); }
  .nav-links a::after{ display:none; }
  .nav-cta{ display:none; }
  .nav-toggle{ display:flex; }
}

/* ==========================================================================
   Hero — carrossel (Bootstrap Carousel JS + CSS mínimo do componente)
   ========================================================================== */
.hero{
  position:relative;
  margin-top:78px;
  height:clamp(560px, 80vh, 720px);
  background:var(--navy-900);
  overflow:hidden;
}
.hero .carousel, .hero .carousel-inner, .hero .carousel-item{ height:100%; }

/* base do componente carousel (equivalente ao do Bootstrap 5) */
.carousel{ position:relative; }
.carousel-inner{ position:relative; width:100%; overflow:hidden; }
.carousel-inner::after{ display:block; clear:both; content:""; }
.carousel-item{
  position:relative;
  display:none;
  float:left;
  width:100%;
  margin-right:-100%;
  backface-visibility:hidden;
  transition:transform .6s ease-in-out;
}
.carousel-item.active, .carousel-item-next, .carousel-item-prev{ display:block; }
.carousel-item-next:not(.carousel-item-start), .active.carousel-item-end{ transform:translateX(100%); }
.carousel-item-prev:not(.carousel-item-end), .active.carousel-item-start{ transform:translateX(-100%); }
.carousel-fade .carousel-item{ opacity:0; transition-property:opacity; transition-duration:.9s; transform:none; }
.carousel-fade .carousel-item.active,
.carousel-fade .carousel-item-next.carousel-item-start,
.carousel-fade .carousel-item-prev.carousel-item-end{ z-index:1; opacity:1; }
.carousel-fade .active.carousel-item-start,
.carousel-fade .active.carousel-item-end{ z-index:0; opacity:0; transition:opacity 0s .9s; }

.hero .carousel-item.active, .hero .carousel-item-next, .hero .carousel-item-prev{ display:flex; align-items:center; }

.hero-slide__bg{
  position:absolute; inset:0;
  background-color:var(--navy-800);
  background-image:
    linear-gradient(100deg, rgba(8,27,50,.94) 0%, rgba(13,37,85,.78) 42%, rgba(13,37,85,.22) 100%),
    var(--bg);
  background-size:cover;
  background-position:center;
}
.carousel-item:is(.active, .carousel-item-next, .carousel-item-prev) .hero-slide__bg{ animation:heroZoom 8s ease-out both; }
@keyframes heroZoom{ from{ transform:scale(1.08); } to{ transform:scale(1); } }
.hero-slide__inner{ position:relative; z-index:1; width:100%; padding-bottom:56px; }

.hero__copy{ color:var(--white); max-width:640px; }
.hero__kicker{
  font-family:var(--font-mono);
  color:var(--orange-400);
  font-size:.72rem;
  font-weight:500;
  text-transform:uppercase;
  letter-spacing:.14em;
  margin-bottom:1.1em;
  display:flex; align-items:center; gap:.7em;
}
.hero__kicker::before{ content:""; width:26px; height:2px; background:var(--orange-500); }
.hero-title{
  color:var(--white);
  font-size:clamp(2.1rem, 4.2vw, 3.4rem);
  letter-spacing:-.03em;
  margin-bottom:.42em;
}
.hero__lead{ color:#C5D3E7; font-size:1.1rem; max-width:520px; }
.hero__actions{ display:flex; flex-wrap:wrap; gap:14px; margin-top:2em; }

/* Vale para .active E para o slide que está entrando (-next/-prev): a animação começa junto
   com o fade e continua sem reiniciar quando o Bootstrap troca as classes no fim da transição. */
.carousel-item:is(.active, .carousel-item-next, .carousel-item-prev) .hero__copy > *{ animation:heroRise .8s cubic-bezier(.2,.8,.2,1) both; }
.carousel-item:is(.active, .carousel-item-next, .carousel-item-prev) .hero__copy > *:nth-child(2){ animation-delay:.12s; }
.carousel-item:is(.active, .carousel-item-next, .carousel-item-prev) .hero__copy > *:nth-child(3){ animation-delay:.24s; }
.carousel-item:is(.active, .carousel-item-next, .carousel-item-prev) .hero__copy > *:nth-child(4){ animation-delay:.36s; }
@keyframes heroRise{ from{ opacity:0; transform:translateY(24px); } to{ opacity:1; transform:none; } }

.carousel-control-prev, .carousel-control-next{
  position:absolute; top:50%; z-index:3;
  width:48px; height:48px; padding:0;
  border-radius:50%;
  transform:translateY(-50%);
  border:1px solid rgba(255,255,255,.35);
  background:rgba(8,27,50,.35);
  color:var(--white);
  display:flex; align-items:center; justify-content:center;
  backdrop-filter:blur(4px);
  transition:background .2s ease, border-color .2s ease, transform .2s ease;
}
.carousel-control-prev{ left:24px; }
.carousel-control-next{ right:24px; }
.carousel-control-prev svg, .carousel-control-next svg{ width:20px; height:20px; }
.carousel-control-prev:hover, .carousel-control-next:hover{
  background:var(--orange-500); border-color:var(--orange-500); transform:translateY(-50%) scale(1.1);
}

.carousel-indicators{
  position:absolute; z-index:3; bottom:88px;
  left:max(var(--edge), calc((100% - var(--maxw)) / 2 + var(--edge)));
  display:flex; gap:10px;
  margin:0; padding:0; list-style:none;
}
.carousel-indicators [data-bs-target]{
  position:relative;
  width:34px; height:4px; padding:0; border:0; border-radius:2px;
  background:rgba(255,255,255,.4);
  transition:width .3s ease, background .3s ease;
}
.carousel-indicators [data-bs-target]::before{ content:""; position:absolute; inset:-10px 0; }
.carousel-indicators .active{ width:56px; background:var(--orange-500); }

/* Faixa de números sobre o hero */
.hero-stats{ position:relative; z-index:5; margin-top:-56px; }
.hero-stats__grid{
  display:grid; grid-template-columns:repeat(4, 1fr);
  background:var(--white);
  border-radius:var(--radius-md);
  overflow:hidden;
  box-shadow:0 30px 60px -30px rgba(3,14,32,.5);
}
.hero-stat{
  position:relative;
  padding:26px 28px;
  border-right:1px solid var(--steel-200);
  transition:background .25s ease;
}
.hero-stat:last-child{ border-right:0; }
.hero-stat::after{
  content:""; position:absolute; left:0; right:0; bottom:0; height:3px;
  background:var(--orange-500);
  transform:scaleX(0); transform-origin:left; transition:transform .35s ease;
}
.hero-stat:hover{ background:var(--steel-50); }
.hero-stat:hover::after{ transform:scaleX(1); }
.hero-stat b{ display:block; font-family:var(--font-head); font-size:1.55rem; color:var(--navy-800); line-height:1.1; margin-bottom:.25em; }
.hero-stat span{ font-size:.85rem; color:var(--ink-500); }

@media (max-width:900px){
  .hero-stats__grid{ grid-template-columns:1fr 1fr; }
  .hero-stat:nth-child(2){ border-right:0; }
  .hero-stat:nth-child(-n+2){ border-bottom:1px solid var(--steel-200); }
}
@media (max-width:640px){
  .hero{ height:640px; }
  .carousel-control-prev, .carousel-control-next{ display:none; }
  .carousel-indicators{ bottom:76px; }
}

/* ==========================================================================
   Brand logos strip (marcas atendidas)
   ========================================================================== */
.brands{ padding:52px 0; border-bottom:1px solid var(--steel-200); }
.hero-stats + .brands{ padding-top:44px; }
.brands__head{ display:flex; align-items:baseline; justify-content:space-between; gap:20px; margin-bottom:26px; flex-wrap:wrap; }
.brands__head h3{ font-size:1rem; color:var(--ink-500); font-weight:600; margin:0; }
.brands__row{
  display:grid;
  grid-template-columns:repeat(6, 1fr);
  gap:14px;
}
.brands__logo{
  height:64px;
  border:1px dashed var(--steel-200);
  border-radius:var(--radius-sm);
  display:flex; align-items:center; justify-content:center;
  color:var(--ink-400);
  font-family:var(--font-mono);
  font-size:.72rem;
  text-align:center;
  padding:4px 8px;
  background:var(--steel-50);
  transition:transform .25s ease, border-color .25s ease, color .25s ease, background .25s ease, box-shadow .25s ease;
}
.brands__logo:hover{
  transform:translateY(-4px);
  border-style:solid; border-color:var(--orange-500);
  color:var(--navy-800); background:var(--white);
  box-shadow:0 14px 24px -14px rgba(8,27,50,.35);
}
@media (max-width:900px){ .brands__row{ grid-template-columns:repeat(3, 1fr); } }
@media (max-width:560px){ .brands__row{ grid-template-columns:repeat(2, 1fr); } }

/* ==========================================================================
   CARLI CODE feature callout
   ========================================================================== */
.carlicode{
  display:grid;
  grid-template-columns:1fr .8fr;
  gap:48px;
  align-items:center;
  background:var(--navy-800);
  border-radius:var(--radius-md);
  padding:52px;
  color:#CBD8EC;
}
.carlicode__badge{
  display:inline-flex; align-items:center; gap:.5em;
  font-family:var(--font-mono); font-size:.8rem; color:var(--orange-400);
  background:rgba(255,255,255,.06); border:1px solid rgba(255,255,255,.16);
  padding:.4em .8em; border-radius:var(--radius-sm);
  margin-bottom:1.1em;
}
.carlicode h2, .carlicode h3{ color:var(--white); }
.carlicode p{ color:#B9C8DE; }
.carlicode__list{ margin-top:20px; display:flex; flex-direction:column; gap:12px; }
.carlicode__list li{ display:flex; gap:10px; font-size:.95rem; align-items:flex-start; transition:transform .25s ease; }
.carlicode__list li:hover{ transform:translateX(6px); }
.carlicode__list svg{ width:18px; height:18px; color:var(--orange-400); flex-shrink:0; margin-top:.15em; }

.carlicode__mock{
  background:var(--white);
  border-radius:var(--radius-md);
  padding:28px;
  color:var(--ink-700);
  max-width:320px;
  margin:0 auto;
  transition:transform .45s cubic-bezier(.2,.8,.2,1), box-shadow .45s ease;
}
.carlicode__mock:hover{
  transform:perspective(900px) rotateY(-6deg) rotateX(3deg) translateY(-6px);
  box-shadow:0 30px 50px -24px rgba(0,0,0,.55);
}
.carlicode__mock-label{
  font-family:var(--font-mono); font-size:.72rem; color:var(--orange-600);
  text-align:center; margin-bottom:14px;
}
/* Campo do QR Code real: coloque assets/carli-code-qr.png */
.carlicode__qr{
  position:relative;
  width:100%; aspect-ratio:1/1;
  background:var(--steel-50);
  border:2px dashed var(--steel-200);
  border-radius:var(--radius-sm);
  margin-bottom:16px;
  display:flex; align-items:center; justify-content:center;
  overflow:hidden;
}
.carlicode__qr img{
  position:absolute; inset:0; z-index:1;
  width:100%; height:100%;
  object-fit:contain;
  background:var(--white);
  padding:10px;
}
.carlicode__qr-ph{ text-align:center; color:var(--ink-400); font-family:var(--font-mono); font-size:.75rem; padding:16px; line-height:1.5; }
.carlicode__qr-ph small{ display:block; margin-top:.5em; color:var(--orange-600); font-size:.68rem; }
.carlicode__qr::after{
  content:""; position:absolute; left:0; right:0; top:0; height:3px; z-index:2;
  background:var(--orange-500); box-shadow:0 0 14px var(--orange-500);
  opacity:0;
}
.carlicode__mock:hover .carlicode__qr::after{ opacity:1; animation:scanY 1.6s ease-in-out infinite alternate; }
@keyframes scanY{ to{ top:calc(100% - 3px); } }
.carlicode__scan{
  display:flex; align-items:center; justify-content:center; gap:.6em;
  font-size:.88rem; font-weight:600; color:var(--navy-800);
  padding:.7em; border-radius:var(--radius-sm);
  background:var(--steel-50); border:1px solid var(--steel-200);
}
.carlicode__scan svg{ width:18px; height:18px; color:var(--orange-500); }

@media (max-width:900px){
  .carlicode{ grid-template-columns:1fr; padding:36px 26px; }
}

/* ==========================================================================
   About
   ========================================================================== */
.about__grid{
  display:grid;
  grid-template-columns:.95fr 1.05fr;
  gap:64px;
  align-items:start;
}
.about__figure{
  position:sticky;
  top:110px;
  background:var(--navy-800);
  border-radius:var(--radius-md);
  padding:34px;
  color:var(--white);
}
.about__figure img{ width:120px; margin-bottom:22px; opacity:.9; }
.about__figure p{ color:#B9C8DE; font-size:.98rem; }
.about__figure-quote{
  font-family:var(--font-head);
  font-size:1.3rem;
  line-height:1.4;
  color:var(--white);
  margin-bottom:18px;
}
.about__figure-role{ font-size:.85rem; color:var(--orange-400); font-family:var(--font-mono); }

@media (max-width:900px){
  .about__grid{ grid-template-columns:1fr; gap:32px; }
  .about__figure{ position:static; }
}

/* ==========================================================================
   Plate cards (values / services overview)
   ========================================================================== */
.plate-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(250px, 1fr));
  gap:22px;
}
.plate{
  position:relative;
  background:var(--white);
  border:1px solid var(--steel-200);
  border-radius:var(--radius-md);
  padding:30px 26px 26px;
  box-shadow:inset 0 0 0 0 var(--orange-500);
  transition:border-color .2s ease, transform .25s ease, box-shadow .3s ease;
}
.plate:hover{
  border-color:var(--orange-500);
  transform:translateY(-4px);
  box-shadow:inset 0 3px 0 0 var(--orange-500), 0 22px 40px -24px rgba(8,27,50,.3);
}
.plate::before, .plate::after{
  content:"";
  position:absolute;
  width:6px; height:6px;
  border-radius:50%;
  background:var(--steel-200);
  top:10px;
}
.plate::before{ left:10px; }
.plate::after{ right:10px; }
.plate__num{
  font-family:var(--font-mono);
  color:var(--orange-600);
  font-size:.8rem;
  margin-bottom:.9em;
  display:block;
  transition:color .25s ease;
}
.plate:hover .plate__num{ color:var(--navy-800); }
.plate__icon{
  width:46px; height:46px;
  border-radius:var(--radius-sm);
  background:var(--steel-50);
  border:1px solid var(--steel-200);
  display:flex; align-items:center; justify-content:center;
  margin-bottom:18px;
  color:var(--navy-800);
  transition:background .25s ease, color .25s ease, border-color .25s ease, transform .3s ease;
}
.plate:hover .plate__icon{ background:var(--orange-500); color:var(--white); border-color:var(--orange-500); transform:rotate(-6deg) scale(1.08); }
.plate__icon svg{ width:24px; height:24px; }
.plate p{ color:var(--ink-500); font-size:.96rem; margin-bottom:0; }

/* ==========================================================================
   Process steps
   ========================================================================== */
.steps{
  display:grid;
  grid-template-columns:repeat(4, 1fr);
  gap:0;
  border:1px solid var(--steel-200);
  border-radius:var(--radius-md);
  overflow:hidden;
}
.step{
  padding:28px 24px;
  border-right:1px solid var(--steel-200);
  background:var(--white);
  transition:background .3s ease;
}
.step:last-child{ border-right:none; }
.step__index{ display:block; font-family:var(--font-head); font-size:2rem; font-weight:700; color:var(--steel-200); margin-bottom:.2em; transition:color .3s ease; }
.step h3{ font-size:1.05rem; margin-bottom:.4em; transition:color .3s ease; }
.step p{ color:var(--ink-500); font-size:.9rem; margin-bottom:0; transition:color .3s ease; }
.step:hover{ background:var(--navy-800); }
.step:hover h3{ color:var(--white); }
.step:hover p{ color:#B9C8DE; }
.step:hover .step__index{ color:var(--orange-500); }
@media (max-width:900px){
  .steps{ grid-template-columns:1fr 1fr; }
  .step{ border-bottom:1px solid var(--steel-200); }
  .step:nth-child(2){ border-right:none; }
}
@media (max-width:560px){
  .steps{ grid-template-columns:1fr; }
}

/* ==========================================================================
   Testimonials
   ========================================================================== */
.reviews{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:22px;
}
.review{
  position:relative;
  overflow:hidden;
  background:var(--white);
  border:1px solid var(--steel-200);
  border-radius:var(--radius-md);
  padding:28px;
  display:flex;
  flex-direction:column;
  transition:transform .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.review::before{
  content:"\201C";
  position:absolute; top:6px; right:22px; line-height:1;
  font-family:var(--font-head); font-size:4.5rem; color:var(--steel-100);
  transition:color .3s ease, transform .3s ease;
}
.review:hover{ transform:translateY(-6px); border-color:var(--orange-500); box-shadow:0 26px 44px -26px rgba(8,27,50,.35); }
.review:hover::before{ color:var(--orange-400); transform:scale(1.15) rotate(-6deg); }
.review__stars{ color:var(--orange-500); font-size:.95rem; letter-spacing:.15em; margin-bottom:14px; }
.review__quote{ color:var(--ink-700); font-size:.98rem; flex:1; }
.review__who{ display:flex; align-items:center; gap:12px; margin-top:16px; padding-top:16px; border-top:1px solid var(--steel-100); }
.review__avatar{
  width:42px; height:42px; border-radius:50%;
  background:var(--navy-800); color:var(--white);
  display:flex; align-items:center; justify-content:center;
  font-family:var(--font-head); font-size:.9rem; font-weight:600;
  flex-shrink:0;
  transition:background .25s ease, transform .25s ease;
}
.review:hover .review__avatar{ background:var(--orange-500); transform:scale(1.08); }
.review__who strong{ display:block; font-size:.92rem; color:var(--navy-800); }
.review__who span{ font-size:.82rem; color:var(--ink-500); }

.rating-summary{
  display:flex; align-items:center; gap:18px;
  margin-bottom:40px; flex-wrap:wrap;
}
.rating-summary__score{ font-family:var(--font-head); font-weight:700; font-size:2.6rem; color:var(--navy-800); }
.rating-summary__stars{ color:var(--orange-500); letter-spacing:.15em; }
.rating-summary__count{ color:var(--ink-500); font-size:.9rem; }

@media (max-width:900px){ .reviews{ grid-template-columns:1fr; } }

/* ==========================================================================
   Contact
   ========================================================================== */
.contact__grid{
  display:grid;
  grid-template-columns:.9fr 1.1fr;
  gap:48px;
}
.contact__info h2{ color:var(--white); }
.contact__list{ margin-top:28px; display:flex; flex-direction:column; gap:20px; }
.contact__list li{ display:flex; gap:14px; align-items:flex-start; }
.contact__list .ico{
  width:38px; height:38px; border-radius:var(--radius-sm);
  background:rgba(255,255,255,.08); border:1px solid rgba(255,255,255,.16);
  display:flex; align-items:center; justify-content:center; flex-shrink:0;
  transition:background .25s ease, border-color .25s ease, transform .25s ease;
}
.contact__list .ico svg{ width:18px; height:18px; }
.contact__list strong{ display:block; color:var(--white); font-size:.95rem; margin-bottom:.15em; }
.contact__list span, .contact__list a{ color:#AEBFD7; font-size:.92rem; }

.contact__form{
  background:var(--white);
  border-radius:var(--radius-md);
  padding:36px;
  color:var(--ink-700);
}
.form-row{ display:grid; grid-template-columns:1fr 1fr; gap:16px; }
.field{ margin-bottom:18px; }
.field label{ display:block; font-size:.85rem; font-weight:600; color:var(--navy-800); margin-bottom:.45em; }
.field input, .field select, .field textarea{
  width:100%;
  border:1px solid var(--steel-200);
  border-radius:var(--radius-sm);
  padding:.75em .85em;
  font-family:inherit;
  font-size:.95rem;
  color:var(--ink-700);
  background:var(--steel-50);
  transition:border-color .15s ease, background .15s ease, box-shadow .2s ease;
}
.field input:focus, .field select:focus, .field textarea:focus{
  outline:none; border-color:var(--orange-500); background:var(--white);
  box-shadow:0 0 0 4px rgba(248,125,31,.15);
}
.field textarea{ resize:vertical; min-height:110px; }
.form-note{ font-size:.82rem; color:var(--ink-500); margin-top:10px; }
.form-status{ font-size:.9rem; margin-top:14px; display:none; padding:.8em 1em; border-radius:var(--radius-sm); }
.form-status.is-visible{ display:block; }
.form-status.ok{ background:#EAF7EE; color:#1F7A3E; border:1px solid #BFE6C8; }
.form-status.err{ background:#FCEAE8; color:#B23A2E; border:1px solid #F3C6C0; }

@media (max-width:900px){
  .contact__grid{ grid-template-columns:1fr; }
  .form-row{ grid-template-columns:1fr; }
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer{ background:var(--navy-900); color:#9FB0C7; padding:64px 0 26px; }
.footer__grid{
  display:grid;
  grid-template-columns:1.4fr 1fr 1fr 1fr;
  gap:32px;
  padding-bottom:40px;
  border-bottom:1px solid rgba(255,255,255,.08);
}
.footer__brand img{ height:38px; margin-bottom:16px; }
.footer__brand p{ font-size:.9rem; max-width:280px; }
.footer h4{ color:var(--white); font-size:.9rem; text-transform:uppercase; letter-spacing:.06em; margin-bottom:1.1em; }
.footer ul li{ margin-bottom:.7em; font-size:.9rem; }
.footer ul a{ display:inline-block; transition:transform .2s ease, color .2s ease; }
.footer ul a:hover{ color:var(--white); transform:translateX(5px); }
.footer__bottom{
  display:flex; justify-content:space-between; align-items:center;
  padding-top:22px; font-size:.82rem; flex-wrap:wrap; gap:10px;
}
.footer__social{ display:flex; gap:10px; }
.footer__social a{
  width:34px; height:34px; border-radius:50%;
  border:1px solid rgba(255,255,255,.18);
  display:flex; align-items:center; justify-content:center;
  transition:transform .4s ease, background .25s ease, border-color .25s ease;
}
.footer__social a:hover{ background:var(--orange-500); border-color:var(--orange-500); color: black; }
.footer__social svg{ width:16px; height:16px; }

@media (max-width:900px){
  .footer__grid{ grid-template-columns:1fr 1fr; }
}
@media (max-width:560px){
  .footer__grid{ grid-template-columns:1fr; }
  .footer__bottom{ flex-direction:column; align-items:flex-start; }
}

/* ==========================================================================
   WhatsApp floating button (bottom-left, all pages)
   ========================================================================== */
.wa-float{
  position:fixed;
  right:22px; bottom:22px;
  z-index:600;
  width:58px; height:58px;
  border-radius:50%;
  background:#25D366;
  display:flex; align-items:center; justify-content:center;
  box-shadow:0 14px 28px -10px rgba(0,0,0,.45);
  transition:transform .18s ease;
}
.wa-float:hover{ transform:scale(1.07); }
.wa-float svg{ width:30px; height:30px; }
.wa-float__ping{
  position:absolute; inset:0; border-radius:50%;
  border:2px solid #25D366;
  animation:wa-ping 2.4s ease-out infinite;
}
@keyframes wa-ping{
  0%{ transform:scale(1); opacity:.7; }
  100%{ transform:scale(1.6); opacity:0; }
}
@media (prefers-reduced-motion: reduce){
  .wa-float__ping{ animation:none; display:none; }
}

/* ==========================================================================
   Services page
   ========================================================================== */
.page-hero{
  margin-top:78px;
  background:var(--navy-800);
  padding:70px 0 64px;
  position:relative;
  overflow:hidden;
}
.page-hero::after{
  content:"";
  position:absolute; right:-10%; top:-30%;
  width:420px; height:420px;
  border:60px solid rgba(255,255,255,.04);
  border-radius:50%;
}
.page-hero__content{ position:relative; z-index:1; max-width:620px; }
.page-hero h1{ color:var(--white); }
.page-hero p{ color:#C5D3E7; font-size:1.05rem; }

.service-grid{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:22px;
}
@media (max-width:960px){ .service-grid{ grid-template-columns:1fr 1fr; } }
@media (max-width:640px){ .service-grid{ grid-template-columns:1fr; } }

.service-card{
  position:relative;
  text-align:left;
  background:var(--white);
  border:1px solid var(--steel-200);
  border-radius:var(--radius-md);
  padding:0;
  overflow:hidden;
  cursor:pointer;
  transition:transform .3s cubic-bezier(.2,.8,.2,1), box-shadow .3s ease, border-color .3s ease;
  width:100%;
  color:inherit;
}
.service-card::after{
  content:""; position:absolute; left:0; right:0; bottom:0; height:3px; z-index:3;
  background:var(--orange-500);
  transform:scaleX(0); transform-origin:left; transition:transform .4s ease;
}
.service-card:hover{
  transform:translateY(-6px);
  box-shadow:0 24px 40px -22px rgba(8,27,50,.35);
  border-color:var(--orange-500);
}
.service-card:hover::after{ transform:scaleX(1); }
.service-card__media{
  height:200px;
  background:linear-gradient(135deg, var(--navy-800), var(--navy-600));
  display:flex; align-items:center; justify-content:center;
  position:relative;
  overflow:hidden;
}
.service-card__media::after{
  content:""; position:absolute; inset:0;
  background:linear-gradient(180deg, rgba(8,27,50,.05) 35%, rgba(8,27,50,.6));
}
.service-card__media svg{ position:relative; z-index:1; width:52px; height:52px; color:var(--orange-400); }
.service-card__media:has(.service-card__img) svg{ display:none; }
.service-card__img{
  position:absolute; inset:0;
  width:100%; height:100%;
  object-fit:cover;
  transition:transform .8s cubic-bezier(.2,.8,.2,1);
}
.service-card:hover .service-card__img{ transform:scale(1.1); }
.service-card__tag{
  position:absolute; top:14px; left:14px; z-index:2;
  font-family:var(--font-mono); font-size:.7rem; color:var(--white);
  background:rgba(255,255,255,.12); border:1px solid rgba(255,255,255,.25);
  backdrop-filter:blur(4px);
  padding:.3em .6em; border-radius:var(--radius-sm);
  transition:background .3s ease, border-color .3s ease, transform .3s ease;
}
.service-card:hover .service-card__tag{ background:var(--orange-500); border-color:var(--orange-500); transform:translateY(-2px); }
.service-card--featured{ border-color:var(--orange-500); }
.service-card--featured .service-card__media{
  background:linear-gradient(135deg, var(--orange-600), var(--orange-400));
}
.service-card--featured .service-card__media svg{ color:var(--navy-900); }
.service-card__tag--solo{
  top:14px; right:14px; left:auto;
  background:var(--navy-900); border-color:var(--navy-900);
}
.service-card--featured:hover .service-card__tag--solo{ background:var(--orange-600); border-color:var(--orange-600); }
.service-card__body{ padding:24px; }
.service-card__body h3{ margin-bottom:.5em; }
.service-card__body p{ color:var(--ink-500); font-size:.92rem; margin-bottom:14px; }
.service-card__cta{
  display:inline-flex; align-items:center; gap:.5em;
  font-size:.85rem; font-weight:600; color:var(--navy-800);
  transition:color .25s ease, gap .25s ease;
}
.service-card__cta svg{ width:15px; height:15px; transition:transform .18s ease; }
.service-card:hover .service-card__cta{ color:var(--orange-600); gap:.85em; }
.service-card:hover .service-card__cta svg{ transform:translateX(4px); }

/* Full-screen service detail overlay */
.service-overlay{
  position:fixed; inset:0; z-index:1000;
  visibility:hidden;
  opacity:0;
  transition:opacity .28s ease, visibility 0s linear .28s;
}
.service-overlay.is-open{
  visibility:visible;
  opacity:1;
  transition:opacity .28s ease;
}
.service-overlay__backdrop{
  position:absolute; inset:0;
  background:rgba(6,16,32,.6);
}
.service-overlay__panel{
  position:absolute;
  top:0; right:0; bottom:0;
  width:min(720px, 100%);
  background:var(--white);
  overflow-y:auto;
  transform:translateX(24px);
  transition:transform .32s cubic-bezier(.2,.8,.2,1);
}
.service-overlay.is-open .service-overlay__panel{ transform:translateX(0); }
.service-overlay__head{
  background:var(--navy-800);
  color:var(--white);
  padding:70px 44px 40px;
  position:relative;
}
.service-overlay__close{
  position:absolute; top:24px; right:24px;
  width:42px; height:42px; border-radius:50%;
  background:rgba(255,255,255,.1); border:1px solid rgba(255,255,255,.25);
  color:var(--white);
  display:flex; align-items:center; justify-content:center;
  transition:background .2s ease, border-color .2s ease, transform .3s ease;
}
.service-overlay__close:hover{ background:var(--orange-500); border-color:var(--orange-500); transform:rotate(90deg); }
.service-overlay__close svg{ width:18px; height:18px; }
.service-overlay__eyebrow{ display:block; font-family:var(--font-mono); color:var(--orange-400); font-size:.8rem; margin-bottom:.8em; }
.service-overlay__head h2{ color:var(--white); font-size:2rem; margin-bottom:.35em; }
.service-overlay__head p{ color:#C5D3E7; margin-bottom:0; }
.service-overlay__body{ padding:40px 44px 60px; }
.service-overlay__body h4{
  font-family:var(--font-mono); text-transform:uppercase; font-size:.78rem; font-weight:500;
  letter-spacing:.08em; color:var(--orange-600); margin:0 0 1em;
}
.spec-table{ width:100%; border-collapse:collapse; margin-bottom:36px; }
.spec-table tr{ border-bottom:1px solid var(--steel-200); transition:background .2s ease; }
.spec-table tr:hover{ background:var(--steel-50); }
.spec-table td{ padding:.7em 0; font-size:.92rem; }
.spec-table td:first-child{ color:var(--ink-500); width:46%; }
.spec-table td:last-child{ font-family:var(--font-mono); color:var(--navy-800); font-weight:500; font-size:.85rem; }
.check-list{ margin-bottom:36px; }
.check-list li{ display:flex; gap:12px; padding:.5em 0; font-size:.94rem; align-items:flex-start; transition:transform .2s ease; }
.check-list li:hover{ transform:translateX(5px); }
.check-list svg{ width:18px; height:18px; color:var(--orange-500); flex-shrink:0; margin-top:.15em; }
.service-overlay__body .btn{ margin-top:8px; }

@media (max-width:640px){
  .service-overlay__panel{ width:100%; }
  .service-overlay__head{ padding:64px 24px 32px; }
  .service-overlay__body{ padding:32px 24px 48px; }
}

/* FAQ accordion */
.faq{ max-width:760px; }
.faq-item{ border-bottom:1px solid var(--steel-200); }
.faq-item summary{
  list-style:none;
  display:flex; align-items:center; justify-content:space-between;
  padding:22px 0; cursor:pointer;
  font-family:var(--font-head); font-weight:600; color:var(--navy-800); font-size:1.02rem;
  transition:color .2s ease, padding-left .25s ease;
}
.faq-item summary:hover{ color:var(--orange-600); padding-left:8px; }
.faq-item summary::-webkit-details-marker{ display:none; }
.faq-item summary .plus{
  width:26px; height:26px; border-radius:50%; border:1px solid var(--steel-200);
  display:flex; align-items:center; justify-content:center; flex-shrink:0; margin-left:16px;
  font-family:var(--font-body); color:var(--navy-800); font-size:1.1rem;
  transition:transform .2s ease;
}
.faq-item[open] summary .plus{ transform:rotate(45deg); border-color:var(--orange-500); color:var(--orange-500); }
.faq-item p{ color:var(--ink-500); padding-bottom:22px; margin:0; max-width:640px; }

/* Utility */
.text-center{ text-align:center; }
.mx-auto{ margin-left:auto; margin-right:auto; }
.mt-lg{ margin-top:48px; }
.sr-only{
  position:absolute; width:1px; height:1px; padding:0; margin:-1px;
  overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0;
}
.skip-link{
  position:absolute; left:-999px; top:0; background:var(--navy-800); color:var(--white);
  padding:.8em 1.2em; z-index:2000; border-radius:0 0 6px 0;
}
.skip-link:focus{ left:0; }