*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; -webkit-font-smoothing: antialiased; background: #F5F7F6; color: #003640; overflow-x: hidden; }
a { color: #8A6A2A; text-decoration: none; cursor: pointer; }
a:hover { color: #003640; }
:focus-visible { outline: 2px solid #8A6A2A; outline-offset: 3px; }
input, select, button { font-family: inherit; font-size: inherit; color: #003640; }
summary::-webkit-details-marker { display: none; }

.page { font-family: 'Century Gothic', CenturyGothic, AppleGothic, Questrial, sans-serif; color: #003640; min-height: 100vh; background: #F5F7F6; }
.container { max-width: 1180px; margin: 0 auto; padding-left: clamp(16px, 3vw, 20px); padding-right: clamp(16px, 3vw, 20px); }
.section { padding-top: clamp(56px, 8vw, 96px); padding-bottom: clamp(56px, 8vw, 96px); }
.section-flush-top { padding-top: 0; }
.section-flush-bottom { padding-bottom: 0; }
#como-funciona { padding-top: clamp(56px, 8vw, 104px); padding-bottom: clamp(56px, 8vw, 104px); }

.serif { font-family: 'Cormorant Garamond', Georgia, serif; font-style: italic; color: #8A6A2A; }
.serif.gold { color: #E3C77D; }
.eyebrow { font-size: 12px; letter-spacing: 0.28em; color: #8A6A2A; font-weight: 700; margin-bottom: 14px; }
.eyebrow-gold { color: #E3C77D; letter-spacing: 0.24em; margin-bottom: 18px; line-height: 1.6; }
.eyebrow-tight { margin-bottom: 8px; }
h2 { font-size: clamp(28px, 3.8vw, 46px); line-height: 1.1; font-weight: 400; letter-spacing: -0.015em; margin: 0; text-wrap: balance; }
.muted { margin: 0; font-size: 16px; line-height: 1.6; color: #3F5C64; max-width: 30em; text-wrap: pretty; }
.muted.narrow { font-size: 15px; max-width: 26em; line-height: normal; }
.mb-26 { margin-bottom: 26px !important; }
.mb-36 { margin-bottom: 36px; }

/* Buttons */
.btn-gold, .btn-outline-light, .btn-outline-gold, .btn-dark, .btn-pill { display: inline-block; border-radius: 999px; font-weight: 700; letter-spacing: 0.03em; white-space: nowrap; transition: filter .15s, transform .15s, color .15s, border-color .15s, background .15s; }
.btn-gold { background: linear-gradient(135deg, #EBD38F 0%, #C8A24A 52%, #A8853A 100%); color: #003640; padding: 16px 20px; font-size: 15px; }
.btn-gold:hover { color: #003640; filter: brightness(1.06); }
.btn-outline-light { color: #F3EBDD; border: 1px solid rgba(243,235,221,0.35); }
.btn-outline-light:hover { color: #E3C77D; border-color: #E3C77D; }
.btn-outline-gold { color: #F3EBDD; padding: 15px 26px; font-size: 15px; border: 1px solid rgba(227,199,125,0.55); }
.btn-outline-gold:hover { color: #E3C77D; border-color: #E3C77D; }
.btn-dark { background: #003640; color: #F3EBDD; padding: 15px 26px; font-size: 15px; border: 1px solid #003640; }
.btn-dark:hover { color: #E3C77D; }
.btn-pill { font-size: 14px; color: #003640; padding: 11px 20px; border: 1px solid #C8A24A; }
.btn-pill:hover { color: #003640; background: #F3EBDD; }
.btn-sm { padding: 11px clamp(12px, 2.4vw, 20px); font-size: 13px; letter-spacing: 0.04em; }
.btn-outline-light.btn-sm { padding: 10px clamp(10px, 2vw, 16px); border-color: rgba(243,235,221,0.3); }
.btn-lg { padding: 18px 30px; font-size: 16px; }
.btn-block { display: block; text-align: center; }
.row-actions { display: flex; flex-wrap: wrap; gap: 14px 22px; align-items: center; }
.row-actions-top { margin-top: 32px; }
.row-center { justify-content: center; gap: 12px; }

/* Header */
.topbar { position: sticky; top: 0; z-index: 20; background: rgba(0,54,64,0.92); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid rgba(227,199,125,0.25); }
.topbar-inner { max-width: 1180px; margin: 0 auto; padding: 12px clamp(14px, 3vw, 20px); display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.brand { display: flex; align-items: center; gap: 10px; min-width: 0; }
.brand img { height: clamp(26px, 5vw, 34px); width: auto; display: block; }
.brand span { font-size: 10px; letter-spacing: 0.3em; color: #E3C77D; font-weight: 700; }
.topbar-actions { display: flex; align-items: center; gap: clamp(8px, 2vw, 18px); }

/* Hero */
.hero { position: relative; min-height: clamp(460px, 74vh, 700px); display: flex; align-items: flex-end; color: #F3EBDD; background: #00262E; overflow: hidden; }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-shade { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(0,38,46,0.1) 0%, rgba(0,38,46,0.5) 45%, rgba(0,38,46,0.96) 100%); }
.hero-content { position: relative; width: 100%; padding-top: clamp(40px, 6vw, 76px); padding-bottom: clamp(40px, 6vw, 76px); }
.hero h1 { font-size: clamp(34px, 5.6vw, 70px); line-height: 1.04; letter-spacing: -0.02em; font-weight: 400; margin: 0 0 28px; max-width: 14em; text-wrap: balance; }
.hero .btn-gold { padding: 18px 32px; box-shadow: 0 12px 32px rgba(200,162,74,0.28); }
.hero .btn-gold:hover { filter: none; transform: translateY(-1px); }

/* Solicitud */
.solicitud { color: #F3EBDD; background: radial-gradient(900px 500px at 85% 10%, rgba(200,162,74,0.22), transparent 60%), linear-gradient(160deg, #003640 0%, #00262E 100%); }
.solicitud-grid { padding-top: clamp(48px, 9vw, 112px); padding-bottom: clamp(48px, 8vw, 96px); display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: clamp(32px, 5vw, 48px); align-items: center; }
.h2-dark { font-size: clamp(30px, 4vw, 48px); line-height: 1.08; letter-spacing: -0.02em; margin: 0 0 22px; }
.lead { font-size: clamp(16px, 2vw, 18px); line-height: 1.6; color: #D9D1C0; margin: 0 0 32px; max-width: 32em; text-wrap: pretty; }
.industria-link { display: inline-block; margin-top: 26px; line-height: 1.5; font-size: 14px; color: #B9C6C4; }
.industria-link:hover { color: #E3C77D; }
.industria-link span { white-space: nowrap; margin-left: 4px; }
.glass-card { background: rgba(243,235,221,0.07); border: 1px solid rgba(243,235,221,0.18); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); border-radius: 22px; padding: clamp(20px, 3vw, 32px); }
.card-title { font-size: 22px; margin-bottom: 20px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.chip { cursor: pointer; padding: 10px 15px; border-radius: 999px; font-size: 14px; font-weight: 700; border: 1px solid rgba(243,235,221,0.3); background: transparent; color: #F3EBDD; }
.chip.on { background: #E3C77D; color: #003640; border-color: #E3C77D; }
.inputs { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 170px), 1fr)); gap: 10px; margin-bottom: 18px; }
.inputs input { padding: 13px 15px; border-radius: 12px; border: 1px solid rgba(243,235,221,0.25); background: rgba(243,235,221,0.95); font-size: 15px; min-width: 0; }
.msg-label { font-size: 13px; color: #B9C6C4; margin-bottom: 8px; }
.msg-preview { background: #F3EBDD; color: #003640; border-radius: 14px 14px 4px 14px; padding: 13px 15px; font-size: 14.5px; line-height: 1.55; margin-bottom: 18px; white-space: pre-wrap; border-left: 3px solid #C8A24A; }
.consent { margin-top: 12px; font-size: 12px; color: #9FB0AE; line-height: 1.5; }
.consent a { color: #E3C77D; }

/* Cómo funciona */
.split-head { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 20px 48px; align-items: end; margin-bottom: clamp(32px, 5vw, 52px); }
.pasos { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 16px; }
.paso { display: flex; flex-direction: column; gap: 12px; padding: 26px 24px 24px; background: rgba(255,255,255,0.75); border: 1px solid rgba(0,54,64,0.1); border-radius: 20px; }
.paso-bar { width: 36px; height: 2px; background: #C8A24A; }
.paso h3 { font-size: 20px; margin: 4px 0 0; letter-spacing: -0.005em; }
.paso p { margin: 0; font-size: 15px; line-height: 1.55; color: #3F5C64; flex: 1; text-wrap: pretty; }
.paso-recibes { border-top: 1px solid rgba(0,54,64,0.1); padding-top: 12px; font-size: 13.5px; line-height: 1.5; }
.paso-recibes b { display: block; font-size: 11px; letter-spacing: 0.18em; color: #8A6A2A; margin-bottom: 4px; }

/* Equipos */
.flex-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: 26px; }
.chips-filter { margin-bottom: 24px; }
.chips-filter .chip { padding: 10px 16px; color: #003640; border-color: rgba(0,54,64,0.25); }
.chips-filter .chip.on { background: #003640; color: #F3EBDD; border-color: #003640; }
.nec-texto { margin: -6px 0 22px; font-size: 15px; line-height: 1.55; color: #3F5C64; max-width: 46em; }
.equipos-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); gap: 16px; }
.card { display: flex; flex-direction: column; color: #003640; background: rgba(255,255,255,0.75); border: 1px solid rgba(0,54,64,0.1); border-radius: 18px; overflow: hidden; transition: border-color .15s, box-shadow .15s; }
.card:hover { color: #003640; border-color: #C8A24A; }
.equipo:hover { box-shadow: 0 14px 34px rgba(0,54,64,0.1); }
.equipo-img { aspect-ratio: 4 / 3; background: radial-gradient(circle at 50% 60%, #FFFFFF 0%, #EEF1EF 75%); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.equipo-img img { width: 100%; height: 100%; object-fit: contain; padding: 14px; display: block; }
.equipo-body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.equipo-area { font-size: 11.5px; letter-spacing: 0.16em; color: #8A6A2A; font-weight: 700; }
.equipo-nombre { font-size: 19px; font-weight: 700; }
.equipo-tec { font-size: 14px; color: #3F5C64; line-height: 1.5; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; flex: 1; align-content: flex-start; }
.tag { font-size: 12px; padding: 4px 10px; border-radius: 999px; background: #EFE8DA; color: #5A4A24; }
.equipo-cta { margin-top: 12px; align-self: flex-start; font-size: 13px; font-weight: 700; letter-spacing: 0.03em; padding: 9px 16px; border: 1px solid #C8A24A; border-radius: 999px; }

/* Image placeholder */
.slot { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; text-align: center; padding: 16px; background: repeating-linear-gradient(135deg, #E7ECEA 0 12px, #EEF1EF 12px 24px); color: #8296A0; font-size: 13px; letter-spacing: 0.04em; }

/* Servicios */
.band-beige { background: #EFE8DA; }
.servicios { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 16px; }
.servicio { background: #FFFFFF; border-radius: 18px; padding: 26px 24px; display: flex; flex-direction: column; gap: 10px; }
.servicio h3 { font-size: 20px; margin: 0; }
.servicio p { margin: 0; font-size: 15px; line-height: 1.55; color: #3F5C64; flex: 1; }
.servicio .btn-pill { align-self: flex-start; margin-top: 8px; font-size: 13px; padding: 9px 16px; }

/* Pascual */
.pascual-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: clamp(28px, 5vw, 56px); align-items: center; }
.pascual-photo { aspect-ratio: 4 / 5; max-width: 420px; width: 100%; border-radius: 22px; overflow: hidden; }
.pascual-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pascual-title { margin: 0 0 22px; display: flex; flex-direction: column; gap: 6px; }
.pascual-title .serif { font-weight: 500; font-size: clamp(44px, 6vw, 72px); line-height: 1; color: #003640; }
.pascual-title span + span { font-size: clamp(14px, 1.4vw, 16px); font-weight: 700; letter-spacing: 0.22em; color: #8A6A2A; }
.body-lg { margin: 0 0 14px; font-size: 16.5px; line-height: 1.65; color: #3F5C64; max-width: 32em; text-wrap: pretty; }
#pascual .row-actions { gap: 10px; }

/* Blog */
.posts { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 18px; }
.post-cover { aspect-ratio: 16 / 9; }
.post-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.post-body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.post-meta { display: flex; gap: 10px; font-size: 11.5px; letter-spacing: 0.14em; font-weight: 700; color: #8A6A2A; }
.post-meta span + span { color: #8296A0; }
.post-body h3 { font-size: 19px; line-height: 1.3; margin: 0; text-wrap: pretty; }
.post-body p { margin: 0; font-size: 14.5px; line-height: 1.55; color: #3F5C64; }
.blog-note { margin-top: 14px; font-size: 12.5px; color: #8296A0; }

/* FAQ */
.faqs { display: flex; flex-direction: column; border-top: 1px solid rgba(0,54,64,0.15); max-width: 820px; }
.faqs details { border-bottom: 1px solid rgba(0,54,64,0.15); padding: 20px 0; }
.faqs summary { cursor: pointer; font-size: 17px; font-weight: 700; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faqs summary span { color: #C8A24A; }
.faqs p { margin: 12px 0 0; font-size: 15.5px; line-height: 1.6; color: #3F5C64; }

/* Cierre */
.cierre { color: #F3EBDD; background: linear-gradient(160deg, #003640 0%, #00262E 100%); }
.cierre-inner { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 22px; }
.cierre h2 { font-size: clamp(28px, 4.4vw, 54px); margin: 0; max-width: 16em; }

/* Footer */
.footer { background: #00262E; color: #9FB0AE; font-size: 13px; }
.footer-inner { padding-top: 24px; padding-bottom: 100px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px; }
.footer-info { display: flex; flex-direction: column; gap: 4px; line-height: 1.5; }
.footer-name { color: #F3EBDD; font-weight: 700; letter-spacing: 0.04em; }
.footer-info a { color: #E3C77D; }
.footer-info a:hover { color: #F3EBDD; }
.footer-copy { margin-top: 8px; }
.footer-links { display: flex; gap: 18px; flex-wrap: wrap; }
.footer-links a { color: #CFC6B5; }

/* Floating CTA */
.floating { position: fixed; right: 16px; bottom: 16px; z-index: 30; padding: 14px 22px; font-size: 14px; box-shadow: 0 12px 30px rgba(0,38,46,0.35); border: 1px solid rgba(0,54,64,0.15); }
.floating:hover { filter: none; transform: translateY(-2px); }
