* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --hero-image: url('/images/montana.jpg');
  --dark: #1a1a1a;
  --accent: #a0845c;
  --accent-soft: #c4b08c;
  --accent-pale: #f0ebe5;
  --accent-bg: #fdf9f4;
  --bg: #ffffff;
  --bg-alt: #f5f5f5;
  --text: #3d3630;
  --text-muted: #9e948a;
  --white: #ffffff;
  --input-border: #e8e4df;
  --input-focus: #a0845c;
  --error: #b85450;
  --success: #5a8a6a;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 16px;
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  letter-spacing: 0.01em;
}

h1, h2, h3 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  letter-spacing: 0;
}

/* Navigation */
nav {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(250, 249, 246, 0.94);
  backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.2rem 2.5rem;
  z-index: 1000;
  border-bottom: 1px solid rgba(160, 132, 92, 0.1);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
}

.nav-letter {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem;
  color: var(--dark);
  font-weight: 500;
  letter-spacing: 1px;
}

.nav-diamond {
  color: var(--accent);
  font-size: 0.4rem;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2.5rem;
}

.nav-links a {
  text-decoration: none;
  color: var(--text);
  font-family: 'Inter', sans-serif;
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 2px;
  text-transform: uppercase;
  transition: color 0.3s;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 0.5px;
  background: var(--accent);
  transition: width 0.3s;
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-links a:hover {
  color: var(--accent);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.3rem;
  cursor: pointer;
  color: var(--dark);
  padding: 0.3rem;
}

/* Hero Section */
#hero {
  height: 100vh;
  min-height: 600px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--hero-image) center/cover no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(26, 26, 26, 0.4);
}

.hero-content {
  position: relative;
  text-align: center;
  color: var(--white);
  z-index: 1;
  padding: 2rem;
  margin-top: 10vh;
}

.hero-pretitle {
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  font-weight: 300;
  letter-spacing: 5px;
  text-transform: uppercase;
  margin-bottom: 2rem;
  opacity: 0.8;
}

.hero-names {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  margin-bottom: 2rem;
}

  .hero-names span:first-child,
  .hero-names span:last-child {
    font-family: 'Cormorant Garamond', serif;
    font-size: 5.5rem;
    font-weight: 300;
    line-height: 1;
    letter-spacing: 2px;
    font-style: normal;
  }

  .hero-names .separator {
    display: flex;
    align-items: center;
    height: 60px;
    margin: 0 1rem;
  }

  .hero-names .separator span {
    font-size: 0.5rem;
    color: var(--accent-soft);
  }

.separator {
  display: flex;
  align-items: center;
  height: 80px;
}

.diamond-line {
  display: block;
  width: 0.5px;
  height: 50px;
  background: rgba(255, 255, 255, 0.4);
  position: relative;
}

.diamond-line::before {
  content: '◆';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 0.35rem;
  color: var(--accent-soft);
}

.hero-date {
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem;
  letter-spacing: 8px;
  font-weight: 300;
  margin-bottom: 1.5rem;
}

.hero-subtitle {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.3rem;
  font-style: italic;
  font-weight: 300;
  margin-bottom: 3rem;
  opacity: 0.8;
}

.btn-primary {
  display: inline-block;
  padding: 1rem 3rem;
  background: transparent;
  color: var(--white);
  text-decoration: none;
  font-family: 'Inter', sans-serif;
  font-size: 0.65rem;
  letter-spacing: 4px;
  border: 0.5px solid rgba(255, 255, 255, 0.5);
  cursor: pointer;
  text-transform: uppercase;
  transition: all 0.4s;
  font-weight: 400;
}

.btn-primary:hover {
  background: var(--white);
  color: var(--dark);
  border-color: var(--white);
}

.btn-link {
  display: inline-block;
  color: var(--accent);
  text-decoration: none;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.05rem;
  font-style: italic;
  transition: color 0.3s;
  margin-top: 1rem;
}

.btn-link:hover {
  color: var(--dark);
}

/* Countdown */
.countdown {
  display: flex;
  justify-content: center;
  gap: 3rem;
  margin-top: 4rem;
}

.countdown-item {
  text-align: center;
}

.count-number {
  display: block;
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  line-height: 1;
  letter-spacing: 1px;
  font-size: 2.8rem;
}

.count-label {
  font-family: 'Inter', sans-serif;
  font-size: 0.55rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  opacity: 0.5;
  margin-top: 0.6rem;
  display: block;
  font-weight: 400;
}

/* Sections */
.section {
  padding: 5rem 2rem 6rem 2rem;
  text-align: center;
}

.section-alt {
  background: var(--white);
}

.container {
  max-width: 750px;
  margin: 0 auto;
}

.section-title {
  font-size: 2.2rem;
  color: var(--dark);
  margin-bottom: 0.8rem;
  letter-spacing: 0;
}

.section-subtitle {
  color: var(--text-muted);
  margin-bottom: 3.5rem;
  font-size: 1rem;
  font-weight: 400;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.8;
}

/* Invitation */
/* ============================================
   INVITATION SECTION - LIMPIO
   ============================================ */
.invitation-layout {
  display: flex;
  align-items: stretch;
  max-width: 1000px;
  margin: 0 auto;
  background: var(--white);
  box-shadow: 0 10px 40px rgba(0,0,0,0.03);
  height: 400px;
}

.inv-info {
  flex: 0 0 350px;
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: left;
  background: var(--bg-alt);
}

.inv-info::after {
  content: '';
  position: absolute;
  right: 0;
  top: 15%;
  height: 70%;
  width: 1px;
  background: var(--accent-pale);
}

.inv-info .inv-icon {
  color: var(--accent);
  margin-bottom: 1.5rem;
}

.inv-info h3 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.inv-info .inv-address,
.inv-info .inv-date,
.inv-info .inv-time {
  margin-bottom: 0.3rem;
}

.inv-map {
  flex: 1;
  height: 400px;
}

.inv-map iframe {
  width: 100%;
  height: 100%;
  display: block;
  border: none;
}

.inv-info {
  flex: 0 0 380px;
  padding: 3.5rem 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: left;
  background: var(--bg-alt);
  position: relative;
  height: 440px;
}

.inv-map {
  flex: 1;
  min-height: 440px;
  height: 440px !important;
  min-width: 400px;
  overflow: hidden;
}

.inv-map iframe {
  width: 100% !important;
  height: 440px !important;
  display: block;
  border: 0;
}

.inv-info {
  flex: 0 0 380px;
  padding: 3.5rem 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: left;
  background: var(--bg-alt);
  position: relative;
  height: 440px;
}

.inv-map {
  flex: 1;
  height: 440px !important;
  min-width: 400px;
}

.inv-map iframe {
  width: 100% !important;
  height: 100% !important;
  display: block;
  border: 0;
}

.inv-info {
  flex: 0 0 380px;
  padding: 3.5rem 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: left;
  background: var(--bg-alt);
  position: relative;
}

.inv-map {
  flex: 1;
  min-height: 440px;
  height: 440px !important;
  min-width: 400px;
  width: 100% !important;
  overflow: hidden;
  display: block !important;
}

.inv-map iframe {
  width: 100% !important;
  height: 100% !important;
  min-height: 440px;
  display: block !important;
  border: 0;
}

.inv-map iframe {
  width: 100%;
  height: 100%;
  display: block;
  border: 0;
  min-height: 440px;
}

.inv-info {
  flex: 0 0 380px;
  padding: 3.5rem 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: left;
  background: var(--bg-alt);
  position: relative;
}

.inv-map {
  flex: 1;
  min-height: 440px;
  height: auto;
  overflow: hidden;
}

.inv-map iframe {
  width: 100%;
  height: 100%;
  display: block;
  border: 0;
}

.inv-info {
  flex: 0 0 380px;
  padding: 3.5rem 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: left;
  background: var(--bg-alt);
  position: relative;
}

.inv-info::after {
  content: '';
  position: absolute;
  right: 0;
  top: 15%;
  height: 70%;
  width: 1px;
  background: var(--accent-pale);
}

.inv-icon {
  color: var(--accent);
  font-size: 0.7rem;
  letter-spacing: 8px;
  margin-bottom: 2rem;
}

.inv-info h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem;
  font-weight: 400;
  font-style: italic;
  color: var(--dark);
  margin-bottom: 1.5rem;
}

.inv-address {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 0.3rem;
  font-weight: 400;
}

.inv-date {
  color: var(--text);
  font-size: 0.95rem;
  margin-top: 2rem;
  font-weight: 500;
}

.inv-time {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.8rem;
  font-weight: 300;
  color: var(--accent);
  margin-top: 0.2rem;
}

.inv-map {
  flex: 1;
  min-height: 440px;
  height: 100%;
  overflow: hidden;
}

.inv-map iframe {
  width: 100%;
  height: 100%;
  display: block;
  border: 0;
}

/* RSVP Form */
.rsvp-form {
  max-width: 560px;
  margin: 0 auto;
  text-align: left;
}

.form-group {
  margin-bottom: 1.8rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid var(--input-border);
  border-radius: 6px;
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  font-weight: 400;
  background: var(--white);
  color: var(--text);
  transition: border-color 0.3s, box-shadow 0.3s;
  letter-spacing: 0.2px;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(160, 132, 92, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #c5bfb5;
  font-weight: 300;
}

.form-group select {
  cursor: pointer;
  appearance: none;
  background-color: var(--white);
  background-image: none; /* Quitamos el SVG que causaba problemas en móvil */
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 1rem; /* Menos padding derecho */
  font-size: 16px; /* Evita zoom en iOS */
}

@media (max-width: 768px) {
  .form-group select {
    font-size: 16px !important; /* Fuerza 16px en móvil para evitar zoom y símbolos extraños */
  }
}

.form-row {
  display: flex;
  gap: 1.5rem;
}

.form-row .form-group {
  flex: 1;
}

.radio-group {
  display: flex;
  gap: 1rem;
}

.radio-option {
  flex: 1;
  position: relative;
  cursor: pointer;
}

.radio-option input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.radio-option .radio-box {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.2rem;
  border: 1px solid var(--input-border);
  border-radius: 6px;
  background: var(--white);
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.95rem;
  font-style: italic;
  color: var(--text-muted);
  transition: all 0.3s;
  text-align: center;
}

.radio-option input[type="radio"]:checked + .radio-box {
  border-color: var(--accent);
  background: var(--accent-bg);
  color: var(--dark);
  font-weight: 500;
}

.radio-option input[type="radio"]:focus-visible + .radio-box {
  box-shadow: 0 0 0 3px rgba(160, 132, 92, 0.15);
}

.btn-submit {
  width: 100%;
  padding: 1rem 2rem;
  background: var(--accent);
  color: var(--white);
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  font-size: 0.72rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  font-weight: 500;
  transition: all 0.3s;
  margin-top: 0.5rem;
}

.btn-submit:hover {
  background: var(--dark);
}

.btn-submit:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.message {
  margin-top: 1.5rem;
  padding: 1rem;
  text-align: center;
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  font-weight: 400;
  border-radius: 6px;
}

.message.success {
  background: #f0f4f1;
  color: var(--success);
  border: 1px solid #d4e0d7;
}

.message.error {
  background: #f5efef;
  color: var(--error);
  border: 1px solid #e8d5d5;
}

.hidden {
  display: none;
}

/* Details */
.details-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.detail-card {
  padding: 2rem;
  text-align: center;
  background: var(--bg-alt);
  border-radius: 8px;
  border: 1px solid var(--accent-pale);
}

.detail-icon {
  color: var(--accent-soft);
  font-size: 0.65rem;
  letter-spacing: 6px;
  margin-bottom: 1.2rem;
}

.detail-card h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem;
  font-weight: 400;
  font-style: italic;
  color: var(--dark);
  margin-bottom: 1rem;
}

.detail-card p {
  color: var(--text-muted);
  margin-bottom: 0.4rem;
  font-size: 0.88rem;
  font-weight: 400;
}

.detail-highlight {
  font-family: 'Inter', sans-serif;
  font-size: 0.68rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.8rem;
  font-weight: 500;
}

.detail-note {
  color: var(--error);
  font-style: italic;
  margin-top: 0.8rem;
  font-size: 0.85rem;
}

.iban {
  font-family: 'Inter', monospace;
  font-size: 0.82rem;
  letter-spacing: 1.5px;
  background: var(--white);
  padding: 0.6rem 1rem;
  margin: 0.8rem 0;
  display: inline-block;
  font-weight: 500;
  border-radius: 4px;
  border: 1px solid var(--accent-pale);
}

.bizum-info {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--accent-pale);
  font-size: 0.88rem;
}

.note-box {
  margin-top: 3rem;
  padding: 1.2rem 1.5rem;
  background: var(--accent-bg);
  border-radius: 6px;
  text-align: left;
  font-size: 0.88rem;
  color: var(--text-muted);
  font-weight: 400;
}

/* Footer */
footer {
  background: var(--dark);
  color: var(--white);
  text-align: center;
  padding: 4rem 2rem;
}

.footer-diamond {
  color: var(--accent-soft);
  font-size: 0.4rem;
  margin-bottom: 1.5rem;
  letter-spacing: 8px;
  font-style: normal;
}

.footer-names {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  font-style: normal;
  font-weight: 300;
  letter-spacing: 3px;
  margin-bottom: 0.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.footer-separator {
  margin: 0 0.8rem;
  color: var(--accent-soft);
  font-size: 0.7rem;
  font-style: normal;
}

.footer-date {
  font-family: 'Inter', sans-serif;
  font-size: 0.65rem;
  letter-spacing: 5px;
  opacity: 0.35;
  font-weight: 300;
}

/* Responsive */
@media (max-width: 768px) {
  nav {
    padding: 0.8rem 1.2rem;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg);
    padding: 1.5rem;
    gap: 1.2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
  }

  .nav-links.active {
    display: flex;
  }

  .nav-toggle {
    display: block;
  }

  #hero {
    min-height: 100vh;
    background-position: center center !important;
    background-size: cover !important;
  }

  .hero-content {
    margin-top: 5vh;
    padding: 0.5rem;
    max-width: 100%;
    overflow-x: hidden;
  }

  .hero-names {
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 0.3rem !important;
    justify-content: center !important;
    align-items: center !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: hidden !important;
  }

  .hero-names span:first-child,
  .hero-names span:last-child {
    font-size: 1.4rem !important;
    white-space: nowrap !important;
    display: inline !important;
    line-height: 1 !important;
  }

  .hero-names .separator {
    font-size: 0.3rem !important;
    display: inline !important;
    flex-shrink: 0 !important;
  }

  .countdown {
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-top: 3rem;
  }

  .count-number {
    font-size: 2rem;
  }

  .invitation-layout {
    flex-direction: column;
    height: auto;
  }

  .inv-info {
    flex: none;
    width: 100%;
    padding: 2rem 1.5rem;
  }

  .inv-info::after {
    display: none;
  }

  .inv-map {
    width: 100%;
    height: 35vh;
    min-height: 200px;
  }

  .inv-map iframe {
    width: 100%;
    height: 100%;
  }

  .details-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .form-row {
    flex-direction: column;
    gap: 0;
  }

  .radio-group {
    flex-direction: column;
    gap: 0.8rem;
  }

  .radio-box {
    padding: 0.7rem 1rem;
    font-size: 0.9rem;
  }

  .section {
    padding: 4rem 1.2rem 5rem 1.2rem;
  }

  .section-title {
    font-size: 1.8rem;
  }

  .section-subtitle {
    font-size: 0.95rem;
    margin-bottom: 2.5rem;
  }

  .rsvp-form {
    padding: 0 0.5rem;
    margin-top: 2rem;
  }

  .form-group input,
  .form-group select,
  .form-group textarea {
    font-size: 16px !important;
  }
}

  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg);
    padding: 1.5rem;
    gap: 1.2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
  }

  .nav-links.active {
    display: flex;
  }

  .nav-toggle {
    display: block;
  }

  #hero {
    min-height: 100vh;
    background-position: center center !important;
    background-size: cover !important;
  }

  .hero-content {
    margin-top: 5vh;
    padding: 1rem;
  }

  .hero-names {
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
  }

  .hero-names span:first-child,
  .hero-names span:last-child {
    font-size: 2.5rem;
  }

  .separator {
    height: 40px;
  }

  .countdown {
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-top: 3rem;
  }

  .count-number {
    font-size: 2rem;
  }

  .invitation-layout {
    flex-direction: column;
    min-height: auto;
    height: auto;
  }

  .inv-info {
    flex: none;
    padding: 2rem 1.5rem;
    width: 100%;
    height: auto;
  }

  .inv-info::after {
    display: none;
  }

  .inv-map {
    min-height: 250px;
    height: 40vh;
    width: 100%;
    overflow: hidden;
    display: block;
  }

  .inv-map iframe {
    height: 100% !important;
    width: 100% !important;
  }

  .details-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .form-row {
    flex-direction: column;
    gap: 0;
  }

  .radio-group {
    flex-direction: column;
    gap: 0.8rem;
  }

  .radio-box {
    padding: 0.7rem 1rem;
    font-size: 0.9rem;
  }

  .section {
    padding: 4rem 1.2rem 5rem 1.2rem;
  }

  .section-title {
    font-size: 1.8rem;
  }

  .section-subtitle {
    font-size: 0.95rem;
    margin-bottom: 2.5rem;
  }

  .rsvp-form {
    padding: 0 0.5rem;
    margin-top: 2rem;
  }

  .form-group input,
  .form-group select,
  .form-group textarea {
    font-size: 16px !important;
  }
}

  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg);
    padding: 1.5rem;
    gap: 1.2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
  }

  .nav-links.active {
    display: flex;
  }

  .nav-toggle {
    display: block;
  }

  #hero {
    min-height: 100vh;
    background-position: center center !important;
    background-size: cover !important;
  }

  .hero-content {
    margin-top: 5vh;
  }

  .hero-names span:first-child,
  .hero-names span:last-child {
    font-size: 3rem;
  }

  .hero-names {
    gap: 1.5rem;
  }

  .separator {
    height: 50px;
  }

  .countdown {
    gap: 1.8rem;
    flex-wrap: wrap;
    margin-top: 3rem;
  }

  .count-number {
    font-size: 2rem;
  }

  .invitation-layout {
    flex-direction: column;
    min-height: auto;
  }

  .inv-info {
    flex: none;
    padding: 2rem 1.5rem;
  }

  .inv-info::after {
    display: none;
  }

  .inv-map {
    min-height: 250px;
    height: 35vh;
    width: 100%;
    overflow: hidden;
    display: block;
  }

  .inv-map iframe {
    height: 100% !important;
    width: 100% !important;
  }

  .details-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .form-row {
    flex-direction: column;
    gap: 0;
  }

  .radio-group {
    flex-direction: column;
    gap: 0.8rem;
  }

  .radio-box {
    padding: 0.7rem 1rem;
    font-size: 0.9rem;
  }

  .section {
    padding: 4rem 1.2rem 5rem 1.2rem;
  }

  .section-title {
    font-size: 1.8rem;
  }

  .section-subtitle {
    font-size: 0.95rem;
    margin-bottom: 2.5rem;
  }

  .rsvp-form {
    padding: 0 0.5rem;
    margin-top: 2rem;
  }

  .form-group input,
  .form-group select,
  .form-group textarea {
    font-size: 16px !important;
  }
}

  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg);
    padding: 1.5rem;
    gap: 1.2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
  }

  .nav-links.active {
    display: flex;
  }

  .nav-toggle {
    display: block;
  }

  #hero {
    min-height: 100vh;
    background-position: center center !important;
    background-size: cover !important;
  }

  .hero-content {
    margin-top: 5vh;
  }

  .hero-names span:first-child,
  .hero-names span:last-child {
    font-size: 3rem;
  }

  .hero-names {
    gap: 1.5rem;
  }

  .separator {
    height: 50px;
  }

  .countdown {
    gap: 1.8rem;
    flex-wrap: wrap;
    margin-top: 3rem;
  }

  .count-number {
    font-size: 2rem;
  }

  .invitation-layout {
    flex-direction: column;
    min-height: auto;
    width: 100%;
    overflow: hidden;
  }

  .inv-info {
    flex: none;
    padding: 2rem 1.5rem;
    width: 100%;
  }

  .inv-info::after {
    display: none;
  }

  .inv-map {
    min-height: 250px;
    height: 35vh;
    width: 100%;
    overflow: hidden;
    display: block;
  }

  .inv-map iframe {
    height: 100% !important;
    width: 100% !important;
    display: block;
  }

  .inv-info {
    flex: none;
    padding: 2.5rem 2rem;
  }

  .inv-info::after {
    display: none;
  }

  .inv-map {
    min-height: 300px;
    height: 50vh;
    width: 100%;
    overflow: hidden;
  }

  .inv-map iframe {
    width: 100% !important;
    height: 100% !important;
    display: block;
    border: 0;
  }

  .details-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .form-row {
    flex-direction: column;
    gap: 0;
  }

  .radio-group {
    flex-direction: column;
    gap: 0.8rem;
  }

  .radio-box {
    padding: 0.7rem 1rem;
    font-size: 0.9rem;
  }

  .section {
    padding: 4rem 1.2rem;
  }

  .section-title {
    font-size: 1.8rem;
  }

  .section-subtitle {
    font-size: 0.95rem;
    margin-bottom: 2.5rem;
  }

  .rsvp-form {
    padding: 0 0.5rem;
  }

  .form-group input,
  .form-group select,
  .form-group textarea {
    font-size: 16px !important;
  }
}

@media (max-width: 480px) {
  .hero-names {
    flex-direction: column;
    gap: 0;
  }

  .separator {
    height: 24px;
  }
}
