/* Constructii Nord — Design System */
:root {
  --accent: #FFB703;
  --accent-hover: #e6a503;
  --accent-warm: #F4A261;
  --navy: #1D3557;
  --navy-deep: #152a45;
  --petrol: #264653;
  --white: #FFFFFF;
  --off-white: #F8F9FB;
  --gray-100: #EEF1F5;
  --gray-300: #C5CDD8;
  --gray-600: #5A6578;
  --text: #1a2332;
  --shadow: 0 4px 24px rgba(29, 53, 87, 0.08);
  --shadow-lg: 0 20px 60px rgba(29, 53, 87, 0.14);
  --radius: 4px;
  --transition: 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  --font-heading: 'Montserrat', sans-serif;
  --font-body: 'Roboto', sans-serif;
  --font-cta: 'Oswald', sans-serif;
  --header-h: 72px;
  --promo-h: 36px;
  --mobile-bar-h: 64px;
  --safe-bottom: env(safe-area-inset-bottom, 0px);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  -webkit-font-smoothing: antialiased;
  position: relative;
}

main {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: max(1rem, env(safe-area-inset-left, 0px)) max(1rem, env(safe-area-inset-right, 0px));
}

.promo-bar,
.site-header,
.hero,
section,
.gallery-strip,
.site-footer,
.cta-section,
.page-hero,
.coverage-section {
  width: 100%;
  max-width: 100%;
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--navy);
}

h1 { font-size: clamp(2.4rem, 6vw, 4.2rem); text-transform: uppercase; }
h2 { font-size: clamp(1.9rem, 4vw, 3rem); text-transform: uppercase; }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.6rem); }

.lead {
  font-family: var(--font-body);
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  color: var(--gray-600);
  max-width: 58ch;
}

.label {
  font-family: var(--font-cta);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 500;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.section-tag::before {
  content: '';
  width: 32px;
  height: 2px;
  background: var(--accent);
}

.promo-bar {
  background: var(--navy);
  color: var(--white);
  text-align: center;
  padding: 0.55rem max(1rem, env(safe-area-inset-right, 0px)) 0.55rem max(1rem, env(safe-area-inset-left, 0px));
  font-family: var(--font-cta);
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  overflow-wrap: anywhere;
}

.promo-bar strong { color: var(--accent); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--navy);
  border-bottom: 3px solid var(--accent);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 0.75rem;
  width: 100%;
  min-width: 0;
}

.logo { display: flex; align-items: center; gap: 0.65rem; flex-shrink: 1; min-width: 0; }

.logo-mark {
  width: 42px;
  height: 42px;
  background: var(--accent);
  display: grid;
  place-items: center;
  clip-path: polygon(0 0, 100% 0, 100% 70%, 70% 100%, 0 100%);
}

.logo-mark svg { width: 22px; height: 22px; fill: var(--navy); }

.logo-text {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.35rem;
  text-transform: uppercase;
  color: var(--white);
  line-height: 1;
}

.logo-text span {
  display: block;
  font-family: var(--font-cta);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  color: var(--accent);
  margin-top: 2px;
}

.main-nav { display: flex; align-items: center; gap: 0.25rem; flex-shrink: 1; min-width: 0; }

.main-nav a {
  color: rgba(255,255,255,0.85);
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.5rem 0.85rem;
  transition: color var(--transition);
  position: relative;
}

.main-nav a:hover, .main-nav a.active { color: var(--accent); }

.main-nav a.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0.85rem;
  right: 0.85rem;
  height: 2px;
  background: var(--accent);
}

.header-cta { display: flex; align-items: center; gap: 0.6rem; flex-shrink: 0; }

.header-cta .btn-accent {
  white-space: nowrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-cta);
  font-weight: 600;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.75rem 1.4rem;
  min-height: 48px;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

.btn-accent { background: var(--accent); color: var(--navy); }
.btn-accent:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255, 183, 3, 0.35);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.3);
  clip-path: none;
  border-radius: var(--radius);
}

.btn-outline:hover { border-color: var(--accent); color: var(--accent); }
.btn-navy { background: var(--navy); color: var(--white); }
.btn-navy:hover { background: var(--navy-deep); }
.btn-whatsapp { background: #25D366; color: var(--white); clip-path: none; border-radius: var(--radius); }
.btn-whatsapp:hover { background: #1fb855; transform: translateY(-2px); }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  min-width: 44px;
  min-height: 44px;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

.nav-toggle.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

.nav-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--white);
  margin: 6px 0;
  transition: var(--transition);
  transform-origin: center;
}

.hero {
  position: relative;
  min-height: calc(100vh - var(--header-h) - 36px);
  min-height: calc(100dvh - var(--header-h) - 36px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--navy);
  overflow: hidden;
}

.hero-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(2rem, 5vw, 5rem);
  position: relative;
  z-index: 2;
}

.hero-content h1 { color: var(--white); margin-bottom: 1.25rem; }
.hero-content h1 em { font-style: normal; color: var(--accent); display: block; }
.hero-content .lead { color: rgba(255,255,255,0.75); margin-bottom: 2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; }

.hero-stats {
  display: flex;
  gap: 2.5rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.12);
}

.stat-num {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
}

.stat-label {
  font-family: var(--font-cta);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-top: 0.35rem;
}

.hero-visual { position: relative; overflow: hidden; }
.hero-visual img { width: 100%; height: 100%; object-fit: cover; }

.hero-visual::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--navy) 0%, transparent 35%);
  z-index: 1;
}

.hero-grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,183,3,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,183,3,0.06) 1px, transparent 1px);
  background-size: 48px 48px;
  z-index: 2;
  pointer-events: none;
}

.hero-badge {
  position: absolute;
  bottom: 2rem;
  left: 1rem;
  background: var(--accent);
  color: var(--navy);
  padding: 1.25rem 1.5rem;
  font-family: var(--font-cta);
  font-weight: 600;
  font-size: 1.1rem;
  text-transform: uppercase;
  z-index: 3;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%);
  animation: floatBadge 4s ease-in-out infinite;
  max-width: calc(100% - 2rem);
}

@keyframes floatBadge {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

section { padding: clamp(4rem, 8vw, 7rem) 0; }

.section-header { margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-header.center { text-align: center; }
.section-header.center .lead { margin-inline: auto; }
.section-header.center .section-tag { justify-content: center; }
.section-header.center .section-tag::before { display: none; }

.bg-off { background: var(--off-white); }
.bg-navy { background: var(--navy); color: var(--white); }
.bg-navy h2, .bg-navy h3 { color: var(--white); }
.bg-navy .lead { color: rgba(255,255,255,0.7); }

.offers-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.offer-card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  padding: 2rem;
  position: relative;
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
}

.offer-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--accent);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform var(--transition);
}

.offer-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.offer-card:hover::before { transform: scaleY(1); }

.offer-card.featured { background: var(--navy); color: var(--white); border-color: var(--navy); }
.offer-card.featured h3 { color: var(--accent); }
.offer-card.featured p { color: rgba(255,255,255,0.75); }

.offer-icon {
  width: 48px;
  height: 48px;
  background: rgba(255,183,3,0.15);
  display: grid;
  place-items: center;
  margin-bottom: 1.25rem;
  clip-path: polygon(0 0, 100% 0, 100% 70%, 70% 100%, 0 100%);
}

.offer-icon svg { width: 24px; height: 24px; stroke: var(--accent); fill: none; stroke-width: 2; }
.offer-card h3 { margin-bottom: 0.75rem; }
.offer-card p { font-family: var(--font-body); font-size: 0.95rem; color: var(--gray-600); }
.offer-tag {
  display: inline-block;
  font-family: var(--font-cta);
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: var(--accent);
  color: var(--navy);
  padding: 0.25rem 0.6rem;
  margin-bottom: 1rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.service-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--white);
  border: 1px solid var(--gray-100);
  overflow: hidden;
  min-height: 280px;
  transition: box-shadow var(--transition);
}

.service-card:hover { box-shadow: var(--shadow-lg); }
.service-card:nth-child(even) { direction: rtl; }
.service-card:nth-child(even) > * { direction: ltr; }

.service-card-img { position: relative; overflow: hidden; }
.service-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.service-card:hover .service-card-img img { transform: scale(1.06); }

.service-card-body {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.service-card-body h3 { margin-bottom: 0.75rem; }
.service-card-body p { font-family: var(--font-body); font-size: 0.92rem; color: var(--gray-600); margin-bottom: 1.25rem; flex: 1; }

.link-arrow {
  font-family: var(--font-cta);
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: gap var(--transition);
}

.link-arrow:hover { gap: 0.85rem; }

.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  counter-reset: step;
}

.process-step {
  padding: 2rem 1.5rem;
  border-left: 1px solid rgba(255,255,255,0.12);
}

.process-step:first-child { border-left: none; }

.process-step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 800;
  color: var(--accent);
  opacity: 0.35;
  line-height: 1;
  margin-bottom: 1rem;
  display: block;
}

.process-step h3 { color: var(--white); font-size: 1.1rem; margin-bottom: 0.5rem; }
.process-step p { font-family: var(--font-body); font-size: 0.88rem; color: rgba(255,255,255,0.6); }

.gallery-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
  height: 280px;
  overflow: hidden;
}

.gallery-strip img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(20%);
  transition: filter var(--transition), transform 0.5s ease;
}

.gallery-strip img:hover { filter: grayscale(0%); transform: scale(1.03); z-index: 1; }

.coverage-section { background: var(--off-white); }

.coverage-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 3rem;
  align-items: center;
}

.coverage-map-wrap {
  position: relative;
  border: 2px solid var(--navy);
  background: var(--white);
  padding: 0.75rem;
  box-shadow: var(--shadow-lg);
}

.coverage-map-wrap object,
.coverage-map-wrap img { width: 100%; height: auto; display: block; }

.coverage-map-badge {
  position: absolute;
  bottom: -1rem;
  right: 1.5rem;
  background: var(--accent);
  color: var(--navy);
  font-family: var(--font-cta);
  font-weight: 600;
  font-size: 0.85rem;
  padding: 0.5rem 1rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.county-list { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 1.5rem 0 2rem; }

.county-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-size: 0.85rem;
  padding: 0.45rem 0.85rem;
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-left: 3px solid var(--accent);
}

.county-abbr {
  font-family: var(--font-cta);
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: var(--navy);
  background: var(--gray-100);
  padding: 0.12rem 0.38rem;
  border-radius: 2px;
  text-decoration: none;
  flex-shrink: 0;
}

.coverage-note {
  font-family: var(--font-body);
  font-size: 0.88rem;
  color: var(--gray-600);
  padding: 1rem 1.25rem;
  background: var(--white);
  border-left: 3px solid var(--navy);
}

.video-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.video-wrap {
  border: 3px solid var(--accent);
  background: #000;
  overflow: hidden;
}

.video-wrap video { width: 100%; aspect-ratio: 9/16; max-height: 480px; object-fit: cover; margin: 0 auto; }

.cta-section {
  background: linear-gradient(135deg, var(--navy) 0%, var(--petrol) 100%);
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 60%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,183,3,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.cta-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 2rem;
  position: relative;
  z-index: 1;
}

.cta-inner h2 { color: var(--white); margin-bottom: 0.75rem; }
.cta-inner .lead { color: rgba(255,255,255,0.75); }

.cta-buttons { display: flex; flex-direction: column; gap: 0.75rem; }

.phone-display {
  font-family: var(--font-cta);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.04em;
}

.site-footer {
  background: var(--navy-deep);
  color: rgba(255,255,255,0.7);
  padding: 4rem 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-brand p { font-family: var(--font-body); font-size: 0.9rem; line-height: 1.7; max-width: 32ch; }

.footer-col h4 {
  font-family: var(--font-cta);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 1.25rem;
}

.footer-col a {
  font-family: var(--font-body);
  display: block;
  font-size: 0.9rem;
  padding: 0.35rem 0;
  transition: color var(--transition);
}

.footer-col a:hover { color: var(--accent); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 0;
  font-family: var(--font-body);
  font-size: 0.82rem;
}

.footer-legal {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.footer-credit a {
  color: rgba(255,255,255,0.55);
  transition: color var(--transition);
}

.footer-credit a:hover { color: var(--accent); }

.footer-bottom a:not(.footer-credit a) {
  color: rgba(255,255,255,0.7);
  transition: color var(--transition);
}

.footer-bottom a:not(.footer-credit a):hover { color: var(--accent); }

.page-hero {
  background: var(--navy);
  padding: clamp(3rem, 6vw, 5rem) 0;
  position: relative;
  overflow: hidden;
}

.page-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.page-hero h1 { color: var(--white); margin-bottom: 1rem; }
.page-hero .lead { color: rgba(255,255,255,0.75); margin-bottom: 1.5rem; }

.breadcrumb {
  font-family: var(--font-cta);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  margin-bottom: 1.5rem;
}

.breadcrumb a { color: var(--accent); }

.page-hero-img {
  position: relative;
  clip-path: polygon(12px 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%, 0 12px);
}

.page-hero-img img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }

.content-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 3rem;
  align-items: start;
}

.content-block h2 { margin-bottom: 1.25rem; }
.content-block h3 { margin: 2rem 0 0.75rem; color: var(--petrol); }
.content-block p { font-family: var(--font-body); margin-bottom: 1rem; color: var(--gray-600); }
.content-block li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.6rem;
  color: var(--gray-600);
  font-size: 0.95rem;
}

.content-block li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 8px;
  height: 2px;
  background: var(--accent);
}

.sidebar-card {
  background: var(--off-white);
  border: 1px solid var(--gray-100);
  padding: 2rem;
  position: sticky;
  top: calc(var(--header-h) + 1.5rem);
}

.sidebar-card h3 { font-size: 1.1rem; margin-bottom: 1rem; color: var(--navy); }
.sidebar-card .btn { width: 100%; margin-top: 0.5rem; }

.page-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-top: 2rem;
}

.page-gallery img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }

.feature-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.feature-item {
  padding: 1.5rem;
  background: var(--white);
  border-left: 3px solid var(--accent);
}

.feature-item h4 {
  font-family: var(--font-heading);
  font-size: 1rem;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 0.5rem;
}

.feature-item p { font-family: var(--font-body); font-size: 0.88rem; color: var(--gray-600); }

.faq-list { max-width: 800px; }
.faq-item { border-bottom: 1px solid var(--gray-100); }

.faq-question {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 1.25rem 0;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--navy);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.faq-question::after {
  content: '+';
  font-size: 1.5rem;
  color: var(--accent);
  transition: transform var(--transition);
  flex-shrink: 0;
}

.faq-item.open .faq-question::after { transform: rotate(45deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.4s ease; }
.faq-answer-inner { padding-bottom: 1.25rem; color: var(--gray-600); font-size: 0.95rem; }
.faq-item.open .faq-answer { max-height: 300px; }

.mobile-cta-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  max-width: 100%;
  z-index: 999;
  background: var(--navy);
  border-top: 2px solid var(--accent);
  padding: 0.65rem max(0.75rem, env(safe-area-inset-right, 0px)) calc(0.65rem + var(--safe-bottom)) max(0.75rem, env(safe-area-inset-left, 0px));
  gap: 0.5rem;
  box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.2);
  box-sizing: border-box;
}

body.nav-open .site-header {
  z-index: 1002;
}

body.nav-open::before {
  content: '';
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 1000;
}

.mobile-cta-bar a {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.85rem 0.75rem;
  min-height: 48px;
  font-family: var(--font-cta);
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

.mobile-cta-bar .call-btn { background: var(--accent); color: var(--navy); }
.mobile-cta-bar .wa-btn { background: #25D366; color: var(--white); }

.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.visible { opacity: 1; transform: translateY(0); }

.reveal-left {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal-left.visible { opacity: 1; transform: translateY(0); }

.reveal-right {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal-right.visible { opacity: 1; transform: translateY(0); }

.stagger > *:nth-child(1) { transition-delay: 0s; }
.stagger > *:nth-child(2) { transition-delay: 0.1s; }
.stagger > *:nth-child(3) { transition-delay: 0.2s; }
.stagger > *:nth-child(4) { transition-delay: 0.3s; }

@media (max-width: 1024px) {
  :root {
    --header-h: 64px;
  }

  .nav-toggle {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .header-inner {
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: center;
    gap: 0.5rem;
  }

  .logo {
    flex: 1 1 auto;
    min-width: 0;
    max-width: calc(100% - 3.5rem);
  }

  .header-cta {
    flex-shrink: 0;
  }

  /* Ascunde telefonul din header — există bara fixă jos */
  .site-header .header-cta .btn-accent {
    display: none !important;
  }

  /* Meniul desktop nu stă în fluxul header-ului (cauza overflow-ului) */
  .main-nav {
    display: none;
    position: fixed;
    top: calc(var(--header-h) + var(--promo-h, 36px));
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    max-width: 100%;
    background: var(--navy-deep);
    flex-direction: column;
    align-items: stretch;
    padding: 0.5rem max(1.25rem, env(safe-area-inset-right, 0px)) 2rem max(1.25rem, env(safe-area-inset-left, 0px));
    gap: 0;
    z-index: 1001;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
  }

  .main-nav.open {
    display: flex;
  }

  .main-nav a {
    width: 100%;
    padding: 1rem 0;
    min-height: 48px;
    display: flex;
    align-items: center;
    font-size: 0.95rem;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    white-space: nowrap;
  }

  .main-nav a.active::after { display: none; }

  .main-nav a.active {
    color: var(--accent);
    padding-left: 0.5rem;
    border-left: 3px solid var(--accent);
  }

  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-visual { height: 360px; order: -1; }
  .hero-visual::before { background: linear-gradient(180deg, transparent 50%, var(--navy) 100%); }
  .hero-badge { left: 0.75rem; bottom: 0.75rem; font-size: 0.9rem; padding: 0.85rem 1rem; }
  .offers-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .service-card, .service-card:nth-child(even) { grid-template-columns: 1fr; direction: ltr; }
  .service-card-img { height: 220px; }
  .process-steps { grid-template-columns: repeat(2, 1fr); }
  .process-step:nth-child(odd) { border-left: none; }
  .gallery-strip { grid-template-columns: repeat(2, 1fr); height: auto; }
  .gallery-strip img { aspect-ratio: 4/3; height: auto; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .cta-inner { grid-template-columns: 1fr; text-align: center; }
  .cta-buttons { align-items: center; }
  .coverage-grid, .video-block { grid-template-columns: 1fr; }
  .page-hero-grid, .content-grid { grid-template-columns: 1fr; }
  .sidebar-card { position: static; }
  .feature-list { grid-template-columns: 1fr; }

  .mobile-cta-bar { display: flex; }

  body {
    padding-bottom: calc(var(--mobile-bar-h) + var(--safe-bottom));
  }
}

@media (max-width: 768px) {
  :root {
    --promo-h: 52px;
  }

  .promo-bar {
    font-size: 0.72rem;
    line-height: 1.45;
    padding-top: 0.45rem;
    padding-bottom: 0.45rem;
  }

  .promo-sep { display: none; }

  .logo-text { font-size: 1.05rem; }
  .logo-text span { font-size: 0.58rem; letter-spacing: 0.12em; }
  .logo-mark { width: 36px; height: 36px; }
  .logo-mark svg { width: 18px; height: 18px; }

  .hero-content { padding: 1.75rem 0 2rem; }
  .hero-visual { height: min(52vw, 280px); min-height: 220px; }

  .hero-actions {
    flex-direction: column;
    width: 100%;
    gap: 0.75rem;
  }

  .hero-actions .btn {
    width: 100%;
    clip-path: none;
    border-radius: var(--radius);
  }

  .hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-top: 2rem;
    padding-top: 1.5rem;
    text-align: center;
  }

  .stat-num { font-size: 1.85rem; }
  .stat-label { font-size: 0.62rem; }

  h1 { font-size: clamp(1.75rem, 7.5vw, 2.35rem); line-height: 1.15; }
  h2 { font-size: clamp(1.55rem, 5.5vw, 2rem); }

  section { padding: clamp(2.5rem, 6vw, 3.5rem) 0; }

  .offer-card { padding: 1.35rem; }
  .service-card-body { padding: 1.35rem; }
  .service-card-img { height: 200px; }

  .gallery-strip { grid-template-columns: 1fr 1fr; gap: 3px; }

  .coverage-map-wrap { padding: 0.5rem; margin-bottom: 1.5rem; }

  .coverage-map-badge {
    position: static;
    display: inline-block;
    margin-top: 1rem;
    font-size: 0.78rem;
  }

  .county-chip { font-size: 0.78rem; padding: 0.4rem 0.7rem; }

  .video-block { gap: 1.5rem; }
  .video-wrap video { max-height: none; width: 100%; aspect-ratio: 9/16; }

  .cta-inner { gap: 1.5rem; }
  .cta-buttons { width: 100%; }
  .cta-buttons .btn { width: 100%; max-width: 360px; clip-path: none; border-radius: var(--radius); }

  .phone-display { font-size: clamp(1.5rem, 6vw, 2rem); word-break: break-word; }

  .page-hero { padding: clamp(2rem, 5vw, 3rem) 0; }
  .page-hero-img { margin-top: 0.5rem; }

  .sidebar-card { padding: 1.35rem; margin-top: 1rem; }

  .faq-question {
    font-size: 0.95rem;
    padding: 1rem 0;
    min-height: 48px;
  }

  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom {
    flex-direction: column;
    gap: 0.75rem;
    text-align: center;
    padding: 1.25rem 0 calc(1.25rem + var(--safe-bottom));
  }

  .footer-brand p { max-width: none; }

  .site-footer { padding-bottom: 0; }

  .page-gallery { grid-template-columns: 1fr 1fr; gap: 0.5rem; }

  .process-step::before { font-size: 2.25rem; }

  .process-steps { grid-template-columns: 1fr; }
  .process-step { border-left: none; border-top: 1px solid rgba(255,255,255,0.12); padding-top: 1.5rem; }
  .process-step:first-child { border-top: none; }
}

@media (max-width: 480px) {
  :root { --promo-h: 58px; }

  .hero-stats { grid-template-columns: 1fr 1fr; }
  .hero-stats > div:last-child { grid-column: 1 / -1; }

  .gallery-strip { grid-template-columns: 1fr; }
  .gallery-strip img { aspect-ratio: 16/10; }

  .page-gallery { grid-template-columns: 1fr; }

  .county-list { gap: 0.4rem; }

  .offer-card.featured { padding: 1.25rem; }

  .content-block li { font-size: 0.9rem; }
}

@media (hover: none) and (pointer: coarse) {
  .btn-accent:hover,
  .btn-whatsapp:hover,
  .offer-card:hover,
  .service-card:hover .service-card-img img {
    transform: none;
    box-shadow: none;
  }

  .gallery-strip img:hover { transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  .reveal, .reveal-left, .reveal-right { opacity: 1; transform: none; }
}
