:root {
  --navy: #011c2e;
  --navy-soft: #0b2a3f;
  --gold: #cca367;
  --wine: #752b24;
  --ivory: #ece8df;
  --white: #fff;
  --ink: #111820;
  --muted: #5d6469;
  --serif: Georgia, "Times New Roman", serif;
  --sans: Arial, Helvetica, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; overflow-x: hidden; background: var(--ivory); color: var(--ink); font: 16px/1.6 var(--sans); }
img, video { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
.svg-defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.line-icon, .fact-icon, .card-icon { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.site-header {
  position: absolute;
  top: 0;
  left: 50%;
  z-index: 10;
  width: min(1240px, calc(100% - 48px));
  height: 80px;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255,255,255,.16);
}
.brand img { width: 132px; height: auto; }
.header-cta { padding: 7px 0; color: var(--white); border-bottom: 1px solid var(--gold); text-decoration: none; font-size: .88rem; font-weight: 700; }

.hero {
  position: relative;
  isolation: isolate;
  min-height: 100svh;
  max-height: 940px;
  overflow: hidden;
  padding: 108px max(24px, calc((100vw - 1240px) / 2)) 34px;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(300px, .62fr);
  gap: clamp(36px, 5vw, 72px);
  align-items: center;
  color: var(--white);
  background: radial-gradient(circle at 0 100%, rgba(117,43,36,.46), transparent 35%), linear-gradient(125deg, var(--navy), #031521);
}
.hero-pattern, .dark-pattern, .light-pattern, .wine-pattern { position: absolute; inset: 0; z-index: -1; pointer-events: none; background-repeat: repeat; background-size: 820px auto; }
.hero-pattern { opacity: .13; background-image: url("assets/pattern-brec-azul.png"); mix-blend-mode: screen; }
.hero::after { content: ""; position: absolute; z-index: -1; right: -140px; bottom: -190px; width: 430px; height: 430px; border: 1px solid rgba(204,163,103,.17); border-radius: 50%; }
.hero-copy { position: relative; z-index: 1; }
.eyebrow { margin: 0 0 14px; color: var(--gold); text-transform: uppercase; letter-spacing: .18em; font-size: .73rem; font-weight: 700; }
.eyebrow-dark { color: var(--wine); }
.eyebrow-gold { color: #f2c982; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 400; letter-spacing: -.025em; line-height: 1.06; }
h1 { max-width: 720px; margin: 0; font-size: clamp(3.1rem, 5vw, 5.2rem); }
.hero-services { width: min(100%, 630px); margin: 22px 0 8px; display: grid; grid-template-columns: 1fr auto 1.25fr; gap: 20px; align-items: center; }
.hero-services > div { display: flex; align-items: center; gap: 13px; color: var(--white); font-weight: 800; font-size: 1rem; text-transform: uppercase; letter-spacing: .045em; }
.hero-services .line-icon { flex: 0 0 42px; width: 42px; height: 42px; color: var(--gold); }
.hero-services b { color: var(--gold); font-size: 1.9rem; font-weight: 300; }
.hero-services small { display: block; color: rgba(255,255,255,.56); font-size: .62rem; font-weight: 600; letter-spacing: .08em; }
.hero-note { margin: 0 0 17px; color: rgba(255,255,255,.72); font-family: var(--serif); font-size: 1.1rem; }
.event-facts { width: min(100%, 700px); padding: 15px 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 17px; border-top: 1px solid rgba(255,255,255,.16); border-bottom: 1px solid rgba(255,255,255,.16); }
.event-facts > div { display: flex; align-items: center; gap: 10px; }
.fact-icon { flex: 0 0 30px; width: 30px; height: 30px; padding: 5px; color: var(--gold); border: 1px solid rgba(204,163,103,.72); border-radius: 50%; }
.event-facts strong, .event-facts small { display: block; }
.event-facts strong { font-size: .84rem; line-height: 1.3; }
.event-facts small { margin-top: 3px; color: rgba(255,255,255,.54); font-size: .68rem; line-height: 1.35; }
.hero-action { width: max-content; margin-top: 20px; display: flex; flex-direction: column; align-items: center; gap: 7px; }
.hero-action > span { color: var(--gold); text-align: center; text-transform: uppercase; letter-spacing: .18em; font-size: .72rem; font-weight: 700; }
.button { min-height: 50px; padding: 13px 24px; display: inline-flex; align-items: center; justify-content: center; gap: 16px; border: 0; border-radius: 0; text-align: center; text-decoration: none; font-weight: 800; cursor: pointer; transition: transform .2s ease, background .2s ease; }
.button:hover { transform: translateY(-2px); }
.button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, .skip-button:focus-visible { outline: 3px solid #efc77f; outline-offset: 3px; }
.button-primary { color: var(--navy); background: var(--gold); }
.button-primary:hover { background: #dfb979; }
.button-light { align-self: center; color: var(--navy); background: var(--ivory); }

.video-stage { width: min(100%, 355px); justify-self: end; }
.video-frame { position: relative; padding: 8px; background: linear-gradient(145deg, #e2bd7e, #74532e); box-shadow: 0 24px 60px rgba(0,0,0,.34); }
.video-frame::before { content: ""; position: absolute; inset: -14px 14px 14px -14px; z-index: -1; border: 1px solid rgba(204,163,103,.4); }
.video-frame video { width: 100%; max-height: min(70svh, 520px); aspect-ratio: 9/16; object-fit: cover; background: #000; }
.video-stage > p { margin: 12px 0 0; color: rgba(255,255,255,.6); text-align: center; text-transform: uppercase; letter-spacing: .1em; font-size: .7rem; }
.mobile-invitation { display: none; }

.section { padding: 100px max(24px, calc((100vw - 1240px) / 2)); }
.section-heading { position: relative; z-index: 1; margin-bottom: 50px; display: grid; grid-template-columns: .5fr 1.5fr; gap: 40px; align-items: start; }
.section-heading h2, .why h2, .event-banner h2, .registration h2 { margin: 0; font-size: clamp(2.55rem, 4.4vw, 4.5rem); }
.experience { position: relative; isolation: isolate; overflow: hidden; background: #f7f5ef; }
.light-pattern { opacity: .035; background-image: url("assets/pattern-brec-marfil.png"); background-size: 680px auto; }
.experience-grid { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.experience-card { min-height: 335px; padding: 28px; display: flex; flex-direction: column; background: rgba(255,255,255,.94); border: 1px solid #ded9cf; }
.experience-card.featured { color: var(--white); background: var(--navy); border-color: var(--navy); transform: translateY(18px); }
.card-number { color: #9a958d; font-size: .72rem; letter-spacing: .16em; }
.card-icon { width: 42px; height: 42px; margin: auto 0 20px; color: var(--wine); }
.experience-card.featured .card-icon { color: var(--gold); }
.experience-card h3 { margin: 0 0 13px; font-size: 1.95rem; }
.experience-card p { margin: 0; color: var(--muted); }
.experience-card.featured p { color: rgba(255,255,255,.68); }
.project-card { color: var(--white); background: var(--wine); border-color: var(--wine); }
.project-card .card-number { color: rgba(255,255,255,.5); }
.project-card .card-icon { color: var(--gold); }
.project-card .project-kicker { margin: 0 0 11px; color: var(--gold); text-transform: uppercase; letter-spacing: .1em; font-size: .8rem; font-weight: 700; }
.project-card h3 { text-transform: uppercase; font-family: var(--sans); font-size: 1.1rem; letter-spacing: .08em; line-height: 1.45; }
.project-card h3 strong { display: block; font: 400 2.2rem/1.1 var(--serif); letter-spacing: -.02em; }

.why { position: relative; isolation: isolate; overflow: hidden; display: grid; grid-template-columns: minmax(320px,.88fr) minmax(0,1.12fr); gap: 82px; color: var(--white); background: var(--navy); }
.dark-pattern { opacity: .1; background-image: url("assets/pattern-brec-azul.png"); background-size: 780px auto; mix-blend-mode: screen; }
.portrait-wrap, .why-copy { position: relative; z-index: 1; }
.portrait-wrap > img { width: 100%; height: 650px; object-fit: cover; object-position: center 33%; filter: saturate(.9); }
.portrait-caption { position: absolute; inset: auto 0 0; min-height: 70px; padding: 34px 20px 15px; display: flex; align-items: end; justify-content: center; color: var(--white); background: linear-gradient(180deg, transparent, rgba(1,28,46,.9)); border-bottom: 2px solid var(--gold); font: 1.18rem var(--serif); }
.why-copy { align-self: center; }
.benefit-list { margin: 40px 0 32px; border-top: 1px solid rgba(255,255,255,.18); }
.benefit-list > div { display: grid; grid-template-columns: 105px 1fr; gap: 20px; padding: 20px 0; border-bottom: 1px solid rgba(255,255,255,.18); }
.benefit-list strong { color: var(--gold); text-transform: uppercase; letter-spacing: .12em; font-size: .72rem; }
.benefit-list p { margin: 0; color: rgba(255,255,255,.78); }
.trust-note { padding-left: 20px; border-left: 3px solid var(--wine); }
.trust-note strong { font: 400 1.25rem var(--serif); }
.trust-note p { margin: 8px 0 0; color: rgba(255,255,255,.6); }

.event-banner { position: relative; isolation: isolate; overflow: hidden; display: grid; grid-template-columns: 1fr .82fr auto; gap: 50px; align-items: center; color: var(--white); background: var(--wine); }
.wine-pattern { opacity: .12; background-image: url("assets/pattern-brec-vino.png"); background-size: 700px auto; mix-blend-mode: screen; }
.event-banner > *:not(.wine-pattern) { position: relative; z-index: 1; }
.event-banner h2 { max-width: 620px; }
.event-banner > div:nth-child(2) > p:last-child { color: rgba(255,255,255,.72); }
.event-summary { padding-left: 30px; border-left: 1px solid rgba(255,255,255,.25); }
.event-summary p { margin: 0; padding: 9px 0; }
.event-summary span, .event-summary strong { display: block; }
.event-summary span { color: #e5bd7d; text-transform: uppercase; letter-spacing: .15em; font-size: .68rem; }
.event-summary strong { font-size: .92rem; }

.registration { display: grid; grid-template-columns: .7fr 1.3fr; gap: 80px; align-items: start; background: var(--ivory); }
.registration-intro { position: sticky; top: 40px; }
.registration-intro > p:not(.eyebrow) { max-width: 430px; color: var(--muted); font-size: 1.05rem; }
.form-shell { min-height: 600px; padding: clamp(24px,4vw,50px); background: var(--white); box-shadow: 0 18px 55px rgba(1,28,46,.09); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin-bottom: 22px; }
.field label, fieldset legend { display: block; margin-bottom: 8px; color: #28333c; font-size: .9rem; font-weight: 700; }
.field label span, fieldset legend span { color: var(--wine); }
.field label em { color: #737a80; font-weight: 400; }
input, select, textarea { width: 100%; padding: 14px 15px; color: var(--ink); background: #faf9f6; border: 1px solid #d9d4ca; border-radius: 0; }
textarea { resize: vertical; }
input::placeholder, textarea::placeholder { color: #969a9c; }
fieldset { margin: 4px 0 24px; padding: 0; border: 0; }
.choice-grid { display: grid; gap: 10px; }
.choice-grid.two { grid-template-columns: 1fr 1fr; }
.choice-grid.three { grid-template-columns: repeat(3,1fr); }
.choice { position: relative; display: block; cursor: pointer; }
.choice input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.choice > span { min-height: 70px; padding: 13px 15px; display: flex; flex-direction: column; justify-content: center; background: #faf9f6; border: 1px solid #d9d4ca; transition: border .2s, background .2s; }
.choice input:checked + span { background: #f6eddd; border-color: var(--gold); box-shadow: inset 0 0 0 1px var(--gold); }
.choice input:focus-visible + span { outline: 3px solid #efc77f; outline-offset: 3px; }
.choice small { color: #7a7f82; }
.choice.compact > span { min-height: 53px; align-items: center; padding: 9px; }
.submit-button { width: 100%; justify-content: space-between; margin-top: 8px; }
.submit-button:disabled { opacity: .65; cursor: wait; transform: none; }
.privacy { margin: 13px 0 0; color: #7a7f82; text-align: center; font-size: .75rem; }
.form-status { min-height: 0; margin: 12px 0 0; color: var(--wine); font-weight: 700; }
.honeypot { display: none !important; }

.success-message:not([hidden]) { display: block; }
.success-intro { padding: 8px 0 38px; text-align: center; }
.success-intro img { width: 70px; margin: 0 auto 20px; }
.success-intro h3 { margin: 0 0 14px; color: var(--navy); font-size: 2.55rem; }
.success-intro p:not(.eyebrow) { max-width: 510px; margin: 0 auto 12px; color: var(--muted); font-size: 1rem; }
.success-intro > strong { color: var(--wine); }
.preferences-form { padding-top: 34px; border-top: 1px solid #ddd7cd; }
.preferences-heading { margin-bottom: 25px; }
.preferences-heading > span { color: var(--wine); text-transform: uppercase; letter-spacing: .15em; font-size: .7rem; font-weight: 800; }
.preferences-heading h4 { margin: 8px 0 0; color: var(--navy); font-size: 1.65rem; }
.survey-options { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.survey-options label { position: relative; cursor: pointer; }
.survey-options input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.survey-options span { min-height: 50px; padding: 11px 13px 11px 39px; display: flex; align-items: center; background: #faf9f6; border: 1px solid #ded9cf; color: #394149; font-size: .86rem; }
.survey-options span::before { content: ""; position: absolute; left: 13px; width: 15px; height: 15px; border: 1px solid #a9a399; }
.survey-options input[type="radio"] + span::before { border-radius: 50%; }
.survey-options input:checked + span { background: #f6eddd; border-color: var(--gold); }
.survey-options input:checked + span::before { background: var(--gold); border-color: var(--gold); box-shadow: inset 0 0 0 3px #f6eddd; }
.survey-options input:focus-visible + span { outline: 3px solid #efc77f; outline-offset: 2px; }
.skip-button { width: 100%; margin-top: 12px; padding: 8px; color: #6f7477; background: transparent; border: 0; text-decoration: underline; cursor: pointer; }
.preferences-complete { padding: 30px; color: var(--navy); background: #f6eddd; text-align: center; }
.preferences-complete strong { font: 400 2rem var(--serif); }
.preferences-complete p { margin: 5px 0 0; }

footer { min-height: 220px; padding: 50px max(24px,calc((100vw - 1240px) / 2)); display: flex; align-items: center; justify-content: space-between; gap: 40px; color: rgba(255,255,255,.62); background: #00121f; }
.footer-brand img { width: 145px; }
.footer-brand p { margin: 10px 0 0; }
.footer-contact { display: flex; flex-direction: column; align-items: flex-end; gap: 7px; }
.footer-contact a { color: var(--gold); text-decoration: none; }
.footer-contact a:hover { text-decoration: underline; }

@media (max-width: 1050px) {
  .hero { grid-template-columns: 1fr 320px; gap: 34px; }
  .event-facts { grid-template-columns: 1fr; padding: 11px 0; gap: 8px; }
  .event-facts small { display: block; margin-top: 0; font-size: .58rem; line-height: 1.2; }
  .why { gap: 50px; }
  .portrait-wrap > img { height: 580px; }
  .event-banner { grid-template-columns: 1fr 1fr; }
  .event-banner .button { grid-column: 1 / -1; justify-self: start; }
  .registration { gap: 50px; }
}

@media (max-width: 780px) {
  .site-header { width: calc(100% - 36px); height: 68px; }
  .brand img { width: 108px; }
  .header-cta { font-size: .76rem; }
  .hero { min-height: 100svh; max-height: none; padding: 82px 18px 20px; display: flex; align-items: center; text-align: center; }
  .hero-copy { width: 100%; margin: auto; }
  .hero .eyebrow { margin-bottom: 8px; font-size: .64rem; }
  h1 { max-width: 520px; margin-inline: auto; font-size: clamp(2.35rem,10.5vw,3rem); line-height: 1; }
  .hero-services { width: min(100%,420px); margin: 14px auto 5px; grid-template-columns: 1fr auto 1.25fr; gap: 9px; }
  .hero-services > div { justify-content: center; gap: 7px; font-size: .76rem; }
  .hero-services .line-icon { flex-basis: 31px; width: 31px; height: 31px; }
  .hero-services b { font-size: 1.25rem; }
  .hero-services small { font-size: .51rem; }
  .hero-note { margin: 0 0 10px; font-size: .9rem; }
  .event-facts { width: min(100%,390px); margin-inline: auto; grid-template-columns: 1fr; gap: 5px; padding: 8px 0; text-align: left; }
  .event-facts > div { gap: 9px; }
  .fact-icon { flex-basis: 27px; width: 27px; height: 27px; padding: 5px; }
  .event-facts strong { font-size: .78rem; }
  .event-facts small { display: block; margin-top: 0; font-size: .61rem; }
  .hero-action { width: min(100%,390px); margin: 12px auto 0; gap: 5px; }
  .hero-action .button { width: 100%; min-height: 47px; padding: 11px 18px; }
  .hero-action > span { font-size: .63rem; }
  .desktop-video { display: none; }
  .mobile-invitation { padding: 65px 30px; display: block; color: var(--white); background: var(--navy); text-align: center; }
  .mobile-invitation .video-frame { width: min(100%,390px); margin: 0 auto; }
  .mobile-invitation video { max-height: none; }
  .section { padding-top: 76px; padding-bottom: 76px; }
  .section-heading { grid-template-columns: 1fr; gap: 7px; }
  .experience-grid { grid-template-columns: 1fr; }
  .experience-card { min-height: 270px; }
  .experience-card.featured { transform: none; }
  .why { grid-template-columns: 1fr; }
  .portrait-wrap { max-width: 520px; }
  .portrait-wrap > img { height: 560px; }
  .benefit-list > div { grid-template-columns: 90px 1fr; }
  .event-banner { grid-template-columns: 1fr; gap: 30px; }
  .event-summary { padding: 20px 0 0; border-left: 0; border-top: 1px solid rgba(255,255,255,.25); }
  .event-banner .button { grid-column: auto; }
  .registration { grid-template-columns: 1fr; gap: 34px; }
  .registration-intro { position: static; }
  footer { align-items: flex-start; flex-direction: column; gap: 25px; }
  .footer-contact { align-items: flex-start; }
}

@media (max-width: 520px) {
  .hero { padding-left: 18px; padding-right: 18px; }
  .section { padding-left: 18px; padding-right: 18px; }
  .mobile-invitation { padding-left: 22px; padding-right: 22px; }
  .portrait-wrap > img { height: 500px; }
  .form-shell { padding: 24px 18px; }
  .form-grid, .choice-grid.two, .survey-options { grid-template-columns: 1fr; }
  .button { width: 100%; }
  .header-cta { width: auto; }
  .success-intro h3 { font-size: 2.25rem; }
}

@media (max-width: 380px), (max-height: 720px) and (max-width: 780px) {
  .site-header { height: 60px; }
  .brand img { width: 96px; }
  .hero { padding-top: 69px; padding-bottom: 10px; }
  .hero .eyebrow { margin-bottom: 5px; }
  h1 { font-size: clamp(2.05rem,9.8vw,2.6rem); }
  .hero-services { margin-top: 9px; }
  .hero-note { margin-bottom: 7px; font-size: .82rem; }
  .event-facts { gap: 3px; padding: 6px 0; }
  .event-facts small { display: block; margin-top: 0; font-size: .58rem; line-height: 1.2; }
  .hero-action { margin-top: 8px; }
  .hero-action .button { min-height: 43px; }
}

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