/* ============================================================
   REFORMAS ARNIA — style.css v1
   ============================================================ */

/* ── Variables ─────────────────────────────────────────────── */
:root {
  --primary:       #1a2a4a;
  --primary-dark:  #0f1c33;
  --primary-light: #243660;
  --accent:        #f5a623;
  --accent-dark:   #d4891a;
  --text:          #1e2533;
  --text-muted:    #5a6478;
  --white:         #ffffff;
  --off-white:     #f8f9fb;
  --border:        #e2e6ed;
  --shadow:        0 4px 24px rgba(26,42,74,.10);
  --shadow-lg:     0 12px 40px rgba(26,42,74,.16);
  --radius:        8px;
  --radius-lg:     14px;
  --nav-h:         72px;
  --font-display:  Georgia, "Palatino Linotype", serif;
  --font-body:     -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  --transition:    .22s ease;
}

/* ── Reset & Base ───────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }

/* ── Typography ─────────────────────────────────────────────── */
h1, h2, h3 { font-family: var(--font-display); line-height: 1.22; color: var(--primary); }
h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.45rem); }
p  { max-width: 68ch; color: var(--text-muted); }

/* ── Layout ─────────────────────────────────────────────────── */
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 1.25rem; }
section { padding: 5rem 0; }

/* ── Buttons ─────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .8rem 1.75rem; border-radius: var(--radius);
  font-size: .95rem; font-weight: 600; transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
}
.btn:active { transform: translateY(1px) scale(.985); }
.btn-primary {
  background: var(--accent); color: var(--primary);
  box-shadow: 0 4px 14px rgba(245,166,35,.35);
}
.btn-primary:hover { background: var(--accent-dark); box-shadow: 0 6px 20px rgba(245,166,35,.45); }
.btn-outline {
  background: transparent; color: var(--white);
  border: 2px solid rgba(255,255,255,.6);
}
.btn-outline:hover { background: rgba(255,255,255,.1); border-color: var(--white); }
.btn-dark { background: var(--primary); color: var(--white); }
.btn-dark:hover { background: var(--primary-dark); }
.btn-wa { background: #25D366; color: var(--white); }
.btn-wa:hover { background: #1dab52; }
.btn-sm { padding: .55rem 1.25rem; font-size: .875rem; }

/* ── Navbar ──────────────────────────────────────────────────── */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 900;
  height: var(--nav-h);
  background: transparent;
  transition: background var(--transition), box-shadow var(--transition);
  will-change: background;
}
.navbar.scrolled {
  background: var(--primary-dark);
  box-shadow: 0 2px 16px rgba(0,0,0,.25);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 100%;
}
.nav-logo { display: flex; align-items: center; gap: .6rem; }
.nav-logo img { height: 44px; width: auto; }
.nav-logo-text { font-family: var(--font-display); font-size: 1.35rem; color: var(--white); letter-spacing: .02em; }
.nav-logo-text span { color: var(--accent); }

.nav-menu { display: flex; align-items: center; gap: 2rem; }
.nav-menu a {
  color: rgba(255,255,255,.88); font-size: .9rem; font-weight: 500;
  transition: color var(--transition); position: relative; padding-bottom: 2px;
}
.nav-menu a::after {
  content: ''; position: absolute; bottom: -2px; left: 0; width: 0; height: 2px;
  background: var(--accent); transition: width var(--transition);
}
.nav-menu a:hover { color: var(--white); }
.nav-menu a:hover::after { width: 100%; }

.nav-ctas { display: flex; align-items: center; gap: .75rem; }
.nav-tel {
  display: flex; align-items: center; gap: .4rem;
  color: var(--white); font-size: .875rem; font-weight: 600;
  background: var(--primary-light); padding: .45rem .9rem; border-radius: var(--radius);
  transition: background var(--transition);
}
.nav-tel:hover { background: var(--primary); }
.nav-tel svg { width: 16px; height: 16px; flex-shrink: 0; }

.hamburger {
  display: none; flex-direction: column; gap: 5px;
  padding: .5rem; cursor: pointer;
}
.hamburger span {
  width: 24px; height: 2px; background: var(--white);
  transition: transform var(--transition), opacity var(--transition);
  display: block;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 900px) {
  .hamburger { display: flex; }
  .nav-menu {
    position: fixed; top: var(--nav-h); left: 0; right: 0;
    background: var(--primary-dark); flex-direction: column; align-items: flex-start;
    gap: 0; padding: 1rem 0; transform: translateY(-110%);
    transition: transform var(--transition); box-shadow: 0 8px 24px rgba(0,0,0,.3);
    z-index: 899;
  }
  .nav-menu.open { transform: translateY(0); }
  .nav-menu a { padding: .85rem 1.5rem; width: 100%; border-bottom: 1px solid rgba(255,255,255,.08); }
  .nav-menu a::after { display: none; }
  .nav-ctas { display: none; }
}

/* ── Hero ─────────────────────────────────────────────────────── */
.hero {
  position: relative; min-height: 100dvh;
  display: flex; align-items: center;
  background: var(--primary-dark);
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background-image: url('/img/hero-bg.webp');
  background-size: cover; background-position: center;
  will-change: transform;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(110deg, rgba(15,28,51,.82) 55%, rgba(15,28,51,.45));
}
.hero-content {
  position: relative; z-index: 2;
  max-width: 640px; padding-top: var(--nav-h);
}
.hero-badge {
  display: inline-flex; align-items: center; gap: .5rem;
  background: rgba(245,166,35,.18); border: 1px solid rgba(245,166,35,.4);
  color: var(--accent); padding: .35rem .9rem; border-radius: 50px;
  font-size: .825rem; font-weight: 600; margin-bottom: 1.4rem; letter-spacing: .04em;
}
.hero h1 { color: var(--white); margin-bottom: 1.2rem; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero-sub { color: rgba(255,255,255,.78); font-size: 1.125rem; margin-bottom: 2rem; max-width: 52ch; }
.hero-btns { display: flex; gap: 1rem; flex-wrap: wrap; }

/* ── Features strip ──────────────────────────────────────────── */
.features {
  background: var(--primary); padding: 2.8rem 0;
}
.features-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem;
}
.feature-item {
  display: flex; align-items: flex-start; gap: 1rem;
}
.feature-icon {
  width: 48px; height: 48px; border-radius: var(--radius);
  background: rgba(245,166,35,.18);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.feature-icon svg { width: 24px; height: 24px; color: var(--accent); }
.feat-title { font-size: .95rem; font-weight: 700; color: var(--white); margin-bottom: .25rem; }
.feature-item p { font-size: .85rem; color: rgba(255,255,255,.62); margin: 0; max-width: none; }

@media (max-width: 768px) {
  .features-grid { grid-template-columns: 1fr 1fr; gap: 1.2rem; }
}
@media (max-width: 480px) {
  .features-grid { grid-template-columns: 1fr; }
}

/* ── Nosotros ─────────────────────────────────────────────────── */
.nosotros-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center;
}
.nosotros-img { border-radius: var(--radius-lg); overflow: hidden; }
.nosotros-img img { width: 100%; height: 520px; object-fit: cover; }
.section-label {
  display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--accent); margin-bottom: .75rem;
}
.nosotros-content h2 { margin-bottom: 1.25rem; }
.nosotros-content p { margin-bottom: 1.5rem; }
.nosotros-list { margin-bottom: 2rem; }
.nosotros-list li {
  display: flex; align-items: center; gap: .75rem;
  padding: .6rem 0; border-bottom: 1px solid var(--border); color: var(--text); font-size: .95rem;
}
.nosotros-list li svg { width: 18px; height: 18px; color: var(--accent); flex-shrink: 0; }

@media (max-width: 820px) {
  .nosotros-grid { grid-template-columns: 1fr; gap: 2rem; }
  .nosotros-img img { height: 320px; }
}

/* ── Servicios grid ──────────────────────────────────────────── */
.section-header { text-align: center; margin-bottom: 3rem; }
.section-header h2 { margin-bottom: .75rem; }
.section-header p { max-width: 58ch; margin: 0 auto; }

.servicios-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem;
}
.servicio-card {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  aspect-ratio: 4/3; cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition);
}
.servicio-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.servicio-card img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .45s ease;
}
.servicio-card:hover img { transform: scale(1.05); }
.servicio-card-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(15,28,51,.9) 40%, rgba(15,28,51,.3) 100%);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 1.5rem;
}
.servicio-num {
  font-size: .75rem; font-weight: 700; letter-spacing: .12em;
  color: var(--accent); margin-bottom: .4rem;
}
.servicio-card h3 { color: var(--white); margin-bottom: .4rem; font-size: 1.1rem; }
.servicio-card p { color: rgba(255,255,255,.72); font-size: .875rem; margin-bottom: .85rem; max-width: none; }
.servicio-link {
  display: inline-flex; align-items: center; gap: .35rem;
  color: var(--accent); font-size: .85rem; font-weight: 600;
  transition: gap var(--transition);
}
.servicio-link:hover { gap: .6rem; }

@media (max-width: 900px) {
  .servicios-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .servicios-grid { grid-template-columns: 1fr; }
}

/* ── Proceso ─────────────────────────────────────────────────── */
.proceso { background: var(--primary); }
.proceso .section-header h2 { color: var(--white); }
.proceso .section-header p { color: rgba(255,255,255,.65); }
.proceso-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem;
}
.proceso-step {
  text-align: center; padding: 2rem 1.25rem;
  background: rgba(255,255,255,.05); border-radius: var(--radius-lg);
  border: 1px solid rgba(255,255,255,.1);
}
.step-num {
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--accent); color: var(--primary);
  font-size: 1.25rem; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.25rem;
}
.step-title { font-size: 1.05rem; font-weight: 700; color: var(--white); margin-bottom: .6rem; }
.proceso-step p { color: rgba(255,255,255,.62); font-size: .9rem; margin: 0; max-width: none; }

@media (max-width: 768px) {
  .proceso-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .proceso-grid { grid-template-columns: 1fr; }
}

/* ── Testimonios ────────────────────────────────────────────── */
.testimonios { background: var(--off-white); }
.testimonios-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem;
}
.testimonio-card {
  background: var(--white); border-radius: var(--radius-lg);
  padding: 1.75rem; box-shadow: var(--shadow);
  border: 1px solid var(--border);
}
.testimonio-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1rem; }
.testimonio-stars { display: flex; gap: .2rem; color: #fbbf24; font-size: 1rem; }
.google-badge {
  display: flex; align-items: center; gap: .35rem;
  font-size: .75rem; color: var(--text-muted); font-weight: 600;
}
.google-badge svg { width: 18px; height: 18px; }
.testimonio-card p { font-size: .95rem; line-height: 1.7; margin-bottom: 1.25rem; color: var(--text); max-width: none; }
.testimonio-author { font-weight: 700; font-size: .875rem; color: var(--primary); }
.testimonio-date { font-size: .8rem; color: var(--text-muted); }

@media (max-width: 820px) {
  .testimonios-grid { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; }
}

/* ── FAQ ─────────────────────────────────────────────────────── */
.faq-list { max-width: 780px; margin: 0 auto; }
.faq-item {
  border-bottom: 1px solid var(--border); overflow: hidden;
}
.faq-question {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.25rem 0; cursor: pointer; gap: 1rem;
  font-weight: 600; font-size: 1.025rem; color: var(--primary);
  transition: color var(--transition);
}
.faq-question:hover { color: var(--accent-dark); }
.faq-icon {
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--off-white); display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; font-size: 1.2rem; color: var(--accent);
  transition: transform var(--transition), background var(--transition);
}
.faq-item.open .faq-icon { transform: rotate(45deg); background: var(--accent); color: var(--white); }
.faq-answer {
  max-height: 0; overflow: hidden;
  transition: max-height .35s ease, padding .35s ease;
}
.faq-answer-inner { padding-bottom: 1.25rem; color: var(--text-muted); line-height: 1.75; }
.faq-item.open .faq-answer { max-height: 400px; }

/* ── Galería ────────────────────────────────────────────────── */
.galeria { background: var(--off-white); }
.galeria-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: 240px 240px;
  gap: 1rem; border-radius: var(--radius-lg); overflow: hidden;
}
.galeria-item { overflow: hidden; position: relative; }
.galeria-item:first-child { grid-row: 1 / 3; }
.galeria-item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .45s ease;
}
.galeria-item:hover img { transform: scale(1.06); }

@media (max-width: 768px) {
  .galeria-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }
  .galeria-item:first-child { grid-row: auto; }
  .galeria-item { height: 200px; }
}

/* ── Stats ──────────────────────────────────────────────────── */
.stats { background: var(--primary); padding: 3.5rem 0; }
.stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1rem; text-align: center;
}
.stat-num {
  font-family: var(--font-display); font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700; color: var(--accent);
}
.stat-label { font-size: .875rem; color: rgba(255,255,255,.65); margin-top: .25rem; }

@media (max-width: 640px) {
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}

/* ── CTA Banner ─────────────────────────────────────────────── */
.cta-banner {
  background: linear-gradient(110deg, var(--accent) 0%, var(--accent-dark) 100%);
  padding: 3.5rem 0;
}
.cta-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 2rem; flex-wrap: wrap;
}
.cta-banner h2 { color: var(--primary); margin-bottom: .4rem; }
.cta-banner p { color: rgba(26,42,74,.72); max-width: none; }
.cta-buttons { display: flex; gap: 1rem; flex-wrap: wrap; }

/* ── Footer ─────────────────────────────────────────────────── */
.footer { background: var(--primary-dark); padding: 4rem 0 2rem; }
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem;
  border-bottom: 1px solid rgba(255,255,255,.1); padding-bottom: 3rem; margin-bottom: 2rem;
}
.footer-logo { display: flex; align-items: center; gap: .6rem; margin-bottom: 1rem; }
.footer-logo img { height: 44px; }
.footer-logo-text { font-family: var(--font-display); font-size: 1.25rem; color: var(--white); }
.footer-logo-text span { color: var(--accent); }
.footer-desc { color: rgba(255,255,255,.55); font-size: .9rem; line-height: 1.7; margin-bottom: 1.5rem; max-width: none; }
.footer-socials { display: flex; gap: .75rem; }
.footer-social {
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,.1);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.7); transition: background var(--transition), color var(--transition);
}
.footer-social:hover { background: var(--accent); color: var(--primary); }
.footer-social svg { width: 16px; height: 16px; }

.footer-heading { font-size: .8rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); margin-bottom: 1.1rem; }
.footer-links { display: flex; flex-direction: column; gap: .55rem; }
.footer-links a { color: rgba(255,255,255,.6); font-size: .9rem; transition: color var(--transition); }
.footer-links a:hover { color: var(--white); }

.footer-contact-item {
  display: flex; align-items: flex-start; gap: .75rem;
  margin-bottom: .85rem;
}
.footer-contact-item svg { width: 16px; height: 16px; color: var(--accent); margin-top: .2rem; flex-shrink: 0; }
.footer-contact-item span { color: rgba(255,255,255,.6); font-size: .875rem; line-height: 1.5; }

.footer-bottom {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 1rem;
}
.footer-bottom p { font-size: .825rem; color: rgba(255,255,255,.4); max-width: none; }
.footer-bottom a { color: rgba(255,255,255,.4); transition: color var(--transition); }
.footer-bottom a:hover { color: var(--white); }
.footer-cookie-btn {
  font-size: .8rem; color: rgba(255,255,255,.4); text-decoration: underline;
  cursor: pointer; transition: color var(--transition); background: none; border: none;
}
.footer-cookie-btn:hover { color: var(--white); }

@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
}

/* ── Mobile Bottom Bar ──────────────────────────────────────── */
.mobile-bar {
  display: none;
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 800;
  background: var(--white); box-shadow: 0 -2px 16px rgba(0,0,0,.15);
  height: 58px;
}
.mobile-bar-inner { display: grid; grid-template-columns: 1fr 1fr; height: 100%; }
.mobile-bar-btn {
  display: flex; align-items: center; justify-content: center; gap: .5rem;
  font-size: .875rem; font-weight: 700; height: 100%; transition: opacity var(--transition);
}
.mobile-bar-btn:hover { opacity: .88; }
.mobile-bar-btn.tel { background: var(--primary); color: var(--white); }
.mobile-bar-btn.wa  { background: #25D366; color: var(--white); }
.mobile-bar-btn svg { width: 18px; height: 18px; }

@media (max-width: 768px) {
  .mobile-bar { display: block; }
  body { padding-bottom: 58px; }
  .cookie-banner { bottom: 58px !important; }
}

/* ── Breadcrumb ─────────────────────────────────────────────── */
.breadcrumb { font-size: .85rem; color: var(--text-muted); margin-bottom: 1.25rem; }
.breadcrumb a { color: var(--primary); }
.breadcrumb a:hover { color: var(--accent-dark); }
.breadcrumb span[aria-hidden] { margin: 0 .4rem; color: var(--text-muted); }

/* ── Page Hero (interior pages) ─────────────────────────────── */
.page-hero {
  background: var(--primary); padding: 6rem 0 3.5rem;
  position: relative; overflow: hidden;
}
.page-hero-bg {
  position: absolute; inset: 0; opacity: .12;
  background-image: url('/img/hero-bg.webp');
  background-size: cover; background-position: center;
}
.page-hero .breadcrumb { color: rgba(255,255,255,.6); position: relative; z-index: 1; }
.page-hero .breadcrumb a { color: rgba(255,255,255,.8); }
.page-hero h1 { color: var(--white); position: relative; z-index: 1; margin-bottom: .75rem; }
.page-hero-sub { color: rgba(255,255,255,.7); position: relative; z-index: 1; max-width: 58ch; }

/* ── Servicio Detail Layout ─────────────────────────────────── */
.servicio-layout {
  display: grid; grid-template-columns: 1fr 320px; gap: 3rem; align-items: start;
}
.servicio-main img {
  width: 100%; border-radius: var(--radius-lg); margin-bottom: 2rem;
  aspect-ratio: 16/9; object-fit: cover;
}
.servicio-main h2 { margin: 2rem 0 1rem; }
.servicio-main p { margin-bottom: 1.25rem; color: var(--text); }

.benefits-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin: 2rem 0;
}
.benefit-item {
  background: var(--off-white); border-radius: var(--radius);
  padding: 1.25rem; border-left: 3px solid var(--accent);
}
.benefit-item svg { width: 24px; height: 24px; color: var(--accent); margin-bottom: .5rem; }
.benefit-item h3 { font-size: 1rem; margin-bottom: .4rem; }
.benefit-item p { font-size: .9rem; margin: 0; max-width: none; }

/* Sidebar */
.sidebar { position: sticky; top: calc(var(--nav-h) + 1.5rem); }
.sidebar-widget {
  background: var(--off-white); border-radius: var(--radius-lg);
  padding: 1.5rem; margin-bottom: 1.5rem; border: 1px solid var(--border);
}
.sidebar-widget h3 { font-size: 1.05rem; margin-bottom: 1rem; }
.sidebar-service-list { display: flex; flex-direction: column; gap: .4rem; }
.sidebar-service-list a {
  padding: .6rem .75rem; border-radius: var(--radius);
  color: var(--text); font-size: .9rem;
  transition: background var(--transition), color var(--transition);
  display: flex; align-items: center; gap: .5rem;
}
.sidebar-service-list a:hover, .sidebar-service-list a.active {
  background: var(--primary); color: var(--white);
}
.sidebar-service-list a svg { width: 14px; height: 14px; flex-shrink: 0; }
.sidebar-cta {
  background: var(--primary); border-radius: var(--radius-lg);
  padding: 1.75rem; text-align: center;
}
.sidebar-cta p { font-size: .9rem; color: rgba(255,255,255,.7); margin-bottom: 1.25rem; max-width: none; }
.sidebar-cta h3 { color: var(--white); margin-bottom: .5rem; }
.sidebar-cta .btn { width: 100%; justify-content: center; margin-bottom: .6rem; }

@media (max-width: 900px) {
  .servicio-layout { grid-template-columns: 1fr; }
  .sidebar { position: static; }
}

/* ── Servicios Paraguas ─────────────────────────────────────── */
.servicios-paraguas {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem;
}
.servicio-paraguas-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
}
.servicio-paraguas-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.servicio-paraguas-card img { width: 100%; height: 200px; object-fit: cover; }
.servicio-paraguas-body { padding: 1.25rem; }
.servicio-paraguas-body h3 { margin-bottom: .5rem; }
.servicio-paraguas-body p { font-size: .9rem; margin-bottom: 1rem; }

@media (max-width: 820px) {
  .servicios-paraguas { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 540px) {
  .servicios-paraguas { grid-template-columns: 1fr; }
}

/* ── Contacto page ──────────────────────────────────────────── */
.contacto-layout {
  display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start;
}
.contact-form-wrap { background: var(--off-white); border-radius: var(--radius-lg); padding: 2.5rem; }
.form-group { margin-bottom: 1.25rem; }
.form-group label { display: block; font-size: .875rem; font-weight: 600; color: var(--primary); margin-bottom: .45rem; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: .8rem 1rem; border: 1.5px solid var(--border);
  border-radius: var(--radius); font-size: .95rem; font-family: inherit;
  background: var(--white); color: var(--text);
  transition: border-color var(--transition), box-shadow var(--transition);
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none; border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(26,42,74,.12);
}
.form-group textarea { height: 140px; resize: vertical; }
.form-msg {
  display: none; padding: .9rem 1.25rem; border-radius: var(--radius);
  font-size: .9rem; margin-bottom: 1rem;
}
.form-msg.ok { background: #d1fae5; color: #065f46; display: block; }
.form-msg.err { background: #fee2e2; color: #991b1b; display: block; }
.contact-info-item {
  display: flex; align-items: flex-start; gap: 1rem; margin-bottom: 1.5rem;
}
.contact-icon {
  width: 44px; height: 44px; border-radius: var(--radius);
  background: var(--primary); display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.contact-icon svg { width: 20px; height: 20px; color: var(--white); }
.contact-info-text strong { display: block; font-size: .875rem; color: var(--primary); margin-bottom: .2rem; }
.contact-info-text span { font-size: .9rem; color: var(--text-muted); }
.map-wrap { border-radius: var(--radius-lg); overflow: hidden; margin-top: 2rem; }
.map-wrap iframe { display: block; width: 100%; height: 300px; border: none; }

@media (max-width: 820px) {
  .contacto-layout { grid-template-columns: 1fr; }
}

/* ── Legal pages ────────────────────────────────────────────── */
.legal-content { max-width: 820px; margin: 0 auto; }
.legal-content h2 { margin: 2.5rem 0 1rem; font-size: 1.4rem; }
.legal-content h3 { margin: 1.75rem 0 .75rem; font-size: 1.1rem; }
.legal-content p { margin-bottom: 1rem; }
.legal-content ul { padding-left: 1.5rem; margin-bottom: 1rem; list-style: disc; }
.legal-content ul li { margin-bottom: .5rem; color: var(--text-muted); }
.cookie-table { width: 100%; border-collapse: collapse; margin: 1rem 0 1.5rem; font-size: .9rem; }
.cookie-table th, .cookie-table td { padding: .75rem 1rem; border: 1px solid var(--border); text-align: left; }
.cookie-table th { background: var(--primary); color: var(--white); font-weight: 600; }
.cookie-table tr:nth-child(even) { background: var(--off-white); }

/* ── 404 ────────────────────────────────────────────────────── */
.error-page {
  min-height: 80dvh; display: flex; align-items: center; justify-content: center;
  text-align: center; background: var(--off-white);
}
.error-page h1 { font-size: 6rem; color: var(--accent); line-height: 1; margin-bottom: 1rem; }
.error-page h2 { margin-bottom: 1rem; }
.error-page p { max-width: 45ch; margin: 0 auto 2rem; }

/* ── Cookie Banner ──────────────────────────────────────────── */
.cookie-banner {
  position: fixed; bottom: 1rem; left: 1rem; right: 1rem; z-index: 9990;
  background: var(--primary-dark); color: var(--white);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  padding: 1.5rem; max-width: 640px; margin: 0 auto;
  display: none;
}
.cookie-banner.show { display: block; }
.cookie-banner p { font-size: .875rem; color: rgba(255,255,255,.75); margin-bottom: 1.25rem; max-width: none; }
.cookie-btns { display: flex; gap: .75rem; flex-wrap: wrap; }
.cookie-btns .btn { flex: 1; min-width: 130px; justify-content: center; }

/* Cookie modal */
.cookie-modal-backdrop {
  position: fixed; inset: 0; background: rgba(0,0,0,.55); z-index: 9991;
  display: none; align-items: center; justify-content: center;
}
.cookie-modal-backdrop.show { display: flex; }
.cookie-modal {
  background: var(--white); border-radius: var(--radius-lg);
  width: 100%; max-width: 520px; max-height: 90dvh; overflow-y: auto;
  padding: 2rem; margin: 1rem;
}
.cookie-modal-title { font-size: 1.2rem; font-weight: 700; color: var(--primary); margin-bottom: 1.25rem; }
.cookie-cat { padding: 1rem 0; border-bottom: 1px solid var(--border); }
.cookie-cat:last-of-type { border-bottom: none; }
.cookie-cat-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: .4rem; }
.cookie-cat-title { font-weight: 700; font-size: .95rem; color: var(--primary); }
.cookie-cat p { font-size: .875rem; color: var(--text-muted); max-width: none; }

/* Toggle switch */
.toggle { position: relative; width: 44px; height: 24px; flex-shrink: 0; }
.toggle input { opacity: 0; width: 0; height: 0; }
.toggle-slider {
  position: absolute; inset: 0; background: var(--border);
  border-radius: 50px; cursor: pointer; transition: background var(--transition);
}
.toggle-slider::before {
  content: ''; position: absolute; width: 18px; height: 18px;
  left: 3px; bottom: 3px; background: var(--white); border-radius: 50%;
  transition: transform var(--transition);
}
.toggle input:checked + .toggle-slider { background: var(--primary); }
.toggle input:checked + .toggle-slider::before { transform: translateX(20px); }
.toggle input:disabled + .toggle-slider { background: var(--primary); cursor: not-allowed; }
.cookie-modal-save { margin-top: 1.5rem; width: 100%; justify-content: center; }

/* ── Utilities ──────────────────────────────────────────────── */
.text-accent { color: var(--accent); }
.text-center { text-align: center; }
.mt-2 { margin-top: 2rem; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
