.bodas {
  --boda-ink: #27221c;
  --boda-soft: #655749;
  --boda-paper: #fbf7ef;
  --boda-line: #e3d8c6;
  --boda-gold: #79551f;
  color: var(--boda-ink);
  scroll-margin-top: 0;
}
#navigation .bodas-nav {
  color: #f3d990;
  border-bottom-color: var(--gold);
}
.bodas-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  min-height: 390px;
  background: #f3e9d8;
}
.bodas-hero-copy {
  align-self: center;
  padding: clamp(24px, 5vw, 66px);
}
.bodas-kicker {
  margin: 0 0 8px;
  color: var(--boda-gold);
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.bodas h2, .bodas h3 {
  font-family: Georgia, 'Times New Roman', serif;
  font-weight: 500;
}
.bodas-hero h2 {
  margin: 0 0 14px;
  font-size: clamp(2.1rem, 4.3vw, 4rem);
  line-height: 1.05;
}
.bodas-hero-copy > p:not(.bodas-kicker) {
  max-width: 42ch;
  margin: 0 0 22px;
}
.bodas-hero-photo {
  margin: 0;
  min-width: 0;
  background: #fff;
}
.bodas-hero-photo img {
  display: block;
  width: 100%;
  height: 100%;
  max-height: 480px;
  object-fit: contain;
  padding: 28px;
}
.bodas-button {
  display: inline-block;
  padding: 9px 15px;
  border: 1px solid var(--boda-ink);
  border-radius: 2px;
  background: var(--boda-ink);
  color: #fff;
  font-size: .875rem;
  font-weight: 700;
  text-decoration: none;
}
.bodas-button:hover { background: #4a3a26; }
.bodas-body { padding: clamp(18px, 4vw, 46px); }
.bodas-group + .bodas-group {
  margin-top: 36px;
  padding-top: 30px;
  border-top: 1px solid var(--boda-line);
}
.bodas-group h3, .bodas-contact h3 {
  margin: 0 0 6px;
  font-size: clamp(1.5rem, 2.75vw, 2.15rem);
  line-height: 1.15;
}
.bodas-group > p {
  margin: 0 0 18px;
  color: var(--boda-soft);
}
.bodas-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
  gap: 16px;
}
.bodas-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--boda-line);
  border-radius: 3px;
  background: #fff;
}
.bodas-card-photo {
  display: block;
  width: 100%;
  height: 218px;
  padding: 12px;
  border-bottom: 1px solid #eee7da;
  object-fit: contain;
}
.bodas-card-copy { padding: 15px; }
.bodas-code {
  margin: 0 0 4px;
  color: var(--boda-gold);
  font-size: .73rem;
  font-weight: 700;
  letter-spacing: .09em;
}
.bodas-card h4 {
  margin: 0 0 7px;
  font-size: 1.02rem;
  line-height: 1.3;
}
.bodas-card p:not(.bodas-code) {
  margin: 0 0 8px;
  color: var(--boda-soft);
  font-size: .88rem;
}
.bodas-card p strong { color: var(--boda-ink); }
.bodas-options {
  margin: 11px 0 0;
  font-size: .87rem;
}
.bodas-options summary {
  color: var(--boda-gold);
  font-weight: 700;
  cursor: pointer;
}
.bodas-colors {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  margin: 8px 0;
  padding: 0;
  list-style: none;
}
.bodas-colors button {
  width: 100%;
  height: 100%;
  min-height: 70px;
  padding: 4px;
  border: 1px solid var(--boda-line);
  border-radius: 2px;
  background: #fff;
  color: var(--boda-ink);
  font: inherit;
  font-size: .7rem;
  overflow-wrap: anywhere;
  cursor: pointer;
}
.bodas-colors button:hover, .bodas-colors button[aria-pressed="true"] {
  border-color: var(--boda-gold);
  background: var(--boda-paper);
}
.bodas-colors button:focus-visible, .bodas-options summary:focus-visible {
  outline: 2px solid var(--boda-gold);
  outline-offset: 1px;
}
.bodas-colors img {
  display: block;
  width: 100%;
  height: 44px;
  margin: 0 0 2px;
  object-fit: contain;
}
.bodas-card .bodas-quote {
  display: inline-block;
  margin-top: 9px;
  color: var(--boda-gold);
  font-size: .87rem;
  font-weight: 700;
  text-underline-offset: 3px;
}
.bodas-contact {
  display: flex;
  justify-content: space-between;
  gap: 18px 30px;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 36px;
  padding: clamp(18px, 3vw, 32px);
  border: 1px solid var(--boda-line);
  background: var(--boda-paper);
}
.bodas-contact p:not(.bodas-kicker) {
  max-width: 65ch;
  margin: 0;
}
@media (max-width: 950px) {
  .bodas-hero { min-height: 300px; }
  .bodas-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 570px) {
  .bodas-hero, .bodas-grid { grid-template-columns: 1fr; }
  .bodas-hero-photo img { height: 220px; padding: 12px; }
  .bodas-card-photo { height: 198px; }
}
@media print {
  .bodas-card { break-inside: avoid; }
  .bodas-hero { min-height: 0; }
  .bodas-hero-photo img { max-height: 240px; }
  .bodas-hero .bodas-button, .bodas-card .bodas-quote, .bodas-contact .bodas-button {
    display: none;
  }
}
@media (max-width: 600px) {
  .bodas, .bodas-contact { scroll-margin-top: 24px; }
}
@media (max-width: 365px) {
  .bodas, .bodas-contact { scroll-margin-top: 62px; }
}
