@import url("https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:wght@400;500;600;700&family=Libre+Baskerville:ital,wght@0,400;0,700;1,400&display=swap");

:root {
  --fe-pearl: #f1f5f9;
  --fe-navy: #0c1a2e;
  --fe-panel: #172554;
  --fe-cobalt: #2563eb;
  --fe-bronze: #92400e;
  --fe-ink: #0f172a;
  --fe-muted: #64748b;
  --fe-line: #e2e8f0;
  --fe-white: #fff;
  --fe-font: "IBM Plex Sans", system-ui, sans-serif;
  --fe-serif: "Libre Baskerville", Georgia, serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--fe-font); color: var(--fe-ink); background: var(--fe-pearl); line-height: 1.6; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--fe-cobalt); text-decoration: none; }
a:hover { text-decoration: underline; }
.skip-link { position: absolute; left: -9999px; top: 0; z-index: 9999; background: var(--fe-navy); color: #fff; padding: 8px 16px; }
.skip-link:focus { left: 8px; top: 8px; }

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

.fe-topbar { background: var(--fe-navy); color: rgba(255,255,255,.82); font-size: .76rem; }
.fe-topbar-inner { display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; justify-content: center; padding: 8px 16px; max-width: 1140px; margin: 0 auto; }
.fe-topbar a { color: #fff; text-decoration: none; }
.fe-topbar a:hover { color: #93c5fd; }

.fe-header { background: var(--fe-pearl); border-bottom: 1px solid var(--fe-line); position: sticky; top: 0; z-index: 100; }
.fe-header-inner { display: flex; align-items: center; gap: 16px; padding: 14px 4%; max-width: 1140px; margin: 0 auto; }
.fe-logo img { height: 40px; width: auto; }
.fe-nav { display: flex; gap: 22px; margin-left: auto; }
.fe-nav a { color: var(--fe-ink); font-size: .86rem; font-weight: 500; text-decoration: none; padding: 6px 0; border-bottom: 2px solid transparent; }
.fe-nav a:hover, .fe-nav a.active { color: var(--fe-cobalt); border-color: var(--fe-cobalt); }
.fe-nav-toggle { display: none; background: none; border: none; font-size: 1.4rem; cursor: pointer; color: var(--fe-navy); }

.btn { display: inline-flex; align-items: center; justify-content: center; padding: 10px 22px; border-radius: 6px; font-weight: 600; font-size: .86rem; border: 2px solid transparent; cursor: pointer; text-decoration: none; transition: transform .15s, box-shadow .15s; }
.btn:hover { transform: translateY(-1px); text-decoration: none; }
.btn-cobalt { background: var(--fe-cobalt); color: #fff; border-color: var(--fe-cobalt); }
.btn-cobalt:hover { box-shadow: 0 8px 24px rgba(37,99,235,.35); color: #fff; }
.btn-bronze { background: var(--fe-bronze); color: #fff; border-color: var(--fe-bronze); }
.btn-outline { background: transparent; color: var(--fe-ink); border-color: var(--fe-line); }
.btn-block { width: 100%; }
.header-cta { white-space: nowrap; }

/* Hero offset frame */
.fe-hero { background: var(--fe-navy); color: #fff; padding: 64px 0 80px; overflow: hidden; }
.fe-hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; max-width: 1140px; margin: 0 auto; padding: 0 4%; }
.fe-label { display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #93c5fd; margin-bottom: 12px; }
.fe-hero h1 { font-family: var(--fe-serif); font-size: clamp(2rem, 4.5vw, 2.9rem); line-height: 1.12; margin: 0 0 16px; font-weight: 700; }
.fe-hero-lead { color: rgba(255,255,255,.78); margin: 0 0 24px; max-width: 42ch; font-size: .95rem; }
.fe-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 24px; }
.fe-hero-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.fe-hero-tags span { font-size: .72rem; padding: 6px 12px; border: 1px solid rgba(255,255,255,.2); border-radius: 4px; color: rgba(255,255,255,.85); }
.fe-hero-visual { position: relative; }
.fe-hero-frame {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 24px 24px 0 rgba(37,99,235,.25);
  border: 3px solid var(--fe-bronze);
}
.fe-hero-frame img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.fe-hero-badge {
  position: absolute; bottom: -16px; left: -16px;
  background: var(--fe-cobalt); color: #fff;
  padding: 12px 18px; border-radius: 4px;
  font-size: .78rem; font-weight: 600;
  box-shadow: 0 8px 24px rgba(0,0,0,.25);
}
.fe-hero-badge strong { display: block; font-family: var(--fe-serif); font-size: 1.2rem; }

/* Stats */
.fe-stats { padding: 0 4%; margin-top: -40px; position: relative; z-index: 2; }
.fe-stats-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; max-width: 1140px; margin: 0 auto; }
.fe-stat-card { background: var(--fe-white); border: 1px solid var(--fe-line); border-radius: 8px; padding: 20px; text-align: center; box-shadow: 0 8px 24px rgba(12,26,46,.08); }
.fe-stat-card strong { display: block; font-family: var(--fe-serif); font-size: 1.8rem; color: var(--fe-cobalt); }
.fe-stat-card span { font-size: .78rem; color: var(--fe-muted); }

/* Bands */
.fe-band { padding: 72px 0; }
.fe-band-white { background: var(--fe-white); }
.fe-band-head { text-align: center; max-width: 640px; margin: 0 auto 48px; }
.fe-band-head h2 { font-family: var(--fe-serif); font-size: clamp(1.6rem, 3vw, 2.2rem); margin: 8px 0 12px; }
.fe-band-head p { color: var(--fe-muted); margin: 0; font-size: .92rem; }

/* Alternating service rows */
.fe-svc-rows { display: grid; gap: 20px; }
.fe-svc-row {
  display: grid; grid-template-columns: 80px 200px 1fr;
  gap: 24px; align-items: center;
  background: var(--fe-white); border: 1px solid var(--fe-line);
  border-radius: 8px; padding: 20px 24px;
  transition: border-color .2s, box-shadow .2s;
}
.fe-svc-row:hover { border-color: var(--fe-cobalt); box-shadow: 0 8px 28px rgba(12,26,46,.08); }
.fe-svc-row:nth-child(even) { grid-template-columns: 80px 1fr 200px; }
.fe-svc-row:nth-child(even) .fe-svc-img { order: 3; }
.fe-svc-num { font-family: var(--fe-serif); font-size: 2rem; font-weight: 700; color: var(--fe-bronze); line-height: 1; }
.fe-svc-img { height: 120px; border-radius: 6px; overflow: hidden; background: var(--fe-panel); }
.fe-svc-img img { width: 100%; height: 100%; object-fit: cover; }
.fe-svc-body .fe-sku { font-size: .7rem; font-weight: 700; color: var(--fe-cobalt); letter-spacing: .06em; }
.fe-svc-body h3 { font-size: 1.05rem; margin: 4px 0 8px; font-weight: 600; }
.fe-svc-body p { font-size: .86rem; color: var(--fe-muted); margin: 0; }

/* Masonry prices */
.fe-masonry { columns: 3; column-gap: 16px; }
.fe-masonry-card {
  break-inside: avoid; margin-bottom: 16px;
  background: var(--fe-white); border: 1px solid var(--fe-line);
  border-radius: 8px; padding: 20px;
  transition: border-color .2s;
}
.fe-masonry-card:hover { border-color: var(--fe-cobalt); }
.fe-masonry-card--feat { border-color: var(--fe-cobalt); background: linear-gradient(135deg, #fff, #eff6ff); }
.fe-masonry-card .fe-sku { font-size: .7rem; font-weight: 700; color: var(--fe-cobalt); }
.fe-masonry-card h3 { font-size: .95rem; margin: 6px 0 4px; font-weight: 600; }
.fe-masonry-card .mod { font-size: .74rem; color: var(--fe-muted); margin: 0 0 12px; }
.fe-masonry-card .price strong { color: var(--fe-bronze); font-size: 1.1rem; }
.fe-masonry-card .price small { display: block; font-size: .7rem; color: var(--fe-muted); }

/* Timeline vertical */
.fe-vtimeline { max-width: 640px; margin: 0 auto; position: relative; padding-left: 32px; }
.fe-vtimeline::before { content: ""; position: absolute; left: 11px; top: 8px; bottom: 8px; width: 2px; background: var(--fe-line); }
.fe-vt-step { position: relative; padding: 0 0 32px 24px; }
.fe-vt-step:last-child { padding-bottom: 0; }
.fe-vt-dot {
  position: absolute; left: -32px; top: 2px;
  width: 24px; height: 24px; border-radius: 50%;
  background: var(--fe-cobalt); border: 4px solid var(--fe-pearl);
}
.fe-vt-step h3 { font-size: .95rem; margin: 0 0 6px; font-weight: 600; }
.fe-vt-step p { font-size: .84rem; color: var(--fe-muted); margin: 0; }

/* FAQ */
.fe-faq-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; max-width: 900px; margin: 0 auto; }
.fe-faq-card { background: var(--fe-white); border: 1px solid var(--fe-line); border-radius: 8px; padding: 20px; }
.fe-faq-card h3 { font-size: .92rem; margin: 0 0 8px; font-weight: 600; }
.fe-faq-card p { font-size: .84rem; color: var(--fe-muted); margin: 0; }

/* CTA */
.fe-cta {
  background: linear-gradient(135deg, var(--fe-cobalt), var(--fe-panel));
  color: #fff; padding: 56px 4%;
}
.fe-cta-inner { max-width: 1140px; margin: 0 auto; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.fe-cta-inner h2 { font-family: var(--fe-serif); font-size: clamp(1.4rem, 3vw, 2rem); margin: 0 0 8px; }
.fe-cta-inner p { margin: 0; color: rgba(255,255,255,.8); font-size: .9rem; }

/* Contact */
.fe-contact-split { display: grid; grid-template-columns: 1fr 1.15fr; gap: 28px; }
.fe-contact-card { background: var(--fe-white); border: 1px solid var(--fe-line); border-radius: 8px; padding: 18px 20px; margin-bottom: 12px; }
.fe-contact-card h3 { font-size: .78rem; margin: 0 0 6px; color: var(--fe-cobalt); text-transform: uppercase; letter-spacing: .06em; }
.fe-contact-card p { margin: 0; font-size: .9rem; }
.fe-map-wrap { border-radius: 8px; overflow: hidden; border: 1px solid var(--fe-line); min-height: 280px; }
.fe-map-wrap iframe { width: 100%; height: 100%; min-height: 280px; border: 0; }

.ads-disclaimer { background: #eff6ff; border: 1px solid #bfdbfe; border-radius: 8px; padding: 16px 20px; margin: 32px auto; font-size: .82rem; color: #1e3a5f; }
.ads-disclaimer a { color: var(--fe-navy); font-weight: 600; }

.fe-legal-strip { padding: 14px 0; font-size: .8rem; text-align: center; color: var(--fe-muted); border-top: 1px solid var(--fe-line); }
.fe-footer { background: var(--fe-navy); color: rgba(255,255,255,.8); padding: 48px 0 24px; }
.fe-footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 28px; margin-bottom: 28px; }
.fe-footer-brand p { font-size: .84rem; margin: 12px 0 0; color: rgba(255,255,255,.65); }
.fe-footer-col h4 { color: #93c5fd; font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; margin: 0 0 12px; }
.fe-footer-col a { display: block; color: rgba(255,255,255,.75); font-size: .84rem; margin-bottom: 8px; text-decoration: none; }
.fe-footer-col a:hover { color: #fff; }
.fe-footer-legal { display: flex; flex-wrap: wrap; gap: 12px 20px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.12); margin-bottom: 16px; }
.fe-footer-legal a { color: rgba(255,255,255,.65); font-size: .78rem; text-decoration: none; }
.fe-footer-copy { font-size: .74rem; color: rgba(255,255,255,.5); margin: 0; }

.cookie-banner { position: fixed; bottom: 0; left: 0; right: 0; z-index: 200; background: var(--fe-navy); color: #fff; padding: 16px; transform: translateY(110%); transition: transform .35s ease; box-shadow: 0 -8px 32px rgba(0,0,0,.2); }
.cookie-banner.show { transform: translateY(0); }
.cookie-inner { max-width: 1140px; margin: 0 auto; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.cookie-inner p { margin: 0; font-size: .82rem; max-width: 680px; }
.cookie-inner a { color: #93c5fd; }
.cookie-btns { display: flex; gap: 10px; flex-shrink: 0; }
.cookie-btns .btn-outline { color: #fff; border-color: rgba(255,255,255,.3); }

.reveal { opacity: 0; transform: translateY(16px); transition: opacity .5s, transform .5s; }
.reveal.is-visible { opacity: 1; transform: none; }

.legal-page { padding: 48px 0 64px; }
.legal-page h1 { font-family: var(--fe-serif); font-size: clamp(1.8rem, 4vw, 2.4rem); margin: 0 0 8px; }
.legal-page .fecha { color: var(--fe-muted); font-size: .9rem; margin-bottom: 24px; }
.legal-page h2 { font-size: 1.2rem; margin: 32px 0 12px; }
.legal-page table { width: 100%; border-collapse: collapse; margin: 16px 0; font-size: .84rem; }
.legal-page th, .legal-page td { border: 1px solid var(--fe-line); padding: 10px; text-align: left; }
.legal-page th { background: var(--fe-pearl); }

.fe-cat-hero { background: var(--fe-navy); color: #fff; padding: 72px 0 56px; text-align: center; position: relative; overflow: hidden; }
.fe-cat-hero-bg { position: absolute; inset: 0; opacity: .22; }
.fe-cat-hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.fe-cat-hero .fe-container { position: relative; z-index: 1; }
.fe-cat-hero h1 { font-family: var(--fe-serif); font-size: clamp(1.8rem, 4vw, 2.4rem); margin: 8px 0; }
.fe-chips { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-bottom: 28px; }
.fe-chip { background: var(--fe-white); border: 1px solid var(--fe-line); color: var(--fe-muted); padding: 8px 16px; border-radius: 6px; font-size: .78rem; font-weight: 600; cursor: pointer; }
.fe-chip.active, .fe-chip:hover { background: var(--fe-cobalt); color: #fff; border-color: var(--fe-cobalt); }
.fe-cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; }
.fe-cat-card { background: var(--fe-white); border: 1px solid var(--fe-line); border-radius: 8px; overflow: hidden; transition: box-shadow .2s, transform .2s; }
.fe-cat-card:hover { box-shadow: 0 12px 32px rgba(12,26,46,.1); transform: translateY(-3px); }
.fe-cat-img { height: 170px; overflow: hidden; background: var(--fe-panel); }
.fe-cat-img img { width: 100%; height: 100%; object-fit: cover; }
.fe-cat-body { padding: 20px; }
.fe-cat-body .fe-sku { font-size: .72rem; font-weight: 700; color: var(--fe-cobalt); }
.fe-cat-body h2 { font-size: 1.05rem; margin: 6px 0 8px; }
.feat-tags { list-style: none; padding: 0; margin: 0 0 12px; display: flex; flex-wrap: wrap; gap: 6px; }
.feat-tags li { font-size: .68rem; padding: 4px 10px; background: var(--fe-pearl); border-radius: 4px; color: var(--fe-muted); }
.modalidad-tag { font-size: .72rem; color: var(--fe-cobalt); display: block; margin-bottom: 12px; }
.precio-slot { background: var(--fe-pearl); border-radius: 6px; padding: 12px; margin-bottom: 14px; }
.precio-line strong { color: var(--fe-bronze); font-size: 1.05rem; }
.precio-line span { display: block; font-size: .72rem; color: var(--fe-muted); }
.precio-note { font-size: .72rem; color: var(--fe-muted); margin: 4px 0 0; }

.fe-about-split { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: center; }
.fe-about-visual img { border-radius: 8px; width: 100%; border: 3px solid var(--fe-bronze); }

/* Gallery strip */
.fe-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; padding: 48px 4% 0; max-width: 1140px; margin: 0 auto; }
.fe-gallery figure { margin: 0; position: relative; border-radius: 8px; overflow: hidden; aspect-ratio: 16/10; }
.fe-gallery img { width: 100%; height: 100%; object-fit: cover; }
.fe-gallery figcaption {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: linear-gradient(transparent, rgba(12,26,46,.88));
  color: #fff; font-size: .74rem; padding: 24px 12px 10px;
}

/* Intro split */
.fe-intro-split { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.fe-intro-split h2 { font-family: var(--fe-serif); font-size: clamp(1.5rem, 3vw, 2rem); margin: 8px 0 16px; }
.fe-intro-split p { color: var(--fe-muted); font-size: .92rem; margin: 0 0 14px; }
.fe-intro-list { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 10px; }
.fe-intro-list li { display: flex; gap: 10px; font-size: .88rem; align-items: flex-start; }
.fe-intro-list li::before { content: "▸"; color: var(--fe-cobalt); font-weight: 700; flex-shrink: 0; }
.fe-intro-visual { border-radius: 8px; overflow: hidden; border: 3px solid var(--fe-bronze); box-shadow: 16px 16px 0 rgba(37,99,235,.15); }
.fe-intro-visual img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }

/* Audience */
.fe-audience-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.fe-audience-card {
  background: var(--fe-white); border: 1px solid var(--fe-line);
  border-radius: 8px; padding: 22px 18px; text-align: center;
  border-top: 3px solid var(--fe-cobalt);
}
.fe-audience-card h3 { font-size: .92rem; margin: 0 0 8px; font-weight: 600; }
.fe-audience-card p { font-size: .8rem; color: var(--fe-muted); margin: 0; }

/* Why choose */
.fe-why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.fe-why-card {
  background: var(--fe-white); border: 1px solid var(--fe-line);
  border-radius: 8px; padding: 22px;
}
.fe-why-icon {
  width: 40px; height: 40px; border-radius: 8px;
  background: rgba(37,99,235,.1); color: var(--fe-cobalt);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: .9rem; margin-bottom: 12px;
}
.fe-why-card h3 { font-size: .92rem; margin: 0 0 8px; }
.fe-why-card p { font-size: .82rem; color: var(--fe-muted); margin: 0; }

/* Service detail */
.fe-svc-points { list-style: none; padding: 0; margin: 10px 0 0; display: flex; flex-wrap: wrap; gap: 6px; }
.fe-svc-points li { font-size: .68rem; padding: 4px 10px; background: var(--fe-pearl); border-radius: 4px; color: var(--fe-muted); }
.fe-svc-body .fe-svc-desc { font-size: .82rem; color: var(--fe-muted); margin: 0 0 8px; }

/* Method split */
.fe-method-split { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.fe-method-visual { border-radius: 8px; overflow: hidden; border: 3px solid var(--fe-bronze); }
.fe-method-visual img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }

/* Deliverables */
.fe-deliver-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 28px; }
.fe-deliver-item { border-radius: 8px; overflow: hidden; position: relative; aspect-ratio: 16/10; }
.fe-deliver-item img { width: 100%; height: 100%; object-fit: cover; }
.fe-deliver-item span {
  position: absolute; bottom: 8px; left: 8px;
  background: rgba(12,26,46,.9); color: #fff;
  font-size: .68rem; padding: 4px 10px; border-radius: 4px;
}
.fe-deliver-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; max-width: 720px; margin: 0 auto; }
.fe-deliver-list li { font-size: .86rem; color: var(--fe-ink); display: flex; gap: 8px; align-items: flex-start; }
.fe-deliver-list { list-style: none; padding: 0; }
.fe-deliver-list li::before { content: "✓"; color: var(--fe-cobalt); font-weight: 700; }

/* Contact page extras */
.fe-section { padding: 56px 0 72px; }
.fe-section-head { text-align: center; margin-bottom: 40px; }
.fe-section-head h1 { font-family: var(--fe-serif); font-size: clamp(1.8rem, 4vw, 2.4rem); margin: 8px 0; }
.fe-contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 28px; align-items: start; }
.fe-contact-photo { border-radius: 8px; overflow: hidden; margin-bottom: 16px; border: 3px solid var(--fe-bronze); }
.fe-contact-photo img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }

/* Home contact with photo */
.fe-contact-visual { border-radius: 8px; overflow: hidden; border: 1px solid var(--fe-line); margin-bottom: 12px; }
.fe-contact-visual img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }

@media (max-width: 900px) {
  .fe-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--fe-pearl); flex-direction: column; padding: 16px 4%; border-bottom: 1px solid var(--fe-line); box-shadow: 0 8px 24px rgba(0,0,0,.08); }
  .fe-nav.open { display: flex; }
  .fe-nav-toggle { display: block; margin-left: auto; }
  .fe-header { position: relative; }
  .header-cta { display: none; }
  .fe-hero-grid { grid-template-columns: 1fr; }
  .fe-stats-row { grid-template-columns: repeat(2, 1fr); }
  .fe-svc-row, .fe-svc-row:nth-child(even) { grid-template-columns: 60px 1fr; }
  .fe-svc-img { display: none; }
  .fe-masonry { columns: 1; }
  .fe-faq-grid { grid-template-columns: 1fr; }
  .fe-contact-split { grid-template-columns: 1fr; }
  .fe-footer-grid { grid-template-columns: 1fr 1fr; }
  .fe-about-split { grid-template-columns: 1fr; }
  .fe-gallery { grid-template-columns: 1fr; }
  .fe-intro-split { grid-template-columns: 1fr; }
  .fe-audience-grid { grid-template-columns: repeat(2, 1fr); }
  .fe-why-grid { grid-template-columns: 1fr; }
  .fe-method-split { grid-template-columns: 1fr; }
  .fe-deliver-grid { grid-template-columns: 1fr; }
  .fe-deliver-list { grid-template-columns: 1fr; }
  .fe-contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .fe-footer-grid { grid-template-columns: 1fr; }
}
