/* ============================================================
   Atotconstruct — Structuri metalice
   Stil industrial, albastru-oțel, fonturi stricte
   ============================================================ */

:root {
  /* Palette — steel blue */
  --navy-900: #081f38;
  --navy-800: #0b2a4a;
  --navy-700: #103a63;
  --blue-600: #1565c0;
  --blue-500: #1e7fe0;
  --blue-400: #3b9af2;
  --accent: #00b4d8;        /* bright cyan-blue accent */
  --steel-100: #eef3f8;
  --steel-200: #dde6f0;
  --steel-300: #c2cfde;
  --gray-600: #5a6b7d;
  --gray-700: #3c4a59;
  --ink: #0d1b29;
  --white: #ffffff;

  --surface: #ffffff;
  --surface-alt: #f4f7fb;

  /* Typography */
  --font-display: "Space Grotesk", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;

  --text-hero: clamp(2.4rem, 1.2rem + 4.5vw, 5rem);
  --text-h2: clamp(1.8rem, 1.1rem + 2.4vw, 3rem);
  --text-h3: clamp(1.15rem, 1rem + 0.5vw, 1.4rem);
  --text-base: clamp(1rem, 0.96rem + 0.2vw, 1.075rem);

  /* Spacing */
  --space-section: clamp(4rem, 3rem + 5vw, 8rem);
  --radius: 14px;
  --radius-lg: 22px;
  --container: 1200px;

  --shadow-sm: 0 2px 10px rgba(8, 31, 56, 0.06);
  --shadow-md: 0 14px 40px rgba(8, 31, 56, 0.10);
  --shadow-lg: 0 30px 70px rgba(8, 31, 56, 0.18);

  --duration: 320ms;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.65;
  color: var(--ink);
  background: var(--surface);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--navy-900);
}

.container {
  width: min(100% - 2.5rem, var(--container));
  margin-inline: auto;
}

.section { padding-block: var(--space-section); }
.section-alt { background: var(--surface-alt); }

/* ---------- Section heads ---------- */
.section-head { max-width: 720px; margin: 0 auto clamp(2.5rem, 5vw, 4rem); text-align: center; }

.section-eyebrow {
  font-family: var(--font-display);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.78rem;
  color: var(--blue-600);
  margin-bottom: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}
.section-eyebrow::before {
  content: "";
  width: 28px; height: 2px;
  background: var(--accent);
  display: inline-block;
}

.section-title { font-size: var(--text-h2); margin-bottom: 1rem; }
.section-sub { color: var(--gray-600); font-size: 1.08rem; }

/* ---------- Buttons ---------- */
.btn {
  --btn-pad-y: 0.85rem;
  --btn-pad-x: 1.6rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: var(--btn-pad-y) var(--btn-pad-x);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  border-radius: 10px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform var(--duration) var(--ease),
              box-shadow var(--duration) var(--ease),
              background var(--duration) var(--ease),
              color var(--duration) var(--ease);
  will-change: transform;
}
.btn:active { transform: translateY(1px); }

.btn-primary {
  background: var(--blue-600);
  color: var(--white);
  box-shadow: 0 10px 26px rgba(21, 101, 192, 0.35);
}
.btn-primary:hover {
  background: var(--blue-500);
  transform: translateY(-3px);
  box-shadow: 0 18px 38px rgba(21, 101, 192, 0.45);
}

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

.btn-block { width: 100%; }

/* ---------- Icons (SVG sprite: Lucide + Simple Icons) ---------- */
/* Each <symbol> declares its own fill/stroke=currentColor, so .ico only
   controls size and inherits `color` from the surrounding context. */
.ico {
  width: 1em; height: 1em;
  display: inline-block;
  vertical-align: -0.14em;
  flex: none;
}

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  padding-block: 1.1rem;
  transition: background var(--duration) var(--ease),
              box-shadow var(--duration) var(--ease),
              padding var(--duration) var(--ease);
}
.site-header.scrolled {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(14px);
  box-shadow: var(--shadow-sm);
  padding-block: 0.65rem;
}

.header-inner { display: flex; align-items: center; gap: 1.5rem; }

.brand { display: inline-flex; align-items: center; gap: 0.6rem; color: var(--white); }
.site-header.scrolled .brand { color: var(--navy-900); }

.brand-mark {
  width: 38px; height: 38px;
  display: grid; place-items: center;
  color: var(--accent);
  background: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
}
.site-header.scrolled .brand-mark { background: rgba(21, 101, 192, 0.10); }
.brand-mark svg { width: 24px; height: 24px; }

.brand-text {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.3rem;
  letter-spacing: -0.01em;
}
.brand-text strong { font-weight: 700; }

.main-nav { display: flex; gap: 2rem; margin-left: auto; }
.main-nav a {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.88);
  position: relative;
  padding-block: 0.3rem;
  transition: color var(--duration) var(--ease);
}
.site-header.scrolled .main-nav a { color: var(--gray-700); }
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 2px;
  background: var(--accent);
  transition: width var(--duration) var(--ease);
}
.main-nav a:hover { color: var(--white); }
.site-header.scrolled .main-nav a:hover { color: var(--blue-600); }
.main-nav a:hover::after { width: 100%; }

.btn-phone {
  background: rgba(255, 255, 255, 0.10);
  border: 1.5px solid rgba(255, 255, 255, 0.30);
  color: var(--white);
  padding: 0.6rem 1.15rem;
  border-radius: 10px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9rem;
  transition: all var(--duration) var(--ease);
}
.btn-phone:hover { background: var(--accent); border-color: var(--accent); color: var(--navy-900); transform: translateY(-2px); }
.site-header.scrolled .btn-phone { background: var(--blue-600); border-color: var(--blue-600); }
.site-header.scrolled .btn-phone:hover { background: var(--blue-500); }

/* Mobile nav */
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 6px; }
.nav-toggle span { width: 26px; height: 2.5px; background: var(--white); border-radius: 2px; transition: all var(--duration) var(--ease); }
.site-header.scrolled .nav-toggle span { background: var(--navy-900); }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 0.25rem;
  background: var(--navy-800);
  padding: 1rem 1.25rem 1.5rem;
}
.mobile-nav.open { display: flex; animation: slideDown var(--duration) var(--ease); }
.mobile-nav a { color: rgba(255,255,255,0.9); padding: 0.75rem 0.25rem; font-family: var(--font-display); font-weight: 500; border-bottom: 1px solid rgba(255,255,255,0.08); }
.mobile-nav .mobile-phone { color: var(--accent); border-bottom: 0; }

@keyframes slideDown { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: translateY(0); } }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  color: var(--white);
  overflow: hidden;
  padding-top: 6rem;
}
.hero-bg {
  position: absolute; inset: 0;
  background: url("../img/structura-metalica-01.jpg") center/cover no-repeat;
  transform: scale(1.08);
  animation: heroZoom 18s ease-out forwards;
}
@keyframes heroZoom { to { transform: scale(1); } }
.hero-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(110deg, rgba(8, 31, 56, 0.96) 0%, rgba(11, 42, 74, 0.90) 45%, rgba(8, 31, 56, 0.70) 100%),
    linear-gradient(to top, rgba(8,31,56,0.88), transparent 55%);
}

.hero-inner {
  position: relative; z-index: 2;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.hero-text { max-width: 640px; }

.hero-eyebrow {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.28em;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 1.4rem;
}
.hero-title { font-size: var(--text-hero); font-weight: 700; margin-bottom: 1.5rem; color: var(--white); }
.hero-title .accent { color: var(--blue-400); }
.hero-lead { font-size: 1.18rem; color: rgba(255, 255, 255, 0.85); max-width: 620px; margin-bottom: 2.2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 3.5rem; }

.hero-badges { display: flex; flex-wrap: wrap; gap: clamp(1.5rem, 4vw, 3.5rem); }
.hero-badges li { display: flex; flex-direction: column; }
.hero-badges strong {
  font-family: var(--font-display);
  font-size: clamp(2rem, 1.4rem + 1.6vw, 2.8rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1;
}
.hero-badges span { font-size: 0.9rem; color: rgba(255, 255, 255, 0.7); margin-top: 0.35rem; }

.scroll-cue {
  position: absolute; bottom: 1.8rem; left: 50%; transform: translateX(-50%);
  width: 26px; height: 42px; border: 2px solid rgba(255,255,255,0.5); border-radius: 14px;
  z-index: 2;
}
.scroll-cue span {
  position: absolute; top: 8px; left: 50%; transform: translateX(-50%);
  width: 4px; height: 8px; background: var(--accent); border-radius: 2px;
  animation: scrollDot 1.6s infinite;
}
@keyframes scrollDot { 0% { opacity: 0; top: 8px; } 50% { opacity: 1; } 100% { opacity: 0; top: 24px; } }

/* ---------- Hero quick-quote form ---------- */
.hero-form {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-lg);
  padding: clamp(1.6rem, 2.5vw, 2.2rem);
  backdrop-filter: blur(14px) saturate(140%);
  box-shadow: var(--shadow-lg);
}
.hero-form h2 {
  color: var(--white);
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}
.hero-form > p { color: rgba(255, 255, 255, 0.78); font-size: 0.95rem; margin-bottom: 1.4rem; }
.hero-form .field { margin-bottom: 0.9rem; }
.hero-form .field input,
.hero-form .field select {
  width: 100%;
  padding: 0.85rem 1rem;
  font-family: var(--font-body);
  font-size: 0.97rem;
  color: var(--white);
  background: rgba(8, 26, 46, 0.72);
  border: 1.5px solid rgba(255, 255, 255, 0.32);
  border-radius: 10px;
  transition: border-color var(--duration) var(--ease), background var(--duration) var(--ease);
}
.hero-form .field input::placeholder { color: rgba(255, 255, 255, 0.78); }
.hero-form .field select { appearance: none; cursor: pointer; color: rgba(255, 255, 255, 0.78); }
.hero-form .field select option { color: var(--ink); }
.hero-form .field input:focus,
.hero-form .field select:focus {
  outline: none;
  border-color: var(--accent);
  background: rgba(8, 26, 46, 0.85);
}
.hero-form .form-note { color: #d6f5ff; }
.hero-form .form-note.err { color: #ffd2cb; }

/* ============================================================
   TRUST STRIP (marquee)
   ============================================================ */
.trust-strip {
  background: var(--navy-800);
  color: rgba(255, 255, 255, 0.85);
  padding-block: 1.1rem;
  overflow: hidden;
}
.trust-track {
  display: flex; align-items: center; gap: 1.5rem;
  white-space: nowrap;
  width: max-content;
  animation: marquee 32s linear infinite;
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: 0.02em;
}
.trust-track i { color: var(--accent); font-style: normal; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ============================================================
   ABOUT
   ============================================================ */
.about-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: stretch;
}
.about-media { position: relative; }
.about-media img {
  width: 100%;
  height: 100%;
  min-height: 100%;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
.about-media-tag {
  position: absolute; bottom: -1.5rem; right: -1rem;
  background: var(--blue-600); color: var(--white);
  padding: 1.1rem 1.4rem; border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  display: flex; align-items: center; gap: 0.8rem; max-width: 260px;
}
.about-media-tag strong { font-family: var(--font-display); font-size: 2.2rem; line-height: 1; }
.about-media-tag span { font-size: 0.82rem; line-height: 1.3; color: rgba(255,255,255,0.85); }

.about-content p { color: var(--gray-700); margin-bottom: 1.1rem; }
.about-content .section-title { margin-bottom: 1.4rem; }

.about-list {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0.65rem 1.5rem;
  margin: 1.6rem 0 2rem;
}
.about-list li {
  position: relative; padding-left: 1.8rem;
  font-weight: 500; color: var(--navy-900); font-size: 0.97rem;
}
.about-list li::before {
  content: ""; position: absolute; left: 0; top: 0.55em;
  width: 9px; height: 9px; background: var(--accent);
  transform: rotate(45deg);
}

/* ============================================================
   SERVICES
   ============================================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.service-card {
  background: var(--surface);
  border: 1px solid var(--steel-200);
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform var(--duration) var(--ease),
              box-shadow var(--duration) var(--ease),
              border-color var(--duration) var(--ease);
}
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}

.service-img {
  position: relative;
  height: 200px;
  overflow: hidden;
}
.service-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}
.service-card:hover .service-img img { transform: scale(1.08); }
.service-img::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(8, 31, 56, 0.40), transparent 55%);
}

.service-body { padding: 1.8rem 1.7rem 1.9rem; }
.service-body h3 { font-size: var(--text-h3); margin-bottom: 0.7rem; }
.service-body p { color: var(--gray-600); font-size: 0.98rem; }

/* Featured service — Construcții metalice (serviciul principal) */
.service-card--featured {
  grid-column: span 2;
  grid-row: span 1;
  flex-direction: row;
  border-color: var(--blue-500);
  box-shadow: 0 20px 50px rgba(21, 101, 192, 0.16);
}
.service-card--featured .service-img { height: auto; flex: 1 1 50%; }
.service-card--featured .service-body {
  flex: 1 1 50%;
  display: flex; flex-direction: column; justify-content: center;
  padding: 2.2rem 2rem;
}
.service-card--featured .service-body h3 { font-size: clamp(1.4rem, 1.1rem + 1vw, 1.9rem); }
.service-card--featured .service-body p { font-size: 1.02rem; }

.service-badge {
  position: absolute; top: 1rem; left: 1rem; z-index: 2;
  display: inline-flex; align-items: center;
  padding: 0.4rem 0.85rem;
  background: var(--accent); color: var(--navy-900);
  font-family: var(--font-display); font-weight: 700;
  font-size: 0.72rem; letter-spacing: 0.06em; text-transform: uppercase;
  border-radius: 999px;
  box-shadow: 0 8px 20px rgba(0, 180, 216, 0.35);
}

/* ============================================================
   PROCESS
   ============================================================ */
.process-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem;
  counter-reset: step;
}
.process-step {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem 2rem;
  border: 1px solid var(--steel-200);
  position: relative;
  transition: transform var(--duration) var(--ease), box-shadow var(--duration) var(--ease);
}
.process-step:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.process-num {
  font-family: var(--font-display);
  font-size: 3.4rem; font-weight: 700;
  color: var(--steel-200);
  line-height: 1; display: block; margin-bottom: 1rem;
  transition: color var(--duration) var(--ease);
}
.process-step:hover .process-num { color: var(--blue-500); }
.process-step h3 { font-size: var(--text-h3); margin-bottom: 0.8rem; }
.process-step p { color: var(--gray-600); font-size: 0.97rem; }

/* ============================================================
   WHY
   ============================================================ */
.why-grid {
  display: grid; grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(2rem, 5vw, 5rem); align-items: center;
}
.why-content p { color: var(--gray-700); margin-bottom: 1.8rem; }
.why-content .section-title { margin-bottom: 1.2rem; }

.bars { display: grid; gap: 1.15rem; }
.bar-label { display: flex; justify-content: space-between; font-family: var(--font-display); font-weight: 500; font-size: 0.92rem; margin-bottom: 0.45rem; }
.bar-label span:last-child { color: var(--blue-600); }
.bar-track { height: 8px; background: var(--steel-200); border-radius: 99px; overflow: hidden; }
.bar-fill {
  height: 100%; width: 0;
  background: linear-gradient(90deg, var(--blue-600), var(--accent));
  border-radius: 99px;
  transition: width 1.4s var(--ease);
}

.why-media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  max-height: 560px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  object-fit: cover;
}

/* ============================================================
   STATS
   ============================================================ */
.stats { background: var(--navy-800); color: var(--white); position: relative; overflow: hidden; }
.stats::before {
  content: ""; position: absolute; inset: 0;
  background: url("../img/structura-metalica-03.jpg") center/cover;
  opacity: 0.10;
}
.stats-grid { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; text-align: center; }
.stat strong {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 1.6rem + 2.4vw, 3.6rem);
  font-weight: 700; display: block; color: var(--white); line-height: 1;
}
.stat strong { background: linear-gradient(90deg, #fff, var(--blue-400)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.stat span { color: rgba(255,255,255,0.7); font-size: 0.98rem; margin-top: 0.6rem; display: block; }

/* ============================================================
   GALLERY
   ============================================================ */
/* ---------- Tabs ---------- */
.gallery .section-head { margin-bottom: clamp(1rem, 2vw, 1.5rem); }
.gallery-tabs {
  display: inline-flex;
  gap: 0.35rem;
  margin: 0 auto clamp(1.8rem, 4vw, 2.6rem);
  padding: 0.35rem;
  background: var(--surface);
  border: 1px solid var(--steel-200);
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
}
/* center the pill row */
.gallery { text-align: center; }
.gallery-grid { text-align: left; }
.gallery-tab {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.7rem 1.7rem;
  font-family: var(--font-display); font-weight: 600; font-size: 0.95rem;
  color: var(--gray-700);
  background: transparent; border: 0; border-radius: 999px;
  cursor: pointer;
  transition: color var(--duration) var(--ease), background var(--duration) var(--ease);
}
.gallery-tab span { font-size: 0.9em; line-height: 1; }
.gallery-tab:hover { color: var(--blue-600); }
.gallery-tab.is-active {
  color: var(--white);
  background: var(--blue-600);
  box-shadow: 0 8px 20px rgba(21, 101, 192, 0.30);
}

/* ---------- Panels ---------- */
.gallery-panel { display: none; }
.gallery-panel.is-active { display: grid; }

.gallery-grid {
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.gallery-grid--video { grid-template-columns: repeat(4, 1fr); }

.g-item {
  position: relative; overflow: hidden; border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  aspect-ratio: 4 / 3;
  /* button reset */
  padding: 0; border: 0; background: none; cursor: pointer;
  display: block; width: 100%;
}
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease); }
.g-item:hover img { transform: scale(1.08); }
.g-item::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(8,31,56,0.35), transparent 45%);
  opacity: 0; transition: opacity var(--duration) var(--ease);
}
.g-item:hover::after { opacity: 1; }
.g-item:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

/* Video tiles (portrait) */
.g-item--video { aspect-ratio: 9 / 16; }
.g-play {
  position: absolute; inset: 0; margin: auto;
  width: 64px; height: 64px; z-index: 2;
  display: grid; place-items: center;
  background: rgba(21, 101, 192, 0.92);
  border-radius: 50%;
  box-shadow: 0 10px 26px rgba(8, 31, 56, 0.45);
  transition: transform var(--duration) var(--ease), background var(--duration) var(--ease);
}
.g-play::before {
  content: ""; margin-left: 4px;
  border-style: solid;
  border-width: 11px 0 11px 18px;
  border-color: transparent transparent transparent #fff;
}
.g-item--video:hover .g-play { transform: scale(1.12); background: var(--accent); }
.g-item--video:hover .g-play::before { border-left-color: var(--navy-900); }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 200;
  display: flex; align-items: center; justify-content: center;
  padding: clamp(1rem, 4vw, 3rem);
  background: rgba(6, 18, 32, 0.92);
  backdrop-filter: blur(6px);
  opacity: 0; visibility: hidden;
  transition: opacity var(--duration) var(--ease), visibility var(--duration) var(--ease);
}
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox-stage {
  max-width: min(92vw, 1100px); max-height: 86vh;
  display: flex; align-items: center; justify-content: center;
  transform: scale(0.96); transition: transform var(--duration) var(--ease);
}
.lightbox.open .lightbox-stage { transform: scale(1); }
.lightbox-stage img,
.lightbox-stage video {
  max-width: 92vw; max-height: 86vh;
  width: auto; height: auto;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  background: #000;
}
.lightbox-stage video { max-height: 86vh; }

.lightbox-close, .lightbox-nav {
  position: absolute; z-index: 2;
  display: grid; place-items: center;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: var(--white); cursor: pointer;
  border-radius: 50%;
  transition: background var(--duration) var(--ease), transform var(--duration) var(--ease);
}
.lightbox-close:hover, .lightbox-nav:hover { background: var(--blue-600); border-color: var(--blue-600); }
.lightbox-close {
  top: clamp(0.8rem, 3vw, 1.6rem); right: clamp(0.8rem, 3vw, 1.6rem);
  width: 48px; height: 48px; font-size: 2rem; line-height: 1;
}
.lightbox-nav {
  top: 50%; transform: translateY(-50%);
  width: 54px; height: 54px; font-size: 2rem; line-height: 1;
}
.lightbox-nav:hover { transform: translateY(-50%) scale(1.08); }
.lightbox-prev { left: clamp(0.6rem, 3vw, 1.8rem); }
.lightbox-next { right: clamp(0.6rem, 3vw, 1.8rem); }
body.lb-open { overflow: hidden; }

/* ============================================================
   BENEFITS
   ============================================================ */
.benefits-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.benefit {
  text-align: center; padding: 2rem 1.5rem;
  border-radius: var(--radius-lg);
  transition: background var(--duration) var(--ease), transform var(--duration) var(--ease);
}
.benefit:hover { background: var(--surface-alt); transform: translateY(-5px); }
.benefit-icon {
  width: 70px; height: 70px; margin: 0 auto 1.2rem;
  display: grid; place-items: center;
  color: var(--white);
  background: var(--blue-600); border-radius: 50%;
  box-shadow: 0 10px 24px rgba(21,101,192,0.30);
}
.benefit-icon .ico { width: 32px; height: 32px; }
.benefit h3 { font-size: 1.1rem; margin-bottom: 0.6rem; }
.benefit p { color: var(--gray-600); font-size: 0.95rem; }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.testimonial {
  background: var(--surface);
  border: 1px solid var(--steel-200);
  border-radius: var(--radius-lg);
  padding: 2rem 1.9rem;
  position: relative;
  transition: transform var(--duration) var(--ease), box-shadow var(--duration) var(--ease);
}
.testimonial::before {
  content: "“"; position: absolute; top: 0.4rem; right: 1.4rem;
  font-family: var(--font-display); font-size: 5rem; line-height: 1;
  color: var(--steel-200);
}
.testimonial:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.testimonial p { color: var(--gray-700); font-style: italic; margin-bottom: 1.5rem; position: relative; z-index: 1; }
.testimonial footer { display: flex; align-items: center; gap: 0.9rem; }
.t-avatar {
  width: 46px; height: 46px; flex: none;
  display: grid; place-items: center;
  background: var(--blue-600); color: var(--white);
  font-family: var(--font-display); font-weight: 600;
  border-radius: 50%; font-size: 0.95rem;
}
.testimonial cite { font-style: normal; font-family: var(--font-display); font-weight: 600; color: var(--navy-900); display: flex; flex-direction: column; }
.testimonial cite small { font-weight: 400; font-family: var(--font-body); color: var(--gray-600); font-size: 0.82rem; }

/* ============================================================
   CTA BAND
   ============================================================ */
.cta-band {
  background: linear-gradient(120deg, var(--blue-600), var(--navy-800));
  color: var(--white);
  position: relative; overflow: hidden;
}
.cta-band::after {
  content: ""; position: absolute; top: -50%; right: -10%;
  width: 480px; height: 480px;
  background: radial-gradient(circle, rgba(0,180,216,0.35), transparent 70%);
}
.cta-inner {
  position: relative; z-index: 1;
  display: flex; align-items: center; justify-content: space-between;
  gap: 2rem; padding-block: clamp(2.5rem, 5vw, 4rem); flex-wrap: wrap;
}
.cta-inner h2 { color: var(--white); font-size: clamp(1.4rem, 1rem + 1.6vw, 2.1rem); margin-bottom: 0.6rem; }
.cta-inner h2 a { color: var(--accent); }
.cta-inner p { color: rgba(255,255,255,0.82); max-width: 560px; }

/* ============================================================
   CONTACT
   ============================================================ */
.contact-grid {
  display: grid; grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(2rem, 5vw, 4.5rem); align-items: start;
}
.contact-info p { color: var(--gray-700); margin-bottom: 2rem; }
.contact-info .section-title { margin-bottom: 1.1rem; }

.contact-list { display: grid; gap: 1.2rem; }
.contact-list li { display: flex; align-items: center; gap: 1rem; }
.contact-list .ci {
  width: 50px; height: 50px; flex: none;
  display: grid; place-items: center;
  color: var(--blue-600);
  background: var(--steel-100); border-radius: 12px;
}
.contact-list .ci .ico { width: 22px; height: 22px; }
.contact-list small { display: block; color: var(--gray-600); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.06em; }
.contact-list a, .contact-list div span { font-family: var(--font-display); font-weight: 600; color: var(--navy-900); font-size: 1.05rem; }
.contact-list a:hover { color: var(--blue-600); }

.contact-form {
  background: var(--surface);
  border: 1px solid var(--steel-200);
  border-radius: var(--radius-lg);
  padding: clamp(1.6rem, 3vw, 2.4rem);
  box-shadow: var(--shadow-sm);
}
.field { margin-bottom: 1.1rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.field label {
  display: block; font-family: var(--font-display); font-weight: 500;
  font-size: 0.88rem; margin-bottom: 0.45rem; color: var(--navy-900);
}
.field input, .field textarea {
  width: 100%; padding: 0.85rem 1rem;
  font-family: var(--font-body); font-size: 0.98rem;
  border: 1.5px solid var(--steel-300); border-radius: 10px;
  background: var(--surface-alt);
  transition: border-color var(--duration) var(--ease), box-shadow var(--duration) var(--ease);
}
.field input:focus, .field textarea:focus {
  outline: none; border-color: var(--blue-500);
  box-shadow: 0 0 0 4px rgba(30, 127, 224, 0.14);
  background: var(--surface);
}
.field textarea { resize: vertical; }
.form-note { margin-top: 0.9rem; font-size: 0.9rem; font-weight: 500; min-height: 1.2em; }
.form-note.ok { color: #0a8a4a; }
.form-note.err { color: #c0392b; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: var(--navy-900); color: rgba(255,255,255,0.72); padding-top: clamp(3rem, 6vw, 5rem); }
.footer-grid {
  display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 2.5rem;
  padding-bottom: 2.5rem; border-bottom: 1px solid rgba(255,255,255,0.10);
}
.brand-light { color: var(--white); margin-bottom: 1.1rem; }
.brand-light .brand-mark { background: rgba(255,255,255,0.08); }
.footer-brand p { font-size: 0.95rem; max-width: 420px; }
.footer-areas { margin-top: 1rem; font-size: 0.88rem; color: rgba(255,255,255,0.6); }
.footer-areas strong { color: rgba(255,255,255,0.82); }
.footer-col h4 { color: var(--white); font-size: 1.05rem; margin-bottom: 1.1rem; }
.footer-col ul { display: grid; gap: 0.65rem; }
.footer-col a, .footer-col li { font-size: 0.95rem; transition: color var(--duration) var(--ease); }
.footer-col a:hover { color: var(--accent); }
.footer-bottom {
  display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  padding-block: 1.6rem; font-size: 0.85rem; color: rgba(255,255,255,0.5);
}

/* ---------- Floating quick-contact buttons ---------- */
.float-actions {
  position: fixed; bottom: 1.5rem; right: 1.5rem; z-index: 90;
  display: flex; flex-direction: column; gap: 0.75rem;
}
.float-btn {
  width: 54px; height: 54px; border-radius: 50%;
  display: grid; place-items: center;
  color: var(--white);
  box-shadow: 0 12px 30px rgba(8, 31, 56, 0.30);
  transition: transform var(--duration) var(--ease), box-shadow var(--duration) var(--ease);
}
.float-btn .ico { width: 27px; height: 27px; }
.float-btn:hover { transform: scale(1.1) translateY(-2px); box-shadow: 0 16px 34px rgba(8, 31, 56, 0.40); }
.float-whatsapp { background: #25d366; }
.float-viber { background: #7360f2; }
.float-phone { background: var(--blue-600); animation: pulse 2.4s infinite; }
.gallery-tab .ico { width: 1.05em; height: 1.05em; }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(21,101,192,0.5); }
  70% { box-shadow: 0 0 0 16px rgba(21,101,192,0); }
  100% { box-shadow: 0 0 0 0 rgba(21,101,192,0); }
}

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .services-grid, .process-grid, .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid, .benefits-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid--video { grid-template-columns: repeat(4, 1fr); }
  .about-grid, .why-grid, .contact-grid { grid-template-columns: 1fr; }
  .about-grid { align-items: start; }
  .about-media { max-width: 480px; }
  .about-media img { height: auto; min-height: 0; aspect-ratio: 16 / 11; }
  .why-media { order: -1; max-width: 460px; }
  .hero { padding-top: 7rem; }
  .scroll-cue { display: none; }
  .hero-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero-text { max-width: 720px; }
  .hero-form { max-width: 520px; }
  .main-nav { display: none; }
  .btn-phone { display: none; }
  .nav-toggle { display: flex; margin-left: auto; }
}

@media (max-width: 640px) {
  .services-grid, .process-grid,
  .benefits-grid, .about-list, .field-row { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid--video { grid-template-columns: repeat(2, 1fr); }
  .about-media-tag { right: 0.5rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 1.8rem; }

  /* Featured service card stacks on mobile */
  .service-card--featured { grid-column: auto; flex-direction: column; }
  .service-card--featured .service-img { height: 200px; flex: none; }
  .service-card--featured .service-body { flex: none; padding: 1.8rem 1.7rem 1.9rem; }

  /* Lightbox nav closer to edges on small screens */
  .lightbox-nav { width: 44px; height: 44px; font-size: 1.6rem; }

  /* 4. Hero stats on a single row, smaller */
  .hero-badges { flex-wrap: nowrap; gap: 0.9rem; }
  .hero-badges li { flex: 1; }
  .hero-badges strong { font-size: 1.55rem; }
  .hero-badges span { font-size: 0.68rem; margin-top: 0.2rem; }

  /* 5. Shorter "why" image */
  .why-media { max-width: none; }
  .why-media img { aspect-ratio: 16 / 10; max-height: 240px; }

  /* 6. Stats grid in two rows (2 columns) */
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 2rem 1rem; }

  /* 8. Testimonials as a horizontal snap slider, one per view */
  .testimonials-grid {
    display: flex;
    grid-template-columns: none;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 1rem;
    margin-inline: -1.25rem;
    padding: 0.5rem 1.25rem 1rem;
    scrollbar-width: none;
  }
  .testimonials-grid::-webkit-scrollbar { display: none; }
  .testimonial { flex: 0 0 86%; scroll-snap-align: center; }

  /* 9. Center the CTA band */
  .cta-inner { flex-direction: column; align-items: center; text-align: center; }
  .cta-inner p { margin-inline: auto; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}
