﻿:root {
  --ink: #27231f;
  --muted: #746b60;
  --paper: #fffdf8;
  --white: #ffffff;
  --gold: #a99562;
  --gold-dark: #7f6238;
  --champagne: #ece2d6;
  --panel: #f7f3eb;
  --rose: #d9a6b1;
  --line: rgba(169, 149, 98, 0.35);
  --shadow: 0 24px 70px rgba(39, 35, 31, 0.16);
  --hero-photo: url("./assets/fotos/hero-marta.jpg");
  --marta-photo: url("./assets/fotos/marta-horizontal.jpg");
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.55;
}

a {
  color: inherit;
}

h1,
h2,
h3,
p,
label,
input,
select,
textarea,
button {
  overflow-wrap: anywhere;
}

h1,
h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.03;
  letter-spacing: 0;
}

h1 {
  max-width: 860px;
  font-size: clamp(3.2rem, 6.6vw, 6.2rem);
  color: var(--white);
  text-shadow: 0 3px 26px rgba(0, 0, 0, 0.28);
}

h2 {
  font-size: clamp(2.2rem, 4vw, 4.3rem);
}

h3 {
  margin: 0 0 12px;
  font-size: 1.12rem;
  letter-spacing: 0;
}

p {
  margin: 0;
}

.topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  justify-content: center;
  padding: 0 clamp(18px, 4vw, 56px);
  background: rgba(255, 253, 248, 0.92);
  border-bottom: 1px solid rgba(169, 149, 98, 0.24);
  backdrop-filter: blur(16px);
  transition: background-color 180ms ease, box-shadow 180ms ease;
}

.topbar-inner {
  width: min(1080px, 100%);
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(28px, 5vw, 76px);
  transition: width 180ms ease, min-height 180ms ease;
}

.topbar.is-scrolled {
  background: rgba(255, 253, 248, 0.97);
  box-shadow: 0 12px 34px rgba(39, 35, 31, 0.08);
}

.topbar.is-scrolled .topbar-inner {
  width: min(980px, 100%);
  min-height: 74px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  text-decoration: none;
}

.brand-logo {
  display: block;
  width: clamp(118px, 10vw, 148px);
  height: auto;
  transition: width 180ms ease;
}

.topbar.is-scrolled .brand-logo {
  width: clamp(104px, 8vw, 128px);
}

.brand strong,
.brand small {
  display: block;
}

.brand small {
  color: var(--muted);
  font-size: 0.84rem;
}

.nav {
  display: flex;
  gap: clamp(20px, 3.5vw, 38px);
  font-weight: 700;
  color: var(--gold-dark);
}

.nav a {
  text-decoration: none;
}

.hero {
  position: relative;
  display: grid;
  align-items: end;
  justify-items: end;
  min-height: 94vh;
  padding: 140px clamp(22px, 5vw, 76px) 72px;
  color: var(--white);
  background:
    linear-gradient(270deg, rgba(39, 35, 31, 0.76), rgba(39, 35, 31, 0.48) 42%, rgba(39, 35, 31, 0.12) 70%),
    var(--hero-photo) left bottom / auto calc(100% - 88px) no-repeat,
    var(--ink);
}

.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 11px;
  background: linear-gradient(90deg, var(--gold-dark), var(--gold), var(--champagne));
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(780px, 100%);
}

.eyebrow {
  margin-bottom: 16px;
  color: var(--gold-dark);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: var(--champagne);
}

.lead {
  max-width: 680px;
  margin-top: 24px;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1.15rem, 2vw, 1.48rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 36px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 14px 24px;
  border: 1px solid transparent;
  border-radius: 4px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

.button.primary {
  color: var(--white);
  background: var(--gold-dark);
  box-shadow: 0 16px 40px rgba(39, 35, 31, 0.24);
}

.button.ghost {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.1);
}

.section-inner {
  width: min(1160px, calc(100% - 44px));
  margin: 0 auto;
}

.intro-section,
.experience-section,
.event-section,
.form-section {
  padding: clamp(68px, 10vw, 118px) 0;
}

.intro-grid,
.quote-layout,
.event-grid,
.form-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(32px, 6vw, 72px);
  align-items: start;
}

.intro-copy,
.quote-layout > p,
.form-copy p {
  color: var(--muted);
  font-size: 1.08rem;
}

.intro-copy p + p,
.marta-copy p + p {
  margin-top: 18px;
}

.experience-section {
  background: var(--panel);
}

.section-heading {
  width: min(720px, 100%);
  margin-bottom: 42px;
}

.experience-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.experience-grid article {
  min-height: 255px;
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 12px 30px rgba(39, 35, 31, 0.06);
}

.experience-grid span {
  display: inline-block;
  margin-bottom: 42px;
  color: var(--gold);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.4rem;
  font-weight: 700;
}

.experience-grid p,
.event-details,
.marta-copy p {
  color: var(--muted);
}

.quote-band {
  padding: clamp(70px, 10vw, 120px) 0;
  color: var(--white);
  background: var(--gold-dark);
}

.quote-band .eyebrow,
.quote-band p {
  color: rgba(255, 255, 255, 0.78);
}

.marta-section {
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(0, 1.06fr);
  min-height: 680px;
}

.marta-photo {
  background:
    linear-gradient(180deg, rgba(169, 149, 98, 0.08), rgba(169, 149, 98, 0.08)),
    var(--marta-photo) center / contain no-repeat,
    var(--panel);
}

.marta-copy {
  display: grid;
  align-content: center;
  padding: clamp(48px, 8vw, 110px);
  background: var(--paper);
}

.marta-copy h2 {
  margin-bottom: 24px;
}

.event-section {
  background: var(--white);
}

.event-details {
  display: grid;
  gap: 16px;
  padding: 28px;
  border-left: 5px solid var(--gold);
  background: var(--panel);
}

.event-details strong {
  display: block;
  color: var(--ink);
}

.form-section {
  background: var(--panel);
}

.form-copy {
  position: sticky;
  top: 104px;
}

.text-link {
  display: inline-flex;
  margin-top: 22px;
  color: var(--gold-dark);
  font-weight: 800;
}

.signup-form {
  display: grid;
  gap: 18px;
  padding: clamp(24px, 4vw, 42px);
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.field-row {
  display: grid;
  gap: 8px;
}

.field-row.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

label {
  color: var(--ink);
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid rgba(169, 149, 98, 0.38);
  border-radius: 4px;
  font: inherit;
}

textarea {
  resize: vertical;
}

.consent {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 10px;
  align-items: start;
  color: var(--muted);
  font-weight: 400;
}

.consent input {
  width: 18px;
  min-height: 18px;
  margin-top: 3px;
}

.form-button {
  width: 100%;
  margin-top: 6px;
  font-size: 1rem;
}

.form-status {
  min-height: 24px;
  color: var(--gold-dark);
  font-weight: 800;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 30px clamp(22px, 5vw, 72px);
  color: rgba(255, 255, 255, 0.78);
  background: var(--ink);
}

.footer strong,
.footer span {
  display: block;
}

@media (max-width: 900px) {
  .topbar-inner {
    align-items: flex-start;
  }

  .nav {
    display: none;
  }

  .hero {
    min-height: 88vh;
    background:
      linear-gradient(180deg, rgba(39, 35, 31, 0.72), rgba(39, 35, 31, 0.34) 48%, rgba(39, 35, 31, 0.14)),
      var(--hero-photo) center bottom / contain no-repeat,
      var(--ink);
  }

  .intro-grid,
  .quote-layout,
  .event-grid,
  .form-grid,
  .marta-section {
    grid-template-columns: 1fr;
  }

  .experience-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .marta-photo {
    min-height: 480px;
  }

  .form-copy {
    position: static;
  }
}

@media (max-width: 620px) {
  .hero {
    min-height: auto;
    padding-top: 640px;
    background:
      linear-gradient(180deg, rgba(39, 35, 31, 0.08), rgba(39, 35, 31, 0.08)),
      var(--hero-photo) center top / contain no-repeat,
      var(--ink);
  }

  h1 {
    font-size: clamp(2.85rem, 12vw, 4rem);
  }

  .brand span {
    display: none;
  }

  .hero-actions,
  .footer {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .experience-grid,
  .field-row.two {
    grid-template-columns: 1fr;
  }

  .experience-grid article {
    min-height: auto;
  }
}

