/* ================================================================
   SENEX CONSTRUCT — Premium Construction Website
   Version: 1.0.0 | senexconstruct.ro
   ================================================================ */

/* === CUSTOM PROPERTIES === */
:root {
  --c-amber:        #D97706;
  --c-amber-hover:  #B45309;
  --c-amber-light:  #FEF3C7;
  --c-amber-glow:   rgba(217, 119, 6, 0.18);
  --c-dark:         #0F172A;
  --c-dark-mid:     #1E293B;
  --c-text:         #111827;
  --c-text-muted:   #6B7280;
  --c-text-light:   #9CA3AF;
  --c-bg:           #FFFFFF;
  --c-bg-alt:       #F9F7F4;
  --c-border:       #E5E7EB;

  --section-py:     clamp(72px, 9vw, 128px);
  --max-width:      clamp(1200px, 88vw, 1440px);
  --container-px:   clamp(20px, 5vw, 80px);

  --font:           'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --shadow-sm:      0 2px 8px rgba(0,0,0,0.06);
  --shadow-md:      0 4px 28px rgba(0,0,0,0.10);
  --shadow-lg:      0 12px 56px rgba(0,0,0,0.14);

  --radius-sm:      8px;
  --radius-md:      14px;
  --radius-lg:      20px;
  --radius-xl:      28px;

  --transition:     0.28s ease;
}

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

/* === LAYOUT === */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--container-px);
}
.section { padding: var(--section-py) 0; }
.section-alt { background: var(--c-bg-alt); }
.section-dark { background: var(--c-dark); }

/* === TYPOGRAPHY === */
h1, h2, h3, h4 { line-height: 1.15; font-weight: 800; letter-spacing: -0.025em; }

/* === BADGE === */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--c-amber);
  background: var(--c-amber-light);
  padding: 5px 13px;
  border-radius: 100px;
  margin-bottom: 18px;
}
.badge::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--c-amber);
}
.badge--dark {
  background: var(--c-amber-glow);
  color: #F59E0B;
  border: 1px solid rgba(217,119,6,0.25);
}

/* === SECTION HEADER === */
.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 64px;
}
.section-header h2 {
  font-size: clamp(28px, 4vw, 44px);
  color: var(--c-text);
  margin-bottom: 16px;
}
.section-header p {
  font-size: 18px;
  color: var(--c-text-muted);
  line-height: 1.7;
}
.section-dark .section-header h2 { color: #fff; }
.section-dark .section-header p  { color: rgba(255,255,255,0.52); }

/* === BUTTONS === */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 30px;
  border-radius: 100px;
  font-size: 15px;
  font-weight: 700;
  transition: all var(--transition);
  white-space: nowrap;
}
.btn-primary {
  background: var(--c-amber);
  color: #fff;
}
.btn-primary:hover {
  background: var(--c-amber-hover);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(217,119,6,0.38);
}
.btn-outline-white {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,0.28);
}
.btn-outline-white:hover {
  background: rgba(255,255,255,0.09);
  border-color: rgba(255,255,255,0.55);
}

/* =================================================================
   NAVIGATION
   ================================================================= */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  padding: 20px 0;
  transition: background var(--transition), box-shadow var(--transition), padding var(--transition);
}
.nav.scrolled {
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 var(--c-border), 0 4px 20px rgba(0,0,0,0.07);
  padding: 12px 0;
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 17px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.03em;
  flex-shrink: 0;
  transition: color var(--transition);
}
.nav.scrolled .nav-logo { color: var(--c-dark); }
.nav-logo-mark {
  width: 34px; height: 34px;
  background: var(--c-amber);
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.nav-logo-mark svg { width: 18px; height: 18px; color: #fff; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-link {
  font-size: 14px;
  font-weight: 600;
  color: rgba(255,255,255,0.82);
  padding: 8px 14px;
  border-radius: 8px;
  transition: color var(--transition), background var(--transition);
}
.nav-link:hover { color: #fff; background: rgba(255,255,255,0.09); }
.nav.scrolled .nav-link { color: var(--c-text-muted); }
.nav.scrolled .nav-link:hover { color: var(--c-amber); background: var(--c-amber-light); }
.nav-cta {
  background: var(--c-amber);
  color: #fff !important;
  padding: 10px 22px;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 700;
  transition: all var(--transition);
}
.nav-cta:hover {
  background: var(--c-amber-hover) !important;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(217,119,6,0.3);
}

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
  border-radius: 8px;
}
.nav-toggle span {
  display: block;
  width: 22px; height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: all var(--transition);
}
.nav.scrolled .nav-toggle span { background: var(--c-dark); }
.nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu */
.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--c-dark);
  z-index: 190;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.mobile-nav.open { display: flex; }
.mobile-nav-link {
  font-size: 26px;
  font-weight: 800;
  color: rgba(255,255,255,0.8);
  padding: 12px 32px;
  border-radius: 14px;
  transition: all var(--transition);
  letter-spacing: -0.03em;
}
.mobile-nav-link:hover { color: var(--c-amber); }
.mobile-nav-cta {
  margin-top: 20px;
  background: var(--c-amber);
  color: #fff;
  padding: 16px 44px;
  border-radius: 100px;
  font-size: 18px;
  font-weight: 800;
  transition: all var(--transition);
}
.mobile-nav-cta:hover { background: var(--c-amber-hover); }

/* =================================================================
   HERO
   ================================================================= */
.hero {
  position: relative;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  background: var(--c-dark);
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 15% 55%, rgba(217,119,6,0.13) 0%, transparent 55%),
    radial-gradient(ellipse 50% 40% at 85% 15%, rgba(217,119,6,0.07) 0%, transparent 50%),
    linear-gradient(150deg, #0F172A 0%, #1a2540 60%, #0F172A 100%);
}
.hero-bg-img {
  position: absolute;
  inset: 0;
  background-image: url('../img/fatada-exterioara.webp');
  background-size: cover;
  background-position: center;
  opacity: 0.16;
}
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 64px 64px;
}
.hero-accent {
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 120px;
  background: linear-gradient(to top, var(--c-bg) 0%, transparent 100%);
  pointer-events: none;
}
.hero-content {
  position: relative;
  z-index: 1;
  padding: 130px 0 100px;
  max-width: 820px;
}
.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-amber);
  background: var(--c-amber-glow);
  border: 1px solid rgba(217,119,6,0.28);
  padding: 6px 15px;
  border-radius: 100px;
  margin-bottom: 28px;
}
.hero-tag::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--c-amber);
  animation: blink 2s ease-in-out infinite;
}
@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}
.hero h1 {
  font-size: clamp(40px, 6.5vw, 78px);
  color: #fff;
  line-height: 1.05;
  letter-spacing: -0.04em;
  margin-bottom: 24px;
}
.hero h1 em {
  font-style: normal;
  color: var(--c-amber);
}
.hero-sub {
  font-size: clamp(16px, 2vw, 20px);
  color: rgba(255,255,255,0.60);
  line-height: 1.65;
  margin-bottom: 44px;
  max-width: 540px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 72px;
}
.hero-phone {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  padding: 14px 30px;
  border: 2px solid rgba(255,255,255,0.2);
  border-radius: 100px;
  transition: all var(--transition);
}
.hero-phone:hover {
  border-color: rgba(255,255,255,0.5);
  background: rgba(255,255,255,0.06);
}
.hero-phone svg { width: 18px; height: 18px; color: var(--c-amber); }
.hero-divider {
  width: 100%;
  height: 1px;
  background: rgba(255,255,255,0.09);
  margin-bottom: 36px;
}
.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
}
.hero-stat-value {
  font-size: 36px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 5px;
}
.hero-stat-value em {
  font-style: normal;
  color: var(--c-amber);
}
.hero-stat-label {
  font-size: 12px;
  font-weight: 600;
  color: rgba(255,255,255,0.42);
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

/* =================================================================
   SERVICE CARDS
   ================================================================= */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 20px;
}
.service-card {
  background: var(--c-bg);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  padding: 30px 32px;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1),
              box-shadow 0.35s ease,
              border-color 0.25s ease;
  position: relative;
  overflow: hidden;
}
.service-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--c-amber), var(--c-amber-hover));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  border-radius: 0 0 2px 2px;
}
.service-card:hover {
  box-shadow: 0 16px 48px rgba(0,0,0,0.13);
  border-color: transparent;
  transform: translateY(-10px);
}
.service-card:hover::after { transform: scaleX(1); }
.service-card:hover h3 { color: var(--c-amber); }
.service-card h3 { transition: color 0.3s ease; }
.service-icon {
  width: 50px; height: 50px;
  background: var(--c-amber-light);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--c-amber);
}
.service-icon svg { width: 24px; height: 24px; }
.service-card h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--c-text);
  margin-bottom: 10px;
  letter-spacing: -0.02em;
}
.service-card p {
  font-size: 14px;
  color: var(--c-text-muted);
  line-height: 1.65;
}
.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 18px;
}
.service-tag {
  font-size: 12px;
  font-weight: 500;
  color: var(--c-text-muted);
  background: var(--c-bg-alt);
  padding: 3px 10px;
  border-radius: 100px;
  border: 1px solid var(--c-border);
}

/* Dark variant (interior services) */
.service-card--dark {
  background: var(--c-dark-mid);
  border-color: rgba(255,255,255,0.06);
}
.service-card--dark h3 { color: #fff; }
.service-card--dark p  { color: rgba(255,255,255,0.52); }
.service-card--dark .service-icon {
  background: var(--c-amber-glow);
}
.service-card--dark .service-tag {
  background: rgba(255,255,255,0.05);
  border-color: rgba(255,255,255,0.09);
  color: rgba(255,255,255,0.42);
}
.service-card--dark:hover { border-color: rgba(217,119,6,0.28); }

/* Interior badge note */
.interior-note {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  color: rgba(255,255,255,0.45);
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  padding: 6px 14px;
  border-radius: 100px;
  margin-top: -48px;
  margin-bottom: 52px;
}

/* =================================================================
   ABOUT
   ================================================================= */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.about-content h2 {
  font-size: clamp(28px, 4vw, 44px);
  color: var(--c-text);
  margin-bottom: 20px;
}
.about-content p {
  font-size: 17px;
  color: var(--c-text-muted);
  line-height: 1.75;
  margin-bottom: 16px;
}
.about-features {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 13px;
}
.about-feature {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.about-check {
  width: 20px; height: 20px;
  background: var(--c-amber);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}
.about-check svg { width: 11px; height: 11px; color: #fff; }
.about-feature span {
  font-size: 15px;
  font-weight: 500;
  color: var(--c-text);
}
.about-cta { margin-top: 36px; }

/* Stats cards */
.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.stat-card {
  background: var(--c-bg-alt);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  text-align: center;
  border: 1px solid var(--c-border);
  transition: all var(--transition);
}
.stat-card:first-child {
  background: var(--c-dark);
  border-color: transparent;
}
.stat-card:first-child .stat-number { color: #fff; }
.stat-card:first-child .stat-label  { color: rgba(255,255,255,0.45); }
.stat-card:hover { box-shadow: var(--shadow-sm); transform: translateY(-3px); }
.stat-number {
  font-size: 44px;
  font-weight: 800;
  color: var(--c-text);
  letter-spacing: -0.05em;
  line-height: 1;
  margin-bottom: 8px;
}
.stat-number em {
  font-style: normal;
  color: var(--c-amber);
}
.stat-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--c-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  line-height: 1.4;
}

/* =================================================================
   PROCESS
   ================================================================= */
.process-track {
  position: relative;
}
.process-line {
  position: absolute;
  top: 36px;
  left: calc(10% + 28px);
  right: calc(10% + 28px);
  height: 2px;
  background: var(--c-border);
  z-index: 0;
}
.process-line-fill {
  height: 100%;
  width: 100%;
  background: linear-gradient(90deg, var(--c-amber), rgba(217,119,6,0.3));
}
.process-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}
.process-step { text-align: center; padding: 0 8px; }
.process-num {
  width: 72px; height: 72px;
  background: var(--c-bg);
  border: 2px solid var(--c-border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 22px;
  font-weight: 800;
  color: var(--c-text-muted);
  transition: all var(--transition);
}
.process-step:hover .process-num {
  border-color: var(--c-amber);
  color: var(--c-amber);
  box-shadow: 0 0 0 6px var(--c-amber-light);
}
.process-step h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--c-text);
  margin-bottom: 8px;
}
.process-step p {
  font-size: 13px;
  color: var(--c-text-muted);
  line-height: 1.55;
}

/* =================================================================
   PORTFOLIO
   ================================================================= */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: 14px;
}
.portfolio-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--c-bg-alt);
  cursor: pointer;
  aspect-ratio: 4/3;
}
.portfolio-item--wide { grid-column: span 2; aspect-ratio: 16/9; }
.portfolio-item--tall { grid-row: span 2; aspect-ratio: auto; }

.portfolio-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.portfolio-item:hover img { transform: scale(1.09); }
.portfolio-item::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,10,10,0.75) 0%, rgba(10,10,10,0.15) 50%, transparent 100%);
  opacity: 0;
  z-index: 1;
  transition: opacity 0.4s ease;
  pointer-events: none;
}
.portfolio-item:hover::before { opacity: 1; }

/* Placeholder (before real photos) */
.portfolio-placeholder {
  width: 100%;
  height: 100%;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: linear-gradient(135deg, #E8EBF0 0%, #F3F4F6 100%);
}
.portfolio-placeholder svg { width: 28px; height: 28px; color: #C4C9D4; }
.portfolio-placeholder span {
  font-size: 12px;
  font-weight: 600;
  color: #A0A6B1;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.portfolio-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.72) 0%, transparent 55%);
  opacity: 0;
  display: flex;
  align-items: flex-end;
  padding: 20px;
  transition: opacity var(--transition);
}
.portfolio-item:hover .portfolio-overlay { opacity: 1; }
.portfolio-label {
  color: #fff;
  font-size: 14px;
  font-weight: 700;
}

.portfolio-cta-wrap {
  text-align: center;
  margin-top: 48px;
}

/* =================================================================
   FAQ
   ================================================================= */
.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
  gap: 14px;
}
.faq-item {
  background: var(--c-bg);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  text-align: left;
  font-size: 15px;
  font-weight: 700;
  color: var(--c-text);
  cursor: pointer;
  transition: color var(--transition);
}
.faq-question:hover { color: var(--c-amber); }
.faq-icon {
  width: 24px; height: 24px;
  border: 1.5px solid var(--c-border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all var(--transition);
  color: var(--c-text-muted);
}
.faq-item.open .faq-icon {
  background: var(--c-amber);
  border-color: var(--c-amber);
  color: #fff;
  transform: rotate(45deg);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.38s ease;
}
.faq-item.open .faq-answer { max-height: 600px; } /* CSS fallback; Motion overrides with exact height */
.faq-answer-inner {
  padding: 0 24px 20px;
  font-size: 14px;
  color: var(--c-text-muted);
  line-height: 1.7;
  border-top: 1px solid var(--c-border);
  padding-top: 16px;
}

/* =================================================================
   CONTACT
   ================================================================= */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 72px;
  align-items: start;
}
.contact-info h2 {
  font-size: clamp(28px, 3.5vw, 42px);
  color: var(--c-text);
  margin-bottom: 14px;
}
.contact-info > p {
  font-size: 17px;
  color: var(--c-text-muted);
  line-height: 1.7;
  margin-bottom: 40px;
}
.contact-items {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.contact-icon {
  width: 44px; height: 44px;
  background: var(--c-amber-light);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-amber);
  flex-shrink: 0;
}
.contact-icon svg { width: 20px; height: 20px; }
.contact-item-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--c-text-muted);
  margin-bottom: 3px;
}
.contact-item-value {
  font-size: 16px;
  font-weight: 600;
  color: var(--c-text);
}
.contact-item-value a {
  color: var(--c-text);
  transition: color var(--transition);
}
.contact-item-value a:hover { color: var(--c-amber); }

/* Map */
.contact-map {
  margin-top: 48px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--c-border);
}
.contact-map iframe {
  display: block;
  width: 100%;
  height: 360px;
}

/* Form */
.contact-form-wrap {
  background: var(--c-bg-alt);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-xl);
  padding: 40px;
}
.contact-form-wrap h3 {
  font-size: 22px;
  color: var(--c-text);
  margin-bottom: 6px;
}
.contact-form-wrap > p {
  font-size: 14px;
  color: var(--c-text-muted);
  margin-bottom: 28px;
}
.form-group { margin-bottom: 14px; }
.form-group label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--c-text);
  margin-bottom: 6px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--c-border);
  border-radius: var(--radius-sm);
  font-family: var(--font);
  font-size: 15px;
  color: var(--c-text);
  background: var(--c-bg);
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
  -webkit-appearance: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--c-amber);
  box-shadow: 0 0 0 4px rgba(217,119,6,0.10);
}
.form-group textarea { resize: vertical; min-height: 96px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-submit {
  width: 100%;
  padding: 14px;
  background: var(--c-amber);
  color: #fff;
  font-size: 16px;
  font-weight: 800;
  border-radius: 100px;
  margin-top: 6px;
  transition: all var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.form-submit:hover {
  background: var(--c-amber-hover);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(217,119,6,0.32);
}
.form-submit svg { width: 18px; height: 18px; }

/* Social links */
.contact-social {
  display: flex;
  gap: 10px;
  margin-top: 28px;
}
.contact-social a {
  width: 40px; height: 40px;
  border: 1.5px solid var(--c-border);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-text-muted);
  transition: all var(--transition);
}
.contact-social a:hover {
  border-color: var(--c-amber);
  color: var(--c-amber);
  background: var(--c-amber-light);
}
.contact-social svg { width: 18px; height: 18px; }

/* =================================================================
   FOOTER
   ================================================================= */
.footer {
  background: var(--c-dark);
  color: #fff;
  padding: 72px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.footer-brand .nav-logo { font-size: 18px; margin-bottom: 16px; }
.footer-brand p {
  font-size: 14px;
  color: rgba(255,255,255,0.45);
  line-height: 1.7;
  max-width: 270px;
  margin-bottom: 24px;
}
.footer-social {
  display: flex;
  gap: 10px;
}
.footer-social a {
  width: 36px; height: 36px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.45);
  transition: all var(--transition);
}
.footer-social a:hover {
  background: var(--c-amber);
  border-color: var(--c-amber);
  color: #fff;
}
.footer-social svg { width: 16px; height: 16px; }
.footer-col h4 {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: rgba(255,255,255,0.35);
  margin-bottom: 18px;
}
.footer-col li { margin-bottom: 10px; }
.footer-col a {
  font-size: 14px;
  color: rgba(255,255,255,0.58);
  transition: color var(--transition);
}
.footer-col a:hover { color: #fff; }

.footer-bottom {
  padding-top: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p {
  font-size: 13px;
  color: rgba(255,255,255,0.28);
}
.footer-legal {
  display: flex;
  gap: 22px;
}
.footer-legal a {
  font-size: 13px;
  color: rgba(255,255,255,0.28);
  transition: color var(--transition);
}
.footer-legal a:hover { color: rgba(255,255,255,0.7); }

/* =================================================================
   WHATSAPP FLOATING BUTTON
   ================================================================= */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 300;
}
.whatsapp-float a {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #25D366;
  color: #fff;
  border-radius: 100px;
  padding: 13px 22px 13px 16px;
  font-size: 14px;
  font-weight: 700;
  box-shadow: 0 4px 22px rgba(37,211,102,0.45);
  transition: all var(--transition);
  white-space: nowrap;
}
.whatsapp-float a:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 8px 32px rgba(37,211,102,0.60);
}
.whatsapp-float svg { width: 26px; height: 26px; flex-shrink: 0; }
.whatsapp-label { display: block; }
@keyframes wa-ping {
  0%, 100% { box-shadow: 0 4px 22px rgba(37,211,102,0.45); }
  50% { box-shadow: 0 4px 22px rgba(37,211,102,0.45), 0 0 0 10px rgba(37,211,102,0.12); }
}
/* wa-ping handled by Motion JS — spring entry + rare pulse every 10s */

/* =================================================================
   ANIMATIONS
   ================================================================= */
.fade-up {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}
/* Stagger delays */
.stagger .fade-up:nth-child(1) { transition-delay: 0ms; }
.stagger .fade-up:nth-child(2) { transition-delay: 75ms; }
.stagger .fade-up:nth-child(3) { transition-delay: 150ms; }
.stagger .fade-up:nth-child(4) { transition-delay: 225ms; }
.stagger .fade-up:nth-child(5) { transition-delay: 300ms; }
.stagger .fade-up:nth-child(6) { transition-delay: 375ms; }

/* =================================================================
   RESPONSIVE
   ================================================================= */
@media (max-width: 1024px) {
  .about-grid     { grid-template-columns: 1fr; gap: 56px; }
  .process-grid   { grid-template-columns: repeat(3, 1fr); }
  .process-line   { display: none; }
  .footer-grid    { grid-template-columns: 1fr 1fr; gap: 36px; }
  .contact-grid   { grid-template-columns: 1fr; gap: 48px; }
}

@media (max-width: 768px) {
  .nav-links  { display: none; }
  .nav-toggle { display: flex; }

  .hero h1   { font-size: 36px; }
  .hero-stats { gap: 28px; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn,
  .hero-actions .hero-phone { justify-content: center; }

  .services-grid   { grid-template-columns: 1fr; }
  .portfolio-grid  { grid-template-columns: 1fr 1fr; }
  .portfolio-item  { aspect-ratio: 1/1; }          /* square on 2-col — less cropping */
  .portfolio-item--wide { grid-column: span 2; aspect-ratio: 4/3; }
  .portfolio-item--tall { grid-row: span 1; aspect-ratio: 1/1; }
  .about-stats     { grid-template-columns: 1fr 1fr; }
  .process-grid    { grid-template-columns: 1fr 1fr; }
  .footer-grid     { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom   { flex-direction: column; align-items: center; text-align: center; }
  .whatsapp-label  { display: none; }
  .whatsapp-float a { padding: 15px; border-radius: 50%; }
}

@media (max-width: 480px) {
  .portfolio-grid { grid-template-columns: 1fr; }
  .portfolio-item { aspect-ratio: 4/5; }           /* portrait on single-col — shows much more */
  .portfolio-item--wide { grid-column: span 1; aspect-ratio: 4/5; }
  .process-grid   { grid-template-columns: 1fr; }
  .form-row       { grid-template-columns: 1fr; }
  .stat-number    { font-size: 36px; }
}

/* =================================================================
   HERO VIDEO BACKGROUND
   ================================================================= */
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.28;
  z-index: 0;
  pointer-events: none;
}
/* Poster shown while video loads */
.hero-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.22;
  z-index: 0;
}

/* =================================================================
   LOGO IMAGE IN NAV
   ================================================================= */
.nav-logo-img {
  height: 44px;
  width: auto;
  object-fit: contain;
  padding: 0;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1),
              filter 0.3s ease;
  /* Dark text visible on dark nav */
  filter: drop-shadow(0 0 6px rgba(255,255,255,0.55))
          drop-shadow(0 1px 3px rgba(0,0,0,0.2));
}
.nav.scrolled .nav-logo-img {
  filter: none;
}
.nav-logo:hover .nav-logo-img { transform: scale(1.08) rotate(-2deg); }

/* =================================================================
   SERVICE CARD HEADER IMAGE
   ================================================================= */
.service-card-img {
  width: calc(100% + 64px);
  margin: -30px -32px 22px -32px;
  height: 170px;
  object-fit: cover;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  display: block;
  transition: transform 0.55s ease;
}
.service-card:hover .service-card-img { transform: scale(1.04); }
.service-card-img-wrap {
  overflow: hidden;
  width: calc(100% + 64px);
  margin: -30px -32px 22px -32px;
  height: 170px;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}
.service-card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.55s ease;
}
.service-card:hover .service-card-img-wrap img { transform: scale(1.05); }

/* =================================================================
   PORTFOLIO — expanded grid (up to 8 items)
   ================================================================= */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
/* All items default to 4/3 aspect ratio */
.portfolio-item { aspect-ratio: 4/3; }
.portfolio-item--wide { grid-column: span 2; aspect-ratio: 16/9; }

/* =================================================================
   BEFORE & AFTER SECTION
   ================================================================= */
.ba-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}
.ba-item {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--c-bg-alt);
}
.ba-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3px;
  height: 240px;
}
.ba-half {
  position: relative;
  overflow: hidden;
}
.ba-half img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}
.ba-item:hover .ba-half img { transform: scale(1.04); }
.ba-pill {
  position: absolute;
  bottom: 10px;
  left: 10px;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 3px 9px;
  border-radius: 100px;
  z-index: 1;
}
.ba-pill--before {
  background: rgba(17, 24, 39, 0.80);
  color: rgba(255,255,255,0.75);
  backdrop-filter: blur(4px);
}
.ba-pill--after {
  background: var(--c-amber);
  color: #fff;
}
.ba-caption {
  padding: 14px 18px;
  font-size: 13px;
  font-weight: 700;
  color: var(--c-text);
  border-top: 1px solid var(--c-border);
}

/* Combined BA grid (single-image comparisons) */
.ba-combined-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.ba-combined-item {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--c-bg-alt);
}
.ba-combined-item img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}
.ba-combined-item:hover img { transform: scale(1.04); }
.ba-combined-item .ba-caption {
  padding: 12px 16px;
  font-size: 13px;
  font-weight: 700;
  color: var(--c-text);
  border-top: 1px solid var(--c-border);
}

/* If BA grid has odd number of pairs, last item spans full width */
.ba-grid > .ba-item:last-child:nth-child(odd) {
  grid-column: 1 / -1;
}
.ba-grid > .ba-item:last-child:nth-child(odd) .ba-images {
  height: 300px;
}

/* Responsive BA */
@media (max-width: 768px) {
  .ba-grid         { grid-template-columns: 1fr; }
  .ba-combined-grid { grid-template-columns: 1fr 1fr; }
  .ba-images       { height: auto; aspect-ratio: 4/3; } /* portrait panels — less cropping */
  .ba-grid > .ba-item:last-child:nth-child(odd) { grid-column: 1; }
  .ba-grid > .ba-item:last-child:nth-child(odd) .ba-images { height: auto; aspect-ratio: 4/3; }
}
@media (max-width: 480px) {
  .ba-combined-grid { grid-template-columns: 1fr; }
}

/* =================================================================
   COOKIE CONSENT BANNER
   ================================================================= */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9000;
  background: var(--c-dark);
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 16px 24px;
  box-shadow: 0 -4px 24px rgba(0,0,0,0.35);
}
.cookie-banner-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.cookie-banner-inner p {
  color: rgba(255,255,255,0.78);
  font-size: 14px;
  margin: 0;
  line-height: 1.5;
}
.cookie-text-btn {
  background: none;
  border: none;
  color: var(--c-amber);
  font-size: 14px;
  font-family: inherit;
  cursor: pointer;
  padding: 0;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.cookie-actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}
.cookie-btn {
  padding: 9px 22px;
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: opacity var(--transition);
}
.cookie-btn:hover { opacity: 0.85; }
.cookie-btn--accept {
  background: var(--c-amber);
  color: #000;
}
.cookie-btn--decline {
  background: rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.8);
}
@media (max-width: 600px) {
  .cookie-banner-inner { flex-direction: column; align-items: flex-start; }
  .cookie-actions { width: 100%; justify-content: flex-end; }
}

/* =================================================================
   PRIVACY / COOKIE POLICY MODAL
   ================================================================= */
/* Fix: CSS display overrides HTML [hidden] attribute */
.privacy-modal[hidden],
.cookie-banner[hidden] { display: none !important; }

.privacy-modal {
  position: fixed;
  inset: 0;
  z-index: 9100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.privacy-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.65);
  backdrop-filter: blur(4px);
  cursor: pointer;
}
.privacy-modal-box {
  position: relative;
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 40px 44px;
  max-width: 620px;
  width: 100%;
  max-height: 85vh;
  overflow-y: auto;
  box-shadow: var(--shadow-xl, 0 24px 64px rgba(0,0,0,0.25));
}
.privacy-modal-box h2 {
  font-size: 22px;
  color: var(--c-text);
  margin-bottom: 16px;
}
.privacy-modal-box h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--c-text);
  margin: 20px 0 6px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.privacy-modal-box p {
  font-size: 15px;
  color: var(--c-text-muted);
  line-height: 1.7;
  margin: 0;
}
.privacy-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--c-text-muted);
  padding: 6px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition);
}
.privacy-modal-close:hover { background: var(--c-border); }
.privacy-modal-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  margin-top: 28px;
  flex-wrap: wrap;
}
.privacy-modal-actions .cookie-btn--decline {
  background: var(--c-bg-alt);
  color: var(--c-text-muted);
}
@media (max-width: 480px) {
  .privacy-modal-box { padding: 28px 20px; }
  .privacy-modal-actions { justify-content: stretch; }
  .privacy-modal-actions .cookie-btn { flex: 1; text-align: center; }
}

/* =================================================================
   FOOTER LEGAL BUTTON
   ================================================================= */
.footer-legal-btn {
  background: none;
  border: none;
  color: var(--c-text-muted, rgba(255,255,255,0.5));
  font-family: inherit;
  font-size: 13px;
  cursor: pointer;
  padding: 0;
  transition: color var(--transition);
}
.footer-legal-btn:hover { color: var(--c-amber); }

/* =================================================================
   HERO TAGLINE (brand slogan below keyword H1)
   ================================================================= */
.hero-tagline {
  font-size: clamp(18px, 2.6vw, 32px);
  font-style: italic;
  color: rgba(255,255,255,0.52);
  margin: 2px 0 20px;
  font-weight: 400;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

/* =================================================================
   BEFORE/AFTER COMBINED GRID (2-item symmetric)
   ================================================================= */
.ba-combined-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.ba-combined-item {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.ba-combined-item img {
  width: 100%;
  height: 340px;
  object-fit: cover;
  display: block;
  transition: transform 0.55s ease;
}
.ba-combined-item:hover img { transform: scale(1.04); }
.ba-combined-item .ba-caption {
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
}
@media (max-width: 600px) {
  .ba-combined-grid { grid-template-columns: 1fr; }
  .ba-combined-item img { height: auto; aspect-ratio: 4/3; } /* natural proportions, full width */
}

/* =================================================================
   HERO LOGO
   ================================================================= */
.hero-logo {
  width: 80px;
  height: 80px;
  object-fit: contain;
  border-radius: 20px;
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(8px);
  padding: 10px;
  margin-bottom: 20px;
  display: block;
  box-shadow: 0 4px 24px rgba(0,0,0,0.25);
  animation: hero-logo-in 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}
@keyframes hero-logo-in {
  from { opacity: 0; transform: scale(0.6) translateY(12px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}

/* =================================================================
   FOOTER LOGO OVERRIDE
   ================================================================= */
.footer-brand .nav-logo-img {
  height: 44px;
  width: auto;
  filter: drop-shadow(0 0 5px rgba(255,255,255,0.45));
}

/* =================================================================
   BUTTON SHIMMER + ENHANCED HOVER
   ================================================================= */
.btn-primary {
  position: relative;
  overflow: hidden;
}
.btn-primary::before {
  content: '';
  position: absolute;
  top: 0; left: -120%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.28), transparent);
  transform: skewX(-20deg);
  transition: left 0s;
}
.btn-primary:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 12px 32px rgba(217,119,6,0.45);
}
.btn-primary:hover::before {
  left: 160%;
  transition: left 0.55s ease;
}
.btn-outline-white:hover {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.6);
  transform: translateY(-2px);
}

/* =================================================================
   HERO STATS HOVER (spring bounce)
   ================================================================= */
.hero-stat {
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  cursor: default;
}
.hero-stat:hover {
  transform: translateY(-6px) scale(1.05);
}
.hero-stat:hover .hero-stat-value {
  color: var(--c-amber);
}
.hero-stat-value {
  transition: color 0.3s ease;
}

/* =================================================================
   SERVICE CARD IMAGE ZOOM
   ================================================================= */
.service-card-img-wrap img {
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.service-card:hover .service-card-img-wrap img {
  transform: scale(1.06);
}

/* =================================================================
   FAQ ITEM HOVER
   ================================================================= */
.faq-item {
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.faq-item:hover {
  transform: translateX(4px);
}

/* =================================================================
   P4 + P7: TOUCH PRESS STATES — active feedback on mobile
   ================================================================= */
@media (hover: none) and (pointer: coarse) {
  /* Disable desktop hover lifts — meaningless on touch */
  .service-card:hover      { transform: none !important; box-shadow: none !important; }
  .stat-card:hover         { transform: none !important; }
  .hero-stat:hover         { transform: none !important; }
  .faq-item:hover          { transform: none !important; }
  .btn-primary:hover,
  .btn-outline-white:hover,
  .nav-cta:hover,
  .form-submit:hover       { transform: none !important; box-shadow: none !important; }

  /* Active press states — tactile feedback */
  .service-card:active {
    transform: scale(0.97) !important;
    transition: transform 0.1s ease !important;
  }
  .btn-primary:active,
  .form-submit:active,
  .nav-cta:active {
    transform: scale(0.95) !important;
    opacity: 0.85 !important;
    transition: transform 0.08s ease, opacity 0.08s ease !important;
  }
  .btn-outline-white:active,
  .hero-phone:active {
    transform: scale(0.96) !important;
    transition: transform 0.08s ease !important;
  }
  .mobile-nav-link:active   { opacity: 0.6 !important; transition: opacity 0.08s ease !important; }
  .mobile-nav-cta:active    { transform: scale(0.96) !important; }
  .faq-question:active      { opacity: 0.65 !important; transition: opacity 0.08s ease !important; }
  .portfolio-item:active img { transform: scale(1.03) !important; }
  .ba-item:active .ba-half img,
  .ba-combined-item:active img { transform: scale(1.02) !important; }
}

/* =================================================================
   P8: SCROLL PROGRESS BAR
   ================================================================= */
#scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--c-amber), var(--c-amber-hover));
  z-index: 9999;
  pointer-events: none;
  border-radius: 0 2px 2px 0;
  transition: width 0.08s linear;
  will-change: width;
}

/* =================================================================
   PREFERS-REDUCED-MOTION
   ================================================================= */
/* Service card image — taller on mobile single-col */
@media (max-width: 768px) {
  .service-card-img-wrap,
  .service-card-img-wrap { height: auto; aspect-ratio: 16/9; }
  .service-card-img { height: auto; aspect-ratio: 16/9; }
}

/* =================================================================
   PREFERS-REDUCED-MOTION
   ================================================================= */
@media (prefers-reduced-motion: reduce) {
  .fade-up {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  .hero-logo        { animation: none !important; }
  .hero-tag::before { animation: none !important; }
  .whatsapp-float a { animation: none !important; opacity: 1 !important; transform: none !important; }
  .hero-content     { will-change: auto !important; }
}

/* ═══ LIGHTBOX ═══ */
@keyframes lb-fade {
  from { opacity: 0; transform: scale(0.96); }
  to   { opacity: 1; transform: scale(1); }
}

.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.92);
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.lightbox.is-open { display: flex; }

.lb-img-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 90vw;
  max-height: 85vh;
}
.lb-img-wrap img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: 8px;
  display: block;
}
.lb-img-wrap img.lb-animate {
  animation: lb-fade 0.25s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

.lb-close,
.lb-prev,
.lb-next {
  position: fixed;
  background: rgba(255, 255, 255, 0.08);
  border: none;
  color: #fff;
  cursor: pointer;
  border-radius: 50%;
  line-height: 1;
  transition: background 0.2s, transform 0.2s;
  z-index: 1001;
}
.lb-close:hover,
.lb-prev:hover,
.lb-next:hover {
  background: var(--c-amber);
  transform: scale(1.1);
}

.lb-close {
  top: 1.25rem;
  right: 1.25rem;
  font-size: 1.75rem;
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lb-prev,
.lb-next {
  top: 50%;
  transform: translateY(-50%);
  font-size: 3rem;
  width: 3rem;
  height: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-bottom: 3px;
}
.lb-prev:hover,
.lb-next:hover { transform: translateY(-50%) scale(1.1); }
.lb-prev { left: 1rem; }
.lb-next { right: 1rem; }

.lb-caption {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.9rem;
  text-align: center;
  max-width: 80vw;
  pointer-events: none;
}
.lb-counter {
  position: fixed;
  top: 1.25rem;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.8rem;
  pointer-events: none;
  letter-spacing: 0.05em;
}

/* ── Hero Slider (TBI) ───────────────────────────────────── */
.hero-slider {
  position: relative;
  width: 100%;
  height: min(100dvh, calc(100vw / 1.5625));
  min-height: 300px;
  align-self: stretch;
  background: #fff;
  overflow: hidden;
}
.hero-slide {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100%; height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity .65s ease;
  pointer-events: none;
}
.hero-slide.active {
  opacity: 1;
  pointer-events: auto;
  z-index: 1;
}
.hero-slide-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}
.hero-slide-link img {
  max-width: 100%;
  max-height: 100dvh;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  user-select: none;
}
.hero-slider-prev,
.hero-slider-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: rgba(0,0,0,.12);
  color: #333;
  border: none;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  font-size: 1.75rem;
  line-height: 1;
  cursor: pointer;
  transition: background .2s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-slider-prev:hover,
.hero-slider-next:hover { background: rgba(0,0,0,.25); }
.hero-slider-prev { left: 1rem; }
.hero-slider-next { right: 1rem; }
.hero-slider-dots {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  gap: .6rem;
}
.hero-slider-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid rgba(0,0,0,.25);
  background: transparent;
  cursor: pointer;
  transition: background .2s, border-color .2s;
  padding: 0;
}
.hero-slider-dot.active {
  background: var(--c-amber);
  border-color: var(--c-amber);
}
@media (max-width: 600px) {
  .hero-slider-prev,
  .hero-slider-next { width: 38px; height: 38px; font-size: 1.4rem; }
}

/* ── Finanțare TBI — bandă statică (înlocuiește vechiul hero slider) ── */
.finance-band {
  background: linear-gradient(135deg, var(--c-dark) 0%, var(--c-dark-mid) 100%);
  padding: clamp(48px, 6vw, 72px) 0;
}
.finance-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  border: 1px solid rgba(217,119,6,0.25);
  background: var(--c-amber-glow);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 4vw, 44px);
}
.finance-text { flex: 1 1 460px; }
.finance-tag {
  display: inline-block;
  font-size: 12px; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--c-amber); margin-bottom: 12px;
}
.finance-band h2 {
  color: #fff; font-size: clamp(24px, 3vw, 34px);
  letter-spacing: -0.02em; margin-bottom: 12px; line-height: 1.15;
}
.finance-band p { color: rgba(255,255,255,0.66); line-height: 1.6; margin: 0; }
.finance-cta { flex-shrink: 0; white-space: nowrap; }
@media (max-width: 640px) {
  .finance-inner { flex-direction: column; align-items: flex-start; }
  .finance-cta { width: 100%; text-align: center; }
}

/* ── Recenzii Google ── */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  align-items: stretch;
}
.review-card {
  background: var(--c-bg);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  padding: 28px 30px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}
.review-stars {
  color: var(--c-amber);
  font-size: 17px;
  letter-spacing: 2px;
  margin-bottom: 14px;
}
.review-text {
  color: var(--c-text);
  font-size: 15px;
  line-height: 1.7;
  margin: 0 0 20px;
}
.review-author {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--c-border);
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.review-name { font-weight: 700; color: var(--c-text); }
.review-meta { font-size: 13px; color: var(--c-text-muted); }

/* ── Nav buton finanțare (pill amber-outline, secundar față de .nav-cta) ── */
.nav-rate {
  border: 1.5px solid var(--c-amber);
  color: var(--c-amber) !important;
  padding: 8px 18px;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 700;
  transition: all var(--transition);
}
.nav-rate:hover {
  background: var(--c-amber);
  color: #fff !important;
}

/* ── Link landing page în service-card (SEO internal linking) ── */
.service-card-link {
  display: inline-block;
  margin-top: 16px;
  color: var(--c-amber);
  font-weight: 600;
  font-size: 0.875rem;
  text-decoration: none;
  transition: color var(--transition);
}
.service-card-link:hover { color: var(--c-amber-hover); }
