:root {
  --wine-950: #350404;
  --wine-900: #4a0606;
  --wine-800: #5b0909;
  --wine-700: #741313;
  --wine-100: #f1dddd;
  --cream: #fbf7f2;
  --paper: #fffdf9;
  --white: #ffffff;
  --ink: #221b1b;
  --muted: #6f6363;
  --line: rgba(91, 9, 9, 0.16);
  --shadow: 0 24px 70px rgba(53, 4, 4, 0.12);
  --radius-lg: 30px;
  --radius-md: 20px;
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
svg { display: block; }
.container { width: min(calc(100% - 40px), var(--container)); margin-inline: auto; }
.section { padding: 104px 0; }

.skip-link {
  position: fixed;
  left: 16px;
  top: -60px;
  z-index: 1000;
  padding: 12px 18px;
  background: var(--wine-950);
  color: var(--white);
  border-radius: 10px;
  text-decoration: none;
}
.skip-link:focus { top: 16px; }

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  background: rgba(255, 253, 249, 0.9);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(16px);
  transition: box-shadow .25s ease, border-color .25s ease;
}
.site-header.scrolled { border-color: var(--line); box-shadow: 0 12px 35px rgba(53,4,4,.07); }
.header-inner { min-height: 86px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.brand { display: inline-flex; align-items: center; gap: 13px; text-decoration: none; color: var(--wine-900); font-size: .8rem; font-weight: 800; line-height: 1.15; letter-spacing: .02em; }
.brand img { width: 68px; height: 52px; object-fit: contain; }
.main-nav { display: flex; align-items: center; gap: 8px; }
.main-nav a { position: relative; padding: 10px 14px; color: #4b3d3d; font-size: .94rem; font-weight: 700; text-decoration: none; border-radius: 999px; transition: color .2s ease, background .2s ease; }
.main-nav a:hover, .main-nav a:focus-visible, .main-nav a.active { color: var(--wine-800); background: var(--wine-100); }
.menu-toggle { display: none; width: 46px; height: 46px; border: 1px solid var(--line); border-radius: 14px; background: var(--white); cursor: pointer; align-items: center; justify-content: center; flex-direction: column; gap: 5px; }
.menu-toggle span { width: 21px; height: 2px; border-radius: 2px; background: var(--wine-900); transition: transform .25s ease, opacity .25s ease; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.hero {
  position: relative;
  min-height: 820px;
  padding: 160px 0 90px;
  display: grid;
  align-items: center;
  background:
    radial-gradient(circle at 85% 10%, rgba(116,19,19,.13), transparent 30%),
    linear-gradient(145deg, #fffdf9 0%, #fbf4ed 100%);
  overflow: hidden;
}
.hero::before { content: ""; position: absolute; inset: auto 0 0; height: 1px; background: linear-gradient(90deg, transparent, var(--line), transparent); }
.hero-decoration { position: absolute; border: 1px solid rgba(91,9,9,.1); border-radius: 50%; }
.hero-decoration-one { width: 520px; height: 520px; right: -260px; top: 110px; }
.hero-decoration-two { width: 260px; height: 260px; right: -90px; top: 240px; }
.hero-grid { display: grid; grid-template-columns: 1.04fr .96fr; align-items: center; gap: 70px; }
.eyebrow { margin: 0 0 16px; color: var(--wine-700); font-size: .78rem; font-weight: 900; letter-spacing: .18em; text-transform: uppercase; }
.eyebrow.light { color: #f2cece; }
.hero h1, .section-heading h2, .feature-copy h2, .valuation-copy h2, .location-card h2 {
  font-family: Georgia, "Times New Roman", serif;
  letter-spacing: -.035em;
  line-height: 1.05;
}
.hero h1 { max-width: 730px; margin: 0; font-size: clamp(3.1rem, 6.3vw, 6.5rem); font-weight: 700; }
.hero h1 span { color: var(--wine-800); }
.hero-text { max-width: 650px; margin: 28px 0 0; color: var(--muted); font-size: clamp(1.03rem, 1.8vw, 1.28rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.button { min-height: 52px; display: inline-flex; align-items: center; justify-content: center; padding: 0 25px; border: 1px solid transparent; border-radius: 999px; font-weight: 800; text-decoration: none; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--wine-800); color: var(--white); box-shadow: 0 14px 28px rgba(91,9,9,.22); }
.button-primary:hover { background: var(--wine-950); box-shadow: 0 18px 36px rgba(91,9,9,.27); }
.button-secondary { border-color: var(--line); background: rgba(255,255,255,.7); color: var(--wine-900); }
.button-light { background: var(--white); color: var(--wine-900); }
.hero-note { display: flex; align-items: center; flex-wrap: wrap; gap: 11px; margin-top: 34px; color: #6c5c5c; font-size: .84rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.hero-note i { width: 4px; height: 4px; border-radius: 50%; background: var(--wine-700); }
.hero-visual { position: relative; }
.logo-frame { position: relative; padding: 48px 44px 68px; background: rgba(255,255,255,.86); border: 1px solid rgba(91,9,9,.12); border-radius: 42px 42px 130px 42px; box-shadow: var(--shadow); }
.logo-frame::after { content: ""; position: absolute; inset: 16px; border: 1px solid rgba(91,9,9,.08); border-radius: 30px 30px 115px 30px; pointer-events: none; }
.logo-frame img { position: relative; z-index: 1; width: 100%; max-height: 390px; object-fit: contain; }
.frame-line { position: absolute; z-index: 2; background: var(--wine-800); }
.frame-line-top { width: 82px; height: 6px; border-radius: 999px; left: 44px; top: 31px; }
.location-badge { position: absolute; z-index: 3; right: -20px; bottom: 18px; min-height: 56px; display: flex; align-items: center; gap: 10px; padding: 13px 20px; border-radius: 999px; background: var(--wine-900); color: var(--white); box-shadow: 0 15px 30px rgba(53,4,4,.25); font-weight: 800; }
.location-badge svg { width: 22px; fill: currentColor; }

.intro { padding-top: 85px; padding-bottom: 85px; background: var(--white); }
.intro-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 80px; align-items: end; }
.section-heading h2 { margin: 0; font-size: clamp(2.35rem, 4vw, 4.2rem); }
.section-heading > p:last-child { max-width: 640px; margin: 18px auto 0; color: var(--muted); }
.section-heading.centered { max-width: 790px; margin: 0 auto 52px; text-align: center; }
.intro-text { margin: 0; padding-left: 32px; border-left: 3px solid var(--wine-800); color: var(--muted); font-size: clamp(1.1rem, 2vw, 1.35rem); }

.services { background: var(--cream); }
.service-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.service-card { position: relative; min-height: 450px; padding: 42px; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--white); overflow: hidden; transition: transform .25s ease, box-shadow .25s ease; }
.service-card:hover { transform: translateY(-7px); box-shadow: var(--shadow); }
.service-card::before { content: ""; position: absolute; width: 210px; height: 210px; right: -85px; bottom: -90px; border: 1px solid var(--line); border-radius: 50%; }
.service-card.featured { background: var(--wine-900); color: var(--white); }
.service-card.featured::before { border-color: rgba(255,255,255,.15); }
.service-number { position: absolute; top: 31px; right: 36px; color: rgba(91,9,9,.18); font-family: Georgia, serif; font-size: 3.6rem; font-weight: 700; line-height: 1; }
.featured .service-number { color: rgba(255,255,255,.15); }
.service-icon { width: 76px; height: 76px; display: grid; place-items: center; margin-bottom: 55px; border-radius: 22px; background: var(--wine-100); color: var(--wine-800); }
.featured .service-icon { background: rgba(255,255,255,.12); color: var(--white); }
.service-icon svg { width: 43px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.service-card h3 { max-width: 520px; margin: 0; font-family: Georgia, serif; font-size: clamp(1.7rem, 3vw, 2.45rem); line-height: 1.15; }
.service-card p { max-width: 520px; margin: 20px 0 0; color: var(--muted); font-size: 1.05rem; }
.featured p { color: #e9dada; }
.service-card > a { width: fit-content; margin-top: auto; color: var(--wine-800); font-weight: 900; text-decoration: none; }
.service-card > a span { display: inline-block; margin-left: 8px; transition: transform .2s ease; }
.service-card > a:hover span { transform: translateX(5px); }
.service-tag { width: fit-content; margin-top: auto; padding: 9px 14px; border: 1px solid rgba(255,255,255,.22); border-radius: 999px; color: #f5dddd; font-size: .83rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }

.consignment { background: var(--paper); }
.feature-panel { min-height: 580px; display: grid; grid-template-columns: 1fr 1fr; overflow: hidden; border-radius: 38px; background: var(--wine-900); color: var(--white); box-shadow: var(--shadow); }
.feature-art { min-height: 500px; display: grid; place-items: center; padding: 55px; background: linear-gradient(145deg, rgba(255,255,255,.08), rgba(255,255,255,.015)); }
.feature-art svg { width: min(100%, 430px); }
.plan-line { fill: none; stroke: #f0d6d6; stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; }
.plan-fill { fill: #fff4f4; opacity: .88; }
.plan-dot { fill: #dca9a9; }
.feature-copy { display: flex; flex-direction: column; justify-content: center; padding: 70px 64px; }
.feature-copy h2 { margin: 0; font-size: clamp(2.5rem, 4.7vw, 4.8rem); }
.feature-copy > p:not(.eyebrow) { margin: 24px 0 0; color: #eadada; font-size: 1.18rem; }
.feature-points { display: grid; gap: 14px; margin-top: 36px; }
.feature-points span { display: flex; align-items: center; gap: 13px; font-weight: 800; }
.feature-points svg { width: 24px; padding: 5px; border-radius: 50%; background: rgba(255,255,255,.13); fill: none; stroke: currentColor; stroke-width: 2.5; }

.valuation { background: var(--white); }
.valuation-grid { display: grid; grid-template-columns: 1fr .8fr; gap: 100px; align-items: center; }
.valuation-copy h2 { max-width: 720px; margin: 0; font-size: clamp(2.5rem, 4.5vw, 4.7rem); }
.valuation-copy > p:not(.eyebrow) { max-width: 650px; margin: 25px 0 0; color: var(--muted); font-size: 1.15rem; }
.notice { max-width: 650px; display: flex; gap: 14px; align-items: flex-start; margin-top: 34px; padding: 19px 21px; border: 1px solid var(--line); border-radius: 17px; background: var(--cream); color: var(--wine-900); }
.notice svg { flex: 0 0 25px; width: 25px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.document-card { position: relative; max-width: 430px; margin-inline: auto; padding: 34px 38px 45px; border: 1px solid var(--line); border-radius: 28px; background: var(--paper); box-shadow: var(--shadow); transform: rotate(2deg); }
.document-top { display: flex; gap: 7px; }
.document-top span { width: 8px; height: 8px; border-radius: 50%; background: var(--wine-100); }
.document-card > svg { width: 85%; margin: 30px auto 18px; fill: none; stroke: var(--wine-800); stroke-width: 5; stroke-linejoin: round; }
.document-lines { display: grid; gap: 9px; }
.document-lines i { height: 6px; border-radius: 999px; background: var(--wine-100); }
.document-lines i:nth-child(2) { width: 82%; }
.document-lines i:nth-child(3) { width: 62%; }
.document-seal { position: absolute; right: -24px; bottom: -22px; width: 112px; height: 112px; display: grid; place-items: center; border: 5px double #e4b7b7; border-radius: 50%; background: var(--wine-900); color: var(--white); text-align: center; font-family: Georgia, serif; font-size: .93rem; font-weight: 700; line-height: 1.12; transform: rotate(-12deg); box-shadow: 0 15px 35px rgba(53,4,4,.2); }

.summary { background: var(--cream); }
.summary-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.summary-item { min-height: 180px; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--white); }
.summary-item span { color: var(--wine-700); font-family: Georgia, serif; font-size: 2rem; font-weight: 700; }
.summary-item p { margin: 35px 0 0; font-size: 1.08rem; font-weight: 800; line-height: 1.35; }

.location { padding-top: 80px; padding-bottom: 80px; background: var(--paper); }
.location-card { position: relative; min-height: 250px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 30px; padding: 48px 52px; border-radius: 32px; background: var(--wine-900); color: var(--white); overflow: hidden; }
.location-card::after { content: ""; position: absolute; width: 330px; height: 330px; right: -160px; bottom: -230px; border: 1px solid rgba(255,255,255,.16); border-radius: 50%; }
.location-icon { width: 84px; height: 84px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.18); border-radius: 25px; background: rgba(255,255,255,.08); }
.location-icon svg { width: 42px; fill: currentColor; }
.location-card h2 { margin: 0; font-size: clamp(2.3rem, 4vw, 4rem); }
.location-card p:not(.eyebrow) { margin: 10px 0 0; color: #eadada; }
.location-card .button { position: relative; z-index: 2; }

.faq { background: var(--white); }
.faq-grid { display: grid; grid-template-columns: .75fr 1.25fr; gap: 90px; align-items: start; }
.accordion { border-top: 1px solid var(--line); }
.accordion details { border-bottom: 1px solid var(--line); }
.accordion summary { list-style: none; display: flex; justify-content: space-between; gap: 20px; align-items: center; padding: 25px 0; color: var(--ink); font-weight: 900; cursor: pointer; }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary span { color: var(--wine-700); font-size: 1.5rem; transition: transform .2s ease; }
.accordion details[open] summary span { transform: rotate(45deg); }
.accordion details p { margin: -4px 0 25px; padding-right: 40px; color: var(--muted); }

.site-footer { padding: 60px 0 26px; background: var(--wine-950); color: var(--white); }
.footer-grid { display: flex; justify-content: space-between; align-items: center; gap: 40px; padding-bottom: 46px; }
.footer-brand { display: flex; align-items: center; gap: 20px; }
.footer-brand img { width: 110px; height: 78px; object-fit: contain; padding: 8px; border-radius: 14px; background: var(--white); }
.footer-brand strong, .footer-brand span { display: block; }
.footer-brand strong { max-width: 330px; font-family: Georgia, serif; font-size: 1.2rem; line-height: 1.25; }
.footer-brand span { margin-top: 7px; color: #dcbebe; font-size: .9rem; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 8px; }
.site-footer nav a { padding: 8px 11px; color: #e4cccc; text-decoration: none; font-weight: 700; }
.site-footer nav a:hover { color: var(--white); }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding-top: 23px; border-top: 1px solid rgba(255,255,255,.12); color: #c9aaaa; font-size: .84rem; }
.footer-bottom p { margin: 0; }

.back-to-top { position: fixed; right: 22px; bottom: 22px; z-index: 80; width: 48px; height: 48px; border: 0; border-radius: 50%; background: var(--wine-800); color: var(--white); box-shadow: 0 12px 28px rgba(53,4,4,.25); cursor: pointer; opacity: 0; visibility: hidden; transform: translateY(10px); transition: .25s ease; }
.back-to-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { background: var(--wine-950); }

/* El contenido es visible por defecto. Las animaciones solo se activan cuando JavaScript funciona. */
.reveal { opacity: 1; transform: none; }
html.motion-ready .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
html.motion-ready .reveal.visible { opacity: 1; transform: translateY(0); }

@media (max-width: 980px) {
  .section { padding: 82px 0; }
  .hero { min-height: auto; padding-top: 140px; }
  .hero-grid { grid-template-columns: 1fr; gap: 60px; }
  .hero-copy { max-width: 760px; }
  .hero-visual { max-width: 640px; width: 100%; margin-inline: auto; }
  .intro-grid { grid-template-columns: 1fr; gap: 28px; }
  .intro-text { max-width: 760px; }
  .feature-panel { grid-template-columns: 1fr; }
  .feature-art { min-height: 400px; }
  .valuation-grid { grid-template-columns: 1fr; gap: 70px; }
  .document-card { width: min(90%, 430px); }
  .faq-grid { grid-template-columns: 1fr; gap: 45px; }
}

@media (max-width: 760px) {
  .container { width: min(calc(100% - 28px), var(--container)); }
  .section { padding: 68px 0; }
  .header-inner { min-height: 74px; }
  .brand img { width: 56px; height: 44px; }
  .brand span { display: none; }
  .menu-toggle { display: flex; }
  .main-nav { position: fixed; inset: 74px 0 auto; display: grid; gap: 4px; padding: 18px 14px 26px; background: rgba(255,253,249,.98); border-bottom: 1px solid var(--line); box-shadow: 0 20px 35px rgba(53,4,4,.1); transform: translateY(-130%); opacity: 0; visibility: hidden; transition: transform .28s ease, opacity .28s ease, visibility .28s ease; }
  .main-nav.open { transform: translateY(0); opacity: 1; visibility: visible; }
  .main-nav a { padding: 14px 16px; text-align: center; }
  .hero { padding: 120px 0 70px; }
  .hero h1 { font-size: clamp(2.8rem, 14vw, 4.5rem); }
  .hero-text { font-size: 1.05rem; }
  .hero-actions .button { width: 100%; }
  .hero-note { justify-content: center; text-align: center; }
  .logo-frame { padding: 38px 24px 64px; border-radius: 30px 30px 80px 30px; }
  .location-badge { right: 12px; bottom: 13px; font-size: .86rem; }
  .service-grid, .summary-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 400px; padding: 32px 26px; }
  .service-icon { margin-bottom: 42px; }
  .feature-copy { padding: 50px 28px; }
  .feature-art { min-height: 320px; padding: 35px 25px; }
  .location-card { grid-template-columns: 1fr; justify-items: start; padding: 38px 28px; }
  .location-card .button { width: 100%; }
  .footer-grid, .footer-bottom { flex-direction: column; align-items: flex-start; }
  .site-footer nav { width: 100%; display: grid; grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 420px) {
  .hero h1 { font-size: 2.75rem; }
  .logo-frame { padding-inline: 16px; }
  .service-number { top: 25px; right: 24px; font-size: 3rem; }
  .document-card { padding-inline: 28px; }
  .document-seal { right: -6px; width: 96px; height: 96px; font-size: .82rem; }
  .footer-brand { align-items: flex-start; }
  .footer-brand img { width: 84px; height: 64px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .reveal, html.motion-ready .reveal { opacity: 1; transform: none; }
}
