:root {
  --ink: #0b1118;
  --panel: #111b26;
  --paper: #f3efe6;
  --gold: #d6a451;
  --gold-light: #f0cf8c;
  --gold-deep: #80591f;
  --muted: #53606c;
  --line: #ddd8ce;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: #fff; color: var(--ink); font: 16px/1.65 Inter, system-ui, -apple-system, "Segoe UI", sans-serif; -webkit-font-smoothing: antialiased; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { line-height: 1.12; }
h1, h2 { font-family: Fraunces, Georgia, serif; font-weight: 500; letter-spacing: -.025em; }
a { color: inherit; text-underline-offset: 4px; }
button, input, select, textarea { font: inherit; }
button, select { cursor: pointer; }
button:disabled { opacity: .6; cursor: wait; }
img { max-width: 100%; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid #247eaf; outline-offset: 4px; }
.contact-shell { width: min(1120px, calc(100% - 48px)); margin-inline: auto; }
.skip-link { position: fixed; z-index: 100; left: 16px; top: -90px; padding: 12px 18px; background: var(--gold-light); color: var(--ink); font-weight: 700; }
.skip-link:focus { top: 12px; }
.contact-header { position: relative; z-index: 10; background: var(--ink); border-bottom: 1px solid #2a3642; color: #fff; }
.contact-navigation { display: flex; min-height: 84px; align-items: center; justify-content: space-between; gap: 30px; }
.contact-brand { display: inline-flex; flex-shrink: 0; align-items: center; text-decoration: none; }
.contact-brand img { display: block; width: 184px; height: auto; }
.contact-navigation nav { display: flex; flex-wrap: wrap; gap: 26px; }
.contact-navigation nav a { padding: 11px 0; color: #c2cbd4; font-size: .87rem; font-weight: 600; text-decoration: none; }
.contact-navigation nav a:hover, .contact-navigation nav a[aria-current] { color: var(--gold-light); }
.contact-navigation nav a[aria-current] { box-shadow: 0 1px var(--gold); }
.contact-hero { padding: 28px 0 72px; background: radial-gradient(circle at 92% 34%, #6e4a1f30, transparent 37%), var(--ink); color: #fff; }
.contact-breadcrumb { margin-bottom: 52px; }
.contact-breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; color: #b5c0ca; font-size: .78rem; }
.contact-breadcrumb li + li::before { content: "/"; margin-right: 10px; color: #74808c; }
.contact-breadcrumb a { color: #d8e0e7; }
.contact-hero-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(280px, .85fr); gap: 70px; align-items: center; }
.eyebrow { margin: 0 0 16px; color: var(--gold-deep); font-size: .73rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.contact-hero .eyebrow { color: var(--gold-light); }
.contact-hero h1 { max-width: 16ch; margin-bottom: 26px; font-size: clamp(2.65rem, 5.1vw, 4.35rem); line-height: 1.02; }
.hero-intro { max-width: 54ch; margin: 0; color: #bdc8d3; font-size: 1.05rem; line-height: 1.75; }
.contact-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; margin-top: 32px; }
.contact-button { display: inline-flex; min-height: 52px; align-items: center; justify-content: center; gap: 20px; padding: 14px 20px; border: 1px solid transparent; border-radius: 7px; text-decoration: none; font-size: .9rem; font-weight: 700; line-height: 1.4; transition: background .16s, border-color .16s; }
.contact-button > span[aria-hidden] { font-size: 1.2rem; font-weight: 400; }
.contact-button-gold { background: linear-gradient(125deg, var(--gold-light), var(--gold)); color: #1c160d; }
.contact-button-gold:hover { background: var(--gold-light); }
.contact-button-dark { background: var(--ink); color: #fff; }
.contact-button-dark:hover { background: #253444; }
.contact-button-outline { border-color: #aa8955; color: #65471a; background: #fff; }
.contact-button-outline:hover { background: #f8f2e8; }
.hero-text-link { color: var(--gold-light); font-size: .87rem; }
.contact-channels { padding: 30px; border: 1px solid #46505a; border-radius: 10px; background: #ffffff04; }
.contact-channels h2 { margin-bottom: 16px; font-size: 1.9rem; }
.contact-channels > p:not(.eyebrow) { color: #b9c4ce; font-size: .9rem; }
.contact-channel { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 19px 0; border-top: 1px solid #3e4954; text-decoration: none; }
.contact-channel strong { color: var(--gold-light); font-weight: 600; }
.contact-channel small { display: block; margin-top: 3px; color: #b9c4ce; font-size: .8rem; }
.contact-channel > span:last-child { color: var(--gold-light); font-size: 1.3rem; }
.contact-channel:hover strong { text-decoration: underline; text-underline-offset: 4px; }
.contact-channels .channel-note { margin: 10px 0 0; padding-top: 20px; border-top: 1px solid #3e4954; font-size: .78rem !important; }
.contact-section { padding: 80px 0; scroll-margin-top: 24px; }
.contact-section h2 { margin-bottom: 20px; font-size: clamp(2rem, 3.5vw, 2.8rem); }
.section-intro { max-width: 60ch; color: var(--muted); }
.contact-form-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(260px, .8fr); align-items: start; gap: 64px; }
.contact-form-card { min-width: 0; }
.form-required { margin: 27px 0 22px; color: var(--muted); font-size: .8rem; }
.form-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px; }
.field { margin-bottom: 21px; min-width: 0; }
.field label { display: block; margin-bottom: 8px; color: #28333e; font-size: .85rem; font-weight: 600; }
.field label span { color: var(--muted); font-size: .75rem; font-weight: 400; }
.field input, .field select, .field textarea { display: block; width: 100%; min-width: 0; min-height: 49px; padding: 11px 12px; border: 1px solid #b9bfc3; border-radius: 5px; color: var(--ink); background: #fff; font-size: 1rem; line-height: 1.5; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: #738393; }
.field textarea { resize: vertical; min-height: 142px; }
.field textarea::placeholder { color: #69747d; font-size: .9rem; opacity: 1; }
.field-help { margin: 6px 0 0; color: var(--muted); font-size: .74rem; }
.hp-field { position: absolute !important; left: -9999px !important; height: 1px !important; width: 1px !important; overflow: hidden !important; }
.privacy-check { display: flex; align-items: flex-start; gap: 11px; color: var(--muted); font-size: .8rem; line-height: 1.6; }
.privacy-check input { flex: 0 0 auto; width: 18px; height: 18px; margin: 4px 0 0; accent-color: #80591f; cursor: pointer; }
.privacy-check a { color: #65471a; }
.form-actions { margin-top: 24px; }
.form-status { min-height: 1.6em; margin: 16px 0 0; color: var(--muted); font-size: .9rem; }
.form-status.success, .form-status.ok { color: #176248; }
.form-status.error { color: #9e3026; }
#whatsapp-followup { margin-top: 16px; }
.noscript-note { padding: 16px; border: 1px solid var(--line); background: var(--paper); font-size: .85rem; }
.project-guide { margin-top: 3px; padding: 30px; border: 1px solid var(--line); border-radius: 10px; background: var(--paper); }
.project-guide h2 { font-size: 1.85rem; }
.guide-steps { margin: 28px 0 0; padding: 0; list-style: none; counter-reset: guide; }
.guide-steps li { position: relative; counter-increment: guide; padding: 0 0 24px 37px; }
.guide-steps li::before { position: absolute; left: 0; top: 0; color: #80591f; font-size: .75rem; font-weight: 700; letter-spacing: .05em; content: counter(guide, decimal-leading-zero); }
.guide-steps h3, .project-guide-note h3 { margin-bottom: 9px; font-size: .96rem; font-weight: 600; line-height: 1.4; }
.guide-steps p, .project-guide-note p { margin: 0; color: var(--muted); font-size: .85rem; line-height: 1.7; }
.project-guide-note { padding-top: 26px; border-top: 1px solid #d2c9ba; }
.project-guide-note a { display: inline-block; margin-top: 17px; color: #73501b; font-size: .85rem; font-weight: 600; }
.contact-services { background: var(--paper); }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 36px; margin-bottom: 30px; }
.section-heading h2 { max-width: 20ch; margin-bottom: 0; }
.section-heading > a { flex-shrink: 0; margin-bottom: 5px; color: var(--gold-deep); font-size: .88rem; font-weight: 600; }
.service-options { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.service-options > a { display: flex; flex-direction: column; padding: 26px; border: 1px solid #d8d1c4; border-top: 2px solid #b8873f; border-radius: 6px; background: #fff; text-decoration: none; }
.service-options > a:hover { border-color: #a77935; }
.service-options h3 { margin-bottom: 14px; font: 500 1.45rem/1.2 Fraunces, Georgia, serif; }
.service-options p { margin-bottom: 24px; color: var(--muted); font-size: .89rem; }
.service-options > a > span { margin-top: auto; color: #73501b; font-size: .82rem; font-weight: 600; }
.service-options > a > span > span { margin-left: 7px; }
.faq-grid { display: grid; grid-template-columns: minmax(240px, .8fr) minmax(0, 1.2fr); gap: 65px; }
.contact-faq h2 { max-width: 15ch; }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { padding: 24px 0; border-bottom: 1px solid var(--line); }
.faq-list summary { padding-right: 12px; color: #27323d; font-size: .95rem; font-weight: 600; line-height: 1.5; cursor: pointer; }
.faq-list summary::marker { color: var(--gold-deep); }
.faq-list details p { margin: 16px 0 0; color: var(--muted); font-size: .91rem; line-height: 1.8; }
.contact-footer { padding: 44px 0 32px; background: #070d13; color: #bdc7d0; font-size: .82rem; }
.footer-top { display: flex; align-items: center; gap: 30px; padding-bottom: 30px; }
.footer-top .contact-brand img { width: 172px; }
.footer-top p { margin: 0; }
.footer-top > a:last-child { margin-left: auto; color: var(--gold-light); font-weight: 600; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px; padding-top: 24px; border-top: 1px solid #2a343f; }
.footer-bottom nav { display: flex; flex-wrap: wrap; gap: 12px 24px; }
.footer-bottom a { color: #d8dfe5; }

@media (max-width: 950px) {
  .contact-hero-grid { grid-template-columns: minmax(0, 1.2fr) minmax(260px, 1fr); gap: 36px; }
  .contact-form-grid { grid-template-columns: minmax(0, 1.4fr) minmax(250px, .8fr); gap: 30px; }
  .project-guide { padding: 25px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .faq-grid { gap: 36px; }
  .footer-top { flex-wrap: wrap; gap: 20px; }
  .footer-top > a:last-child { margin-left: 0; }
}

@media (max-width: 760px) {
  .contact-hero-grid, .contact-form-grid, .faq-grid { grid-template-columns: 1fr; }
  .contact-hero-grid { gap: 36px; }
  .contact-hero h1 { max-width: 18ch; }
  .contact-channels { max-width: 540px; }
  .contact-section { padding: 60px 0; }
  .contact-form-grid { gap: 46px; }
  .form-row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px; }
  .service-options { grid-template-columns: 1fr; }
  .section-heading { align-items: flex-start; flex-direction: column; gap: 20px; }
  .faq-grid { gap: 22px; }
  .contact-faq h2 { max-width: none; }
}

@media (max-width: 570px) {
  .contact-shell { width: calc(100% - 32px); }
  .contact-navigation { flex-direction: column; align-items: flex-start; justify-content: center; gap: 6px; padding-block: 17px 12px; }
  .contact-brand img { width: 158px; }
  .contact-navigation nav { justify-content: space-between; width: 100%; gap: 12px; }
  .contact-navigation nav a { padding: 8px 0; font-size: .81rem; }
  .contact-hero { padding: 23px 0 52px; }
  .contact-breadcrumb { margin-bottom: 36px; }
  .contact-hero h1 { font-size: clamp(2.35rem, 10.2vw, 3.45rem); }
  .hero-intro { font-size: 1rem; }
  .contact-actions { align-items: flex-start; flex-direction: column; gap: 18px; }
  .contact-actions .contact-button { width: 100%; }
  .contact-channels { padding: 25px; }
  .contact-section { padding-block: 50px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .form-actions .contact-button { width: 100%; }
  .project-guide { padding: 24px; }
  .footer-top { flex-direction: column; align-items: flex-start; }
  .footer-bottom { flex-direction: column; }
  .footer-bottom nav { gap: 12px 18px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .contact-button { transition: none; }
}

/* Contacto directo: enlaces cómodos también en pantallas pequeñas. */
.contact-channel strong,.direct-contact-options a{overflow-wrap:anywhere}.contact-channel>span:first-child{min-width:0}.direct-contact-options{display:grid;gap:22px}.direct-contact-options p{margin:0}.direct-contact-options .contact-button{white-space:normal}
