/* Contacto utiliza las fuentes, navegación y papel de la portada. */
.page-contact .main-nav > a[aria-current='page'] { position: relative; color: var(--wine); font-weight: 600; }
.page-contact .main-nav > a[aria-current='page']::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--gold); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.contact-leaf { position: absolute; height: auto; pointer-events: none; }
.contact-hero { position: relative; min-height: clamp(480px, 47.8vw, 690px); isolation: isolate; }
.contact-hero-scene { position: absolute; inset: 64px 0 0 31%; z-index: -1; -webkit-mask: url('../imagenes/contacto/mascara-contacto.svg') no-repeat 0 0 / 100% 100%; mask: url('../imagenes/contacto/mascara-contacto.svg') no-repeat 0 0 / 100% 100%; }
.contact-hero-scene img { width: 100%; height: 100%; object-fit: cover; object-position: 64% 49%; }
.contact-hero-copy { position: relative; width: 50%; max-width: 770px; padding: clamp(145px, 13vw, 190px) 0 92px 7.5%; }
.contact-hero-copy .eyebrow { margin: 0 0 13px 3px; color: #916024; }
.contact-hero-copy h1 { color: var(--wine); font-family: var(--serif); font-size: clamp(64px, 7.6vw, 110px); font-weight: 500; line-height: .96; letter-spacing: -.035em; }
.contact-hero-copy h1 > span { display: block; margin: 5px 0 27px 8px; color: #ab7431; font-family: var(--script); font-size: .89em; font-weight: 400; line-height: 1.02; letter-spacing: -.035em; white-space: nowrap; transform: rotate(-4deg); transform-origin: left center; }
.contact-hero-copy > p:last-child { max-width: 34ch; margin-left: 7px; font-size: clamp(12px, 1.32vw, 17px); line-height: 1.58; }
.contact-hero-heart { position: absolute; right: 20%; top: 64%; width: 43px; height: 53px; color: var(--gold); transform: rotate(3deg); }
.contact-hero-leaf { top: 180px; left: -48px; width: clamp(83px, 9vw, 130px); transform: rotate(-9deg); opacity: .9; }
.contact-contour { position: absolute; bottom: 21px; left: 0; width: 100%; height: 105px; fill: none; stroke: #fffaf4; stroke-width: 2; opacity: .8; pointer-events: none; }
.contact-hero-wave { position: absolute; bottom: -1px; width: 100%; height: 84px; fill: var(--paper); pointer-events: none; }

.contact-details { position: relative; z-index: 2; padding: 0 7.2% 58px; }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(45px, 5.8vw, 85px); max-width: 1250px; margin: auto; }
.contact-form-column, .contact-info-column { min-width: 0; }
.contact-form-section { position: relative; scroll-margin-top: 30px; }
.contact-form-section > .eyebrow { margin-bottom: 4px; }
.contact-section-title { color: var(--wine); font-family: var(--serif); font-size: clamp(41px, 4.5vw, 65px); font-weight: 500; line-height: 1.2; letter-spacing: -.035em; white-space: nowrap; }
.contact-section-title > span { display: inline-block; color: #a66b2c; font-family: var(--script); font-size: 1.2em; font-weight: 400; margin-left: 6px; transform: rotate(-5deg); }
.event-form { display: flex; flex-direction: column; gap: 14px; margin-top: 24px; }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.form-field { display: flex; align-items: center; gap: 14px; width: 100%; min-height: 51px; padding: 0 17px; border: 1px solid #cba77e66; border-radius: 10px; background: #fffaf53b; transition: border-color .2s, box-shadow .2s; }
.form-field:focus-within { border-color: #a67744; box-shadow: 0 0 0 3px #bc824114; }
.form-field > .icon { width: 20px; height: 20px; color: #9b5c22; stroke-width: 1.25; }
.form-field input, .form-field select, .form-field textarea { min-width: 0; width: 100%; border: 0; border-radius: 0; outline: 0; background: transparent; color: var(--ink); font: 400 clamp(11px, 1.06vw, 14px)/1.5 var(--sans); }
.form-field input, .form-field select { padding: 13px 0; min-height: 49px; }
.form-field input::placeholder, .form-field textarea::placeholder { color: #5e5955; opacity: 1; }
.form-field select { appearance: none; cursor: pointer; }
.form-field select:invalid { color: #5e5955; }
.form-field select option { color: var(--ink); background: var(--paper); }
.form-select { position: relative; }
.form-select select { padding-right: 22px; }
.form-select .select-chevron { position: absolute; right: 16px; pointer-events: none; width: 17px; }
.field-caption { display: block; margin: 0 0 6px 3px; font-size: 10px; color: #746557; }
.form-field input[type='date'] { min-width: 0; color-scheme: light; }
.form-field input[type='date']::-webkit-calendar-picker-indicator { cursor: pointer; opacity: .65; }
.form-message { align-items: flex-start; min-height: 123px; padding-top: 12px; }
.form-message > .icon { margin-top: 2px; }
.form-field textarea { resize: vertical; min-height: 101px; padding: 0 0 8px; }
.form-consent { display: flex; align-items: flex-start; gap: 9px; font-size: 11px; line-height: 1.6; color: #655d56; }
.form-consent input { flex: 0 0 auto; width: 16px; height: 16px; margin: 0; accent-color: var(--wine); cursor: pointer; }
.form-consent label { cursor: pointer; }
.form-help { margin: -5px 0 0 25px; max-width: 60ch; color: #736a61; font-size: 10px; line-height: 1.5; }
.form-submit { align-self: flex-start; min-width: 64%; min-height: 48px; margin-top: 1px; font-size: 11px; }
.form-submit[disabled] { cursor: wait; opacity: .7; transform: none; }
.form-status { padding: 13px 15px; border: 1px solid #a49b5d60; border-radius: 10px; background: #edf0dc; font-size: 12px; line-height: 1.6; }
.form-status[hidden] { display: none; }
.form-status[data-state='error'] { border-color: #a7545c70; background: #f8e9e5; color: var(--wine); }
.form-status[data-state='sending'], .form-status[data-state='activation'] { border-color: #cba77e66; background: #f7ecda; }
.form-honeypot { display: none; }
.form-leaf { right: -22px; bottom: -14px; width: 66px; transform: rotate(53deg); opacity: .8; z-index: -1; }
.contact-faq { margin-top: 42px; }
.contact-faq > .eyebrow { margin-bottom: 13px; font-size: 10px; font-weight: 600; }
.contact-faq details { margin: 10px 0; border: 1px solid #d7b28a5c; border-radius: 12px; background: #f3e4d147; }
.contact-faq summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 48px; padding: 12px 17px; font-size: clamp(11px, 1.09vw, 14px); line-height: 1.45; cursor: pointer; list-style: none; }
.contact-faq summary::-webkit-details-marker { display: none; }
.contact-faq summary > .icon { width: 15px; height: 15px; color: var(--wine); transform: rotate(-90deg); transition: transform .2s; }
.contact-faq details[open] summary > .icon { transform: rotate(0); }
.contact-faq details > p { padding: 0 17px 17px; font-size: 12px; line-height: 1.65; color: #655749; }
.contact-side-leaf { right: -43px; top: 29px; width: 123px; transform: rotate(-15deg); z-index: -1; }
.contact-bottom-leaf { left: -24px; bottom: -22px; width: 95px; transform: rotate(-27deg); }

.contact-info-column { position: relative; padding-top: 25px; }
.contact-info-column > .eyebrow { font-size: 9px; margin-bottom: 19px; letter-spacing: .28em; }
.contact-info-list { display: flex; flex-direction: column; gap: 23px; list-style: none; margin: 0; padding: 0; }
.contact-info-list li { display: grid; grid-template-columns: 66px minmax(0, 1fr); align-items: start; gap: 18px; }
.contact-icon { display: flex; align-items: center; justify-content: center; width: 66px; height: 66px; border-radius: 50%; color: #925b26; background: radial-gradient(circle at 35% 30%, #f5e7cf, #eed9b8); }
.contact-icon > .icon { width: 29px; height: 29px; stroke-width: 1.6; }
.contact-info-list h3 { margin: 5px 0 4px; font-size: 13px; font-weight: 500; }
.contact-value { display: inline-block; font-size: clamp(14px, 1.38vw, 18px); line-height: 1.4; }
.contact-value:hover { color: var(--wine); text-decoration: underline; text-underline-offset: 3px; }
.contact-email { font-size: clamp(11px, 1.12vw, 15px); overflow-wrap: anywhere; }
.contact-info-list p { margin-top: 4px; color: #827870; font-size: 11px; line-height: 1.6; }
.contact-info-list .contact-location { margin: 0; color: #514a46; font-size: clamp(12px, 1.22vw, 16px); line-height: 1.55; }
.contact-text-link { display: inline-flex; align-items: center; gap: 13px; margin-top: 6px; color: #94511f; font-size: 12px; }
.contact-text-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.contact-text-link > .icon { width: 15px; height: 15px; }
.contact-map { position: relative; overflow: hidden; margin-top: 30px; border: 1px solid #d6b5885c; border-radius: 18px; background: #e8ddc9; }
.contact-map iframe { display: block; width: 100%; height: clamp(240px, 24vw, 330px); border: 0; }
.map-directions { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 46px; padding: 13px 17px; color: var(--wine); background: var(--paper); font-size: 11px; font-weight: 500; }
.map-directions:hover { background: #f0e0c9; }
.map-olive { left: -33px; bottom: 92px; width: 64px; transform: rotate(2deg); }
.map-note { margin-top: 23px; color: #95612f; text-align: center; font-family: var(--script); font-size: clamp(26px, 2.7vw, 37px); line-height: 1.2; }
.map-note > span { display: block; margin-top: 6px; font-family: var(--sans); font-size: 10px; color: #857a6d; line-height: 1.5; }

.contact-closing { position: relative; isolation: isolate; min-height: clamp(330px, 33vw, 470px); }
.contact-closing-scene { position: absolute; inset: 0; z-index: -2; }
.contact-closing-scene img { width: 100%; height: 100%; object-fit: cover; object-position: 22% 55%; }
.contact-closing-panel { position: absolute; inset: 0 0 0 39%; z-index: -1; background: url('../imagenes/textura-papel.svg'), radial-gradient(ellipse at 35% 35%, #8e3534, #711d28 65%); -webkit-mask: url('../imagenes/contacto/mascara-cierre-contacto.svg') no-repeat 0 0 / 100% 100%; mask: url('../imagenes/contacto/mascara-cierre-contacto.svg') no-repeat 0 0 / 100% 100%; }
.contact-closing-wave { position: absolute; top: -1px; left: 0; width: 100%; height: 64px; fill: var(--paper); }
.contact-closing-copy { position: relative; max-width: 800px; margin-left: 56%; padding: clamp(66px, 6.7vw, 95px) 7% 45px 0; color: var(--paper); }
.contact-closing-copy > .eyebrow { color: #d9b77f; font-size: 9px; margin-bottom: 12px; }
.contact-closing-copy h2 { position: relative; font-family: var(--serif); font-size: clamp(37px, 4.1vw, 59px); font-weight: 500; line-height: .98; letter-spacing: -.025em; }
.contact-closing-copy h2 > span { margin-left: 19px; }
.contact-closing-copy h2 > .drawn-heart { position: absolute; right: -19px; top: 38px; width: 34px; height: 44px; color: #d2a764; transform: rotate(5deg); }
.contact-closing-copy > p:not(.eyebrow) { margin: 18px 0 19px 18px; font-size: clamp(11px, 1.2vw, 15px); line-height: 1.55; }
.contact-closing-copy > .button { margin-left: 18px; min-width: 69%; }
.closing-leaf-left { left: 44%; bottom: 5px; width: 120px; filter: brightness(0) invert(93%) sepia(13%) saturate(452%) hue-rotate(328deg); transform: rotate(-31deg); opacity: .8; }
.closing-leaf-right { right: -27px; bottom: -15px; width: 85px; filter: brightness(0) invert(93%) sepia(13%) saturate(452%) hue-rotate(328deg); transform: rotate(47deg); opacity: .8; }
.contact-footer { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 21px 7.2%; color: #876b51; font-size: 10px; }
.contact-footer a:hover { color: var(--wine); }
.contact-thanks { position: relative; min-height: 80vh; padding: 185px 22px 80px; text-align: center; }
.contact-thanks > .eyebrow, .contact-thanks > h1, .contact-thanks > p, .contact-thanks > a { position: relative; z-index: 1; }
.contact-thanks h1 { margin: 8px 0 24px; font-family: var(--serif); font-size: clamp(50px, 7vw, 82px); color: var(--wine); font-weight: 500; }
.contact-thanks > p:not(.eyebrow) { max-width: 48ch; margin: 0 auto 28px; font-size: 15px; line-height: 1.7; }
.contact-thanks .contact-leaf { width: 90px; top: 190px; right: 7%; }

@media (min-width: 1500px) {
  .contact-hero-copy { padding-left: max(7.5%, calc((100vw - 1290px) / 2)); max-width: none; }
}
@media (max-width: 1050px) {
  .contact-details { padding-right: 5.7%; padding-left: 7.2%; }
  .contact-grid { gap: 5%; }
  .contact-info-list li { grid-template-columns: 60px minmax(0, 1fr); gap: 14px; }
  .contact-icon { width: 60px; height: 60px; }
  .contact-section-title { font-size: 4.6vw; }
  .contact-hero-heart { width: 34px; right: 8%; }
}
@media (max-width: 860px) {
  .contact-hero { min-height: 465px; }
  .contact-hero-copy { padding-top: 146px; padding-left: 6%; padding-bottom: 88px; }
  .contact-hero-copy h1 { font-size: 7.8vw; }
  .contact-hero-copy > p:last-child { font-size: 12px; max-width: 29ch; }
  .contact-hero-scene { top: 83px; left: 32%; }
  .contact-hero-heart { top: 65%; right: 5%; width: 28px; }
  .contact-grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 30px; }
  .contact-details { padding: 0 5% 45px; }
  .contact-section-title { font-size: 4.55vw; }
  .contact-info-column { padding-top: 15px; }
  .contact-info-list { gap: 20px; }
  .contact-info-list li { grid-template-columns: 46px minmax(0, 1fr); gap: 11px; }
  .contact-icon { width: 46px; height: 46px; }
  .contact-icon > .icon { width: 24px; height: 24px; }
  .contact-info-list h3 { margin-top: 0; font-size: 12px; }
  .contact-info-list p { font-size: 10px; }
  .contact-info-column > .eyebrow { font-size: 8px; letter-spacing: .18em; }
  .form-field { gap: 10px; padding: 0 12px; }
  .form-field > .icon { width: 17px; height: 17px; }
  .form-row { gap: 10px; }
  .form-field input, .form-field select, .form-field textarea { font-size: 11px; }
  .form-consent { font-size: 9px; }
  .map-olive { left: -28px; bottom: 78px; width: 45px; }
  .contact-map iframe { height: 246px; }
  .contact-closing-copy { margin-left: 52%; padding-right: 6%; padding-top: 69px; }
  .contact-closing-copy h2 { font-size: 4.9vw; }
  .closing-leaf-left { left: 39%; width: 95px; }
}
@media (max-width: 640px) {
  .contact-hero { display: flex; flex-direction: column; min-height: 0; padding-top: 103px; }
  .contact-hero-copy { width: 100%; max-width: 500px; padding: 25px 8% 32px; margin: 0 auto; }
  .contact-hero-copy .eyebrow { font-size: 10px; margin-bottom: 12px; }
  .contact-hero-copy h1 { font-size: clamp(54px, 14vw, 84px); }
  .contact-hero-copy h1 > span { margin-top: 7px; margin-bottom: 24px; font-size: .91em; }
  .contact-hero-copy > p:last-child { font-size: 13px; max-width: 32ch; margin-left: 4px; }
  .contact-hero-heart { top: auto; bottom: 40px; right: 12%; width: 29px; height: 40px; }
  .contact-hero-scene { position: relative; z-index: -1; inset: auto; display: block; height: clamp(245px, 67vw, 360px); margin-top: -4px; -webkit-mask: none; mask: none; clip-path: polygon(0 7%, 12% 4%, 30% 6%, 51% 0, 77% 4%, 100% 0, 100% 100%, 0 100%); order: 2; }
  .contact-hero-scene img { object-position: 64% 50%; }
  .contact-hero-wave { z-index: 3; height: 46px; }
  .contact-contour { z-index: 2; height: 80px; bottom: 8px; }
  .contact-hero-leaf { top: 185px; left: -55px; width: 85px; opacity: .45; }
  .contact-details { padding: 17px 7% 37px; }
  .contact-grid { grid-template-columns: minmax(0, 1fr); gap: 42px; max-width: 480px; }
  .contact-section-title { font-size: clamp(35px, 9.6vw, 58px); }
  .event-form { margin-top: 20px; gap: 13px; }
  .form-field { padding: 0 12px; min-height: 52px; gap: 10px; }
  .form-field input, .form-field select, .form-field textarea { font-size: 12px; }
  .form-field input[type='date'] { font-size: 11px; }
  .form-field > .icon { width: 18px; height: 18px; }
  .field-caption { font-size: 9px; }
  .form-consent { font-size: 10px; }
  .form-help { font-size: 9px; }
  .form-submit { min-width: 75%; }
  .contact-faq { margin-top: 36px; }
  .contact-faq summary { font-size: 12px; min-height: 52px; }
  .contact-info-column { padding-top: 0; }
  .contact-info-column > .eyebrow { font-size: 10px; letter-spacing: .22em; }
  .contact-info-list { gap: 23px; }
  .contact-info-list li { grid-template-columns: 60px minmax(0, 1fr); gap: 17px; }
  .contact-icon { width: 60px; height: 60px; }
  .contact-icon > .icon { width: 28px; height: 28px; }
  .contact-info-list h3 { font-size: 13px; margin-top: 5px; }
  .contact-value { font-size: 17px; }
  .contact-email { font-size: 12px; }
  .contact-info-list p { font-size: 11px; }
  .contact-info-list .contact-location { font-size: 13px; }
  .contact-map iframe { height: 290px; }
  .map-note { margin-top: 22px; font-size: 31px; }
  .map-olive { bottom: 85px; left: -25px; width: 53px; }
  .contact-side-leaf { width: 73px; right: -34px; top: 280px; opacity: .45; }
  .contact-bottom-leaf { width: 70px; bottom: -25px; opacity: .6; }
  .form-leaf { width: 49px; right: -14px; }
  .contact-closing { padding-top: 205px; min-height: 0; }
  .contact-closing-scene { inset: 0 0 auto; height: 265px; }
  .contact-closing-scene img { object-position: 18% 50%; }
  .contact-closing-panel { inset: 184px -1px 0; -webkit-mask: none; mask: none; clip-path: polygon(0 2%, 18% 0, 44% 5%, 72% 1%, 100% 4%, 100% 100%, 0 100%); }
  .contact-closing-wave { height: 43px; }
  .contact-closing-copy { margin: 0; padding: 43px 11% 42px; text-align: center; }
  .contact-closing-copy > .eyebrow { font-size: 8px; letter-spacing: .27em; }
  .contact-closing-copy h2 { font-size: clamp(35px, 9.2vw, 55px); }
  .contact-closing-copy h2 > span { margin-left: 0; }
  .contact-closing-copy h2 > .drawn-heart { right: -5px; top: 31px; width: 26px; }
  .contact-closing-copy > p:not(.eyebrow) { margin-left: 0; font-size: 12px; }
  .contact-closing-copy > .button { margin-left: 0; min-width: 82%; }
  .closing-leaf-left { left: -20px; bottom: 6px; width: 74px; }
  .closing-leaf-right { right: -18px; width: 62px; }
  .contact-footer { flex-wrap: wrap; justify-content: center; padding: 20px 6%; text-align: center; font-size: 9px; }
  .contact-footer span { width: 100%; order: 2; }
}
@media (max-width: 360px) {
  .contact-hero-copy { padding-left: 7%; padding-right: 7%; }
  .contact-hero-copy h1 { font-size: 14vw; }
  .form-row { grid-template-columns: minmax(0, 1fr); }
  .form-field input[type='date'] { font-size: 12px; }
  .contact-section-title { font-size: 9.4vw; }
}
@media (prefers-reduced-motion: reduce) {
  .page-contact { scroll-behavior: auto; }
  .contact-faq summary > .icon, .form-field { transition: none; }
}
