/* AgroCasanueva — corporate web
   Palette: cream #F6F1E7 · ink #1A3A2A · gold #B8923D · burgundy #6E2F2F
   Type: Cormorant Garamond (display) + Source Sans 3 (body) */

:root {
  --cream: #f6f1e7;
  --cream-deep: #efe6d4;
  --ink: #1a3a2a;
  --ink-soft: #2f4d3d;
  --muted: #5c6b62;
  --gold: #b8923d;
  --gold-soft: #d4b56a;
  --burgundy: #6e2f2f;
  --white: #ffffff;
  --line: rgba(26, 58, 42, 0.12);
  --shadow: 0 18px 40px rgba(26, 58, 42, 0.10);
  --shadow-soft: 0 8px 24px rgba(26, 58, 42, 0.08);
  --radius: 14px;
  --max: 1120px;
  --header-h: 76px;
  --font-display: "Cormorant Garamond", "Times New Roman", serif;
  --font-body: "Source Sans 3", "Segoe UI", system-ui, sans-serif;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
  color: inherit;
}

.container {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  background: rgba(246, 241, 231, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand img {
  height: 52px;
  width: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.site-nav a {
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--ink-soft);
  position: relative;
}

.site-nav a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.site-nav a:not(.nav-cta):hover::after { transform: scaleX(1); }

.nav-cta {
  padding: 0.55rem 1.15rem;
  border: 1px solid var(--ink);
  border-radius: 999px;
  background: var(--ink);
  color: var(--cream) !important;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.nav-cta:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--white) !important;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: transparent;
  padding: 0;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 1.5px;
  background: var(--ink);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

/* Hero */
.hero {
  position: relative;
  padding: 4.5rem 0 5rem;
  overflow: hidden;
  color: var(--cream);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--ink);
}

.hero-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
  filter: saturate(1.05) contrast(1.04);
  transform: scale(1.02);
}

.hero-veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(16, 42, 30, 0.88) 0%, rgba(16, 42, 30, 0.72) 38%, rgba(16, 42, 30, 0.38) 62%, rgba(16, 42, 30, 0.22) 100%),
    linear-gradient(180deg, rgba(12, 28, 20, 0.25) 0%, rgba(12, 28, 20, 0.05) 40%, rgba(12, 28, 20, 0.55) 100%);
  z-index: 1;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3.5rem;
  align-items: center;
  position: relative;
  z-index: 2;
}

.eyebrow {
  margin: 0 0 0.85rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-soft);
}

.hero h1 {
  margin: 0 0 1.25rem;
  font-family: var(--font-display);
  font-size: clamp(3rem, 6vw, 4.75rem);
  font-weight: 600;
  line-height: 0.98;
  letter-spacing: -0.02em;
  color: var(--cream);
  text-shadow: 0 2px 28px rgba(0, 0, 0, 0.28);
}

.hero h1 em {
  font-style: italic;
  font-weight: 500;
  color: var(--gold-soft);
}

.lead {
  margin: 0 0 1.75rem;
  font-size: 1.125rem;
  color: rgba(246, 241, 231, 0.9);
  max-width: 34rem;
  text-shadow: 0 1px 16px rgba(0, 0, 0, 0.25);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 2.25rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.55rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover { transform: translateY(-1px); }

.btn-primary {
  background: var(--cream);
  color: var(--ink);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.22);
}

.btn-primary:hover {
  background: var(--gold-soft);
  color: var(--ink);
}

.btn-ghost {
  background: rgba(246, 241, 231, 0.08);
  border-color: rgba(246, 241, 231, 0.55);
  color: var(--cream);
  backdrop-filter: blur(6px);
}

.btn-ghost:hover {
  border-color: var(--cream);
  background: rgba(246, 241, 231, 0.16);
}

.btn-block {
  width: 100%;
}

.hero-proof {
  list-style: none;
  margin: 0;
  padding: 1.15rem 0 0;
  border-top: 1px solid rgba(246, 241, 231, 0.22);
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem 2rem;
}

.hero-proof li {
  font-size: 0.88rem;
  color: rgba(246, 241, 231, 0.82);
  line-height: 1.4;
}

.hero-proof strong {
  display: block;
  color: var(--gold-soft);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 0.2rem;
}

.hero-visual {
  position: relative;
  min-height: 520px;
}

.hero-card {
  margin: 0;
  background: var(--white);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid rgba(255, 255, 255, 0.7);
}

.hero-card img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: top center;
}

.hero-card figcaption {
  padding: 1.15rem 1.35rem 1.35rem;
  display: grid;
  gap: 0.25rem;
}

.hero-card figcaption .tag {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
}

.hero-card figcaption strong {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
}

.hero-card figcaption span:last-child {
  color: var(--muted);
  font-size: 0.92rem;
}

.hero-card-sm {
  position: absolute;
  width: 42%;
  right: -4%;
  bottom: -6%;
  border-radius: 16px;
  box-shadow: 0 22px 50px rgba(26, 58, 42, 0.18);
  outline: 6px solid var(--cream);
}

.hero-card-sm img {
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: top center;
}

.hero-rule {
  position: absolute;
  left: 50%;
  bottom: 0;
  width: min(100% - 2.5rem, var(--max));
  height: 1px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, var(--gold-soft), transparent);
  z-index: 2;
}

/* Sections */
.section {
  padding: 5.5rem 0;
}

.section-head {
  max-width: 40rem;
  margin-bottom: 3rem;
}

.section-head h2,
.origen-copy h2,
.contact-copy h2 {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: clamp(2.15rem, 4vw, 3.15rem);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.015em;
}

.section-lead {
  margin: 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.section-head-light h2,
.section-head-light .section-lead { color: var(--cream); }

.section-head-light .eyebrow { color: var(--gold-soft); }

.section-head-light .section-lead { opacity: 0.88; }

/* Products */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  align-items: stretch;
}

.product-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.product-media {
  background: var(--cream-deep);
  overflow: hidden;
}

.product-media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.45s ease;
}

.product-card:hover .product-media img {
  transform: scale(1.03);
}

.product-body {
  padding: 1.35rem 1.4rem 1.55rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  flex: 1;
}

.product-cat {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
}

.product-body h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 600;
  line-height: 1.2;
}

.product-body > p:not(.product-cat) {
  margin: 0;
  color: var(--muted);
  font-size: 0.97rem;
  flex: 1;
}

.chips {
  list-style: none;
  margin: auto 0 0;
  padding-top: 0.55rem;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.chips li {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  padding: 0.32rem 0.7rem;
  border-radius: 999px;
  background: rgba(184, 146, 61, 0.12);
  color: var(--ink-soft);
  border: 1px solid rgba(184, 146, 61, 0.28);
}

/* Quality / green section */
.section-green {
  background:
    radial-gradient(ellipse 80% 60% at 15% 0%, rgba(184, 146, 61, 0.18), transparent 55%),
    linear-gradient(165deg, #1a3a2a 0%, #234735 55%, #1a3a2a 100%);
  color: var(--cream);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.15rem;
}

.value-card {
  background: rgba(246, 241, 231, 0.06);
  border: 1px solid rgba(246, 241, 231, 0.12);
  border-radius: var(--radius);
  padding: 1.55rem 1.35rem 1.65rem;
  transition: background 0.25s ease, border-color 0.25s ease;
}

.value-card:hover {
  background: rgba(246, 241, 231, 0.10);
  border-color: rgba(212, 181, 106, 0.35);
}

.value-icon {
  width: 48px;
  height: 48px;
  color: var(--gold-soft);
  margin-bottom: 1.1rem;
}

.value-icon svg {
  width: 100%;
  height: 100%;
}

.value-card h3 {
  margin: 0 0 0.55rem;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--cream);
}

.value-card p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.6;
  color: rgba(246, 241, 231, 0.78);
}

/* Origen */
.origen-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 3.5rem;
  align-items: center;
}

.origen-copy p {
  color: var(--muted);
  margin: 0 0 1.15rem;
}

.origen-copy p strong {
  color: var(--ink);
  font-weight: 600;
}

blockquote {
  margin: 2rem 0 0;
  padding: 1.35rem 1.5rem;
  border-left: 3px solid var(--gold);
  background: rgba(184, 146, 61, 0.10);
  border-radius: 0 12px 12px 0;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-style: italic;
  color: var(--ink);
  line-height: 1.45;
}

blockquote cite {
  display: block;
  margin-top: 0.65rem;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-style: normal;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
}

.origen-visual {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.15rem;
  align-items: start;
}

.origen-figure {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  background: var(--white);
}

.origen-figure img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: top center;
}

.origen-figure-offset {
  margin-top: 2.5rem;
}

/* Stats */
.section-stats {
  padding: 3.25rem 0;
  background: var(--white);
  border-block: 1px solid var(--line);
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.stat {
  text-align: center;
  padding: 0.75rem 0.5rem;
}

.stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 3.5vw, 2.85rem);
  font-weight: 600;
  color: var(--ink);
  line-height: 1.1;
  margin-bottom: 0.35rem;
}

.stat span {
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.45;
}

/* Contact */
.section-contact {
  background:
    radial-gradient(ellipse 60% 50% at 90% 10%, rgba(184, 146, 61, 0.12), transparent 55%),
    var(--cream);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 3.25rem;
  align-items: start;
}

.contact-copy > p {
  color: var(--muted);
  margin: 0 0 1.75rem;
}

.contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.15rem;
}

.contact-list li {
  display: grid;
  gap: 0.2rem;
  padding-bottom: 1.15rem;
  border-bottom: 1px solid var(--line);
}

.contact-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
}

.contact-form {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 2rem;
  box-shadow: var(--shadow-soft);
  display: grid;
  gap: 1.15rem;
}

.form-row {
  display: grid;
  gap: 0.4rem;
}

.form-row label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink);
}

.optional {
  font-weight: 400;
  color: var(--muted);
}

.form-row input,
.form-row textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid rgba(26, 58, 42, 0.16);
  border-radius: 10px;
  background: var(--cream);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-row input:focus,
.form-row textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(184, 146, 61, 0.18);
  background: var(--white);
}

.form-row textarea {
  resize: vertical;
  min-height: 130px;
}

.form-note {
  margin: 0;
  min-height: 1.35em;
  font-size: 0.92rem;
  color: var(--ink-soft);
}

.form-note.is-success { color: var(--ink); font-weight: 600; }
.form-note.is-error { color: var(--burgundy); font-weight: 600; }

/* Footer */
.site-footer {
  background: var(--ink);
  color: rgba(246, 241, 231, 0.82);
  padding: 3rem 0 2.25rem;
}

.footer-inner {
  display: grid;
  gap: 1.75rem;
}

.footer-brand img {
  height: 48px;
  width: auto;
  margin-bottom: 0.85rem;
  filter: brightness(0) invert(1);
  opacity: 0.92;
}

.footer-brand p {
  margin: 0;
  max-width: 28rem;
  font-size: 0.95rem;
  line-height: 1.55;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem 1.75rem;
}

.footer-nav a {
  font-size: 0.92rem;
  font-weight: 500;
  color: rgba(246, 241, 231, 0.78);
  transition: color 0.2s ease;
}

.footer-nav a:hover { color: var(--gold-soft); }

.footer-legal {
  margin: 0;
  padding-top: 1.35rem;
  border-top: 1px solid rgba(246, 241, 231, 0.12);
  font-size: 0.82rem;
  color: rgba(246, 241, 231, 0.55);
}

/* Reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* Responsive */
@media (max-width: 980px) {
  .hero-grid,
  .origen-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .hero-visual {
    min-height: 0;
    max-width: 520px;
  }

  .hero-card-sm {
    width: 38%;
    right: 0;
    bottom: -8%;
  }

  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .values-grid,
  .stats-row {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 720px) {
  .nav-toggle { display: flex; }

  .site-nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    background: rgba(246, 241, 231, 0.98);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.75rem 1.25rem 1.25rem;
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.28s ease, opacity 0.28s ease;
  }

  .site-nav.is-open {
    transform: none;
    opacity: 1;
    pointer-events: auto;
  }

  .site-nav a {
    padding: 0.85rem 0.25rem;
    border-bottom: 1px solid var(--line);
  }

  .site-nav a:last-child { border-bottom: 0; margin-top: 0.5rem; text-align: center; }

  .nav-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(6.5px) rotate(45deg);
  }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-6.5px) rotate(-45deg);
  }

  .hero { padding: 3rem 0 4.25rem; }

  .hero h1 { font-size: clamp(2.6rem, 11vw, 3.4rem); }

  .product-grid {
    grid-template-columns: 1fr;
  }

  .values-grid,
  .stats-row {
    grid-template-columns: 1fr;
  }

  .origen-visual { grid-template-columns: 1fr 1fr; gap: 0.75rem; }
  .origen-figure-offset { margin-top: 1.25rem; }

  .contact-form { padding: 1.35rem; }

  .section { padding: 4rem 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .btn:hover,
  .product-card:hover { transform: none; }
}


/* Snacks band */
.snacks-band {
  margin-top: 2.5rem;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: center;
  padding: 1.75rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow-soft);
}

.snacks-copy h3 {
  margin: 0 0 0.65rem;
  font-family: var(--font-display);
  font-size: 1.85rem;
  font-weight: 600;
  line-height: 1.15;
}

.snacks-copy p {
  margin: 0 0 1rem;
  color: var(--muted);
}

.snacks-visual {
  border-radius: 14px;
  overflow: hidden;
  background: var(--cream-deep);
}

.snacks-visual img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

@media (max-width: 860px) {
  .snacks-band {
    grid-template-columns: 1fr;
  }
}

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

/* La Boulangerie 17 */
.boulangerie {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2.75rem;
  align-items: center;
}

.boulangerie-logo {
  width: 140px;
  height: 140px;
  object-fit: contain;
  margin: 0 0 1.15rem;
}

.boulangerie-copy h2 {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: clamp(2.15rem, 4vw, 3.15rem);
  font-weight: 600;
  line-height: 1.12;
}

.boulangerie-copy p {
  margin: 0 0 1.15rem;
  color: var(--muted);
  max-width: 34rem;
}

.boulangerie-visual figure {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  background: var(--white);
}

.boulangerie-visual img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: top center;
}

@media (max-width: 860px) {
  .boulangerie {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }
}

/* Venta por mayor — queso mantecoso */
.section-mayor {
  background:
    radial-gradient(ellipse 70% 55% at 85% 15%, rgba(184, 146, 61, 0.18), transparent 55%),
    linear-gradient(160deg, #163528 0%, #1f4332 50%, #153022 100%);
  color: var(--cream);
  overflow: hidden;
}

.mayor-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 3rem;
  align-items: center;
}

.mayor-visual {
  position: relative;
}

.mayor-frame {
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(212, 181, 106, 0.35);
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.35);
  transform: rotate(-1.5deg);
}

.mayor-frame img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center;
}

.mayor-badge {
  position: absolute;
  right: -8px;
  bottom: 18px;
  background: var(--gold);
  color: var(--ink);
  border-radius: 999px;
  padding: 0.85rem 1.25rem;
  text-align: center;
  line-height: 1.15;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.28);
  font-family: var(--font-display);
}

.mayor-badge span {
  display: block;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.mayor-badge strong {
  display: block;
  font-size: 1.55rem;
  font-weight: 700;
}

.mayor-copy h2 {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: clamp(2.3rem, 4.5vw, 3.4rem);
  font-weight: 600;
  line-height: 1.05;
  color: var(--cream);
}

.mayor-copy h2 em {
  font-style: italic;
  color: var(--gold-soft);
}

.mayor-lead {
  margin: 0 0 1.35rem;
  color: rgba(246, 241, 231, 0.88);
  font-size: 1.08rem;
  max-width: 34rem;
}

.mayor-lead strong { color: var(--gold-soft); }

.mayor-list {
  list-style: none;
  margin: 0 0 1.75rem;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}

.mayor-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  color: rgba(246, 241, 231, 0.92);
  font-size: 1.02rem;
}

.mayor-list svg {
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
  color: var(--gold-soft);
  margin-top: 2px;
}

.mayor-form {
  background: rgba(246, 241, 231, 0.07);
  border: 1px solid rgba(212, 181, 106, 0.32);
  border-radius: 18px;
  padding: 1.5rem 1.6rem 1.7rem;
  backdrop-filter: blur(8px);
}

.mayor-form h3 {
  margin: 0 0 1.15rem;
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 600;
  color: var(--cream);
}

.mayor-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.95rem;
  margin-bottom: 1.15rem;
}

.mayor-fields label {
  display: grid;
  gap: 0.35rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: rgba(246, 241, 231, 0.9);
}

.mayor-full { grid-column: 1 / -1; }

.mayor-fields input,
.mayor-fields select,
.mayor-fields textarea {
  padding: 0.78rem 0.95rem;
  border-radius: 10px;
  border: 1px solid rgba(246, 241, 231, 0.22);
  background: rgba(246, 241, 231, 0.1);
  color: var(--cream);
  font: inherit;
  outline: none;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.mayor-fields input::placeholder,
.mayor-fields textarea::placeholder {
  color: rgba(246, 241, 231, 0.5);
}

.mayor-fields input:focus,
.mayor-fields select:focus,
.mayor-fields textarea:focus {
  border-color: var(--gold-soft);
  background: rgba(246, 241, 231, 0.16);
}

.mayor-fields select option {
  color: var(--ink);
  background: var(--cream);
}

.btn-mayor {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 0.95rem 1.5rem;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--gold-soft), var(--gold));
  color: var(--ink);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.05rem;
  cursor: pointer;
  box-shadow: 0 14px 32px rgba(184, 146, 61, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-mayor:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(184, 146, 61, 0.45);
}

.mayor-note {
  min-height: 1.35em;
  margin: 0.85rem 0 0;
  font-size: 0.95rem;
  color: var(--gold-soft);
  font-weight: 600;
}

@media (max-width: 920px) {
  .mayor-grid {
    grid-template-columns: 1fr;
    gap: 2.25rem;
  }
  .mayor-frame { transform: none; max-width: 420px; margin: 0 auto; }
  .mayor-badge { right: 12px; }
}

@media (max-width: 560px) {
  .mayor-fields { grid-template-columns: 1fr; }
}

.lang-switch {
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin-left: 0.25rem;
}

.lang-switch a {
  color: var(--ink-soft);
  padding: 0.25rem 0.35rem;
  border-radius: 6px;
}

.lang-switch a:hover {
  color: var(--gold);
  background: rgba(184, 146, 61, 0.1);
}

.lang-switch strong {
  color: var(--ink);
  padding: 0.25rem 0.35rem;
}
