:root {
  --paper: #faf7f2;
  --wine: #682d43;
  --wine-dark: #482032;
  --rose: #f1e3e7;
  --card: #fffdfc;
  --gold: #d8bd92;
  --ink: #352d31;
  --muted: #71646a;
  --line: #e1d6c7;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: Arial, Helvetica, sans-serif; line-height: 1.65; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid #a9784e; outline-offset: 5px; }
.wrap { width: min(1180px, calc(100% - 96px)); margin-inline: auto; }
.site-header { background: var(--wine); color: var(--paper); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 88px; }
.brand { display: flex; align-items: center; gap: 14px; font-size: 11px; font-weight: bold; letter-spacing: 1.5px; }
.brand b { font: 43px Georgia, serif; letter-spacing: -4px; line-height: 1; }
.brand small { display: block; font-size: 9px; letter-spacing: 1.5px; font-weight: normal; }
nav { display: flex; align-items: center; gap: 25px; font-size: 12px; }
nav a:not(.outline) { position: relative; }
nav a:not(.outline)::after { content: ''; position: absolute; inset: auto 0 -6px; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform 220ms ease; }
nav a:not(.outline):focus-visible::after { transform: scaleX(1); }
.outline { padding: 11px 20px; background: var(--gold); color: var(--wine-dark); border-radius: 3px; font-weight: bold; }
.hero { display: grid; grid-template-columns: 1fr 1fr; min-height: 680px; }
.hero > div { align-self: center; padding: 72px 55px 72px max(48px, calc((100vw - 1180px) / 2)); }
.eyebrow { color: var(--wine); font-size: 11px; font-weight: bold; letter-spacing: 2px; margin: 0 0 22px; }
h1, h2, h3 { font-family: Georgia, 'Times New Roman', serif; font-weight: normal; }
h1, h2 { margin: 0; letter-spacing: -1.7px; line-height: 1.13; }
h1 { font-size: clamp(46px, 4.6vw, 70px); max-width: 570px; }
h1 em { color: var(--wine); font-weight: normal; }
h2 { font-size: clamp(32px, 3.2vw, 45px); }
h3 { font-size: 22px; margin: 0 0 12px; line-height: 1.3; letter-spacing: -.5px; }
.lead { max-width: 450px; font-size: 15px; color: var(--muted); margin: 26px 0 30px; }
/* Interacciones suaves: los efectos de mouse solo se aplican con puntero preciso. */
.button, .outline { transition: transform 220ms ease, box-shadow 220ms ease, background-color 220ms ease; }
.button { display: inline-flex; align-items: center; justify-content: space-between; gap: 27px; min-height: 50px; border: 0; border-radius: 3px; padding: 14px 22px; background: var(--wine); color: var(--card); font-size: 12px; font-weight: bold; cursor: pointer; }
.button:hover { background: var(--wine-dark); }
.button span, .whatsapp-float span { font-size: 15px; font-weight: bold; -webkit-text-stroke: .6px currentColor; line-height: 1; }
.button span { transition: transform 220ms ease; }
.button:focus-visible, .outline:focus-visible { box-shadow: 0 6px 18px #48203226; }
.hint { font-size: 12px; margin-top: 17px; color: var(--wine); }
.hero-photo { margin: 0; position: relative; min-height: 680px; overflow: hidden; background: var(--rose); }
.hero-photo img { display: block; position: absolute; width: 100%; height: 100%; object-fit: cover; object-position: center; transition: transform 600ms cubic-bezier(.2,.7,.3,1); }
.hero-photo::after { content: ''; position: absolute; inset: 50% 0 0; background: linear-gradient(transparent, #26151d99); }
.hero-photo figcaption { position: absolute; z-index: 1; left: 40px; bottom: 40px; color: white; }
.hero-photo figcaption span { display: block; font-size: 10px; letter-spacing: 2px; margin-bottom: 12px; }
.hero-photo figcaption strong { font: 32px/1.2 Georgia, serif; }
.about { background: var(--rose); padding-block: 85px; }
.about-layout { display: grid; grid-template-columns: .85fr 1.15fr; align-items: center; gap: 100px; }
.portrait { display: block; width: 100%; max-width: 340px; margin-inline: auto; }
.portrait img { display: block; width: 100%; height: auto; aspect-ratio: 680 / 782; object-fit: cover; border: 1px solid var(--gold); border-radius: 170px 170px 4px 4px; background: var(--wine-dark); box-shadow: 0 18px 40px #4820322e; }
.about-copy h2 { font-size: clamp(30px, 2.8vw, 40px); }
.about-copy > p:not(.eyebrow) { font-size: 14px; color: var(--muted); margin-top: 25px; }
.about-copy .signature { border-top: 1px solid #dac5cd; padding-top: 23px; color: var(--wine) !important; font-family: Georgia, serif; }
.section { padding-block: 85px; }
.section-title { max-width: 700px; }
.section-title p { max-width: 560px; font-size: 14px; color: var(--muted); margin-top: 18px; }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 36px; }
.cards article { display: flex; flex-direction: column; padding: 27px; background: var(--card); border: 1px solid var(--line); border-radius: 6px; box-shadow: 0 5px 15px #682d4303; transition: transform 260ms ease, border-color 260ms ease, box-shadow 260ms ease; }
.cards article::before { content: ''; display: block; width: 30px; height: 2px; background: var(--gold); margin-bottom: 20px; }
.cards article:last-child { background: var(--rose); }
.cards article:focus-within { border-color: var(--wine); box-shadow: 0 9px 25px #682d4312; }
.cards article > span { color: var(--wine); font-size: 10px; letter-spacing: 1px; margin-bottom: 12px; }
.cards h3 { font-size: 21px; }
.cards p { margin: 0 0 23px; font-size: 13px; color: var(--muted); }
.cards a { margin-top: auto; font-size: 12px; color: var(--wine); font-weight: bold; }
.cards a:hover { text-decoration: underline; text-underline-offset: 4px; }
/* Tasas informadas por la comercializadora. */
.cards .finance-rate { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 12px; margin: 4px 0 22px; padding: 15px 0; border-block: 1px solid var(--line); color: var(--wine); }
.finance-rate strong { display: inline-block; font-family: Arial, Helvetica, sans-serif; font-size: 38px; font-weight: 400; line-height: 1.2; font-variant-numeric: lining-nums tabular-nums; letter-spacing: -1px; white-space: nowrap; }
.finance-rate span { font-size: 12px; }
.conditions { margin: 22px 0 0; color: var(--muted); font-size: 12px; }
.steps-bg { background: var(--rose); padding-block: 72px; }
.steps-layout > div > p:last-child { font-size: 14px; color: var(--muted); }
ol { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; list-style: none; padding: 0; margin: 30px 0 0; }
li { background: var(--card); border: 1px solid var(--line); border-radius: 5px; padding: 27px; min-height: 220px; display: flex; flex-direction: column; justify-content: space-between; gap: 35px; }
li > span { color: var(--wine); font: 24px Georgia, serif; }
li h3 { font-size: 20px; }
li p { margin: 0; font-size: 13px; color: var(--muted); }
li:first-child { background: var(--wine); color: var(--card); border-color: var(--wine); }
li:first-child > span { color: var(--gold); }
li:first-child p { color: #efdee4; }
/* Preguntas frecuentes: mayor contraste y separación visual. */
.faq { display: grid; grid-template-columns: .9fr 1.1fr; gap: 80px; }
details { margin-bottom: 12px; border: 1px solid var(--line); border-radius: 8px; background: var(--card); box-shadow: 0 3px 12px #682d4305; transition: border-color 220ms ease, background-color 220ms ease; }
details:last-child { margin-bottom: 0; }
details[open] { border-color: #b68b9b; background: #f8f0f3; }
details.is-animating { overflow: hidden; }
summary { display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 74px; padding: 20px 22px; list-style: none; cursor: pointer; color: var(--wine); font-size: 16px; font-weight: 600; line-height: 1.5; border-radius: 8px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: '+'; flex: 0 0 32px; width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; background: var(--rose); color: var(--wine); font-size: 23px; font-weight: normal; line-height: 1; transition: transform 240ms ease; }
details[open] summary::after { transform: rotate(45deg); }
details[data-expanded="false"] summary::after { transform: rotate(0); }
.faq summary:focus-visible { outline-offset: -3px; }
details p { margin: 0; padding: 0 22px 22px; font-size: 14px; line-height: 1.75; color: var(--muted); }
.contact-section { background: var(--wine); color: var(--paper); padding-block: 75px; }
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 100px; align-items: center; }
.contact .eyebrow { color: var(--gold); }
.contact > div > p:not(.eyebrow) { max-width: 370px; font-size: 14px; color: #efdee4; margin-block: 23px; }
.attention { border-top: 1px solid #ffffff30; margin: 28px 0 20px; padding-top: 20px; }
.attention span { display: block; font-size: 10px; letter-spacing: 2px; color: var(--gold); margin-bottom: 8px; }
.attention strong { font: 20px Georgia, serif; }
.attention p { font-size: 13px; margin: 5px 0 0; color: #efdee4; }
.phone { font-size: 15px; }
form { background: #ffffff08; border: 1px solid #d8bd9260; padding: 30px; border-radius: 6px; }
label { display: block; font-size: 13px; margin-bottom: 9px; }
input, textarea { display: block; width: 100%; border: 1px solid #cfb0bc; background: #fffdfc0a; color: var(--card); border-radius: 3px; padding: 12px; font-size: 14px; margin-bottom: 20px; }
textarea { resize: vertical; }
input::placeholder, textarea::placeholder { color: #e4cfd7; }
input:focus, textarea:focus { outline: 2px solid var(--gold); outline-offset: 3px; }
form .button { background: var(--gold); color: var(--wine-dark); width: 100%; }
form .button:hover { background: #e8d0ab; }
.form-note { font-size: 12px; color: #efdee4; margin-bottom: 0; }
footer { background: var(--wine-dark); color: var(--paper); padding-block: 30px; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 25px; }
.footer-inner p, .footer-inner > span { font-size: 12px; color: #e4cfd7; }
.legal { border-top: 1px solid #ffffff20; padding-top: 18px; margin-top: 23px; font-size: 12px; color: #e4cfd7; }
.skip { position: fixed; z-index: 10; top: -100px; left: 12px; padding: 12px; background: var(--wine-dark); color: white; }
.skip:focus { top: 12px; }
/* Acceso fijo a WhatsApp, solo en pantallas chicas. */
.whatsapp-float { display: none; }
@media (hover: hover) and (pointer: fine) {
  nav a:not(.outline):hover::after { transform: scaleX(1); }
  .button:hover, .outline:hover { transform: translateY(-3px); box-shadow: 0 8px 20px #48203226; }
  .outline:hover { background: #e8d0ab; }
  .button:hover span { transform: translate(2px, -2px); }
  .cards article:hover { transform: translateY(-5px); border-color: var(--wine); box-shadow: 0 12px 28px #682d4314; }
  .hero-photo:hover img { transform: scale(1.035); }
  details:hover { border-color: #b68b9b; background: #f8f0f3; }
}
.button:active, .outline:active { transform: translateY(0); box-shadow: none; }
.button:disabled { opacity: .6; cursor: not-allowed; transform: none; box-shadow: none; }
@media (min-width: 1600px) { .hero > div { padding-right: 80px; } }
@media (max-width: 1000px) {
  .wrap { width: calc(100% - 48px); }
  nav { gap: 15px; font-size: 11px; }
  .hero > div { padding: 50px 30px 50px 24px; }
  .hero, .hero-photo { min-height: 610px; }
  h1 { font-size: 49px; }
  .about-layout, .contact, .faq { gap: 45px; }
  .cards article, li { padding: 22px; }
}
@media (max-width: 720px) {
  .wrap { width: calc(100% - 40px); }
  .header-inner { min-height: 76px; }
  nav > a:not(.outline) { display: none; }
  .brand { font-size: 10px; gap: 12px; }
  .brand b { font-size: 37px; }
  .brand small { font-size: 8px; letter-spacing: 1px; }
  .outline { padding: 10px 14px; }
  .hero { grid-template-columns: 1fr; }
  .hero > div { padding: 52px 24px 40px; }
  h1 { font-size: clamp(42px, 9vw, 60px); }
  .eyebrow { font-size: 10px; letter-spacing: 1.5px; }
  .lead { font-size: 15px; }
  .hero-photo { min-height: 420px; }
  .hero-photo img { object-position: center 55%; }
  .hero-photo figcaption { left: 25px; bottom: 28px; }
  .hero-photo figcaption strong { font-size: 28px; }
  .about, .section, .steps-bg, .contact-section { padding-block: 52px; }
  .about-layout, .faq, .contact { grid-template-columns: 1fr; gap: 35px; }
  .portrait { max-width: 260px; }
  .about-copy h2 { font-size: 33px; }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .cards article { padding: 20px; }
  .cards h3 { font-size: 20px; }
  ol { grid-template-columns: 1fr; gap: 12px; }
  li { min-height: 0; flex-direction: row; justify-content: flex-start; gap: 23px; }
  li > span { min-width: 30px; }
  li h3 { font-size: 20px; }
  summary { font-size: 15px; padding: 18px; gap: 12px; }
  details p { padding: 0 18px 18px; }
  .footer-inner { flex-wrap: wrap; gap: 15px; }
  .footer-inner p { order: 3; flex-basis: 100%; margin: 0; }
  .footer-inner > span { margin-left: auto; }
  footer { padding-bottom: 96px; }
  form { padding: 24px; }
  .whatsapp-float { display: inline-flex; align-items: center; gap: 12px; position: fixed; z-index: 5; right: 16px; bottom: max(16px, env(safe-area-inset-bottom)); padding: 14px 20px; border-radius: 999px; background: var(--wine); color: var(--card); border: 1px solid var(--gold); box-shadow: 0 10px 28px #26151d47; font-size: 13px; font-weight: bold; transition: opacity 220ms ease, transform 220ms ease, visibility 220ms; }
  .whatsapp-float.is-hidden { opacity: 0; visibility: hidden; transform: translateY(12px); }
}
@media (max-width: 440px) { .cards { grid-template-columns: 1fr; } .hint { max-width: 280px; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button, .button span, .outline, .cards article, .hero-photo img, details,
  nav a:not(.outline)::after, summary::after, .whatsapp-float { transition: none; }
  .button:hover, .outline:hover, .button:hover span, .cards article:hover,
  .hero-photo:hover img, .whatsapp-float.is-hidden { transform: none; }
}
