/* CCFS — sitio estático. Paleta y tipografía tomadas del sitio anterior. */
:root {
  --navy: #12124d;
  --navy-2: #03045e;
  --green: #0e8040;
  --green-dark: #014235;
  --gold: #f2cb07;
  --cream: #fffbf6;
  --gray-bg: #f6f6f6;
  --text: #1b1b1f;
  --muted: #5b5b66;
  --max: 1140px;
  --heading: "Poppins", system-ui, sans-serif;
  --body: "Roboto", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.75;
  color: var(--text);
  background: var(--cream);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy-2); }
h1, h2, h3, h4 { font-family: var(--heading); color: var(--navy-2); line-height: 1.25; margin: 0 0 .6em; }
.container { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.rule { width: 90px; height: 4px; background: var(--navy-2); border: 0; margin: 0 0 24px; }
.rule.center { margin-left: auto; margin-right: auto; }
.rule.light { background: #fff; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; background: #fff; padding: 8px 12px; z-index: 100; }

/* Botones */
.btn {
  display: inline-block;
  font-family: var(--body);
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  padding: 12px 24px;
  border-radius: 2px;
  transition: filter .15s;
}
.btn:hover { filter: brightness(1.12); }
.btn-green { background: var(--green); color: #fff; }
.btn-navy { background: var(--navy-2); color: #fff; padding: 8px 16px; font-size: 13px; }
.btn-lg { font-size: 19px; padding: 14px 26px; }

/* Header */
.site-header { background: var(--cream); position: sticky; top: 0; z-index: 50; box-shadow: 0 1px 0 rgba(0,0,0,.06); }
.site-header .container { display: flex; align-items: center; gap: 32px; min-height: 96px; max-width: 1280px; }
.logo img { width: 230px; }
.nav { display: flex; gap: 26px; flex: 1; }
.nav a { font-family: var(--heading); color: var(--navy-2); text-decoration: none; font-size: 17px; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--green); }
.header-qb { width: 100px; }
.menu-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.menu-toggle span { display: block; width: 26px; height: 3px; background: var(--navy-2); margin: 5px 0; }

/* Hero */
.hero {
  position: relative;
  min-height: 640px;
  display: flex;
  align-items: center;
  background: var(--hero-img) center / cover no-repeat;
}
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(255,255,255,.92) 0%, rgba(255,255,255,.75) 45%, rgba(255,255,255,0) 75%); }
.hero .container { position: relative; width: 100%; }
.hero-copy { max-width: 560px; }
.hero h1 { color: #000; font-size: clamp(30px, 4vw, 42px); font-weight: 700; margin-bottom: 16px; }
.hero p { font-size: 20px; margin: 0 0 32px; }

.page-hero {
  position: relative;
  padding: 64px 0;
  text-align: center;
  background: var(--hero-img) center / cover no-repeat;
}
.page-hero::before { content: ""; position: absolute; inset: 0; background: rgba(255,251,246,.82); }
.page-hero .container { position: relative; }
.page-hero h1 { font-size: clamp(30px, 4vw, 40px); font-weight: 800; margin-bottom: 8px; }
.page-hero p { margin: 0; font-size: 19px; }

/* Secciones */
section { padding: 72px 0; }
.section-title { text-align: center; font-size: clamp(26px, 3vw, 34px); font-weight: 700; margin-bottom: 8px; }
.section-sub { text-align: center; font-family: var(--heading); font-size: 20px; color: var(--navy-2); margin: 0 0 12px; }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; margin-top: 40px; }
.feature { text-align: center; }
.feature img { width: 60px; margin: 0 auto 16px; }
.feature h3 { font-size: 22px; }

.trust { background: var(--navy); color: #fff; }
.trust .container { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.trust h2 { color: #fff; font-size: clamp(26px, 3vw, 34px); }
.trust p { color: #e8e8f2; }

.service-row { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; padding: 32px 0; }
.service-row h3 { font-size: 24px; margin-bottom: 12px; }
.service-row img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }

.testimonials {
  position: relative;
  text-align: center;
  background: var(--bg-img) center / cover no-repeat;
}
.testimonials::before { content: ""; position: absolute; inset: 0; background: rgba(40, 36, 110, .78); }
.testimonials .container { position: relative; }
.testimonials h2 { color: #fff; }
.quote { background: #fff; max-width: 600px; margin: 32px auto 40px; padding: 24px 32px; }
.quote img { width: 56px; margin: 0 auto 12px; }
.quote .name { font-weight: 700; color: var(--navy-2); margin: 0; }
.quote .stars { color: var(--gold); font-size: 22px; letter-spacing: 4px; margin: 0; }
.quote p { color: var(--navy-2); font-size: 15px; }

.faqs { background: var(--gray-bg); }
.faq-list { max-width: 680px; margin: 32px auto 0; }
.faq-list details { background: #fff; border-radius: 6px; margin-bottom: 12px; }
.faq-list summary {
  font-family: var(--heading); font-weight: 500; font-size: 16px; color: #000;
  padding: 12px 16px; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 12px;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "⌄"; font-size: 20px; line-height: 1; transition: transform .2s; }
.faq-list details[open] summary::after { transform: rotate(180deg); }
.faq-list details p { margin: 0; padding: 0 16px 16px; font-size: 15px; }

.deadline { background: #fff; }
.deadline .container { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.deadline h2 { font-size: clamp(24px, 2.6vw, 30px); font-weight: 800; }
.deadline h3 { font-size: 20px; font-weight: 500; }
.cta-card { background: var(--green-dark); padding: 32px; text-align: center; }
.cta-card img { width: 260px; margin: 0 auto 20px; }
.cta-card h2 { color: #fff; font-size: 26px; font-weight: 700; margin-bottom: 24px; }

/* Servicios (página) */
.svc-nav { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin: 24px 0 0; padding: 0; list-style: none; }
.svc-nav a { display: block; border: 1px solid var(--navy-2); padding: 6px 14px; font-size: 14px; text-decoration: none; border-radius: 999px; }
.svc-nav a:hover { background: var(--navy-2); color: #fff; }
.svc { padding: 56px 0; border-bottom: 1px solid #e9e4dc; scroll-margin-top: 110px; }
.svc-head { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; margin-bottom: 32px; }
.svc-head h2 { font-size: clamp(24px, 2.6vw, 30px); }
.svc-head img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.svc-body { columns: 2; column-gap: 48px; }
.svc-body h3 { font-size: 20px; margin-top: 20px; break-after: avoid; }
.svc-body h4 { font-size: 16px; color: var(--text); margin: 16px 0 2px; break-after: avoid; }
.svc-body p { margin: 0 0 10px; }
.svc-body ul { margin: 0 0 10px; padding-left: 20px; }

/* Contacto */
.contact-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 48px; align-items: start; }
.booking { background: #fff; padding: 8px; box-shadow: 0 2px 16px rgba(0,0,0,.06); }
.booking iframe { width: 100%; border: 0; min-height: 620px; }
.info-card { background: var(--navy); color: #fff; padding: 32px; }
.info-card h3 { color: #fff; font-size: 18px; margin: 0 0 6px; }
.info-card p { margin: 0 0 20px; }
.info-card a { color: #fff; }
.map { margin-top: 24px; }
.map iframe { width: 100%; height: 280px; border: 0; }

/* Blog */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.post-card { background: #fff; border: 1px solid #e6e6e6; display: flex; flex-direction: column; text-decoration: none; color: var(--text); }
.post-card img { aspect-ratio: 3 / 2; object-fit: cover; width: 100%; }
.post-card .pc-body { padding: 16px 18px 20px; display: flex; flex-direction: column; flex: 1; }
.post-card h2 { font-family: var(--body); color: #111; font-size: 22px; font-weight: 700; margin-bottom: 8px; }
.post-card p { font-size: 15px; line-height: 1.5; margin: 0 0 12px; flex: 1; }
.meta { font-size: 14px; color: var(--muted); }
.meta .cat { display: block; }

.article { max-width: 780px; margin: 0 auto; }
.article .cover { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; margin-bottom: 28px; }
.article h1 { font-size: clamp(28px, 3.4vw, 38px); color: #111; }
.article .meta { margin-bottom: 28px; }
.prose h2, .prose h3 { font-size: 22px; margin-top: 28px; }
.prose h4 { font-size: 18px; margin-top: 22px; }
.prose ul, .prose ol { padding-left: 22px; }
.prose li p { margin: 4px 0; }
.back { display: inline-block; margin-bottom: 24px; font-size: 15px; }

.legal { max-width: 820px; margin: 0 auto; }
.legal h2 { font-size: 21px; margin-top: 32px; }
.legal h3 { font-size: 17px; color: var(--text); margin: 18px 0 4px; }

/* Footer */
.site-footer { background: var(--navy); color: #fff; padding: 48px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 1.2fr .8fr 1fr 1.2fr; gap: 32px; align-items: center; text-align: center; }
.footer-grid .logo-box { background: #fff; padding: 8px; }
.footer-grid .badge { width: 110px; margin: 0 auto; }
.footer-grid h3 { color: #fff; font-family: var(--body); font-size: 16px; margin-bottom: 8px; }
.footer-grid p { margin: 0; font-size: 15px; }
.footer-grid a { color: #fff; text-decoration: none; font-weight: 700; }
.tagline { text-align: center; font-family: var(--heading); font-weight: 700; font-size: clamp(18px, 2.2vw, 26px); margin: 48px 0 24px; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; font-size: 13px; }
.footer-bottom a { color: #9fc3ff; }

/* Móvil */
@media (max-width: 900px) {
  body { font-size: 16px; }
  .site-header .container { min-height: 72px; gap: 12px; flex-wrap: wrap; }
  .logo img { width: 170px; }
  .header-qb, .site-header .btn { display: none; }
  .menu-toggle { display: block; margin-left: auto; }
  .nav { display: none; flex-basis: 100%; flex-direction: column; gap: 4px; padding: 0 0 16px; }
  .nav.open { display: flex; }
  .nav a { padding: 8px 0; }
  .hero { min-height: 520px; }
  .hero::before { background: rgba(255,255,255,.82); }
  section { padding: 48px 0; }
  .features, .post-grid { grid-template-columns: 1fr; }
  .trust .container, .service-row, .deadline .container, .svc-head, .contact-grid { grid-template-columns: 1fr; gap: 24px; }
  .service-row img, .svc-head img { order: -1; }
  .svc-body { columns: 1; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-bottom { justify-content: center; text-align: center; }
}
@media (max-width: 520px) {
  .container { padding: 0 16px; }
  .footer-grid { grid-template-columns: 1fr; }
}
.video { position: relative; aspect-ratio: 16 / 9; margin: 16px 0 24px; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
