:root {
  --bg: #f6f8fb;
  --white: #ffffff;
  --text: #18202b;
  --muted: #5e6a79;
  --primary: #2962ff;
  --primary-dark: #1d4fe0;
  --accent: #222f42;
  --line: #e5e9f0;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(10, 26, 46, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 12% 18%, rgba(41, 98, 255, 0.08), transparent 30%),
    radial-gradient(circle at 88% 10%, rgba(34, 47, 66, 0.08), transparent 28%);
  z-index: -1;
}

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

.container {
  width: min(1120px, 92%);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(34, 47, 66, 0.08);
  box-shadow: 0 10px 28px rgba(18, 28, 43, 0.08);
}

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

.logo-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, #ffffff, #f4f8ff);
  border: 1px solid rgba(41, 98, 255, 0.18);
  border-radius: 14px;
  padding: 6px 10px;
  box-shadow: 0 8px 20px rgba(35, 69, 130, 0.12);
}

.logo {
  height: 44px;
  width: auto;
  display: block;
}

.main-nav {
  display: flex;
  gap: 8px;
  align-items: center;
  font-weight: 700;
  color: #2b3440;
  background: linear-gradient(135deg, #f8faff, #edf2ff);
  border: 1px solid rgba(41, 98, 255, 0.14);
  border-radius: 999px;
  padding: 8px;
  box-shadow: 0 8px 20px rgba(19, 40, 73, 0.1);
}

.main-nav a {
  padding: 9px 14px;
  border-radius: 999px;
  transition: 0.2s ease;
}

.main-nav a:hover {
  color: var(--primary);
  background: rgba(41, 98, 255, 0.1);
}

.main-nav a.active {
  color: #ffffff;
  background: linear-gradient(120deg, #222f42, #2962ff);
  box-shadow: 0 8px 16px rgba(34, 47, 66, 0.25);
}

.cta-phone {
  font-weight: 800;
  color: #ffffff;
  background: linear-gradient(120deg, #222f42, #2962ff);
  border-radius: 12px;
  padding: 12px 16px;
  border: 1px solid rgba(34, 47, 66, 0.18);
  box-shadow: 0 12px 22px rgba(34, 47, 66, 0.24);
  transition: 0.2s ease;
}

.cta-phone:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 26px rgba(34, 47, 66, 0.28);
}

.menu-toggle {
  display: none;
  border: 1px solid rgba(41, 98, 255, 0.24);
  background: linear-gradient(145deg, #ffffff, #f0f5ff);
  color: var(--accent);
  font-size: 21px;
  border-radius: 12px;
  padding: 6px 12px;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(34, 47, 66, 0.12);
}

.hero {
  position: relative;
  background: linear-gradient(120deg, rgba(34, 47, 66, 0.9), rgba(41, 98, 255, 0.85)),
    url("https://images.unsplash.com/photo-1600566753376-12c8ab7fb75b?auto=format&fit=crop&w=1700&q=80")
      center/cover no-repeat;
  color: var(--white);
}

.hero-overlay {
  position: absolute;
  inset: 0;
}

.page-hero {
  background: linear-gradient(120deg, rgba(34, 47, 66, 0.92), rgba(41, 98, 255, 0.88));
  color: var(--white);
}

.page-hero-content {
  padding: 64px 0;
  text-align: center;
}

.page-hero h1 {
  margin: 0 0 10px;
  font-size: clamp(1.8rem, 4vw, 2.7rem);
}

.page-hero p {
  margin: 0 auto;
  color: #e4edf7;
  max-width: 760px;
}

.hero-content {
  position: relative;
  padding: 150px 0 140px;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.eyebrow {
  margin: 0 0 8px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--primary);
}

h1 {
  margin: 0;
  font-size: clamp(2rem, 5vw, 3.4rem);
  line-height: 1.1;
}

.hero h1 {
  font-size: clamp(2rem, 4.1vw, 3rem);
  line-height: 1.08;
}

.hero-text {
  margin-top: 16px;
  color: #e4edf7;
  font-size: 1.06rem;
}

.hero-actions {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.btn {
  display: inline-block;
  padding: 12px 18px;
  border-radius: 12px;
  font-weight: 700;
  border: none;
  cursor: pointer;
}

.btn-primary {
  background: var(--primary);
  color: #ffffff;
}

.btn-primary:hover {
  background: var(--primary-dark);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.15);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.section {
  padding: 72px 0;
}

.section-head h2 {
  margin: 0;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  line-height: 1.2;
}

.section-head {
  margin-bottom: 26px;
}

.trust-bar {
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.video-section {
  position: relative;
  min-height: 340px;
  display: flex;
  align-items: center;
  overflow: hidden;
  border-top: 1px solid rgba(41, 98, 255, 0.2);
  border-bottom: 1px solid rgba(41, 98, 255, 0.2);
}

.video-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(34, 47, 66, 0.86), rgba(41, 98, 255, 0.74));
}

.video-content {
  position: relative;
  z-index: 1;
  color: #ffffff;
  padding: 44px 0;
}

.video-content h2 {
  margin: 0 0 10px;
  font-size: clamp(1.6rem, 3.4vw, 2.5rem);
}

.video-content p {
  margin: 0;
  max-width: 760px;
  color: #deebff;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding: 26px 0;
}

.trust-grid article {
  background: #f8fafc;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
}

.trust-grid h3 {
  margin: 0 0 8px;
  font-size: 1rem;
}

.trust-grid p {
  margin: 0;
  color: var(--muted);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

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

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 30px rgba(22, 50, 90, 0.14);
  border-color: rgba(41, 98, 255, 0.24);
}

.card h3 {
  margin: 0 0 8px;
  font-size: 1.1rem;
}

.card p {
  margin: 0;
  color: var(--muted);
}

.alt-bg {
  background: #edf2ff;
}

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

.gallery-grid--full {
  grid-template-columns: repeat(4, 1fr);
}

.gallery-item {
  position: relative;
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(41, 98, 255, 0.15);
  box-shadow: 0 8px 20px rgba(15, 35, 80, 0.08);
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  object-position: center center;
  display: block;
  transition: transform 0.3s ease;
  transform-origin: center center;
}

.gallery-item--focus-bottom img {
  object-position: center 22%;
  transform-origin: center 22%;
}

.gallery-caption {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 14px 12px;
  background: linear-gradient(180deg, transparent 35%, rgba(12, 28, 68, 0.88) 100%);
  color: #fff;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.35;
  text-align: center;
  opacity: 0;
  transition: opacity 0.25s ease;
  pointer-events: none;
}

@media (hover: hover) {
  .gallery-item:hover .gallery-caption,
  .gallery-item:focus-visible .gallery-caption {
    opacity: 1;
  }

  .gallery-item:hover img {
    transform: scale(1.03);
  }
}

.gallery-item.is-active .gallery-caption {
  opacity: 1;
}

.gallery-item.is-active img {
  transform: scale(1.03);
}

.placeholder-img {
  border: 2px dashed #9eb0c5;
  background: #f7fbff;
  border-radius: var(--radius);
  min-height: 220px;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 12px;
  color: #49627d;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.interactive-section {
  margin-top: 28px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.stat-card {
  background: linear-gradient(145deg, #ffffff, #eff4ff);
  border: 1px solid rgba(41, 98, 255, 0.2);
  border-radius: 14px;
  padding: 18px;
  text-align: center;
}

.stat-number {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
}

.stat-label {
  margin-top: 8px;
  color: #56657a;
  font-size: 0.9rem;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.chip {
  background: #eef3ff;
  color: #2a3b53;
  border: 1px solid rgba(41, 98, 255, 0.2);
  border-radius: 999px;
  padding: 8px 12px;
  font-weight: 700;
  cursor: pointer;
}

.chip.active {
  background: linear-gradient(120deg, #222f42, #2962ff);
  color: #fff;
}

.service-detail-grid {
  display: grid;
  gap: 16px;
}

.service-panel {
  background: linear-gradient(145deg, #ffffff, #f3f7ff);
  border: 1px solid rgba(41, 98, 255, 0.2);
  border-radius: 16px;
  padding: 22px;
  box-shadow: 0 12px 24px rgba(30, 55, 96, 0.1);
}

.service-panel-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.service-panel-head h3 {
  margin: 0;
}

.service-icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: inline-grid;
  place-items: center;
  background: linear-gradient(120deg, #222f42, #2962ff);
  color: #fff;
  font-size: 1rem;
}

.service-list {
  margin: 14px 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 12px;
}

.service-list li {
  position: relative;
  padding-left: 18px;
  color: #4b5b72;
}

.service-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #2962ff;
}

.timeline {
  display: grid;
  gap: 10px;
}

.timeline-step {
  border: 1px solid rgba(41, 98, 255, 0.2);
  border-radius: 12px;
  background: #fff;
  overflow: hidden;
}

.timeline-trigger {
  width: 100%;
  text-align: left;
  border: 0;
  background: transparent;
  padding: 14px 16px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.timeline-content {
  display: none;
  padding: 0 16px 14px;
  color: #56657a;
}

.timeline-step.open .timeline-content {
  display: block;
}

.urgency-steps {
  display: grid;
  gap: 10px;
}

.urgency-item {
  border: 1px solid rgba(41, 98, 255, 0.2);
  border-radius: 12px;
  background: #fff;
  padding: 12px 14px;
}

.urgency-item strong {
  display: block;
  color: var(--accent);
}

.urgence-logo {
  height: 150px;
  width: auto;
  display: block;
  margin-bottom: 12px;
  padding-left: 50px;
}

.contact-quick-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.contact-map {
  margin: 14px 0 12px;
  border: 1px solid rgba(41, 98, 255, 0.2);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 22px rgba(23, 45, 78, 0.1);
}

.contact-map iframe {
  width: 100%;
  height: 260px;
  border: 0;
  display: block;
}

.quick-action {
  display: block;
  text-align: center;
  padding: 12px;
  border-radius: 12px;
  border: 1px solid rgba(41, 98, 255, 0.2);
  background: linear-gradient(145deg, #fff, #edf3ff);
  font-weight: 700;
}

.quick-action:hover {
  background: linear-gradient(145deg, #edf3ff, #e2ebff);
}
.gallery-item.tall img {
  min-height: 320px;
  height: 100%;
}

.placeholder-img.tall {
  min-height: 320px;
}

.placeholder-img figcaption,
.gallery-item figcaption {
  margin-top: 0;
}

.split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 24px;
  align-items: start;
}

.split--center {
  align-items: center;
}

.split--center .gallery-item.tall {
  width: 100%;
  height: 100%;
}

.split--center .gallery-item.tall img {
  width: 100%;
  min-height: 320px;
  height: 100%;
  max-height: 420px;
  object-fit: cover;
}

.about-text {
  text-align: center;
}

.about-text p {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

.zones-list,
.contact-list {
  margin: 18px 0 0;
  padding-left: 18px;
}

.zones-list li,
.contact-list li {
  margin-bottom: 6px;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.review {
  background: var(--white);
  border-radius: var(--radius);
  padding: 20px;
  border: 1px solid var(--line);
}

.review p {
  margin: 0 0 10px;
}

.review span {
  color: var(--muted);
  font-weight: 600;
}

.faq-list {
  display: grid;
  gap: 10px;
}

details {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 14px 16px;
}

summary {
  cursor: pointer;
  font-weight: 700;
}

details p {
  margin: 10px 0 0;
  color: var(--muted);
}

.contact-section {
  background: var(--white);
  padding-top: 28px;
}

.contact-stack {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  align-items: start;
}

.contact-stack h2 {
  margin-top: 0;
}

.contact-stack > :nth-child(1) {
  grid-column: 1;
}

.contact-stack > :nth-child(2) {
  grid-column: 2;
  grid-row: 1 / span 2;
}

.contact-stack > :nth-child(3) {
  grid-column: 1;
  grid-row: 2;
}

.contact-form {
  background: #f8fafd;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  display: grid;
  align-content: start;
  gap: 10px;
  min-height: 100%;
}

.contact-form label {
  font-weight: 600;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid #cfd7e2;
  border-radius: 10px;
  padding: 12px;
  font: inherit;
}

.site-footer {
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(41, 98, 255, 0.18);
  background: linear-gradient(180deg, #ffffff, #f6f9ff);
  color: var(--text);
  padding: 34px 0 16px;
}

.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #222f42, #2962ff, #222f42);
}

.site-footer::after {
  content: "";
  position: absolute;
  inset: 12px auto auto -120px;
  width: 340px;
  height: 340px;
  background: radial-gradient(circle, rgba(41, 98, 255, 0.12), rgba(41, 98, 255, 0));
  pointer-events: none;
  transform: rotate(18deg);
}

.footer-glass {
  position: relative;
  border: 1px solid rgba(41, 98, 255, 0.18);
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(237, 244, 255, 0.9));
  box-shadow: 0 14px 30px rgba(22, 42, 74, 0.12);
  padding: 20px;
}

.footer-glass::before {
  content: "";
  position: absolute;
  top: 10px;
  left: 12px;
  right: 12px;
  height: 1px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0));
}

.footer-wrap {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 18px;
  align-items: start;
}

.footer-brand {
  display: grid;
  gap: 10px;
  justify-items: center;
  padding-left: 0;
  padding-top: 10px;
}

.footer-brand p {
  margin: 0;
  color: #4d5b6c;
}

.footer-logo {
  height: 85px;
  width: auto;
  margin-top: 30px;
  margin-left: 36px;
}

.footer-col h4 {
  margin: 0 0 8px;
  color: var(--accent);
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.footer-col a,
.footer-col p {
  display: block;
  margin: 0 0 6px;
  color: #405166;
}

.footer-col a:hover {
  color: var(--primary);
}

.footer-bottom {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid rgba(41, 98, 255, 0.16);
  font-size: 0.9rem;
  color: #5f6f85;
  text-align: center;
}

.footer-bottom p {
  margin: 0;
}

@media (max-width: 980px) {
  .services-grid,
  .reviews-grid,
  .gallery-grid {
    grid-template-columns: 1fr 1fr;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }

  .split {
    grid-template-columns: 1fr;
  }

  .contact-stack {
    grid-template-columns: 1fr;
  }

  .contact-stack > :nth-child(1),
  .contact-stack > :nth-child(2),
  .contact-stack > :nth-child(3) {
    grid-column: 1;
    grid-row: auto;
  }
}

/* iPad / Apple tablet layout */
@media (min-width: 768px) and (max-width: 1180px) {
  .container {
    width: min(1000px, 94%);
  }

  .logo {
    height: 40px;
  }

  .main-nav {
    gap: 6px;
    padding: 7px;
  }

  .main-nav a {
    padding: 8px 11px;
    font-size: 0.92rem;
  }

  .cta-phone {
    padding: 10px 13px;
    font-size: 0.92rem;
  }

  .hero-content {
    max-width: 760px;
    padding: 118px 0 108px;
  }

  .hero h1 {
    font-size: clamp(2rem, 4.5vw, 2.8rem);
  }

  .services-grid,
  .gallery-grid,
  .reviews-grid {
    grid-template-columns: 1fr 1fr;
  }

  .contact-section .split {
    grid-template-columns: 1fr 1fr;
    gap: 18px;
  }

  .contact-form {
    padding: 18px;
  }
}

@media (max-width: 760px) {
  .menu-toggle {
    display: block;
  }

  .main-nav {
    display: none;
    position: absolute;
    top: 78px;
    left: 4%;
    right: 4%;
    flex-direction: column;
    background: linear-gradient(180deg, #ffffff, #f5f8ff);
    border: 1px solid rgba(41, 98, 255, 0.15);
    border-radius: 16px;
    padding: 10px;
    box-shadow: 0 20px 34px rgba(17, 33, 59, 0.16);
  }

  .main-nav.open {
    display: flex;
  }

  .main-nav a {
    width: 100%;
    text-align: center;
  }

  .cta-phone {
    display: none;
  }

  .trust-grid,
  .services-grid,
  .reviews-grid,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .hero-content {
    padding: 110px 0 100px;
  }

  .service-list {
    grid-template-columns: 1fr;
  }

  .footer-wrap {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .contact-quick-actions,
  .stats-grid {
    grid-template-columns: 1fr;
  }

  .urgence-logo {
    margin-left: 80px;
    margin-right: auto;
  }
}

/* iPhone 15 layout (430px logical width) */
@media (max-width: 430px) {
  .container {
    width: 92%;
  }

  .nav-wrap {
    padding: 10px 0;
  }

  .logo-link {
    padding: 5px 8px;
  }

  .logo {
    height: 36px;
  }

  .hero-content {
    max-width: 100%;
    padding: 94px 0 88px;
    text-align: center;
  }

  .hero h1 {
    font-size: clamp(1.75rem, 8vw, 2.1rem);
    line-height: 1.12;
  }

  .hero-text {
    font-size: 1rem;
  }

  .hero-actions {
    justify-content: center;
  }

  .btn {
    width: 100%;
    text-align: center;
  }

  .page-hero-content {
    padding: 48px 0;
  }

  .page-hero h1 {
    font-size: clamp(1.55rem, 7vw, 2rem);
  }

  .section {
    padding: 56px 0;
  }

  .contact-section {
    padding-top: 18px;
  }

  .section-head {
    margin-bottom: 20px;
  }

  .card,
  .contact-form,
  .stat-card {
    padding: 16px;
  }

  .contact-map iframe {
    height: 220px;
  }

  .footer-glass {
    padding: 16px;
  }

  .footer-logo {
    height: 66px;
    margin-top: 10px;
    margin-left: 4px;
  }
}
