/* =========================================================
   ANP Ar Condicionado — Estilos
   Paleta derivada do logo: azul-marinho (navy) + vinho/bordô + branco/cinza
   ========================================================= */

:root {
  /* Cores da marca — navy (estrutural) */
  --blue-400: #7d8fe8;   /* periwinkle claro — somente sobre fundos escuros */
  --blue-500: #283c93;
  --blue-600: #1e2f78;
  --blue-700: #17245d;
  --blue-800: #101a45;
  --blue-900: #0a1230;
  --cyan: #4257b8;

  /* Acento — vinho/bordô (do "A" e do "20 Anos" do logo) */
  --wine-400: #c43a4e;   /* claro — sobre fundos escuros */
  --wine-500: #a01428;
  --wine-600: #7e0f1f;

  --ice: #eef0fa;
  --ice-2: #f6f7fc;

  --white: #ffffff;
  --slate-900: #0f2433;
  --slate-700: #2e4459;
  --slate-600: #51677a;
  --slate-400: #8aa0b3;
  --line: #e3e6f2;

  --whatsapp: #25d366;
  --whatsapp-dark: #1da851;

  --green-50: #eef7ef;
  --green-500: #2e8b3d;
  --green-600: #237a30;
  --green-700: #1a5f26;
  --grad-eco: linear-gradient(135deg, #2e8b3d, #1a5f26);

  --grad-brand: linear-gradient(135deg, var(--blue-500), var(--blue-700));
  --grad-accent: linear-gradient(135deg, var(--wine-500), var(--wine-600));
  --grad-hero: linear-gradient(120deg, rgba(10, 18, 48, 0.93), rgba(30, 47, 120, 0.82));

  --shadow-sm: 0 2px 8px rgba(10, 18, 48, 0.08);
  --shadow-md: 0 10px 30px rgba(10, 18, 48, 0.13);
  --shadow-lg: 0 22px 60px rgba(10, 18, 48, 0.20);

  --radius: 16px;
  --radius-sm: 12px;
  --container: 1160px;

  --ff-head: 'Poppins', system-ui, sans-serif;
  --ff-body: 'Inter', system-ui, sans-serif;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 96px; }

body {
  font-family: var(--ff-body);
  color: var(--slate-700);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

h1, h2, h3, h4 { font-family: var(--ff-head); color: var(--slate-900); line-height: 1.2; font-weight: 700; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 24px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--ff-head); font-weight: 600; font-size: 0.98rem;
  padding: 13px 26px; border-radius: 999px; border: 2px solid transparent;
  cursor: pointer; transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
  white-space: nowrap; line-height: 1;
}
.btn svg { width: 20px; height: 20px; fill: currentColor; }
.btn--lg { padding: 16px 32px; font-size: 1.05rem; }
.btn--block { width: 100%; }

.btn--primary { background: var(--grad-accent); color: #fff; box-shadow: 0 10px 30px rgba(160, 20, 40, 0.28); }
.btn--primary:hover { transform: translateY(-3px); box-shadow: 0 16px 40px rgba(160, 20, 40, 0.38); }

.btn--whatsapp { background: var(--whatsapp); color: #fff; box-shadow: 0 8px 22px rgba(37, 211, 102, 0.35); }
.btn--whatsapp:hover { background: var(--whatsapp-dark); transform: translateY(-3px); box-shadow: 0 14px 30px rgba(37, 211, 102, 0.45); }

.btn--ghost { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.55); }
.btn--ghost:hover { background: #fff; color: var(--blue-700); border-color: #fff; transform: translateY(-3px); }

.section--alt .btn--ghost,
.cta-band .btn--ghost { /* contexts where ghost sits on color handled individually */ }

/* ---------- Top bar ---------- */
.topbar { background: var(--blue-900); color: #c8cfea; font-size: .85rem; }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; min-height: 40px; gap: 16px; }
.topbar__contacts { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.topbar__item { display: inline-flex; align-items: center; gap: 7px; color: #c8cfea; transition: color .2s; }
.topbar__item:hover { color: #fff; }
.topbar__item svg { width: 15px; height: 15px; fill: var(--blue-400); }
.topbar__social { display: flex; gap: 6px; }
.topbar__social a { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; background: rgba(255,255,255,.08); transition: background .2s, transform .2s; }
.topbar__social a:hover { background: var(--blue-500); transform: translateY(-2px); }
.topbar__social svg { width: 15px; height: 15px; fill: #fff; }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 100;
  background: #fff;
  border-bottom: 1px solid var(--line);
  transition: box-shadow .3s, padding .3s;
}
.header.scrolled { box-shadow: var(--shadow-sm); }
.header__inner { display: flex; align-items: center; justify-content: space-between; min-height: 78px; transition: min-height .3s; }
.header.scrolled .header__inner { min-height: 66px; }

.brand { display: inline-flex; align-items: center; }
.brand__logo { height: 50px; width: auto; transition: height .3s; }
.header.scrolled .brand__logo { height: 44px; }

.nav { display: flex; align-items: center; gap: 6px; }
.nav__link {
  font-family: var(--ff-head); font-weight: 500; font-size: .96rem; color: var(--slate-700);
  padding: 9px 14px; border-radius: 8px; position: relative; transition: color .2s, background .2s;
}
.nav__link::after {
  content: ''; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px;
  background: var(--blue-500); border-radius: 2px; transform: scaleX(0); transform-origin: left; transition: transform .25s;
}
.nav__link:hover { color: var(--blue-700); }
.nav__link:hover::after,
.nav__link.active::after { transform: scaleX(1); }
.nav__link.active { color: var(--blue-700); }
.nav__cta { margin-left: 10px; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 26px; height: 3px; background: var(--blue-700); border-radius: 2px; transition: transform .3s, opacity .3s; }
.nav-toggle.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* Close button + backdrop (somente mobile) */
.nav__close { display: none; }
.nav-backdrop { display: none; }

/* ---------- Eyebrow ---------- */
.eyebrow {
  display: inline-block; font-family: var(--ff-head); font-weight: 600; font-size: .82rem;
  letter-spacing: .08em; text-transform: uppercase; color: var(--wine-500);
  background: var(--ice); padding: 6px 14px; border-radius: 999px; margin-bottom: 18px;
}
.eyebrow--light { color: #fff; background: rgba(255,255,255,.16); backdrop-filter: blur(4px); }

/* ---------- Hero ---------- */
.hero { position: relative; color: #fff; overflow: hidden; }
.hero__bg {
  position: absolute; inset: 0;
  background: url('../assets/trabalhos/img1.webp') center/cover no-repeat;
  transform: scale(1.05);
}
.hero__overlay { position: absolute; inset: 0; background: var(--grad-hero); }
.hero__overlay::after {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 80% 20%, rgba(125,143,232,.32), transparent 55%);
}
.hero__inner { position: relative; z-index: 2; padding: 96px 24px 110px; }
.hero__content { max-width: 720px; }
.hero__title { font-size: clamp(2.1rem, 5vw, 3.5rem); color: #fff; font-weight: 800; letter-spacing: -.01em; }
.hero__title span { color: var(--blue-400); }
.hero__text { font-size: clamp(1.02rem, 2vw, 1.22rem); color: #e7e9f6; margin: 22px 0 32px; max-width: 620px; }
.hero__text strong { color: #fff; }
.hero__actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero__badges { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 38px; }
.hero__badges li { display: inline-flex; align-items: center; gap: 9px; font-weight: 500; color: #eceefa; }
.hero__badges svg { width: 20px; height: 20px; fill: var(--blue-400); flex-shrink: 0; }

/* ---------- Stats ---------- */
.stats { margin-top: -56px; position: relative; z-index: 5; }
.stats__grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  background: var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg);
}
.stat { background: #fff; padding: 34px 20px; text-align: center; }
.stat__num { display: block; font-family: var(--ff-head); font-weight: 800; font-size: clamp(1.9rem, 4vw, 2.6rem); color: var(--blue-600); line-height: 1; }
.stat__label { display: block; margin-top: 8px; font-size: .92rem; color: var(--slate-600); font-weight: 500; }

/* ---------- Sections ---------- */
.section { padding: 92px 0; }
.section--alt { background: var(--ice-2); }
.section__head { max-width: 720px; margin: 0 auto 54px; text-align: center; }
.section__title { font-size: clamp(1.7rem, 3.6vw, 2.5rem); }
.section__subtitle { margin-top: 16px; font-size: 1.08rem; color: var(--slate-600); }

/* ---------- Service cards ---------- */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 34px 28px; transition: transform .3s, box-shadow .3s, border-color .3s;
  position: relative; overflow: hidden;
}
.card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: var(--grad-accent); transform: scaleX(0); transform-origin: left; transition: transform .3s;
}
.card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); border-color: transparent; }
.card:hover::before { transform: scaleX(1); }
.card__icon {
  width: 64px; height: 64px; border-radius: 18px; display: grid; place-items: center;
  background: var(--ice); margin-bottom: 22px; transition: background .3s;
}
.card__icon svg { width: 32px; height: 32px; fill: var(--blue-600); transition: fill .3s; }
.card:hover .card__icon { background: var(--grad-brand); }
.card:hover .card__icon svg { fill: #fff; }
.card__title { font-size: 1.18rem; margin-bottom: 10px; }
.card__text { font-size: .96rem; color: var(--slate-600); }

/* ---------- Missão, Visão e Valores ---------- */
.mvv { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.mvv .card { padding: 38px 30px; }
.mvv .card::before { transform: scaleX(1); }   /* acento vinho sempre visível */
.mvv__values { margin: 4px 0 0; gap: 14px; }
.mvv__values li { align-items: flex-start; color: var(--slate-600); font-weight: 400; }
.mvv__values li strong { color: var(--slate-900); font-weight: 600; }
@media (max-width: 880px) {
  .mvv { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; }
}

/* ---------- Sustentabilidade ---------- */
.section--eco {
  background:
    radial-gradient(circle at 85% 0%, rgba(46,139,61,.10), transparent 45%),
    var(--green-50);
}
.eyebrow--eco { color: var(--green-600); background: rgba(46,139,61,.12); }

.eco-note {
  max-width: 860px; margin: 0 auto 44px; padding: 24px 28px;
  background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--green-500);
  border-radius: var(--radius-sm); box-shadow: var(--shadow-sm);
}
.eco-note__tag {
  display: inline-block; font-family: var(--ff-head); font-weight: 700;
  color: var(--green-600); margin-bottom: 6px;
}
.eco-note p { color: var(--slate-700); font-size: 1rem; }
.eco-note strong { color: var(--slate-900); }

.eco-impact {
  display: flex; flex-wrap: wrap; align-items: center; gap: 28px 44px;
  max-width: 960px; margin: 0 auto 56px; padding: 40px;
  background: var(--grad-eco); color: #fff; border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}
.eco-impact__figure { display: flex; align-items: center; gap: 18px; }
.eco-impact__figure svg { width: 56px; height: 56px; fill: rgba(255,255,255,.85); flex-shrink: 0; }
.eco-impact__num {
  display: block; font-family: var(--ff-head); font-weight: 800; line-height: 1;
  font-size: clamp(2.8rem, 7vw, 4.4rem);
}
.eco-impact__num span { font-size: .4em; font-weight: 700; margin-left: 4px; }
.eco-impact__unit { display: block; font-weight: 600; letter-spacing: .04em; margin-top: 6px; opacity: .92; }
.eco-impact__text { flex: 1; min-width: 240px; border-left: 2px solid rgba(255,255,255,.3); padding-left: 28px; }
.eco-impact__text p { margin: 0 0 8px; color: #eaf5eb; }
.eco-impact__text p:last-child { margin: 0; font-size: .96rem; opacity: .9; }
.eco-impact__text strong { color: #fff; font-size: 1.15rem; }

.eco-subhead { text-align: center; font-size: 1.15rem; color: var(--slate-700); margin-bottom: 24px; }
.eco-res {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px;
  max-width: 820px; margin: 0 auto 60px;
}
.eco-res__item {
  background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--green-500);
  border-radius: var(--radius-sm); padding: 24px 18px; text-align: center; box-shadow: var(--shadow-sm);
}
.eco-res__name { display: block; font-family: var(--ff-head); font-weight: 700; color: var(--green-700); font-size: 1.1rem; }
.eco-res__val { display: block; font-family: var(--ff-head); font-weight: 800; color: var(--slate-900); font-size: 1.4rem; margin: 6px 0 2px; }
.eco-res__desc { display: block; font-size: .85rem; color: var(--slate-600); }

.eco-pillars { margin-bottom: 60px; }
.eco-pillars .card::before { background: var(--grad-eco); }
.eco-pillars .card__icon svg { fill: var(--green-600); }
.eco-pillars .card:hover .card__icon { background: var(--grad-eco); }
.eco-pillars .card__text strong { color: var(--slate-900); }

.eco-proof { display: grid; gap: 32px; max-width: 960px; margin: 0 auto; }
.eco-cert {
  display: flex; flex-wrap: wrap; gap: 28px; align-items: center;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px; box-shadow: var(--shadow-md);
}
.eco-cert__seal {
  display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center;
  color: var(--green-700); font-family: var(--ff-head); font-weight: 700; font-size: .9rem; line-height: 1.25;
  flex-shrink: 0;
}
.eco-cert__seal svg { width: 72px; height: 72px; fill: var(--green-500); }
.eco-cert__body { flex: 1; min-width: 260px; }
.eco-cert__body h3 { font-size: 1.2rem; color: var(--slate-900); margin-bottom: 8px; }
.eco-cert__body p { color: var(--slate-600); font-size: .96rem; }
.eco-cert__lic { display: flex; flex-wrap: wrap; gap: 8px 12px; margin: 14px 0 18px; list-style: none; }
.eco-cert__lic li {
  font-size: .82rem; font-weight: 600; color: var(--green-700);
  background: var(--green-50); border: 1px solid rgba(46,139,61,.25);
  padding: 5px 12px; border-radius: 999px;
}
.btn--eco { background: var(--grad-eco); color: #fff; }
.btn--eco:hover { background: var(--green-700); color: #fff; }

.eco-quote {
  text-align: center; font-family: var(--ff-head); font-weight: 700;
  font-size: clamp(1.3rem, 3vw, 1.9rem); color: var(--slate-900); line-height: 1.3;
  margin: 8px 0 0; padding: 0 12px;
}
.eco-quote span { color: var(--green-600); }

@media (max-width: 640px) {
  .eco-res { grid-template-columns: 1fr; max-width: 340px; }
  .eco-impact { padding: 30px 24px; }
  .eco-impact__text { border-left: 0; border-top: 2px solid rgba(255,255,255,.3); padding-left: 0; padding-top: 20px; }
  .eco-cert { flex-direction: column; text-align: center; padding: 28px 22px; }
  .eco-cert__lic { justify-content: center; }
}

/* ---------- Áreas de atuação ---------- */
.areas { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.area {
  display: flex; align-items: center; gap: 12px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 14px 18px; font-family: var(--ff-head); font-weight: 500; font-size: .96rem;
  color: var(--slate-700); transition: transform .2s, box-shadow .2s, border-color .2s, color .2s;
}
.area::before { content: ''; width: 9px; height: 9px; border-radius: 50%; background: var(--grad-accent); flex-shrink: 0; }
.area:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); border-color: transparent; color: var(--blue-700); }

/* ---------- About ---------- */
.about { display: grid; grid-template-columns: 1fr 1.05fr; gap: 56px; align-items: center; }
.about__media { position: relative; }
.about__media img { border-radius: var(--radius); box-shadow: var(--shadow-lg); aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.about__badge {
  position: absolute; right: -14px; bottom: -22px; background: var(--grad-accent); color: #fff;
  border-radius: var(--radius); padding: 20px 24px; box-shadow: var(--shadow-md); max-width: 200px;
}
.about__badge-num { display: block; font-family: var(--ff-head); font-weight: 800; font-size: 2.2rem; line-height: 1; }
.about__badge-text { display: block; font-size: .9rem; margin-top: 4px; color: #f6dfe3; }
.about__content .section__title { margin-bottom: 18px; }
.about__content p { margin-bottom: 16px; }
.about__content p strong { color: var(--slate-900); }

.checklist { margin: 22px 0 30px; display: grid; gap: 12px; }
.checklist li { display: flex; align-items: center; gap: 12px; font-weight: 500; color: var(--slate-700); }
.checklist svg { width: 22px; height: 22px; fill: var(--white); background: var(--blue-500); border-radius: 50%; padding: 4px; flex-shrink: 0; }

/* ---------- Features ---------- */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feature {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 28px;
  transition: transform .3s, box-shadow .3s;
}
.feature:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.feature__icon { width: 54px; height: 54px; border-radius: 14px; background: var(--ice); display: grid; place-items: center; margin-bottom: 18px; }
.feature__icon svg { width: 28px; height: 28px; fill: var(--blue-600); }
.feature h3 { font-size: 1.12rem; margin-bottom: 8px; }
.feature p { font-size: .95rem; color: var(--slate-600); }

/* ---------- Gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 220px; gap: 18px; }
.gallery__item { position: relative; border-radius: var(--radius); overflow: hidden; cursor: pointer; margin: 0; box-shadow: var(--shadow-sm); }
.gallery__item--big { grid-column: span 2; grid-row: span 2; }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.gallery__item::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(8,12,40,.78), transparent 55%);
  opacity: .85; transition: opacity .3s;
}
.gallery__item figcaption {
  position: absolute; left: 18px; right: 18px; bottom: 16px; z-index: 2; color: #fff;
  font-family: var(--ff-head); font-weight: 600; font-size: .98rem;
  transform: translateY(6px); opacity: 0; transition: transform .3s, opacity .3s;
}
.gallery__item:hover img { transform: scale(1.08); }
.gallery__item:hover figcaption { transform: translateY(0); opacity: 1; }
.gallery__item:hover::after { opacity: 1; }

/* ---------- Clients ---------- */
.clients {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 28px;
}
.client {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 44px; display: grid; place-items: center; flex: 1 1 260px; max-width: 360px;
  min-height: 170px; box-shadow: var(--shadow-sm); transition: transform .3s, box-shadow .3s;
}
.client:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.client img {
  max-height: 96px; max-width: 100%; width: auto; object-fit: contain;
  filter: grayscale(100%); opacity: .65; transition: filter .35s, opacity .35s;
}
.client:hover img { filter: grayscale(0); opacity: 1; }

/* ---------- Cases de sucesso ---------- */
.cases { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.case {
  display: flex; flex-direction: column; text-align: left; padding: 0; font: inherit; color: inherit;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  cursor: pointer; box-shadow: var(--shadow-sm); transition: transform .3s, box-shadow .3s, border-color .3s;
}
.case:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); border-color: transparent; }
.case:focus-visible { outline: 3px solid var(--blue-400); outline-offset: 2px; }
.case__media { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; }
.case__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.case:hover .case__media img { transform: scale(1.06); }
.case__count {
  position: absolute; right: 12px; bottom: 12px; display: inline-flex; align-items: center; gap: 6px;
  background: rgba(10, 18, 48, .78); color: #fff; font-family: var(--ff-head); font-weight: 600;
  font-size: .8rem; padding: 6px 11px; border-radius: 999px; backdrop-filter: blur(4px);
}
.case__count svg { width: 14px; height: 14px; fill: #fff; }
.case__info { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 7px; }
.case__client { font-family: var(--ff-head); font-weight: 700; font-size: 1.12rem; color: var(--slate-900); line-height: 1.25; }
.case__loc { display: inline-flex; align-items: center; gap: 7px; font-size: .92rem; color: var(--slate-600); }
.case__loc svg { width: 16px; height: 16px; fill: var(--wine-500); flex-shrink: 0; }
@media (max-width: 880px) { .cases { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .cases { grid-template-columns: 1fr; } }

/* ---------- CTA band ---------- */
.cta-band { background: var(--grad-brand); position: relative; overflow: hidden; }
.cta-band::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 85% 50%, rgba(255,255,255,.16), transparent 50%);
}
.cta-band__inner {
  position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between;
  gap: 32px; padding: 56px 24px; flex-wrap: wrap; color: #fff;
}
.cta-band h2 { color: #fff; font-size: clamp(1.5rem, 3vw, 2.1rem); }
.cta-band p { color: #e7e9f6; margin-top: 8px; font-size: 1.08rem; }
.cta-band__actions { display: flex; gap: 14px; flex-wrap: wrap; }
.cta-band .btn--ghost { border-color: rgba(255,255,255,.7); }
.cta-band .btn--ghost:hover { background: #fff; color: var(--blue-700); }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; margin-bottom: 48px; }
.contact__info { display: flex; flex-direction: column; gap: 18px; }
.contact__row {
  display: flex; align-items: center; gap: 16px; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-sm); padding: 18px 20px; transition: transform .2s, box-shadow .2s;
}
a.contact__row:hover { transform: translateX(4px); box-shadow: var(--shadow-sm); }
.contact__ico { width: 48px; height: 48px; border-radius: 12px; background: var(--ice); display: grid; place-items: center; flex-shrink: 0; }
.contact__ico svg { width: 24px; height: 24px; fill: var(--blue-600); }
.contact__row span:last-child { display: flex; flex-direction: column; font-size: .98rem; color: var(--slate-700); }
.contact__row strong { font-family: var(--ff-head); color: var(--slate-900); font-size: .85rem; text-transform: uppercase; letter-spacing: .05em; margin-bottom: 2px; }
.contact__social { display: flex; gap: 12px; margin-top: 6px; }
.contact__social a { width: 46px; height: 46px; border-radius: 12px; background: var(--grad-brand); display: grid; place-items: center; transition: transform .2s, box-shadow .2s; }
.contact__social a:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.contact__social svg { width: 22px; height: 22px; fill: #fff; }

.contact__form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 34px; box-shadow: var(--shadow-sm); }
.field { margin-bottom: 18px; }
.field label { display: block; font-family: var(--ff-head); font-weight: 500; font-size: .9rem; color: var(--slate-900); margin-bottom: 7px; }
.field input, .field select, .field textarea {
  width: 100%; font-family: var(--ff-body); font-size: 1rem; color: var(--slate-900);
  padding: 13px 15px; border: 1.5px solid var(--line); border-radius: var(--radius-sm); background: var(--ice-2);
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.field input::placeholder, .field textarea::placeholder { color: var(--slate-400); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--blue-500); background: #fff; box-shadow: 0 0 0 4px rgba(40,60,147,.14);
}
.field textarea { resize: vertical; min-height: 110px; }
.contact__form-note { text-align: center; font-size: .85rem; color: var(--slate-400); margin-top: 14px; }

.map { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-md); border: 1px solid var(--line); }
.map iframe { width: 100%; height: 380px; border: 0; display: block; }
.map__link {
  position: absolute; right: 16px; bottom: 16px; z-index: 2;
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff; color: var(--blue-700); font-family: var(--ff-head); font-weight: 600; font-size: .92rem;
  padding: 11px 18px; border-radius: 999px; box-shadow: var(--shadow-md); transition: transform .2s, box-shadow .2s;
}
.map__link:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.map__link svg { width: 18px; height: 18px; fill: var(--blue-600); }

/* ---------- Footer ---------- */
.footer { background: var(--blue-900); color: #b9c0e0; padding-top: 64px; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1.3fr 1.3fr; gap: 40px; padding-bottom: 48px; }
.footer__logo { height: 56px; width: auto; border-radius: 8px; background: #fff; padding: 6px; margin-bottom: 16px; }
.footer__brand p { font-size: .95rem; color: #a3abcf; max-width: 320px; }
.footer__social { display: flex; gap: 10px; margin-top: 18px; }
.footer__social a { width: 40px; height: 40px; border-radius: 10px; background: rgba(255,255,255,.08); display: grid; place-items: center; transition: background .2s, transform .2s; }
.footer__social a:hover { background: var(--blue-500); transform: translateY(-3px); }
.footer__social svg { width: 19px; height: 19px; fill: #fff; }
.footer__col h4 { color: #fff; font-size: 1.05rem; margin-bottom: 18px; }
.footer__col a, .footer__col span { display: block; color: #a3abcf; font-size: .95rem; margin-bottom: 10px; transition: color .2s, padding-left .2s; }
.footer__col a:hover { color: #fff; padding-left: 4px; }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 22px 0; }
.footer__bottom .container { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.footer__bottom p { font-size: .88rem; color: #838cba; }

/* ---------- Floating WhatsApp ---------- */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 90;
  width: 60px; height: 60px; border-radius: 50%; background: var(--whatsapp);
  display: grid; place-items: center; box-shadow: 0 10px 30px rgba(37,211,102,.45);
  animation: wa-pulse 2.4s infinite; transition: transform .2s;
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 34px; height: 34px; fill: #fff; }
@keyframes wa-pulse {
  0% { box-shadow: 0 0 0 0 rgba(37,211,102,.5), 0 10px 30px rgba(37,211,102,.45); }
  70% { box-shadow: 0 0 0 16px rgba(37,211,102,0), 0 10px 30px rgba(37,211,102,.45); }
  100% { box-shadow: 0 0 0 0 rgba(37,211,102,0), 0 10px 30px rgba(37,211,102,.45); }
}

/* ---------- Back to top ---------- */
.to-top {
  position: fixed; right: 22px; bottom: 92px; z-index: 89;
  width: 46px; height: 46px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--blue-700); display: grid; place-items: center;
  box-shadow: var(--shadow-md); opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity .3s, visibility .3s, transform .3s, background .2s;
}
.to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { background: var(--blue-500); }
.to-top svg { width: 22px; height: 22px; fill: #fff; }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 200; background: rgba(8,10,30,.95);
  display: flex; align-items: center; justify-content: center; padding: 30px;
  opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s;
}
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox img { max-width: 90vw; max-height: 80vh; border-radius: 10px; box-shadow: var(--shadow-lg); }
.lightbox__caption { position: absolute; bottom: 26px; left: 0; right: 0; text-align: center; color: #fff; font-family: var(--ff-head); font-size: 1rem; }
.lightbox__close, .lightbox__nav {
  position: absolute; background: rgba(255,255,255,.12); border: 0; color: #fff; cursor: pointer;
  width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; transition: background .2s;
}
.lightbox__close:hover, .lightbox__nav:hover { background: rgba(255,255,255,.28); }
.lightbox__close { top: 24px; right: 24px; font-size: 1.8rem; line-height: 1; }
.lightbox__nav { top: 50%; transform: translateY(-50%); font-size: 1.3rem; }
.lightbox__nav--prev { left: 24px; }
.lightbox__nav--next { right: 24px; }

/* ---------- Reveal animation ---------- */
[data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
[data-reveal].in { opacity: 1; transform: translateY(0); }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .features { grid-template-columns: repeat(2, 1fr); }
  .about { grid-template-columns: 1fr; gap: 64px; }
  .about__media { max-width: 520px; margin: 0 auto; width: 100%; }
  .contact { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 760px) {
  .nav {
    position: fixed; inset: 0 0 0 auto; width: min(340px, 86vw); background: #fff;
    flex-direction: column; align-items: stretch; justify-content: flex-start;
    padding: 80px 22px 32px; gap: 4px; box-shadow: var(--shadow-lg);
    transform: translateX(100%); transition: transform .35s ease; z-index: 95;
    overflow-y: auto;
  }
  .nav.open { transform: translateX(0); }
  .nav__link { padding: 14px 12px; border-radius: 10px; font-size: 1.05rem; }
  .nav__link::after { display: none; }
  .nav__link:hover, .nav__link.active { background: var(--ice); }
  .nav__cta { margin: 14px 0 0; }
  .nav-toggle { display: flex; }

  .nav__close {
    display: grid; place-items: center; position: absolute; top: 16px; right: 16px;
    width: 42px; height: 42px; border: 0; border-radius: 10px; background: var(--ice);
    color: var(--blue-700); font-size: 1.9rem; line-height: 1; cursor: pointer; padding: 0;
    transition: background .2s;
  }
  .nav__close:hover { background: #dfe3f5; }

  .nav-backdrop {
    display: block; position: fixed; inset: 0; z-index: 94; background: rgba(8, 10, 30, .6);
    opacity: 0; visibility: hidden; transition: opacity .35s, visibility .35s;
  }
  .nav-backdrop.open { opacity: 1; visibility: visible; }

  .topbar__contacts { gap: 14px; }
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 170px; }
  .gallery__item--big { grid-column: span 2; grid-row: span 1; }
  .section { padding: 68px 0; }
  .cta-band__inner { flex-direction: column; text-align: center; align-items: center; }
}

@media (max-width: 520px) {
  .cards { grid-template-columns: 1fr; }
  .features { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; gap: 32px; }
  .stats { margin-top: -40px; }
  .hero__actions .btn { width: 100%; }
  .gallery { grid-template-columns: 1fr; grid-auto-rows: 220px; }
  .gallery__item--big { grid-column: span 1; }
  .about__badge { right: 12px; bottom: -16px; padding: 16px 18px; }
  .lightbox__nav { width: 42px; height: 42px; }
  .lightbox__nav--prev { left: 10px; }
  .lightbox__nav--next { right: 10px; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; scroll-behavior: auto !important; }
  [data-reveal] { opacity: 1; transform: none; transition: none; }
}
