/* =========================================================
   Abreu Inspeções e Serviços — folha de estilos principal
   ========================================================= */

:root {
  --navy-darker: #061b2e;
  --navy-dark: #082642;
  --navy: #0b3355;
  --navy-light: #164066;
  --teal: #00a88c;
  --teal-light: #2fd9be;
  --teal-dark: #017a66;
  --bg: #f6f9fa;
  --bg-alt: #eef3f5;
  --white: #ffffff;
  --ink: #0d2438;
  --gray: #55697a;
  --gray-light: #8a99a6;
  --border: #e1e8ec;
  --shadow: 0 10px 30px -12px rgba(8, 38, 66, 0.18);
  --shadow-sm: 0 4px 14px -6px rgba(8, 38, 66, 0.15);
  --radius: 16px;
  --radius-sm: 10px;
  --container: 1160px;
  --font-head: "Poppins", "Segoe UI", sans-serif;
  --font-body: "Inter", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

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

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

a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--navy);
  line-height: 1.2;
  margin: 0 0 0.6em;
}

p { margin: 0 0 1em; color: var(--gray); }

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

section { padding: 88px 0; }

.section-alt { background: var(--white); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal-dark);
  background: rgba(0, 168, 140, 0.1);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
}

.eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--teal);
}

.section-head {
  max-width: 700px;
  margin: 0 0 48px;
}

.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

.section-head h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }

.section-head p { font-size: 1.05rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 14px 26px;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease, border-color .2s ease;
  white-space: nowrap;
}

.btn svg { width: 18px; height: 18px; flex-shrink: 0; }

.btn-primary {
  background: linear-gradient(135deg, var(--teal), var(--teal-dark));
  color: var(--white);
  box-shadow: 0 10px 24px -8px rgba(0, 168, 140, 0.55);
}

.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 28px -8px rgba(0, 168, 140, 0.6); }

.btn-outline {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.35);
  color: var(--white);
}

.btn-outline:hover { background: rgba(255, 255, 255, 0.12); border-color: rgba(255,255,255,.6); }

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

.btn-ghost:hover { border-color: var(--teal); color: var(--teal-dark); transform: translateY(-2px); }

.btn-block { width: 100%; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(246, 249, 250, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--navy);
}

.brand img { height: 42px; width: auto; }

.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text strong { font-size: 1.05rem; letter-spacing: 0.02em; }
.brand-text span { font-size: 0.68rem; letter-spacing: 0.14em; color: var(--teal-dark); text-transform: uppercase; font-weight: 600; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  display: inline-block;
  padding: 10px 16px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--navy);
  transition: background 0.2s ease, color 0.2s ease;
}

.nav-links a:hover { background: rgba(11, 51, 85, 0.06); }

.nav-links a.active { background: var(--navy); color: var(--white); }

.nav-cta { display: flex; align-items: center; gap: 10px; }

.nav-cta .btn { padding: 11px 20px; font-size: 0.9rem; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--navy);
  margin: 6px 0;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background:
    radial-gradient(ellipse at 20% -10%, rgba(18, 74, 118, 0.94) 0%, rgba(11, 51, 85, 0.95) 45%, rgba(6, 27, 46, 0.97) 100%),
    url("../img/bg/hero-home.jpg") center 30%/cover no-repeat;
  color: var(--white);
  overflow: hidden;
  padding: 96px 0 110px;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 85% 20%, rgba(0, 168, 140, 0.35), transparent 45%),
    radial-gradient(circle at 95% 80%, rgba(47, 217, 190, 0.18), transparent 40%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal-light);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 7px 16px;
  border-radius: 999px;
  margin-bottom: 22px;
}

.hero h1 {
  color: var(--white);
  font-size: clamp(2.1rem, 4.2vw, 3.1rem);
  margin-bottom: 20px;
  font-weight: 700;
}

.hero h1 em {
  font-style: normal;
  background: linear-gradient(135deg, var(--teal-light), var(--teal));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero p.lead {
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.12rem;
  max-width: 560px;
  margin-bottom: 34px;
}

.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 42px; }

.hero-stats {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.hero-stats .stat strong {
  display: block;
  font-family: var(--font-head);
  font-size: 1.7rem;
  color: var(--white);
}

.hero-stats .stat span {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.65);
}

.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-badge {
  position: relative;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 28px;
  padding: 48px 32px;
  backdrop-filter: blur(6px);
  text-align: center;
  width: 100%;
  max-width: 360px;
}

.hero-badge img { width: 130px; margin: 0 auto 22px; }

.hero-badge h3 { color: var(--white); font-size: 1.15rem; margin-bottom: 6px; }
.hero-badge p { color: rgba(255,255,255,.7); font-size: 0.92rem; margin-bottom: 18px; }

.hero-badge .qual {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--navy-darker);
  background: linear-gradient(135deg, var(--teal-light), var(--teal));
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 0.85rem;
}

/* ---------- Cards / grids ---------- */
.grid {
  display: grid;
  gap: 26px;
}

.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color .25s ease;
}

.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: rgba(0,168,140,.35); }

.icon-badge {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(0, 168, 140, 0.14), rgba(11, 51, 85, 0.1));
  color: var(--teal-dark);
  margin-bottom: 20px;
}

.icon-badge svg { width: 28px; height: 28px; }

.card h3 { font-size: 1.12rem; margin-bottom: 10px; }
.card p { font-size: 0.95rem; margin-bottom: 0; }

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--teal-dark);
}

.card-link svg { width: 15px; height: 15px; transition: transform .2s ease; }
.card:hover .card-link svg { transform: translateX(3px); }

/* ---------- About / split sections ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.split-visual {
  background: linear-gradient(160deg, var(--navy), var(--navy-dark));
  border-radius: var(--radius);
  padding: 44px 36px;
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.split-visual::after {
  content: "";
  position: absolute;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: rgba(0, 168, 140, 0.25);
  filter: blur(50px);
  right: -60px;
  bottom: -60px;
}

.split-visual .profile-name { font-family: var(--font-head); font-size: 1.3rem; color: var(--white); margin-bottom: 4px; }
.split-visual .profile-role { color: var(--teal-light); font-weight: 600; font-size: 0.95rem; margin-bottom: 22px; }

.credential-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  position: relative;
}

.credential-row:first-of-type { border-top: none; }

.credential-row svg { width: 22px; height: 22px; color: var(--teal-light); flex-shrink: 0; }
.credential-row span { color: rgba(255, 255, 255, 0.85); font-size: 0.93rem; }

/* ---------- Checklist ---------- */
.checklist { list-style: none; margin: 0; padding: 0; }

.checklist li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  color: var(--gray);
  font-size: 0.97rem;
}

.checklist li:last-child { border-bottom: none; }

.checklist svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  color: var(--teal);
  margin-top: 2px;
}

/* ---------- Banner CTA ---------- */
.cta-banner {
  background: linear-gradient(120deg, var(--navy-dark), var(--navy) 55%, var(--teal-dark));
  border-radius: 24px;
  padding: 56px;
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

.cta-banner h2 { color: var(--white); margin-bottom: 8px; font-size: 1.6rem; }
.cta-banner p { color: rgba(255, 255, 255, 0.8); margin: 0; max-width: 440px; }
.cta-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Timeline (compromisso) ---------- */
.commitment {
  background: var(--bg-alt);
  border-radius: var(--radius);
  padding: 40px;
  text-align: center;
}

.commitment p { font-size: 1.08rem; color: var(--navy); max-width: 760px; margin: 0 auto; }

/* ---------- Page hero (subpages) ---------- */
.page-hero {
  background: linear-gradient(150deg, var(--navy), var(--navy-darker));
  color: var(--white);
  padding: 68px 0 64px;
  position: relative;
  overflow: hidden;
  background-size: cover;
  background-position: center;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 90% 10%, rgba(0, 168, 140, 0.28), transparent 45%);
}

/* Foto de fundo discreta por página — a imagem soma-se ao gradiente navy
   acima (que já traz opacidade), então a foto aparece só como uma
   textura bem sutil por trás das cores da marca. */
.page-hero--sobre {
  background-image: linear-gradient(150deg, rgba(11, 51, 85, 0.93), rgba(6, 27, 46, 0.96)), url("../img/bg/bg-sobre.jpg");
}
.page-hero--servicos {
  background-image: linear-gradient(150deg, rgba(11, 51, 85, 0.93), rgba(6, 27, 46, 0.96)), url("../img/bg/bg-servicos.jpg");
}
.page-hero--contato {
  background-image: linear-gradient(150deg, rgba(11, 51, 85, 0.93), rgba(6, 27, 46, 0.96)), url("../img/bg/bg-contato.jpg");
}
.page-hero--galeria {
  background-image: linear-gradient(150deg, rgba(11, 51, 85, 0.93), rgba(6, 27, 46, 0.96)), url("../img/bg/hero-home.jpg");
}

.page-hero .eyebrow { background: rgba(255,255,255,.1); color: var(--teal-light); }
.page-hero h1 { color: var(--white); font-size: clamp(1.8rem, 3.4vw, 2.5rem); margin-bottom: 14px; position: relative; }
.page-hero p { color: rgba(255, 255, 255, 0.78); font-size: 1.05rem; max-width: 620px; margin: 0; position: relative; }

.breadcrumb { position: relative; font-size: 0.85rem; color: rgba(255,255,255,.6); margin-bottom: 18px; }
.breadcrumb a { color: rgba(255,255,255,.85); font-weight: 600; }
.breadcrumb a:hover { color: var(--teal-light); }

/* ---------- Services detail ---------- */
.service-detail {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 24px;
  padding: 34px 0;
  border-bottom: 1px solid var(--border);
}

.service-detail:last-child { border-bottom: none; }

.service-detail .icon-badge { margin-bottom: 0; width: 64px; height: 64px; }
.service-detail .icon-badge svg { width: 32px; height: 32px; }

.service-detail h3 { font-size: 1.25rem; margin-bottom: 8px; }

.tag-row { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 14px; }

.tag {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--navy);
  background: var(--bg-alt);
  border: 1px solid var(--border);
  padding: 5px 12px;
  border-radius: 999px;
}

/* ---------- Norms strip ---------- */
.norms-strip {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
}

.norms-strip span {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--navy);
  background: var(--white);
  border: 1px solid var(--border);
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
}

/* ---------- Contact page ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 40px;
  align-items: flex-start;
}

.contact-info-card {
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius);
  padding: 36px 32px;
}

.contact-info-card h3 { color: var(--white); font-size: 1.15rem; margin-bottom: 6px; }
.contact-info-card > p { color: rgba(255,255,255,.7); margin-bottom: 26px; }

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.contact-item:first-of-type { border-top: none; }

.contact-item .icon-badge {
  background: rgba(255, 255, 255, 0.1);
  color: var(--teal-light);
  width: 44px;
  height: 44px;
  margin-bottom: 0;
  flex-shrink: 0;
}

.contact-item .icon-badge svg { width: 20px; height: 20px; }

.contact-item strong { display: block; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.08em; color: rgba(255,255,255,.55); margin-bottom: 4px; }
.contact-item a, .contact-item span.value { color: var(--white); font-weight: 600; font-size: 0.97rem; }
.contact-item a:hover { color: var(--teal-light); }

.form-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 38px;
  box-shadow: var(--shadow-sm);
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }

.field { margin-bottom: 20px; }

.field label {
  display: block;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--navy);
  margin-bottom: 8px;
}

.field input, .field textarea {
  width: 100%;
  padding: 13px 16px;
  border-radius: 10px;
  border: 1.5px solid var(--border);
  font-family: var(--font-body);
  font-size: 0.96rem;
  color: var(--ink);
  background: var(--bg);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 4px rgba(0, 168, 140, 0.12);
  background: var(--white);
}

.field textarea { resize: vertical; min-height: 130px; }

.hp-field { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; }

.form-note { font-size: 0.82rem; color: var(--gray-light); margin-top: 4px; }

/* ---------- Alerts ---------- */
.alert {
  padding: 15px 20px;
  border-radius: 12px;
  font-size: 0.94rem;
  font-weight: 500;
  margin-bottom: 22px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.alert-success { background: rgba(0, 168, 140, 0.12); color: var(--teal-dark); border: 1px solid rgba(0,168,140,.3); }
.alert-error { background: rgba(214, 69, 69, 0.1); color: #b3342f; border: 1px solid rgba(214,69,69,.28); }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-darker);
  color: rgba(255, 255, 255, 0.72);
  padding: 64px 0 26px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.footer-brand img { height: 38px; }
.footer-brand strong { font-family: var(--font-head); color: var(--white); font-size: 1.05rem; }

.footer-col h4 {
  color: var(--white);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 18px;
}

.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: 12px; font-size: 0.93rem; }
.footer-col a:hover { color: var(--teal-light); }

.footer-col .fic { display: flex; align-items: center; gap: 10px; }
.footer-col .fic svg { width: 17px; height: 17px; color: var(--teal-light); flex-shrink: 0; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 24px;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.45);
}

.whatsapp-float {
  position: fixed;
  bottom: 26px;
  right: 26px;
  z-index: 90;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: linear-gradient(135deg, #25d366, #128c4a);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 24px -8px rgba(18, 140, 74, 0.6);
  transition: transform 0.2s ease;
}

.whatsapp-float:hover { transform: scale(1.08); }
.whatsapp-float svg { width: 28px; height: 28px; color: var(--white); }

/* ---------- Footer credit (desenvolvedor) ---------- */
.footer-credit {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.4);
}

.footer-credit span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.footer-credit img { height: 20px; width: auto; }
.footer-credit strong { color: rgba(255, 255, 255, 0.68); font-weight: 600; }

/* ---------- Galeria ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.gallery-item {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: none;
  border-radius: var(--radius-sm);
  overflow: hidden;
  cursor: zoom-in;
  aspect-ratio: 4 / 3;
  background: var(--bg-alt);
  box-shadow: var(--shadow-sm);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease, filter 0.4s ease;
}

.gallery-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(6, 27, 46, 0.55));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-item:hover img { transform: scale(1.06); }
.gallery-item:hover::after { opacity: 1; }

.gallery-item::before {
  content: "";
  position: absolute;
  top: 12px;
  right: 12px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(6, 27, 46, 0.55) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m21 21-4.3-4.3M11 8v6M8 11h6'/%3E%3C/svg%3E") center/16px no-repeat;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1;
}

.gallery-item:hover::before { opacity: 1; }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(6, 12, 20, 0.92);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease;
  padding: 24px;
}

.lightbox.open { opacity: 1; visibility: visible; }

.lightbox img {
  max-width: min(92vw, 1100px);
  max-height: 86vh;
  border-radius: 8px;
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.6);
}

.lightbox-close,
.lightbox-nav {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--white);
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.2s ease;
}

.lightbox-close:hover,
.lightbox-nav:hover { background: rgba(255, 255, 255, 0.18); }

.lightbox-close { top: 20px; right: 20px; width: 44px; height: 44px; }
.lightbox-close svg { width: 20px; height: 20px; }

.lightbox-nav { top: 50%; transform: translateY(-50%); width: 52px; height: 52px; }
.lightbox-nav svg { width: 24px; height: 24px; }
.lightbox-prev { left: 16px; }
.lightbox-next { right: 16px; }

/* ---------- 404 ---------- */
.error-page { text-align: center; padding: 140px 0; }
.error-page h1 { font-size: 5rem; color: var(--teal); }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.in-view { opacity: 1; transform: translateY(0); }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { order: -1; max-width: 320px; margin: 0 auto; }
  .split { grid-template-columns: 1fr; }
  .split-visual { order: -1; }
  .contact-grid { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 760px) {
  section { padding: 64px 0; }
  .nav-links, .nav-cta .btn-ghost { display: none; }
  .nav-toggle { display: block; }
  .nav.open .nav-links {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--white);
    padding: 14px 24px 20px;
    box-shadow: var(--shadow);
    border-bottom: 1px solid var(--border);
    gap: 4px;
  }
  .nav-links a { display: block; padding: 12px 14px; }
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .cta-banner { flex-direction: column; text-align: center; padding: 40px 28px; }
  .cta-actions { justify-content: center; }
  .form-row { grid-template-columns: 1fr; }
  .service-detail { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .hero { padding: 56px 0 72px; }
  .hero-stats { gap: 22px; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .lightbox-nav { width: 42px; height: 42px; }
  .lightbox-prev { left: 6px; }
  .lightbox-next { right: 6px; }
  .lightbox-close { top: 10px; right: 10px; }
}

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