/* ================================================================
   VAA Engenharia e Projetos — Main Stylesheet
   Design: Navy Blue + Red · Mobile-first · Hostinger-ready
================================================================ */

/* ── TOKENS ── */
:root {
  --bg:          #07090e;
  --bg-2:        #0d1220;
  --bg-3:        #111827;
  --card:        #131a2b;
  --card-hover:  #18243e;
  --border:      rgba(255,255,255,.07);
  --border-accent: rgba(200,32,42,.32);

  --navy:        #1d3464;
  --navy-light:  #254080;
  --navy-bg:     rgba(29,52,100,.12);

  --accent:        #c8202a;
  --accent-light:  #e03040;
  --accent-dark:   #9e1520;
  --accent-bg:     rgba(200,32,42,.08);

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

  --text:        #e8edf5;
  --text-muted:  #7a8aa0;
  --text-dim:    #4a5568;
  --white:       #ffffff;

  --font-head:   'Montserrat', sans-serif;
  --font-body:   'Inter', sans-serif;

  --radius:      12px;
  --radius-lg:   20px;
  --radius-xl:   28px;

  --shadow:      0 4px 24px rgba(0,0,0,.4);
  --shadow-accent: 0 0 40px rgba(200,32,42,.18);

  --transition:  .3s cubic-bezier(.4,0,.2,1);
  --container:   1220px;
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
ul { list-style: none; }

/* ── UTILS ── */
.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.text--accent { color: var(--accent); }
.section { padding: 100px 0; }
.section-tag {
  display: inline-block;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}
.section-header { text-align: center; margin-bottom: 64px; }
.section-title {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 16px;
  color: var(--white);
}
.section-sub {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 540px;
  margin: 0 auto;
}

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .9rem;
  letter-spacing: .04em;
  padding: 14px 28px;
  border-radius: 50px;
  transition: var(--transition);
  white-space: nowrap;
  text-decoration: none;
  cursor: pointer;
  border: 2px solid transparent;
}
.btn--lg { padding: 16px 34px; font-size: .95rem; }
.btn--block { display: flex; justify-content: center; width: 100%; }

.btn--accent {
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  color: #fff;
  box-shadow: 0 4px 20px rgba(200,32,42,.35);
}
.btn--accent:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(200,32,42,.5);
  filter: brightness(1.05);
}

.btn--outline {
  border-color: rgba(255,255,255,.25);
  color: var(--text);
  background: rgba(255,255,255,.05);
}
.btn--outline:hover {
  border-color: var(--accent);
  color: var(--accent-light);
  background: var(--accent-bg);
}

.btn--green {
  background: var(--green);
  color: #fff;
  font-size: 1rem;
  box-shadow: 0 4px 20px rgba(37,211,102,.3);
}
.btn--green:hover {
  background: var(--green-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(37,211,102,.45);
}

/* ── REVEAL ANIMATION ── */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ════════════════ NAVBAR ════════════════ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: background var(--transition), box-shadow var(--transition), padding var(--transition);
}
.navbar.scrolled {
  background: rgba(6,9,15,.92);
  backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 var(--border);
  padding: 10px 0;
}
.navbar__inner {
  display: flex;
  align-items: center;
  gap: 32px;
}
.navbar__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.logo-svg { display: block; flex-shrink: 0; }
.logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.logo-top {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 1.4rem;
  color: var(--white);
  letter-spacing: .06em;
  line-height: 1.1;
}
.logo-bottom {
  font-size: .58rem;
  color: var(--accent);
  letter-spacing: .2em;
  text-transform: uppercase;
  font-weight: 700;
}
.navbar__links {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}
.navbar__links a {
  font-size: .85rem;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 8px;
  color: var(--text-muted);
  transition: var(--transition);
}
.navbar__links a:hover { color: var(--white); background: rgba(255,255,255,.06); }
.navbar__logo { color: var(--white); }
.navbar__cta { margin-left: 12px; }
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  margin-left: auto;
  padding: 6px;
}
.hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--text);
  border-radius: 4px;
  transition: var(--transition);
}
.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(6,9,15,.97);
  backdrop-filter: blur(24px);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  opacity: 0;
  pointer-events: none;
  transition: opacity .35s ease;
}
.mobile-menu.open { opacity: 1; pointer-events: all; }
.mobile-menu nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
}
.mobile-link {
  font-family: var(--font-head);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--text-muted);
  padding: 8px 20px;
  transition: var(--transition);
  border-radius: 8px;
}
.mobile-link:hover { color: var(--accent); }
.mobile-cta { margin-top: 24px; }

/* ════════════════ HERO ════════════════ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 120px 0 80px;
}
.hero__bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% -20%, rgba(200,32,42,.10) 0%, transparent 65%),
              radial-gradient(ellipse 60% 50% at 80% 80%, rgba(29,52,100,.15) 0%, transparent 60%),
              linear-gradient(180deg, #07090e 0%, #0b1220 100%);
}
/* Animated geometric shapes */
.geo {
  position: absolute;
  border: 1px solid rgba(29,52,100,.25);
  border-radius: 4px;
  animation: geoFloat linear infinite;
}
.geo--1 { width: 280px; height: 280px; top: 10%; right: 8%; animation-duration: 18s; transform: rotate(15deg); opacity: .5; border-color: rgba(29,52,100,.4); }
.geo--2 { width: 180px; height: 180px; top: 55%; right: 20%; animation-duration: 14s; transform: rotate(-10deg); opacity: .3; animation-delay: -4s; border-color: rgba(200,32,42,.12); }
.geo--3 { width: 120px; height: 120px; top: 30%; left: 5%; animation-duration: 20s; transform: rotate(30deg); opacity: .3; border-color: rgba(29,52,100,.3); }
.geo--4 { width: 400px; height: 400px; bottom: -100px; right: -60px; animation-duration: 25s; transform: rotate(5deg); opacity: .2; border-radius: 24px; border-color: rgba(200,32,42,.06); }
.geo--5 { width: 60px; height: 60px; top: 70%; left: 15%; animation-duration: 12s; opacity: .35; border-color: rgba(200,32,42,.25); }

@keyframes geoFloat {
  0%   { transform: rotate(0deg) translateY(0); }
  50%  { transform: rotate(180deg) translateY(-20px); }
  100% { transform: rotate(360deg) translateY(0); }
}

.grid-lines {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 0%, transparent 100%);
}
.hero__particles { position: absolute; inset: 0; pointer-events: none; }

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 780px;
}
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(200,32,42,.1);
  border: 1px solid rgba(200,32,42,.25);
  border-radius: 50px;
  padding: 6px 16px;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 28px;
  max-width: 100%;
  white-space: normal;
  word-break: break-word;
  animation: badgePop .8s ease forwards;
}
.badge-dot {
  width: 7px; height: 7px;
  background: var(--green);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--green);
  animation: pulse 2s infinite;
}
/* Accent pulse uses red */
@keyframes accentPulse { 0%,100% { box-shadow: 0 0 6px var(--accent); } 50% { box-shadow: 0 0 16px var(--accent); } }
@keyframes badgePop { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@keyframes pulse { 0%,100% { box-shadow: 0 0 6px var(--green); } 50% { box-shadow: 0 0 16px var(--green); } }

.hero__title {
  font-family: var(--font-head);
  font-size: clamp(1.9rem, 6vw, 4.2rem);
  font-weight: 900;
  line-height: 1.1;
  color: var(--white);
  margin-bottom: 24px;
  word-break: break-word;
  animation: slideUp .9s .2s ease both;
}
.hero__subtitle {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: var(--text-muted);
  max-width: 580px;
  margin-bottom: 28px;
  animation: slideUp .9s .35s ease both;
}
.hero__subtitle strong { color: var(--text); }

@keyframes slideUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }

.hero__pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 36px;
  animation: slideUp .9s .5s ease both;
}
.pill {
  padding: 6px 16px;
  border-radius: 50px;
  border: 1px solid var(--border);
  font-size: .78rem;
  font-weight: 600;
  color: var(--text-muted);
  background: rgba(255,255,255,.04);
  letter-spacing: .04em;
  transition: var(--transition);
}
.pill:hover { border-color: var(--accent); color: var(--accent); background: var(--accent-bg); }

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 60px;
  animation: slideUp .9s .65s ease both;
}
.hero__stats {
  display: flex;
  align-items: center;
  gap: 32px;
  animation: slideUp .9s .8s ease both;
}
.stat { text-align: left; }
.stat__num {
  display: block;
  font-family: var(--font-head);
  font-size: 2rem;
  font-weight: 900;
  color: var(--white);
  line-height: 1;
}
.stat__label {
  font-size: .75rem;
  color: var(--text-muted);
  letter-spacing: .04em;
  margin-top: 4px;
  display: block;
}
.stat__divider {
  width: 1px; height: 40px;
  background: var(--border);
}
.hero__scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  animation: scrollBounce 2s ease infinite;
}
.scroll-icon {
  width: 26px; height: 40px;
  border: 2px solid rgba(255,255,255,.2);
  border-radius: 13px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 6px;
}
.scroll-dot {
  width: 5px; height: 8px;
  background: var(--accent);
  border-radius: 3px;
  animation: dotScroll 1.8s ease infinite;
}
@keyframes scrollBounce { 0%,100% { opacity: 0.6; } 50% { opacity: 1; } }
@keyframes dotScroll   { 0% { transform: translateY(0); opacity: 1; } 80% { transform: translateY(12px); opacity: 0; } 100% { transform: translateY(0); opacity: 0; } }

/* ════════════════ SERVICES ════════════════ */
.services { background: var(--bg-2); }

.services__group { margin-bottom: 64px; }
.services__group:last-child { margin-bottom: 0; }

.group-label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 28px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-accent);
}
.group-label__icon {
  width: 34px; height: 34px;
  background: var(--accent-bg);
  border: 1px solid var(--border-accent);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}
.service-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), transparent);
  opacity: 0;
  transition: opacity var(--transition);
}
.service-card:hover {
  background: var(--card-hover);
  border-color: var(--border-accent);
  transform: translateY(-4px);
  box-shadow: var(--shadow), var(--shadow-accent);
}
.service-card:hover::before { opacity: 1; }

.service-card__icon {
  width: 52px; height: 52px;
  background: var(--accent-bg);
  border: 1px solid var(--border-accent);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  margin-bottom: 18px;
}
.service-card__title {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
  line-height: 1.3;
}
.service-card__desc {
  font-size: .875rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 16px;
}
.service-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.service-card__tags span {
  padding: 3px 10px;
  border-radius: 50px;
  background: rgba(255,255,255,.06);
  font-size: .7rem;
  font-weight: 600;
  color: var(--text-dim);
  border: 1px solid var(--border);
}

/* ════════════════ ABOUT ════════════════ */
.about { background: var(--bg); }
.about__inner {
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 80px;
  align-items: center;
}
.about__visual {
  position: relative;
}
.about__photo-frame {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 4/5;
  background: var(--card);
  border: 1px solid var(--border);
}
.about__photo-placeholder {
  width: 100%; height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  color: var(--text-dim);
  background: linear-gradient(160deg, var(--card) 0%, var(--bg-3) 100%);
  text-align: center;
  padding: 20px;
  display: none; /* hidden when real photo loads */
}
.about__photo-placeholder svg { color: var(--text-dim); opacity: .4; }
.about__photo-placeholder span { font-size: .85rem; color: var(--text-muted); font-weight: 500; }

/* When real photo is added: style img.about__photo */
.about__photo-frame img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: top center;
}

.about__photo-badge {
  position: absolute;
  bottom: 20px; left: 20px;
  background: rgba(7,9,14,.88);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-accent);
  border-radius: 50px;
  padding: 8px 16px;
  font-size: .78rem;
  font-weight: 600;
  color: var(--accent-light);
  display: flex;
  align-items: center;
  gap: 8px;
}

.about__decorline {
  position: absolute;
  top: 40px; left: -24px;
  width: 4px; height: 120px;
  background: linear-gradient(180deg, var(--accent) 0%, var(--navy) 60%, transparent 100%);
  border-radius: 4px;
}

.about__content p {
  color: var(--text-muted);
  margin-bottom: 16px;
  font-size: .975rem;
}
.about__content strong { color: var(--text); }
.about__content em { color: var(--accent); font-style: normal; }

.about__chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.chip {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 8px 16px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 50px;
  font-size: .8rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: var(--transition);
}
.chip:hover { border-color: var(--border-accent); color: var(--accent); }
.chip svg { color: var(--accent); }

/* ════════════════ DIFFERENTIALS ════════════════ */
.differentials { background: var(--bg-2); }
.diff__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.diff-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
}
.diff-card:hover {
  border-color: var(--border-accent);
  transform: translateY(-4px);
  box-shadow: var(--shadow), 0 0 30px rgba(200,32,42,.08);
}
.diff-card__number {
  position: absolute;
  top: 20px; right: 24px;
  font-family: var(--font-head);
  font-size: 3rem;
  font-weight: 900;
  color: rgba(200,32,42,.07);
  line-height: 1;
}
.diff-card__icon {
  width: 60px; height: 60px;
  background: var(--accent-bg);
  border: 1px solid var(--border-accent);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  margin-bottom: 20px;
}
.diff-card h3 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--white);
  margin-bottom: 10px;
}
.diff-card p { font-size: .875rem; color: var(--text-muted); line-height: 1.65; }

/* ════════════════ GALLERY ════════════════ */
.gallery-section { background: var(--bg); }

.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-bottom: 40px;
}
.filter-btn {
  padding: 8px 20px;
  border-radius: 50px;
  border: 1px solid var(--border);
  font-family: var(--font-head);
  font-size: .8rem;
  font-weight: 600;
  color: var(--text-muted);
  background: rgba(255,255,255,.04);
  transition: var(--transition);
  cursor: pointer;
}
.filter-btn:hover, .filter-btn.active {
  background: var(--accent-bg);
  border-color: var(--border-accent);
  color: var(--accent);
}

/* Gallery Grid — CSS Columns (true masonry) */
.gallery-grid {
  columns: 4;
  column-gap: 16px;
}
.gallery-item {
  break-inside: avoid;
  margin-bottom: 16px;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  position: relative;
}
.gallery-item.hidden { display: none; }

/* Real images/videos loaded from gallery folder */
.gallery-item img,
.gallery-item video {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius);
  transition: transform .5s ease;
}
.gallery-item:hover img,
.gallery-item:hover video {
  transform: scale(1.03);
}

/* Placeholder blocks (shown until real media is added) */
.gallery-placeholder {
  width: 100%;
  border-radius: var(--radius);
  position: relative;
  overflow: hidden;
  background: var(--card);
  border: 1px solid var(--border);
  transition: transform .5s ease, border-color .3s ease;
}
.gallery-item:hover .gallery-placeholder {
  transform: scale(1.02);
  border-color: var(--border-accent);
}
/* Aspect ratios for placeholder variety */
.gp--tall  { aspect-ratio: 3/4; }
.gp--wide  { aspect-ratio: 16/9; }
.gp--sq    { aspect-ratio: 1/1; }

/* Gradient backgrounds per placeholder */
.gp--1 { background: linear-gradient(135deg, #0f1e35 0%, #1a3060 100%); }
.gp--2 { background: linear-gradient(135deg, #1a1005 0%, #3a2800 100%); }
.gp--3 { background: linear-gradient(135deg, #120f20 0%, #2d1a50 100%); }
.gp--4 { background: linear-gradient(135deg, #0a1a10 0%, #1a3d20 100%); }
.gp--5 { background: linear-gradient(135deg, #1a0f0f 0%, #3d1515 100%); }
.gp--6 { background: linear-gradient(135deg, #0e1520 0%, #1a2a40 100%); }
.gp--7 { background: linear-gradient(135deg, #150f1a 0%, #30204a 100%); }
.gp--8 { background: linear-gradient(135deg, #0a1510 0%, #152a1e 100%); }

.gp__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 16px;
  background: linear-gradient(180deg, rgba(0,0,0,.1) 0%, rgba(0,0,0,.6) 100%);
  opacity: 1;
  transition: opacity .3s ease;
}
.gp__overlay span {
  font-size: .8rem;
  font-weight: 600;
  color: rgba(255,255,255,.7);
  text-align: center;
  letter-spacing: .04em;
}
.gallery-item:hover .gp__overlay { background: linear-gradient(180deg, rgba(0,0,0,.2) 0%, rgba(0,0,0,.75) 100%); }

/* Video play button */
.video-play-btn {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 52px; height: 52px;
  background: rgba(255,255,255,.15);
  backdrop-filter: blur(8px);
  border: 2px solid rgba(255,255,255,.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  z-index: 2;
}
.gallery-item:hover .video-play-btn {
  background: var(--accent);
  border-color: var(--accent-light);
  transform: translate(-50%, -50%) scale(1.1);
}
.video-badge {
  position: absolute;
  top: 10px; left: 10px;
  background: rgba(0,0,0,.6);
  backdrop-filter: blur(6px);
  border-radius: 50px;
  padding: 4px 10px;
  font-size: .7rem;
  font-weight: 700;
  color: white;
  display: flex;
  align-items: center;
  gap: 5px;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.gallery-load {
  text-align: center;
  margin-top: 40px;
}
.gallery-load__hint {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,.04);
  border: 1px dashed var(--border);
  border-radius: var(--radius);
  padding: 16px 24px;
  font-size: .85rem;
  color: var(--text-dim);
}
.gallery-load__hint code {
  background: rgba(200,32,42,.1);
  color: var(--accent);
  padding: 2px 8px;
  border-radius: 4px;
  font-size: .8rem;
}

/* ════════════════ LIGHTBOX ════════════════ */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(2,4,8,.95);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .35s ease;
  backdrop-filter: blur(12px);
}
.lightbox.open { opacity: 1; pointer-events: all; }
.lightbox__content {
  max-width: 90vw;
  max-height: 82vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lightbox__content img {
  max-width: 90vw;
  max-height: 80vh;
  border-radius: var(--radius);
  box-shadow: 0 24px 80px rgba(0,0,0,.7);
  object-fit: contain;
}
.lightbox__content video {
  max-width: 90vw;
  max-height: 80vh;
  border-radius: var(--radius);
  box-shadow: 0 24px 80px rgba(0,0,0,.7);
  outline: none;
}
/* Placeholder shown in lightbox */
.lightbox__placeholder {
  width: 600px;
  max-width: 90vw;
  aspect-ratio: 4/3;
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  color: var(--text-muted);
}
.lightbox__placeholder svg { opacity: .4; }
.lightbox__placeholder p { font-size: .9rem; }

.lightbox__close {
  position: absolute;
  top: 20px; right: 20px;
  width: 44px; height: 44px;
  background: rgba(255,255,255,.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
  transition: var(--transition);
  z-index: 10;
}
.lightbox__close:hover { background: rgba(255,255,255,.2); color: var(--white); }

.lightbox__nav {
  position: absolute;
  top: 50%; transform: translateY(-50%);
  width: 48px; height: 48px;
  background: rgba(255,255,255,.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
  transition: var(--transition);
  z-index: 10;
}
.lightbox__nav:hover { background: var(--accent); color: #000; }
.lightbox__prev { left: 20px; }
.lightbox__next { right: 20px; }

.lightbox__caption {
  position: absolute;
  bottom: 60px; left: 0; right: 0;
  text-align: center;
  font-size: .85rem;
  color: var(--text-muted);
  padding: 0 80px;
}
.lightbox__counter {
  position: absolute;
  bottom: 32px; left: 50%; transform: translateX(-50%);
  font-size: .75rem;
  color: var(--text-dim);
  font-family: var(--font-head);
  font-weight: 600;
}

/* ════════════════ SEGMENTS ════════════════ */
.segments { background: var(--bg-2); }
.segments__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 24px;
}
.segment-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: var(--transition);
}
.segment-card:hover {
  border-color: var(--border-accent);
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.segment-card__icon {
  width: 56px; height: 56px;
  background: var(--accent-bg);
  border: 1px solid var(--border-accent);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  margin-bottom: 18px;
}
.segment-card h3 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1rem;
  color: var(--white);
  margin-bottom: 10px;
  line-height: 1.3;
}
.segment-card p {
  font-size: .875rem;
  color: var(--text-muted);
  margin-bottom: 16px;
  line-height: 1.65;
}
.segment-card p strong { color: var(--accent); }
.segment-card ul { display: flex; flex-direction: column; gap: 6px; }
.segment-card li {
  font-size: .8rem;
  color: var(--text-dim);
  padding-left: 16px;
  position: relative;
}
.segment-card li::before {
  content: '';
  position: absolute;
  left: 0; top: 50%;
  transform: translateY(-50%);
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
}

/* ════════════════ CTA STRIP ════════════════ */
.cta-strip {
  background: linear-gradient(135deg, #0c1428 0%, #152240 50%, #0c1428 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  position: relative;
}
.cta-strip::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 100% at 70% 50%, rgba(200,32,42,.08), rgba(29,52,100,.06));
}
.cta-strip__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding-top: 60px;
  padding-bottom: 60px;
  position: relative;
}
.cta-strip__text h2 {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(1.4rem, 3vw, 2rem);
  color: var(--white);
  margin-bottom: 8px;
}
.cta-strip__text p { color: var(--text-muted); font-size: .95rem; }

/* ════════════════ CONTACT ════════════════ */
.contact { background: var(--bg); overflow: hidden; }
.contact__inner {
  display: grid;
  grid-template-columns: 1fr min(440px, 100%);
  gap: 80px;
  align-items: start;
}
.contact__info p {
  color: var(--text-muted);
  margin-bottom: 32px;
  font-size: .975rem;
  word-break: break-word;
  overflow-wrap: break-word;
}
.contact-items { display: flex; flex-direction: column; gap: 16px; }
.contact-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: var(--transition);
}
a.contact-item:hover {
  border-color: var(--border-accent);
  transform: translateX(4px);
}
.contact-item__icon {
  width: 44px; height: 44px;
  background: rgba(255,255,255,.06);
  border: 1px solid var(--border);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  flex-shrink: 0;
}
.contact-item__icon--green {
  background: rgba(37,211,102,.1);
  border-color: rgba(37,211,102,.2);
  color: var(--green);
}
.contact-item div { display: flex; flex-direction: column; gap: 2px; }
.contact-item strong { font-size: .85rem; color: var(--text); font-weight: 600; }
.contact-item span { font-size: .8rem; color: var(--text-muted); }

/* CTA Card */
.contact-cta-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: clamp(18px, 5vw, 32px);
  box-shadow: var(--shadow);
  overflow: hidden;
  word-break: break-word;
}
.contact-cta-card__header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
  position: relative;
}
.cta-avatar {
  width: 50px; height: 50px;
  background: var(--accent-bg);
  border: 2px solid var(--border-accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  flex-shrink: 0;
}
.contact-cta-card__header strong { display: block; font-size: .9rem; color: var(--white); }
.contact-cta-card__header span { font-size: .75rem; color: var(--text-muted); }
.online-dot {
  width: 10px; height: 10px;
  background: var(--green);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--green);
  position: absolute;
  top: 0; right: 0;
  animation: pulse 2s infinite;
}
.cta-message-preview {
  background: rgba(0,0,0,.3);
  border-radius: var(--radius);
  padding: 16px;
  margin-bottom: 20px;
}
.cta-bubble {
  background: rgba(37,211,102,.15);
  border: 1px solid rgba(37,211,102,.2);
  border-radius: 12px 12px 12px 4px;
  padding: 12px 16px;
  font-size: .85rem;
  color: var(--text);
  line-height: 1.5;
}
.cta-disclaimer {
  text-align: center;
  font-size: .75rem;
  color: var(--text-dim);
  margin-top: 12px;
}

/* ════════════════ FOOTER ════════════════ */
.footer {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  padding-top: 64px;
}
.footer__inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.2fr 1.2fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--border);
}
.footer__brand .navbar__logo { margin-bottom: 16px; }
.footer__brand > p {
  font-size: .85rem;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 280px;
}
.footer__nav h4,
.footer__services h4,
.footer__contact h4 {
  font-family: var(--font-head);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 16px;
}
.footer__nav a,
.footer__services a,
.footer__contact a,
.footer__contact span {
  display: block;
  font-size: .85rem;
  color: var(--text-muted);
  margin-bottom: 10px;
  transition: color var(--transition);
}
.footer__nav a:hover,
.footer__services a:hover,
.footer__contact a:hover { color: var(--accent); }
.footer__bottom {
  padding: 20px 0;
}
.footer__bottom__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  font-size: .78rem;
  color: var(--text-dim);
}
.footer__crea {
  font-size: .78rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* ════════════════ FLOATING WHATSAPP ════════════════ */
.whatsapp-fab {
  position: fixed;
  bottom: 28px; right: 28px;
  z-index: 900;
  background: var(--green);
  color: white;
  border-radius: 50px;
  height: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 20px;
  box-shadow: 0 4px 24px rgba(37,211,102,.4);
  transition: var(--transition);
  overflow: hidden;
}
.whatsapp-fab:hover {
  background: var(--green-dark);
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(37,211,102,.55);
}
.whatsapp-fab__label {
  font-family: var(--font-head);
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .04em;
  white-space: nowrap;
}
.whatsapp-fab__pulse {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: var(--green);
  animation: fabPulse 2.5s ease infinite;
  z-index: -1;
}
@keyframes fabPulse {
  0%   { opacity: 0.6; transform: scale(1); }
  70%  { opacity: 0; transform: scale(1.4); }
  100% { opacity: 0; }
}

/* Back to top */
.back-top {
  position: fixed;
  bottom: 28px; left: 28px;
  z-index: 900;
  width: 46px; height: 46px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
  box-shadow: var(--shadow);
}
.back-top.visible { opacity: 1; pointer-events: all; }
.back-top:hover {
  background: var(--card-hover);
  border-color: var(--border-accent);
  color: var(--accent);
  transform: translateY(-2px);
}

/* ════════════════ RESPONSIVE ════════════════ */
@media (max-width: 1100px) {
  .diff__grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { columns: 3; }
  .about__inner { grid-template-columns: 1fr; gap: 48px; }
  .about__visual { max-width: 400px; margin: 0 auto; }
}

@media (max-width: 900px) {
  .navbar__links, .navbar__cta { display: none; }
  .hamburger { display: flex; }
  .contact__inner { grid-template-columns: 1fr; gap: 32px; }
  .footer__inner { grid-template-columns: 1fr 1fr; gap: 32px; }
  .cta-strip__inner { flex-direction: column; text-align: center; }
  .gallery-grid { columns: 2; }
}

@media (max-width: 700px) {
  .section { padding: 72px 0; }
  .diff__grid { grid-template-columns: 1fr; }
  .services__grid { grid-template-columns: 1fr; }
  .segments__grid { grid-template-columns: 1fr; }
  .hero__stats { gap: 20px; }
  .stat__num { font-size: 1.6rem; }
  .footer__inner { grid-template-columns: 1fr; gap: 28px; }
  .footer__bottom__inner { flex-direction: column; align-items: center; gap: 6px; text-align: center; }
  .gallery-grid { columns: 1; }
  .whatsapp-fab__label { display: none; }
  .whatsapp-fab { padding: 0; width: 58px; border-radius: 50%; }
}

@media (max-width: 480px) {
  html, body { overflow-x: hidden; }
  :root { --container: 100%; }
  .container { padding: 0 18px; }
  .hero { padding: 100px 0 60px; }
  .hero__badge { font-size: .68rem; letter-spacing: .04em; padding: 5px 12px; }
  .hero__title { font-size: clamp(1.6rem, 8vw, 2.4rem); }
  .hero__subtitle { font-size: .9rem; }
  .hero__actions { flex-direction: column; }
  .hero__actions .btn { justify-content: center; width: 100%; }
  .hero__stats { flex-direction: column; align-items: center; gap: 12px; }
  .stat { text-align: center; }
  .stat__divider { display: none; }
  .section-title { font-size: clamp(1.5rem, 7vw, 2rem); word-break: break-word; }
  .section-sub { font-size: .88rem; }
  .cta-strip__inner { padding-top: 52px; padding-bottom: 52px; }
  .cta-strip__text h2 { font-size: 1.3rem; }
  .diff__grid { grid-template-columns: 1fr; }
  .services__grid { grid-template-columns: 1fr; }
  .segments__grid { grid-template-columns: 1fr; }
  .gallery-grid { columns: 1; }
  .lightbox__prev { left: 8px; }
  .lightbox__next { right: 8px; }
  .back-top { display: none; }
  .whatsapp-fab__label { display: none; }
  .whatsapp-fab { padding: 0; width: 58px; height: 58px; border-radius: 50%; }
  .footer__inner { grid-template-columns: 1fr; gap: 28px; }
  .footer__bottom__inner { flex-direction: column; align-items: center; gap: 5px; text-align: center; font-size: .72rem; }
  .about__inner { grid-template-columns: 1fr; }
  .contact__inner { grid-template-columns: 1fr; gap: 20px; }
  .contact__info { min-width: 0; max-width: 100%; overflow: hidden; }
  .contact__cta { min-width: 0; max-width: 100%; overflow: hidden; }
  .contact-item { padding: 12px 14px; gap: 12px; max-width: 100%; box-sizing: border-box; overflow: hidden; }
  .contact-item div { min-width: 0; overflow: hidden; }
  .contact-item strong, .contact-item span { white-space: normal; word-break: break-word; overflow-wrap: break-word; }
  .contact-item__icon { width: 38px; height: 38px; border-radius: 8px; font-size: 1rem; }
  .contact-cta-card { border-radius: var(--radius-lg); }
  .cta-message-preview { padding: 12px; }
  .cta-bubble { font-size: .8rem; }
  .contact__info h2, .cta-strip__text h2 { word-break: break-word; overflow-wrap: break-word; }
}

/* ── Google Business button ── */
.gbiz-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  border-radius: 50px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,.04);
  font-size: .8rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: var(--transition);
  letter-spacing: .02em;
}
.gbiz-link:hover {
  border-color: rgba(66,133,244,.4);
  color: #4285f4;
  background: rgba(66,133,244,.06);
}
.gbiz-link svg { flex-shrink: 0; }

/* ── Selection color ── */
::selection { background: rgba(200,32,42,.28); color: var(--white); }

/* ── Footer dev credit ── */
.footer__dev-credit {
  font-size: .72rem;
  color: var(--text-dim);
}
.footer__dev-credit a {
  color: var(--text-muted);
  transition: color var(--transition);
}
.footer__dev-credit a:hover { color: var(--accent); }

/* ── Scrollbar ── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 6px; }
::-webkit-scrollbar-thumb:hover { background: var(--accent); }
