/* ─── RESET & BASE ──────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --blue:       #1a6fbf;
  --blue-dark:  #0f4f8a;
  --blue-light: #e8f2fc;
  --accent:     #f0a500;
  --text:       #1a1f2e;
  --text-muted: #5a6478;
  --bg:         #ffffff;
  --bg-alt:     #f6f9fd;
  --border:     #e0e8f0;
  --radius:     12px;
  --radius-lg:  20px;
  --shadow:     0 4px 24px rgba(26,111,191,.10);
  --shadow-lg:  0 12px 48px rgba(26,111,191,.16);
  --transition: .25s cubic-bezier(.4,0,.2,1);
  --header-h:   110px;
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Inter', system-ui, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  overflow-x: hidden;
}

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

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ─── BUTTONS ───────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 50px;
  font-weight: 600;
  font-size: .95rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
  white-space: nowrap;
}
.btn--primary {
  background: var(--blue);
  color: #fff;
}
.btn--primary:hover { background: var(--blue-dark); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(26,111,191,.35); }
.btn--outline {
  border-color: var(--blue);
  color: var(--blue);
  background: transparent;
}
.btn--outline:hover { background: var(--blue); color: #fff; }
.btn--ghost {
  border-color: rgba(255,255,255,.6);
  color: #fff;
  background: rgba(255,255,255,.1);
  backdrop-filter: blur(4px);
}
.btn--ghost:hover { background: rgba(255,255,255,.25); }
.btn--full { width: 100%; justify-content: center; }

/* ─── SECTION LABELS ────────────────────────────────────────── */
.section-label {
  display: inline-block;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--blue);
  background: var(--blue-light);
  padding: 4px 14px;
  border-radius: 50px;
  margin-bottom: 14px;
}
.section-header {
  text-align: center;
  margin-bottom: 56px;
}
.section-header h2 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 800;
  color: var(--text);
  margin-bottom: 12px;
}
.section-header p { color: var(--text-muted); font-size: 1.05rem; max-width: 560px; margin: 0 auto; }

/* ─── HEADER ────────────────────────────────────────────────── */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 900;
  height: var(--header-h);
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--transition);
}
.header.scrolled { box-shadow: var(--shadow); }
.header__inner {
  display: flex;
  align-items: center;
  height: 100%;
  gap: 32px;
}

.header__logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.header__logo-img {
  height: 140px;
  width: auto;
  max-width: 360px;
  object-fit: contain;
  display: block;
}

.header__nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}
.header__nav a {
  padding: 8px 14px;
  border-radius: 8px;
  font-weight: 500;
  font-size: .9rem;
  color: var(--text-muted);
  transition: var(--transition);
}
.header__nav a:hover { color: var(--blue); background: var(--blue-light); }
.header__nav .btn { margin-left: 8px; padding: 8px 20px; font-size: .88rem; }

.header__social {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}
.header__social a {
  width: 34px; height: 34px;
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted);
  transition: var(--transition);
}
.header__social a svg { width: 17px; height: 17px; }
.header__social a:hover { color: var(--blue); background: var(--blue-light); transform: translateY(-1px); }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  margin-left: auto;
}
.hamburger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: var(--transition);
}

/* ─── HERO ──────────────────────────────────────────────────── */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 100vh;
  padding-top: var(--header-h);
  position: relative;
  overflow: hidden;
}

/* Panel izquierdo — fondo azul oscuro, texto */
.hero__left {
  background: linear-gradient(155deg, #071a3e 0%, #0d3272 60%, #1a5aaa 100%);
  display: flex;
  align-items: center;
  padding: 80px 64px 80px 80px;
  position: relative;
  z-index: 1;
}
/* Detalle decorativo en el borde derecho */
.hero__left::after {
  content: '';
  position: absolute;
  right: -40px;
  top: 0; bottom: 0;
  width: 80px;
  background: inherit;
  clip-path: polygon(0 0, 0% 100%, 100% 100%);
  z-index: 2;
}

.hero__content { width: 100%; }

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.25);
  color: rgba(255,255,255,.9);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 28px;
}
.hero__title {
  font-size: clamp(3rem, 5vw, 5.2rem);
  font-weight: 900;
  line-height: 1;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: -.02em;
  margin-bottom: 20px;
}
.hero__title span {
  color: var(--accent);
  display: block;
}
.hero__title .hero__title-pre {
  color: #fff;
  font-size: .55em;
  letter-spacing: .06em;
}
.hero__sub {
  font-size: 1.05rem;
  color: rgba(255,255,255,.78);
  margin-bottom: 36px;
  line-height: 1.7;
}
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero__btn--ghost {
  border-color: rgba(255,255,255,.5);
  color: #fff;
  background: transparent;
}
.hero__btn--ghost:hover { background: rgba(255,255,255,.15); }

/* Panel derecho — solo la foto */
.hero__right {
  position: relative;
  overflow: hidden;
}
.hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}

/* Scroll indicator */
.hero__scroll {
  position: absolute;
  bottom: 36px;
  left: 25%;                /* centrado en el panel izquierdo */
  transform: translateX(-50%);
  z-index: 3;
}
.hero__scroll span {
  display: block;
  width: 24px; height: 38px;
  border: 2px solid rgba(255,255,255,.4);
  border-radius: 12px;
  position: relative;
}
.hero__scroll span::after {
  content: '';
  position: absolute;
  top: 5px; left: 50%; transform: translateX(-50%);
  width: 4px; height: 8px;
  background: rgba(255,255,255,.6);
  border-radius: 2px;
  animation: scrollDot 1.8s ease-in-out infinite;
}
@keyframes scrollDot {
  0%,100% { top: 5px; opacity: 1; }
  80% { top: 18px; opacity: 0; }
}

/* Responsive hero */
@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    grid-template-rows: auto 55vw;
  }
  .hero__left {
    padding: 56px 32px 48px;
  }
  .hero__left::after { display: none; }
  .hero__scroll { left: 50%; }
}

/* ─── ABOUT ─────────────────────────────────────────────────── */
.about {
  padding: 100px 0;
  background: var(--bg);
}
.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.about__text .section-label { margin-bottom: 16px; }
.about__text h2 {
  font-size: clamp(1.8rem, 2.8vw, 2.4rem);
  font-weight: 800;
  margin-bottom: 20px;
  line-height: 1.2;
}
.about__text p { color: var(--text-muted); margin-bottom: 16px; font-size: 1.02rem; }
.about__text .btn { margin-top: 12px; }

.about__visual { position: relative; }
.about__card--main {
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 400px;
  box-shadow: var(--shadow-lg);
}
.about__card--main img {
  height: 100%;
  background: linear-gradient(135deg, #1a6fbf, #0f3460);
}

.about__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 20px;
}
.stat {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 16px;
  text-align: center;
}
.stat__num {
  display: block;
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--blue);
  line-height: 1;
  margin-bottom: 6px;
}
.stat__label { font-size: .78rem; color: var(--text-muted); font-weight: 500; line-height: 1.3; }

/* ─── SERVICES ──────────────────────────────────────────────── */
.services {
  padding: 100px 0;
  background: var(--bg-alt);
}
.services__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.service-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition);
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.service-card:hover::before { transform: scaleX(1); }

.service-card__icon {
  width: 56px; height: 56px;
  background: var(--blue-light);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.service-card__icon svg { width: 26px; height: 26px; color: var(--blue); }
.service-card h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 10px; }
.service-card p { font-size: .9rem; color: var(--text-muted); line-height: 1.6; }

/* ─── GALLERY ───────────────────────────────────────────────── */
.gallery {
  padding: 100px 0;
  background: var(--text);
  color: #fff;
}
.gallery .section-label { background: rgba(255,255,255,.12); color: rgba(255,255,255,.8); }
.gallery .section-header h2 { color: #fff; }

/* Grid: primera imagen ocupa 2/3, las otras dos 1/3 cada una apiladas */
.gallery__grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  grid-template-rows: 240px 240px;
  gap: 12px;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.gallery__cell {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
}
.gallery__cell--large {
  grid-row: 1 / 3;   /* ocupa ambas filas */
}
.gallery__cell img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform .5s ease;
}
.gallery__cell:hover img { transform: scale(1.05); }

.gallery__cell-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,30,60,.5) 0%, transparent 60%);
  opacity: 0;
  transition: opacity var(--transition);
}
.gallery__cell:hover .gallery__cell-overlay { opacity: 1; }

/* ─── CLIENTS ───────────────────────────────────────────────── */
.clients {
  padding: 80px 0;
  background: var(--bg);
}
.clients__logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}
.client-logo {
  height: 72px;
  min-width: 140px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  padding: 0 24px;
  color: var(--text-muted);
  font-weight: 600;
  font-size: .88rem;
  letter-spacing: .04em;
  transition: var(--transition);
}
.client-logo:hover { border-color: var(--blue); color: var(--blue); box-shadow: var(--shadow); }
.client-logo img {
  max-height: 44px;
  max-width: 150px;
  object-fit: contain;
}

/* ─── CERTIFICATIONS ────────────────────────────────────────── */
.certs {
  padding: 72px 0;
  background: var(--blue-light);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.certs__label {
  text-align: center;
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 40px;
}
.certs__row {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 40px;
}
.cert-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
}
.cert-icon {
  width: 80px; height: 80px;
  background: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 900;
  font-size: 1.3rem;
  color: var(--blue);
  box-shadow: var(--shadow);
}
.cert-item span { font-size: .88rem; font-weight: 600; color: var(--text-muted); max-width: 110px; line-height: 1.4; }

/* Cert item with real logo image */
.cert-item--logo {
  justify-content: center;
}
.cert-logo-img {
  height: 220px;
  width: auto;
  max-width: 460px;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,.12));
}

/* ─── CONTACT ───────────────────────────────────────────────── */
.contact {
  padding: 100px 0;
  background: var(--bg-alt);
}
.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 72px;
  align-items: start;
}
.contact__info .section-label { margin-bottom: 16px; }
.contact__info h2 {
  font-size: clamp(1.7rem, 2.5vw, 2.2rem);
  font-weight: 800;
  margin-bottom: 16px;
  line-height: 1.2;
}
.contact__info > p { color: var(--text-muted); margin-bottom: 32px; font-size: 1.02rem; }
.contact__list { display: flex; flex-direction: column; gap: 16px; }
.contact__list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: .95rem;
  color: var(--text-muted);
}
.contact__list svg { width: 18px; height: 18px; color: var(--blue); flex-shrink: 0; }

.contact__form {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.form-group label { font-size: .82rem; font-weight: 600; color: var(--text); }
.form-group input,
.form-group textarea {
  padding: 11px 16px;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  font-family: inherit;
  font-size: .93rem;
  color: var(--text);
  background: var(--bg);
  transition: var(--transition);
  outline: none;
  resize: vertical;
}
.form-group input:focus,
.form-group textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(26,111,191,.12); }
.form-group input::placeholder,
.form-group textarea::placeholder { color: #b0bac8; }

/* ─── FOOTER ────────────────────────────────────────────────── */
.footer {
  background: var(--text);
  color: rgba(255,255,255,.75);
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1.2fr;
  gap: 48px;
  padding: 72px 0 48px;
}
.footer__logo {
  display: flex;
  align-items: center;
  margin-bottom: 16px;
}
.footer__logo-img {
  height: 130px;
  width: auto;
  max-width: 340px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}
.footer__brand > p { font-size: .88rem; line-height: 1.7; margin-bottom: 24px; }

.footer__social { display: flex; gap: 10px; }
.footer__social a {
  width: 36px; height: 36px;
  border-radius: 8px;
  background: rgba(255,255,255,.08);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.65);
  transition: var(--transition);
}
.footer__social a svg { width: 16px; height: 16px; }
.footer__social a:hover { background: var(--blue); color: #fff; }

.footer__links h4 { color: #fff; font-size: .85rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 18px; }
.footer__links ul { display: flex; flex-direction: column; gap: 10px; }
.footer__links a { font-size: .88rem; transition: var(--transition); }
.footer__links a:hover { color: #fff; padding-left: 4px; }

.footer__certs h4 { color: #fff; font-size: .85rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 18px; }
.footer__cert-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.footer__cert-badge {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 12px;
  padding: 12px;
  text-align: center;
  font-weight: 700;
  font-size: .88rem;
  color: rgba(255,255,255,.8);
  line-height: 1.4;
  aspect-ratio: 1 / 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.footer__cert-badge small { font-size: .72rem; font-weight: 400; color: rgba(255,255,255,.5); }
/* Badge con imagen — mismo tamaño que los de texto */
.footer__cert-badge--logo {
  padding: 14px;
}
.footer__cert-badge--logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: .9;
}

.footer__bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 20px 0;
}
.footer__bottom .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.footer__bottom p { font-size: .8rem; }

/* ─── HEADER NAV CTA (Ver Asignaciones) ─────────────────────── */
.header__nav-cta {
  display: inline-flex !important;
  align-items: center;
  gap: 6px;
  padding: 8px 16px !important;
  background: var(--blue-light) !important;
  color: var(--blue) !important;
  border-radius: 8px !important;
  font-weight: 600 !important;
  font-size: .88rem !important;
  transition: var(--transition);
}
.header__nav-cta[hidden] { display: none !important; }
.header__nav-cta svg { width: 15px; height: 15px; }
.header__nav-cta:hover {
  background: var(--blue) !important;
  color: #fff !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(26,111,191,.3);
}
.header__nav-cta--active {
  background: var(--blue) !important;
  color: #fff !important;
}
.header__nav-cta--active:hover {
  background: var(--blue-dark) !important;
  transform: none;
}

/* ─── AUTH MODAL ────────────────────────────────────────────── */
.auth-modal {
  position: fixed;
  inset: 0;
  background: rgba(8,22,55,.55);
  backdrop-filter: blur(6px);
  z-index: 9000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease;
}
.auth-modal.open { opacity: 1; pointer-events: all; }

.auth-modal__box {
  background: #fff;
  border-radius: 20px;
  padding: 44px 36px 32px;
  width: 100%;
  max-width: 440px;
  position: relative;
  box-shadow: 0 24px 80px rgba(0,0,0,.25);
  transform: translateY(20px) scale(.97);
  transition: transform .3s ease;
  text-align: center;
}
.auth-modal.open .auth-modal__box { transform: translateY(0) scale(1); }

.auth-modal__close {
  position: absolute;
  top: 14px; right: 14px;
  width: 34px; height: 34px;
  border-radius: 10px;
  background: var(--bg-alt);
  border: none;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted);
  transition: var(--transition);
}
.auth-modal__close:hover { background: #fee2e2; color: #dc2626; }
.auth-modal__close svg { width: 16px; height: 16px; }

.auth-modal__icon {
  width: 72px; height: 72px;
  background: var(--blue-light);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
}
.auth-modal__icon svg { width: 34px; height: 34px; color: var(--blue); }

.auth-modal__box h2 {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 10px;
}
.auth-modal__box > p {
  color: var(--text-muted);
  font-size: .95rem;
  margin-bottom: 26px;
  line-height: 1.55;
}

.auth-modal__actions {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-bottom: 22px;
  flex-wrap: wrap;
}
.auth-modal__actions .btn {
  flex: 1;
  min-width: 130px;
  justify-content: center;
}
.btn--ghost-light {
  border: 2px solid var(--border);
  background: transparent;
  color: var(--text-muted);
}
.btn--ghost-light:hover {
  background: var(--bg-alt);
  border-color: var(--text-muted);
  color: var(--text);
}

.auth-modal__hint {
  font-size: .8rem;
  color: var(--text-muted);
  padding-top: 18px;
  border-top: 1px dashed var(--border);
  margin: 0;
}
.auth-modal__hint code {
  background: var(--blue-light);
  color: var(--blue);
  padding: 2px 7px;
  border-radius: 5px;
  font-family: 'Courier New', monospace;
  font-size: .78rem;
  font-weight: 600;
}

/* ─── WHATSAPP FLOAT ────────────────────────────────────────── */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 800;
  width: 58px; height: 58px;
  background: #25d366;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,.45);
  transition: var(--transition);
  overflow: hidden;
  padding: 10px;
}
.whatsapp-float img { width: 100%; height: 100%; object-fit: contain; filter: brightness(0) invert(1); }
.whatsapp-float:hover { transform: scale(1.1); box-shadow: 0 8px 32px rgba(37,211,102,.55); }

/* ─── MOBILE NAV OPEN ───────────────────────────────────────── */
.header__nav.open {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: var(--header-h);
  left: 0; right: 0;
  background: #fff;
  padding: 20px 24px 28px;
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  gap: 6px;
  z-index: 899;
}

/* ─── RESPONSIVE ─────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .services__grid { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .header__nav { display: none; }
  .header__social { display: none; }
  .hamburger { display: flex; }

  .about__grid { grid-template-columns: 1fr; gap: 48px; }
  .about__card--main { height: 280px; }
  .about__stats { grid-template-columns: repeat(3, 1fr); }

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

  .gallery__grid { grid-template-columns: 1fr; grid-template-rows: 240px 200px 200px; }
  .gallery__cell--large { grid-row: 1 / 2; }

  .contact__grid { grid-template-columns: 1fr; gap: 40px; }
  .contact__form { padding: 28px 20px; }
  .form-row { grid-template-columns: 1fr; }

  .footer__grid { grid-template-columns: 1fr; gap: 32px; padding: 48px 0 32px; }
  .footer__bottom .container { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  .hero__actions { flex-direction: column; }
  .hero__actions .btn { justify-content: center; }
  .gallery__grid { grid-template-rows: 200px 160px 160px; }
  .certs__row { gap: 16px; }
}
