/* =========================================================
   Persivilaseca — style.css
   Paleta: gris pizarra #37474F + ámbar #F57C00 · Estilo corporativo sólido
   ========================================================= */

/* ── Variables ── */
:root {
  --color-primary: #37474F;
  --color-primary-dark: #263238;
  --color-primary-rgb: 55, 71, 79;
  --color-accent: #F57C00;
  --color-accent-dark: #E65100;
  --color-accent-rgb: 245, 124, 0;

  --white: #ffffff;
  --bg-light: #f4f6f7;
  --bg-soft: #eceff1;
  --text: #263238;
  --text-light: #5b6b73;
  --border: #d7dde0;

  --container: 1180px;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 2px 10px rgba(38, 50, 56, .08);
  --shadow-md: 0 8px 28px rgba(38, 50, 56, .12);
  --header-h: 116px;
}

/* ── Fallback métrico de fuente (anti-CLS) ── */
@font-face {
  font-family: 'system-ui-fallback';
  src: local('Arial');
  size-adjust: 104%;
  ascent-override: 105%;
  descent-override: 35%;
  line-gap-override: 0%;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: 'Poppins', 'system-ui-fallback', system-ui, -apple-system, sans-serif;
  color: var(--text);
  line-height: 1.65;
  background: var(--white);
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--color-accent-dark); text-decoration: none; }
h1, h2, h3, h4 { line-height: 1.2; color: var(--color-primary); margin: 0 0 .5em; font-weight: 700; }
h1 { font-size: clamp(1.9rem, 4vw, 2.8rem); font-weight: 800; }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1rem; }
ul { margin: 0 0 1rem; padding-left: 1.2rem; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.section { padding: 72px 0; }
.section-alt { background: var(--bg-light); }
.section-dark { background: var(--color-primary); color: #e7ebed; }
.section-dark h2, .section-dark h3 { color: #fff; }

/* Etiqueta de sección */
.section-label {
  display: inline-block;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--color-accent-dark);
  margin-bottom: 10px;
}
.section-dark .section-label { color: #ffffff; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 48px; }
.section-head p { color: var(--text-light); }
.section-dark .section-head p { color: #cfd8dc; }

/* ── Botones ── */
.btn-primary, .btn-secondary {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: inherit; font-weight: 600; font-size: .98rem;
  padding: 13px 26px; border-radius: var(--radius-sm);
  cursor: pointer; border: 2px solid transparent; transition: all .18s ease; text-align: center;
}
.btn-primary {
  background: var(--color-accent); color: #fff; border-color: var(--color-accent);
  box-shadow: 0 4px 14px rgba(var(--color-accent-rgb), .35);
}
.btn-primary:hover { background: var(--color-accent-dark); border-color: var(--color-accent-dark); transform: translateY(-1px); }
.btn-secondary {
  background: transparent; color: var(--color-primary); border-color: var(--color-primary);
}
.btn-secondary:hover { background: var(--color-primary); color: #fff; }
/* R10 — botones secundarios sobre fondo oscuro */
.section-dark .btn-secondary,
.hero .btn-secondary,
.cta-final .btn-secondary,
.process .btn-secondary,
.zones .btn-secondary,
.service-cta .btn-secondary { color: #fff; border-color: rgba(255,255,255,.55); }
.section-dark .btn-secondary:hover,
.hero .btn-secondary:hover,
.cta-final .btn-secondary:hover,
.process .btn-secondary:hover,
.zones .btn-secondary:hover,
.service-cta .btn-secondary:hover { background: #fff; color: var(--color-primary); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* =========================================================
   HEADER
   ========================================================= */
.site-header { position: sticky; top: 0; z-index: 1000; background: #fff; box-shadow: var(--shadow); }
.header-top { background: var(--color-primary-dark); color: #eceff1; font-size: .85rem; }
.header-top-inner { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 7px 20px; }
.header-top-phone { color: #fff; font-weight: 600; }
.header-top-phone:hover { color: var(--color-accent); }
.header-main-inner { display: flex; align-items: center; gap: 24px; padding: 14px 20px; }
.logo { display: inline-flex; align-items: center; }
.logo img { height: 46px; width: auto; }
.nav-desktop { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.nav-desktop > a, .nav-link {
  font-weight: 600; color: var(--color-primary); padding: 10px 14px; border-radius: var(--radius-sm);
  background: none; border: none; font-family: inherit; font-size: .98rem; cursor: pointer;
}
.nav-desktop > a:hover, .nav-link:hover { background: var(--bg-soft); }
.nav-desktop a[aria-current="page"] { color: var(--color-accent-dark); }
.chevron { font-size: .7rem; }

/* Dropdown servicios */
.nav-dropdown { position: relative; }
.nav-dropdown-menu {
  position: absolute; top: 100%; left: 0; min-width: 250px; background: #fff;
  box-shadow: var(--shadow-md); border-radius: var(--radius-sm); padding: 8px;
  opacity: 0; visibility: hidden; transform: translateY(8px); transition: all .18s ease; z-index: 1100;
}
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown.open .nav-dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-dropdown-menu a { display: block; padding: 10px 14px; border-radius: 6px; color: var(--text); font-weight: 500; }
.nav-dropdown-menu a:hover { background: var(--bg-light); color: var(--color-accent-dark); }

.header-cta { padding: 11px 20px; }

/* Burger */
.burger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; }
.burger span { width: 26px; height: 3px; background: var(--color-primary); border-radius: 2px; transition: .2s; }
body.mobile-open .burger span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
body.mobile-open .burger span:nth-child(2) { opacity: 0; }
body.mobile-open .burger span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* Menú móvil — usa visibility (nunca display:none) */
.mobile-nav {
  position: fixed; top: var(--header-h); left: 0; right: 0; bottom: 0;
  background: #fff; padding: 20px; gap: 4px; flex-direction: column;
  visibility: hidden; opacity: 0; transform: translateX(100%);
  transition: transform .25s ease, opacity .25s ease, visibility .25s; overflow-y: auto; z-index: 999;
  display: flex;
}
body.mobile-open .mobile-nav { visibility: visible; opacity: 1; transform: translateX(0); }
.mobile-nav > a, .mobile-dropdown-toggle {
  font-weight: 600; color: var(--color-primary); padding: 14px 12px; border-radius: var(--radius-sm);
  background: none; border: none; font-family: inherit; font-size: 1.05rem; text-align: left; width: 100%; cursor: pointer;
  border-bottom: 1px solid var(--bg-soft);
}
.mobile-dropdown-toggle { display: flex; justify-content: space-between; align-items: center; }
.mobile-dropdown-menu { max-height: 0; overflow: hidden; transition: max-height .25s ease; }
.mobile-dropdown.open .mobile-dropdown-menu { max-height: 320px; }
.mobile-dropdown-menu a { display: block; padding: 12px 12px 12px 26px; color: var(--text); border-bottom: 1px solid var(--bg-light); }
.mobile-cta { margin-top: 16px; }

/* =========================================================
   HERO
   ========================================================= */
.hero { position: relative; color: #fff; background: var(--color-primary-dark); }
.hero-media { position: absolute; inset: 0; z-index: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; opacity: .32; }
.hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(120deg, rgba(38,50,56,.92) 0%, rgba(38,50,56,.62) 100%);
}
.hero-inner { position: relative; z-index: 2; padding: 86px 0; max-width: 760px; }
.hero h1 { color: #fff; margin-bottom: 16px; }
.hero p { font-size: 1.12rem; color: #eceff1; margin-bottom: 26px; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 22px; font-size: .92rem; color: #cfd8dc; }
.hero-badges span::before { content: "✓ "; color: var(--color-accent); font-weight: 700; }

/* =========================================================
   SERVICIOS / TARJETAS
   ========================================================= */
.cards-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 26px; }
.card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow); transition: transform .2s ease, box-shadow .2s ease; display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.card-img-wrapper { height: 200px; overflow: hidden; }
.card-img-wrapper img { width: 100%; height: 100%; object-fit: cover; }
.card-body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.card-body h3 { margin-bottom: 8px; }
.card-body p { color: var(--text-light); font-size: .95rem; flex: 1; }
.card-link { margin-top: 12px; font-weight: 600; color: var(--color-accent-dark); }
.card-link::after { content: " →"; }

/* Lista de ventajas / por qué elegirnos */
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; }
.feature { background: #fff; border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); }
.feature .icon { width: 46px; height: 46px; border-radius: 10px; background: rgba(var(--color-accent-rgb), .12); display: flex; align-items: center; justify-content: center; margin-bottom: 14px; color: var(--color-accent-dark); font-size: 1.4rem; }
.feature h3 { font-size: 1.05rem; }
.feature p { color: var(--text-light); font-size: .93rem; margin: 0; }

/* Imagen + texto (servicios destacados en home) */
.media-row { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.media-row.reverse .media-row-img { order: 2; }
.media-row-img { height: 320px; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.media-row-img img { width: 100%; height: 100%; object-fit: cover; }

/* =========================================================
   PROCESO (oscuro)
   ========================================================= */
.process .steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 26px; counter-reset: step; }
.step { text-align: left; }
.step .step-num { width: 42px; height: 42px; border-radius: 50%; background: var(--color-accent); color: #fff; font-weight: 700; display: flex; align-items: center; justify-content: center; margin-bottom: 12px; }
.step h3 { font-size: 1.05rem; }
.step p { color: #cfd8dc; font-size: .92rem; }

/* =========================================================
   COSTE
   ========================================================= */
.cost-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 22px; }
.cost-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.cost-level { display: inline-block; font-weight: 700; font-size: .82rem; letter-spacing: 1px; text-transform: uppercase; padding: 5px 12px; border-radius: 20px; background: rgba(var(--color-accent-rgb), .12); color: var(--color-accent-dark); margin-bottom: 10px; }
.cost-card p { font-size: .93rem; color: var(--text-light); margin: 0; }
.cost-note { text-align: center; color: var(--text-light); margin-top: 26px; font-size: .92rem; }

/* =========================================================
   RESEÑAS
   ========================================================= */
.reviews-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.review-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.review-stars { color: #F5A623; letter-spacing: 2px; margin-bottom: 10px; }
.review-body { font-size: .95rem; color: var(--text); margin-bottom: 14px; }
.review-meta { font-size: .85rem; color: var(--text-light); font-weight: 600; }
.review-meta .review-date { font-weight: 400; }
.reviews-summary { text-align: center; margin-bottom: 36px; }
.reviews-summary .rating { font-size: 2.4rem; font-weight: 800; color: var(--color-primary); }
.reviews-summary .stars { color: #F5A623; font-size: 1.3rem; letter-spacing: 3px; }

/* =========================================================
   ZONAS (oscuro)
   ========================================================= */
.zones .zones-list { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin: 26px 0; }
.zones .zones-list span { background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); padding: 8px 16px; border-radius: 24px; font-size: .92rem; }
.zones p { text-align: center; color: #cfd8dc; }

/* =========================================================
   FAQ (acordeón)
   ========================================================= */
.faq-list { max-width: 820px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-question {
  width: 100%; text-align: left; background: none; border: none; cursor: pointer;
  font-family: inherit; font-size: 1.05rem; font-weight: 600; color: var(--color-primary);
  padding: 20px 40px 20px 0; position: relative;
}
.faq-question::after { content: "+"; position: absolute; right: 6px; top: 50%; transform: translateY(-50%); font-size: 1.5rem; color: var(--color-accent-dark); transition: transform .2s; }
.faq-item.open .faq-question::after { content: "−"; }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height .25s ease; }
.faq-item.open .faq-answer { max-height: 500px; }
.faq-answer p { padding: 0 0 20px; color: var(--text-light); margin: 0; }

/* =========================================================
   CTA FINAL
   ========================================================= */
.cta-final { background: linear-gradient(120deg, var(--color-primary) 0%, var(--color-primary-dark) 100%); color: #fff; text-align: center; }
.cta-final h2 { color: #fff; }
.cta-final p { color: #cfd8dc; max-width: 620px; margin: 0 auto 26px; }
.cta-final .btn-row { justify-content: center; }

/* =========================================================
   BREADCRUMB
   ========================================================= */
.breadcrumb { background: var(--bg-light); font-size: .88rem; }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 12px 0; }
.breadcrumb li::after { content: "›"; margin-left: 8px; color: var(--text-light); }
.breadcrumb li:last-child::after { content: ""; }
.breadcrumb a { color: var(--text-light); }
.breadcrumb [aria-current="page"] { color: var(--color-primary); font-weight: 600; }

/* =========================================================
   SECCIÓN DE CONTACTO
   ========================================================= */
.contact-section { background: var(--bg-light); padding: 72px 0; }
.contact-header { text-align: center; margin-bottom: 40px; }
.contact-header p { color: var(--text-light); max-width: 620px; margin: 0 auto; }
.contact-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; align-items: start; }
.contact-form-wrap { background: #fff; padding: 32px; border-radius: var(--radius); box-shadow: var(--shadow); }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-weight: 600; font-size: 14px; margin-bottom: 6px; color: var(--text); }
.form-group input:not([type="checkbox"]):not([type="radio"]), .form-group textarea {
  width: 100%; padding: 12px 16px; border: 1px solid var(--border); border-radius: var(--radius-sm);
  font-family: inherit; font-size: 15px; transition: border-color .2s; box-sizing: border-box; background: #fff; color: var(--text);
}
.form-group input:not([type="checkbox"]):not([type="radio"]):focus, .form-group textarea:focus {
  outline: none; border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(var(--color-accent-rgb), .15);
}
.hp-field { position: absolute; left: -9999px; top: -9999px; width: 1px; height: 1px; }

/* Checkbox RGPD */
.form-checkbox { margin-bottom: 24px; }
.checkbox-label { display: flex; align-items: flex-start; gap: 10px; cursor: pointer; font-weight: 400; line-height: 1.4; }
.checkbox-label input[type="checkbox"] { position: absolute; opacity: 0; width: 0; height: 0; }
.checkbox-custom { flex: 0 0 22px; width: 22px; height: 22px; min-width: 22px; aspect-ratio: 1 / 1; box-sizing: border-box; border: 2px solid var(--border); border-radius: 4px; margin-top: 1px; transition: all .15s ease; position: relative; background: #fff; display: inline-block; }
.checkbox-custom::after { content: ''; position: absolute; left: 6px; top: 2px; width: 6px; height: 11px; border: solid #fff; border-width: 0 2.5px 2.5px 0; transform: rotate(45deg) scale(0); transition: transform .15s ease; }
.checkbox-label input[type="checkbox"]:checked + .checkbox-custom { background: var(--color-accent); border-color: var(--color-accent); }
.checkbox-label input[type="checkbox"]:checked + .checkbox-custom::after { transform: rotate(45deg) scale(1); }
.checkbox-label input[type="checkbox"]:focus-visible + .checkbox-custom { box-shadow: 0 0 0 3px rgba(var(--color-accent-rgb), .35); }
.checkbox-text { font-size: 13px; color: var(--text-light); }
.checkbox-text a { color: var(--color-accent-dark); text-decoration: underline; }
.btn-submit { width: 100%; }
.form-message { margin-top: 14px; font-weight: 600; font-size: .95rem; }
.captcha-group input { max-width: 220px; }

/* Tarjetas de info de contacto */
.contact-info-wrap { display: flex; flex-direction: column; gap: 18px; }
.contact-info-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); }
.contact-info-card h3 { font-size: 1rem; margin-bottom: 8px; }
.contact-phone { font-size: 1.5rem; font-weight: 800; color: var(--color-accent-dark); }
.contact-schedule { font-size: .88rem; color: var(--text-light); margin: 4px 0 0; }
.contact-nap { font-style: normal; font-size: .92rem; color: var(--text-light); line-height: 1.6; }
.contact-nap strong { color: var(--text); }
.contact-zonas { font-size: .9rem; color: var(--text-light); margin: 0; }

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer { background: var(--color-primary-dark); color: #b0bec5; padding: 56px 0 0; font-size: .92rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 36px; padding-bottom: 36px; }
.footer-logo img { height: 44px; width: auto; margin-bottom: 14px; }
.footer-tagline { color: #90a4ae; font-size: .88rem; }
.footer-col h3 { color: #fff; font-size: 1rem; margin-bottom: 14px; }
.footer-col a { display: block; color: #b0bec5; padding: 5px 0; }
.footer-col a:hover { color: var(--color-accent); }
.footer-nap { font-style: normal; color: #b0bec5; line-height: 1.7; margin-bottom: 10px; }
.footer-nap strong { color: #fff; }
.footer-schedule { color: #90a4ae; font-size: .85rem; margin: 8px 0 0; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding: 20px 0; text-align: center; color: #90a4ae; font-size: .85rem; }
.footer-bottom p { margin: 0; }

/* =========================================================
   COOKIE BANNER (sin CLS)
   ========================================================= */
#cookie-banner {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 2000;
  background: var(--color-primary-dark); color: #eceff1; box-shadow: 0 -4px 20px rgba(0,0,0,.25);
  transform: translateY(100%); transition: transform .25s ease;
}
.cookie-inner { max-width: var(--container); margin: 0 auto; padding: 16px 20px; display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.cookie-text { margin: 0; font-size: .9rem; flex: 1; min-width: 240px; }
.cookie-text a { color: var(--color-accent); }
.cookie-actions { display: flex; gap: 10px; }
.cookie-btn { padding: 9px 18px; font-size: .9rem; }
#cookie-banner .btn-secondary { color: #fff; border-color: rgba(255,255,255,.5); }
#cookie-banner .btn-secondary:hover { background: #fff; color: var(--color-primary); }

/* =========================================================
   UTILIDADES / ACCESIBILIDAD
   ========================================================= */
.text-center { text-align: center; }
.mt-2 { margin-top: 24px; }
:focus-visible { outline: 3px solid var(--color-accent); outline-offset: 2px; }
.skip-link { position: absolute; left: -999px; top: 0; background: var(--color-accent); color: #fff; padding: 10px 16px; z-index: 3000; }
.skip-link:focus { left: 0; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 980px) {
  :root { --header-h: 104px; }
  .nav-desktop, .header-cta { display: none; }
  .burger { display: flex; }
  .media-row, .contact-grid { grid-template-columns: 1fr; gap: 28px; }
  .media-row.reverse .media-row-img { order: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
}
@media (max-width: 600px) {
  .section, .contact-section { padding: 52px 0; }
  .hero-inner { padding: 60px 0; }
  .footer-grid { grid-template-columns: 1fr; }
  .header-top-msg { display: none; }
  .header-top-inner { justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* =========================================================
   PÁGINAS LEGALES Y 404
   ========================================================= */
.page-header { background: var(--color-primary); color: #fff; padding: 56px 0 48px; }
.page-header h1 { color: #fff; margin: 0; }
.page-header p { color: #cfd8dc; margin: 8px 0 0; }
.legal-content { max-width: 840px; margin: 0 auto; }
.legal-content h2 { margin-top: 1.8em; font-size: 1.3rem; }
.legal-content h3 { margin-top: 1.3em; font-size: 1.08rem; }
.legal-content p, .legal-content li { color: var(--text-light); }
.legal-content a { color: var(--color-accent-dark); text-decoration: underline; }
.error-404 { text-align: center; padding: 80px 0; }
.error-404 .code { font-size: clamp(4rem, 14vw, 8rem); font-weight: 800; color: var(--color-accent); line-height: 1; }
.error-404 h1 { font-size: 1.6rem; margin: 8px 0 14px; }
.error-404 p { color: var(--text-light); max-width: 520px; margin: 0 auto 26px; }
.error-404 .error-links { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

/* =========================================================
   TABLAS COMPARATIVAS
   ========================================================= */
.table-wrap { overflow-x: auto; margin: 8px 0; }
.compare-table { width: 100%; border-collapse: collapse; font-size: .95rem; min-width: 520px; }
.compare-table th, .compare-table td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--border); vertical-align: top; }
.compare-table thead th { background: var(--color-primary); color: #fff; font-weight: 600; }
.compare-table tbody tr:nth-child(even) { background: var(--bg-light); }
.compare-table caption { caption-side: bottom; color: var(--text-light); font-size: .85rem; padding-top: 10px; text-align: left; }
.error-404 .error-404-sub { font-size: 1.2rem; margin: 48px 0 4px; color: var(--color-primary); }
.form-noscript { margin-top: 14px; font-size: .9rem; color: #b00020; }
.form-noscript a { color: var(--color-accent-dark); font-weight: 600; }

/* =========================================================
   GALERÍA DE TRABAJOS
   ========================================================= */
.gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.gallery figure { margin: 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: #fff; }
.gallery img { width: 100%; height: 220px; object-fit: cover; display: block; }
.gallery figcaption { padding: 10px 14px; font-size: .88rem; color: var(--text-light); }
