/*
  pages.css
  CSS de secciones para páginas únicas: bodas.html, ayuntamientos.html, madrid.html.
  También sirve para divisores de servicios.html y tarifas.html.

  Cada página define su paleta inline (:root, .header, body, .btn, .contact, etc.)
  Este archivo contiene únicamente el CSS de estructura y componentes.
*/

/* ===================================================
   COMUNES (bodas, ayuntamientos, madrid, servicios…)
   =================================================== */

p {
  text-align: center;
}

h2 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  color: var(--primary);
  text-align: center;
}

.modal-content {
  backdrop-filter: blur(10px) brightness(0.8);
  background-image: none;
  will-change: backdrop-filter, opacity;
}

a.btn {
  display: flex;
  align-items: center;
}

/* Divisor ondulado — estructura (color .shape-fill queda inline por página) */
.custom-shape-divider-top-1761559251,
.custom-shape-divider-top {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
}

.custom-shape-divider-top-1761559251 svg,
.custom-shape-divider-top svg {
  position: relative;
  display: block;
  width: calc(100% + 1.3px);
  height: 100px;
}

/* ===================================================
   BODAS.HTML
   =================================================== */

/* ---- Sección Valor / Tranquilidad ---- */
.valor-bodas {
  background: linear-gradient(160deg, var(--rose-5) 0%, #9a4060 100%);
  padding: 5rem 1.5rem;
  color: white;
}

.valor-inner {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.valor-tag {
  display: inline-block;
  background: rgba(255, 255, 255, .12);
  color: var(--rose-2);
  font-family: Arial, sans-serif;
  font-size: .75rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  padding: .3rem .9rem;
  border-radius: 99px;
  margin-bottom: 1rem;
}

.valor-headline h2 {
  font-size: clamp(1.5rem, 3.5vw, 2.2rem);
  color: white;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: .8rem;
  text-align: left;
}

.valor-sub {
  font-size: 1rem;
  color: var(--rose-2);
  line-height: 1.7;
  text-align: left;
}

.valor-problems {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.problema-card {
  display: flex;
  gap: 1.2rem;
  align-items: flex-start;
  background: rgba(255, 255, 255, .08);
  border-radius: 12px;
  padding: 1.5rem 1.8rem;
  border-left: 3px solid var(--rose-3);
  transition: background .2s;
}

.problema-card:hover {
  background: rgba(255, 255, 255, .14);
}

.problema-icon {
  font-size: 2rem;
  flex-shrink: 0;
  margin-top: .1rem;
}

.problema-card h3 {
  font-size: 1.05rem;
  color: white;
  margin-bottom: .3rem;
}

.problema-card p {
  font-size: .9rem;
  color: var(--rose-2);
  line-height: 1.6;
  text-align: left;
}

.valor-cierre {
  background: rgba(255, 255, 255, .1);
  border-radius: 12px;
  padding: 2rem 2.5rem;
  text-align: center;
}

.valor-cierre p {
  font-size: 1.1rem;
  color: var(--rose-2);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.valor-cierre p strong {
  color: white;
  font-size: 1.15rem;
}

.valor-btn {
  background: white;
  color: var(--rose-5);
  border-color: white;
  font-weight: 700;
  display: inline-flex;
}

/* ---- Hero bodas ---- */
.hero-bodas {
  min-height: 480px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 6rem 1.5rem 3rem;
  background: linear-gradient(135deg, var(--rose-5) 0%, var(--rose-4) 50%, var(--rose-3) 100%);
  color: var(--rose-1);
}

.hero-bodas h1 {
  font-size: clamp(1.8rem, 5vw, 3rem);
  color: var(--rose-1);
  margin-bottom: 1rem;
  line-height: 1.2;
}

.hero-bodas p {
  font-size: 1.1rem;
  max-width: 680px;
  color: var(--rose-2);
  line-height: 1.6;
}

.hero-bodas .btn {
  margin-top: 2rem;
  background-color: var(--rose-5);
  border-color: var(--rose-1);
  color: white;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
}

/* ---- Intro bodas ---- */
.intro-bodas {
  background-color: var(--rose-1);
  padding: 3rem 1.5rem;
  max-width: 800px;
  margin: 0 auto;
}

.intro-bodas p {
  color: #444;
  line-height: 1.7;
  margin-bottom: 1rem;
}

/* ---- ¿Por qué? ---- */
.why-bodas {
  background-color: var(--rose-2);
  padding: 3.5rem 1.5rem;
  text-align: center;
}

.why-bodas h2 {
  margin-bottom: 2rem;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  max-width: 1000px;
  margin: 0 auto;
}

.why-card {
  background: white;
  border-radius: 12px;
  padding: 1.8rem 1.2rem;
  box-shadow: 0 4px 16px rgba(180, 80, 100, 0.12);
  transition: transform .25s ease;
}

.why-card:hover {
  transform: translateY(-4px);
}

.why-card .icon {
  font-size: 2.2rem;
  margin-bottom: .8rem;
}

.why-card h3 {
  font-size: 1.05rem;
  color: var(--rose-5);
  margin-bottom: .5rem;
}

.why-card p {
  font-size: .92rem;
  color: #555;
  line-height: 1.5;
}

/* ---- Packs ---- */
.packs-bodas {
  background-color: var(--rose-1);
  padding: 4rem 1.5rem;
  text-align: center;
}

.packs-bodas h2 {
  margin-bottom: .5rem;
}

.packs-bodas .subtitle {
  color: #666;
  margin-bottom: 2.5rem;
  font-size: .95rem;
}

.packs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  max-width: 1050px;
  margin: 0 auto;
}

.pack-card {
  border-radius: 16px;
  padding: 2rem 1.8rem;
  background: white;
  box-shadow: 0 6px 24px rgba(180, 80, 100, 0.14);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform .25s ease, box-shadow .25s ease;
}

.pack-card {
  will-change: transform, box-shadow;
}

.pack-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(180, 80, 100, 0.22);
}

.pack-card.featured {
  border: 3px solid var(--rose-4);
  background: linear-gradient(160deg, #fff0f2, #fff8f8);
}

.pack-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--rose-5);
  color: white;
  font-size: .78rem;
  font-weight: 700;
  padding: .3rem .9rem;
  border-radius: 99px;
  white-space: nowrap;
}

.pack-emoji {
  font-size: 2.4rem;
  margin-bottom: .6rem;
}

.pack-card h3 {
  font-size: 1.35rem;
  color: var(--rose-5);
  margin-bottom: .3rem;
}

.pack-price {
  font-size: 2.1rem;
  font-weight: 700;
  color: var(--rose-4);
  margin: .5rem 0 .3rem;
}

.pack-tagline {
  font-size: .88rem;
  color: #888;
  margin-bottom: 1.2rem;
  font-style: italic;
}

.pack-features {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
  text-align: left;
}

.pack-features li {
  padding: .35rem 0;
  font-size: .93rem;
  color: #444;
  border-bottom: 1px solid #f5e5e7;
  display: flex;
  align-items: flex-start;
  gap: .5rem;
}

.pack-features li::before {
  content: "✓";
  color: var(--rose-4);
  font-weight: 700;
  flex-shrink: 0;
}

.pack-cta {
  font-size: .85rem;
  color: #777;
  font-style: italic;
  margin-bottom: 1.2rem;
}

.pack-card .btn {
  margin-top: auto;
  background-color: var(--rose-5);
  border-color: var(--rose-3);
  color: white;
  align-self: center;
  display: inline-flex;
  align-items: center;
}

.pack-btn-group {
  display: flex;
  flex-direction: column;
  gap: .6rem;
  margin-top: auto;
  align-items: center;
}

.btn-example {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .5rem 1.2rem;
  border-radius: 6px;
  border: 1.5px solid var(--rose-4);
  background: transparent;
  color: var(--rose-5);
  font-size: .82rem;
  text-decoration: none;
  font-family: inherit;
  transition: background .2s, color .2s;
}

.btn-example:hover {
  background: var(--rose-5);
  color: white;
}

/* ---- Proceso ---- */
.process-bodas {
  background-color: var(--rose-2);
  padding: 3.5rem 1.5rem;
  text-align: center;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  max-width: 900px;
  margin: 2rem auto 0;
}

.process-step {
  background: white;
  border-radius: 12px;
  padding: 1.8rem 1.2rem;
  box-shadow: 0 3px 12px rgba(180, 80, 100, 0.1);
}

.process-step .step-number {
  display: block;
  font-size: 2rem;
  font-weight: 700;
  color: var(--rose-3);
  margin-bottom: .5rem;
}

.process-step h3 {
  color: var(--rose-5);
  font-size: 1rem;
  margin-bottom: .4rem;
}

.process-step p {
  font-size: .88rem;
  color: #555;
  line-height: 1.5;
}

/* ---- RSVP ---- */
.rsvp-bodas {
  background: linear-gradient(150deg, var(--rose-1) 0%, var(--rose-2) 60%, var(--rose-3) 100%);
  padding: 4.5rem 1.5rem;
}

.rsvp-inner {
  max-width: 1050px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

@media (max-width: 768px) {
  .rsvp-inner { grid-template-columns: 1fr; }
}

.rsvp-text h2 {
  text-align: left;
  margin-bottom: 1rem;
  font-size: clamp(1.4rem, 3vw, 2rem);
}

.rsvp-text p {
  text-align: left;
  color: #555;
  line-height: 1.7;
  margin-bottom: 1rem;
}

.rsvp-features {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1.5rem;
}

.rsvp-feature {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: white;
  border-radius: 10px;
  padding: 1rem 1.2rem;
  box-shadow: 0 3px 12px rgba(192, 96, 128, .1);
  border-left: 4px solid var(--rose-4);
}

.rsvp-feature-icon {
  font-size: 1.6rem;
  flex-shrink: 0;
}

.rsvp-feature h4 {
  font-size: .95rem;
  color: var(--rose-5);
  margin-bottom: .2rem;
}

.rsvp-feature p {
  font-size: .85rem;
  color: #666;
  margin: 0;
  line-height: 1.5;
}

.rsvp-mockup {
  background: white;
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 8px 30px rgba(192, 96, 128, .15);
  border: 1px solid var(--rose-3);
}

.rsvp-mockup-header {
  display: flex;
  align-items: center;
  gap: .8rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--rose-3);
}

.rsvp-mockup-header .mockup-icon {
  font-size: 1.8rem;
}

.rsvp-mockup-header h3 {
  font-size: 1.1rem;
  color: var(--rose-5);
  margin: 0;
}

.rsvp-field {
  margin-bottom: 1rem;
}

.rsvp-field label {
  display: block;
  font-size: .8rem;
  color: #888;
  margin-bottom: .3rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .05em;
}

.rsvp-field .field-bar {
  background: var(--rose-2);
  border-radius: 6px;
  padding: .6rem .9rem;
  font-size: .9rem;
  color: #444;
  border: 1px solid var(--rose-3);
}

.rsvp-field .field-options {
  display: flex;
  gap: .6rem;
  margin-top: .4rem;
}

.rsvp-field .field-option {
  padding: .4rem .9rem;
  border-radius: 20px;
  font-size: .82rem;
  border: 1.5px solid var(--rose-4);
  color: var(--rose-5);
  background: white;
}

.rsvp-field .field-option.selected {
  background: var(--rose-5);
  color: white;
  border-color: var(--rose-5);
}

.rsvp-submit {
  display: block;
  width: 100%;
  text-align: center;
  padding: .75rem;
  background: var(--rose-5);
  color: white;
  border-radius: 8px;
  font-weight: 700;
  margin-top: 1.2rem;
  font-size: .95rem;
}

/* ---- Mesas ---- */
.mesas-bodas {
  background-color: var(--rose-2);
  padding: 4.5rem 1.5rem;
  text-align: center;
}

.mesas-bodas .subtitle {
  color: #666;
  max-width: 640px;
  margin: 0 auto 2.5rem;
  font-size: .95rem;
  line-height: 1.6;
}

.mesas-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  max-width: 1100px;
  margin: 0 auto 2.5rem;
}

.mesa-card {
  background: white;
  border-radius: 16px;
  padding: 2rem 1.5rem 1.8rem;
  box-shadow: 0 5px 20px rgba(192, 96, 128, .12);
  transition: transform .25s ease, box-shadow .25s ease;
  position: relative;
  overflow: hidden;
}

.mesa-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--rose-4), var(--rose-5));
}

.mesa-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 32px rgba(192, 96, 128, .2);
}

.mesa-ilustracion {
  font-size: 3.5rem;
  margin-bottom: .8rem;
  line-height: 1;
}

.mesa-card h3 {
  font-size: 1.1rem;
  color: var(--rose-5);
  margin-bottom: .5rem;
}

.mesa-card p {
  font-size: .88rem;
  color: #666;
  line-height: 1.5;
  margin-bottom: .8rem;
}

.mesa-tag {
  display: inline-block;
  background: var(--rose-2);
  color: var(--rose-5);
  font-size: .75rem;
  padding: .25rem .7rem;
  border-radius: 20px;
  font-weight: 600;
  border: 1px solid var(--rose-3);
}

.btn-ver-ejemplo {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  margin-top: .9rem;
  padding: .45rem 1.1rem;
  border-radius: 8px;
  border: 1.5px solid var(--rose-4);
  background: transparent;
  color: var(--rose-5);
  font-size: .82rem;
  font-family: inherit;
  font-weight: 600;
  cursor: pointer;
  transition: background .2s, color .2s;
}

.btn-ver-ejemplo:hover {
  background: var(--rose-5);
  color: white;
  border-color: var(--rose-5);
}

/* ---- Modal mesas ---- */
.mesa-modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .55);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.mesa-modal-overlay.open {
  display: flex;
}

.mesa-modal-box {
  background: white;
  border-radius: 20px;
  max-width: 480px;
  width: 100%;
  box-shadow: 0 20px 60px rgba(0, 0, 0, .25);
  overflow: hidden;
  animation: modalIn .22s ease;
}

@keyframes modalIn {
  from { opacity: 0; transform: translateY(20px) scale(.97); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

.mesa-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.2rem 1.5rem;
  border-bottom: 1px solid var(--rose-3);
}

.mesa-modal-header h3 {
  font-size: 1.05rem;
  color: var(--rose-5);
  margin: 0;
}

.mesa-modal-close {
  background: none;
  border: none;
  font-size: 1.4rem;
  cursor: pointer;
  color: #999;
  line-height: 1;
  padding: 0;
  transition: color .15s;
}

.mesa-modal-close:hover { color: var(--rose-5); }

.mesa-modal-body {
  padding: 1.5rem;
}

.mesa-example-card {
  border-radius: 14px;
  padding: 2rem 1.5rem;
  text-align: center;
  margin-bottom: 1rem;
  position: relative;
}

.mesa-example-card .ex-emoji {
  font-size: 2.8rem;
  margin-bottom: .5rem;
}

.mesa-example-card .ex-table {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  opacity: .7;
  margin-bottom: .2rem;
}

.mesa-example-card .ex-name {
  font-size: 1.6rem;
  font-weight: 700;
  margin: .2rem 0 .6rem;
}

.mesa-example-card .ex-divider {
  display: flex;
  align-items: center;
  gap: .5rem;
  justify-content: center;
  opacity: .5;
  font-size: .8rem;
  margin-bottom: .4rem;
}

.mesa-example-card .ex-divider::before,
.mesa-example-card .ex-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: currentColor;
}

.mesa-example-card .ex-detail {
  font-size: .8rem;
  opacity: .75;
}

.mesa-modal-note {
  font-size: .92rem;
  color: #777;
  font-style: italic;
  text-align: center;
  margin: 0;
}

.mesa-exclusive {
  margin: 0 0 1rem;
  padding: .9rem 1rem;
  border-radius: 12px;
  border: 1px solid #f3c57d;
  background: linear-gradient(135deg, #fffaf0 0%, #ffe7bf 100%);
  color: #6e3a00;
  text-align: left;
  box-shadow: 0 8px 24px rgba(255, 170, 35, .2);
}

.mesa-exclusive-badge {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  border-radius: 999px;
  background: #ffb300;
  color: #3f2600;
  padding: .2rem .6rem;
  margin-bottom: .45rem;
}

.mesa-exclusive p {
  margin: 0;
  font-size: .86rem;
  line-height: 1.45;
}

.mesa-carousel {
  display: grid;
  gap: .75rem;
}

.mesa-carousel-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .7rem;
}

.mesa-carousel-btn {
  border: 1.5px solid var(--rose-4);
  background: white;
  color: var(--rose-5);
  border-radius: 9px;
  padding: .35rem .7rem;
  font-weight: 700;
  font-size: .78rem;
  cursor: pointer;
  transition: all .2s ease;
}

.mesa-carousel-btn:hover {
  background: var(--rose-5);
  color: white;
  border-color: var(--rose-5);
}

.mesa-carousel-counter {
  color: #666;
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .03em;
}

.mesa-carousel-dots {
  display: flex;
  justify-content: center;
  gap: .35rem;
}

.mesa-carousel-dots .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #f2d8df;
  transition: transform .2s ease, background .2s ease;
}

.mesa-carousel-dots .dot.active {
  background: var(--rose-5);
  transform: scale(1.2);
}

.mesa-slide-img {
  display: block;
  width: 100%;
  max-height: 260px;
  object-fit: contain;
  border-radius: 12px;
  background: #fafafa;
  margin-bottom: .5rem;
}

.mesa-slide-caption {
  text-align: center;
  font-size: .8rem;
  font-weight: 700;
  color: var(--rose-5);
  letter-spacing: .04em;
  text-transform: uppercase;
  opacity: .8;
}

/* ---- FAQ acordeón ---- */
.faq-bodas {
  background-color: var(--rose-1);
  padding: 4rem 1.5rem;
}

.faq-bodas-inner {
  max-width: 820px;
  margin: 0 auto;
}

.faq-bodas h2 {
  margin-bottom: .5rem;
}

.faq-bodas .faq-intro {
  text-align: center;
  color: #666;
  font-size: .95rem;
  margin-bottom: 2.5rem;
  line-height: 1.6;
}

.faq-bodas .accordion {
  box-shadow: 0 4px 10px -1px rgba(192, 96, 128, .25);
}

.faq-bodas .accordion-label {
  background: white;
  color: var(--rose-5);
  font-size: 1rem;
  font-weight: 600;
}

.faq-bodas .accordion-label:hover,
.faq-bodas input:checked + .accordion-label {
  background: var(--rose-3);
  color: var(--rose-5);
}

.faq-bodas .accordion-content {
  background: var(--rose-1);
  color: #444;
}

.faq-bodas .accordion-content p {
  font-size: .9rem;
  line-height: 1.7;
  color: #555;
  text-align: left;
}

/* ---- CTA final bodas ---- */
.cta-bodas {
  background: linear-gradient(135deg, var(--rose-4) 0%, var(--rose-5) 100%);
  padding: 3rem 1.5rem;
  text-align: center;
  color: var(--rose-1);
}

.cta-bodas h2 {
  color: var(--rose-1);
  margin-bottom: .8rem;
}

.cta-bodas p {
  color: var(--rose-2);
  margin-bottom: 1.5rem;
}

.cta-bodas .btn {
  background-color: white;
  color: var(--rose-5);
  border-color: white;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
}

/* ===================================================
   AYUNTAMIENTOS.HTML
   =================================================== */

/* ---- Hero ayuntamientos ---- */
.hero-ayto {
  min-height: 480px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 6rem 1.5rem 3rem;
  background: linear-gradient(0deg, var(--blue-1) 0%, var(--blue-2) 20%, var(--blue-3) 45%, var(--blue-4) 70%, var(--blue-5) 100%);
  color: var(--blue-1);
}

.hero-ayto h1 {
  font-size: clamp(1.8rem, 5vw, 3rem);
  color: var(--blue-1);
  margin-bottom: 1rem;
  line-height: 1.2;
}

.hero-ayto p {
  font-size: 1.1rem;
  max-width: 700px;
  color: var(--blue-2);
  line-height: 1.6;
}

.hero-ayto .btn {
  margin-top: 2rem;
  background-color: white;
  border-color: var(--blue-3);
  color: var(--blue-5);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
}

/* ---- Intro ayuntamientos ---- */
.intro-ayto {
  background-color: var(--blue-1);
  padding: 3rem 1.5rem;
  margin: 0 auto;
}

.intro-ayto p {
  color: #444;
  line-height: 1.7;
  margin-bottom: 1rem;
}

/* ---- Problema ---- */
.problem-ayto {
  background-color: var(--blue-2);
  padding: 3.5rem 1.5rem;
  text-align: center;
}

.problem-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.5rem;
  max-width: 1000px;
  margin: 2rem auto 0;
}

.problem-item {
  background: white;
  border-radius: 12px;
  padding: 1.8rem 1.2rem;
  box-shadow: 0 4px 16px rgba(26, 58, 110, 0.1);
  transition: transform .25s ease;
  border-left: 4px solid var(--blue-4);
}

.problem-item:hover {
  transform: translateY(-4px);
}

.problem-item .icon {
  font-size: 2rem;
  margin-bottom: .6rem;
}

.problem-item h3 {
  font-size: 1rem;
  color: var(--blue-5);
  margin-bottom: .4rem;
}

.problem-item p {
  font-size: .88rem;
  color: #555;
  line-height: 1.5;
}

/* ---- Qué ofrezco ---- */
.offer-ayto {
  background-color: var(--blue-1);
  padding: 4rem 1.5rem;
  text-align: center;
}

.offer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.8rem;
  max-width: 1050px;
  margin: 2rem auto 0;
}

.offer-card {
  background: white;
  border-radius: 14px;
  padding: 2rem 1.5rem;
  box-shadow: 0 5px 20px rgba(26, 58, 110, 0.12);
  transition: transform .25s ease;
}

.offer-card:hover {
  transform: translateY(-5px);
}

.offer-card .icon {
  font-size: 2.4rem;
  margin-bottom: .7rem;
}

.offer-card h3 {
  font-size: 1.1rem;
  color: var(--blue-5);
  margin-bottom: .5rem;
}

.offer-card p {
  font-size: .9rem;
  color: #555;
  line-height: 1.5;
}

/* ---- Beneficios ayuntamientos ---- */
.benefits-ayto {
  background-color: var(--blue-2);
  padding: 3.5rem 1.5rem;
}

.benefits-ayto h2 {
  text-align: center;
  margin-bottom: 2rem;
}

.benefits-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1rem;
  max-width: 900px;
  margin: 0 auto;
}

.benefit-item {
  background: white;
  border-radius: 10px;
  padding: 1.2rem 1.5rem;
  display: flex;
  align-items: flex-start;
  gap: .8rem;
  box-shadow: 0 2px 8px rgba(26, 58, 110, 0.08);
}

.benefit-item .check {
  color: var(--blue-4);
  font-size: 1.3rem;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: .15rem;
}

.benefit-item div h3 {
  font-size: .95rem;
  color: var(--blue-5);
  margin-bottom: .2rem;
}

.benefit-item div p {
  font-size: .85rem;
  color: #666;
  text-align: left;
  line-height: 1.4;
}

/* ---- Proceso ayuntamientos ---- */
.process-ayto {
  background-color: var(--blue-1);
  padding: 3.5rem 1.5rem;
  text-align: center;
}

.process-steps-ayto {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  max-width: 900px;
  margin: 2rem auto 0;
}

.process-step-ayto {
  background: white;
  border-radius: 12px;
  padding: 1.8rem 1.2rem;
  box-shadow: 0 3px 12px rgba(26, 58, 110, 0.1);
}

.process-step-ayto .step-number {
  display: block;
  font-size: 2rem;
  font-weight: 700;
  color: var(--blue-3);
  margin-bottom: .5rem;
}

.process-step-ayto h3 {
  color: var(--blue-5);
  font-size: 1rem;
  margin-bottom: .4rem;
}

.process-step-ayto p {
  font-size: .88rem;
  color: #555;
  line-height: 1.5;
}

/* ---- CTA ayuntamientos ---- */
.cta-ayto {
  background: linear-gradient(135deg, var(--blue-4) 0%, var(--blue-5) 100%);
  padding: 3.5rem 1.5rem;
  text-align: center;
  color: var(--blue-1);
}

.cta-ayto h2 {
  color: var(--blue-1);
  margin-bottom: .8rem;
}

.cta-ayto p {
  color: var(--blue-2);
  max-width: 650px;
  margin: 0 auto 1.5rem;
}

.cta-ayto .btn {
  background-color: white;
  color: var(--blue-5);
  border-color: white;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
}

/* ===================================================
   MADRID.HTML
   =================================================== */

/* ---- Hero banner madrid ---- */
.hero-banner {
  background: linear-gradient(
    0deg,
    var(--red-1) 0%,
    var(--red-2) 25%,
    var(--red-3) 50%,
    var(--red-4) 75%,
    var(--red-5) 100%
  );
  padding: 4rem 1rem;
  text-align: center;
}

.hero-banner h1 {
  font-size: clamp(2rem, 6vw, 3rem);
  margin-bottom: 1rem;
}

.hero-banner p {
  max-width: 650px;
  margin: 0 auto;
  font-size: 1.1rem;
}

/* ---- Features madrid ---- */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.feature {
  background: #fff3eb;
  border-radius: var(--radius);
  padding: 1.5rem;
  border-left: 5px solid var(--primary);
  transition: transform 0.3s ease;
}

.feature:hover {
  transform: translateY(-5px);
}

/* ---- Componente mistakes (madrid) ---- */
.mistakes {
  padding: 20px;
  margin-inline: auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr));
  justify-content: center;
  gap: 2rem;
  list-style: none;
}

.mistakes li {
  max-width: 12rem;
  justify-self: center;
  display: grid;
  grid-template:
    "icon"
    "line"
    "dot"
    "title"
    "descr" 1fr;
  justify-items: center;
  align-items: flex-start;
  text-align: center;
}

.mistakes li .icon {
  grid-area: icon;
  width: 6rem;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  color: white;
  font-size: 2.5rem;
  border: 0.4rem solid var(--bgColor);
  border-radius: 50%;
  background: var(--accent-color);
  box-shadow: -0.5rem 0.5rem 1rem rgba(0, 0, 0, 0.45),
    inset -0.25rem 0.25rem 0.5rem rgba(0, 0, 0, 0.45);
}

.mistakes li .icon img {
  height: 50%;
}

.mistakes li::before {
  content: "";
  grid-area: line;
  height: 2rem;
  border-right: 2px dotted currentColor;
}

.mistakes li::after {
  content: "";
  grid-area: dot;
  width: 1rem;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--accent-color);
  justify-self: center;
  margin-bottom: 0.5rem;
}

.mistakes li .title {
  grid-area: title;
  margin-block: 0.5rem;
  font-size: 1.3rem;
  font-weight: 600;
  text-align: center;
  text-transform: uppercase;
}

/* ---- Intro / Beneficios madrid ---- */
.intro {
  background: linear-gradient(
    166deg,
    var(--red-1) 0%,
    var(--red-2) 25%,
    var(--red-3) 50%,
    var(--red-4) 75%,
    var(--red-5) 100%
  );
}

.benefits {
  background: linear-gradient(
    15deg,
    var(--red-1) 0%,
    var(--red-2) 25%,
    var(--red-3) 50%,
    var(--red-4) 75%,
    var(--red-5) 100%
  );
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

/* ---- Asesoría gratuita madrid ---- */
.free-consultation {
  padding: 6rem 2rem;
  background: linear-gradient(150deg, var(--red-1) 0%, var(--red-2) 25%, var(--red-3) 50%, var(--red-4) 75%, var(--red-5) 100%);
}

.free-consultation .container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  align-items: center;
  gap: 3rem;
  max-width: 1200px;
  margin: 0 auto;
}

.consultation-text-md {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.consultation-text-md h2 {
  font-size: 2.2rem;
  margin-bottom: 1.5rem;
}

.consultation-text-md p {
  margin-bottom: 1rem;
  line-height: 1.6;
  font-size: 1.1rem;
}

.consultation-text-md .btn {
  display: flex;
  align-items: center;
}

.consultation-image img {
  width: 100%;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(78, 121, 107, 0.2);
  object-fit: cover;
}

@media (max-width: 768px) {
  .free-consultation {
    padding: 4rem 1.5rem;
  }

  .consultation-text-md h2 {
    font-size: 1.8rem;
  }

  .consultation-text-md p {
    font-size: 1rem;
  }
}

/* ===================================================
   BODAS — SECCIÓN / NAVEGACIÓN INTERNA
   =================================================== */

/* ---- Sub-nav bodas ---- */
.bodas-subnav {
  background: rgba(192, 96, 128, 0.96);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255,255,255,.12);
  position: sticky;
  top: 120px;
  z-index: 89;
  overflow-x: auto;
  scrollbar-width: none;
  will-change: backdrop-filter;
}
.bodas-subnav::-webkit-scrollbar { display: none; }
.bodas-subnav-inner {
  display: flex;
  justify-content: center;
  gap: .2rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: .5rem 1.2rem;
  align-items: center;
  white-space: nowrap;
}
.bodas-subnav a {
  color: rgba(255,255,255,.82);
  text-decoration: none;
  padding: .35rem .75rem;
  border-radius: 5px;
  font-size: .8rem;
  font-family: inherit;
  transition: background .2s, color .2s;
  display: inline-block;
}
.bodas-subnav a:visited { text-decoration: none; color: rgba(255,255,255,.75); }
.bodas-subnav a:hover,
.bodas-subnav a.active {
  background: rgba(255,255,255,.18);
  color: white;
}
@media (max-width: 600px) {
  .bodas-subnav { top: 56px; }
}
@media (max-width: 768px) {
  .bodas-subnav-inner { justify-content: flex-start; }
}

/* ---- Hub servicios bodas ---- */
.servicios-bodas {
  background: var(--rose-1);
  padding: 3.5rem 1.5rem 4rem;
  text-align: center;
}
.servicios-bodas h2 { margin-bottom: .5rem; }
.servicios-bodas > p { color: #666; margin-bottom: 2rem; font-size: .95rem; }
.servicios-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 1.5rem;
  max-width: 980px;
  margin: 0 auto;
}
.servicio-card {
  background: white;
  border-radius: 14px;
  padding: 2rem 1.4rem 1.5rem;
  box-shadow: 0 4px 16px rgba(180,80,100,.12);
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .55rem;
  transition: transform .25s, box-shadow .25s;
  border: 1.5px solid transparent;
}
.servicio-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 24px rgba(180,80,100,.22);
  border-color: var(--rose-3);
}
.servicio-icon { font-size: 2.4rem; }
.servicio-card h3 { font-size: 1.05rem; color: var(--rose-5); margin: 0; }
.servicio-card p { font-size: .88rem; color: #666; margin: 0; line-height: 1.4; }
.servicio-link { font-size: .82rem; color: var(--rose-4); font-weight: 600; margin-top: .2rem; }

/* ---- Hero genérico bodas (subpáginas) ---- */
.hero-bodas-sub {
  min-height: 380px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 5rem 1.5rem 3rem;
  background: linear-gradient(135deg, var(--rose-5) 0%, var(--rose-4) 55%, var(--rose-3) 100%);
  color: var(--rose-1);
}
.hero-bodas-sub h1 {
  font-size: clamp(1.8rem, 5vw, 2.8rem);
  color: var(--rose-1);
  margin-bottom: .9rem;
  line-height: 1.2;
}
.hero-bodas-sub p {
  font-size: 1.05rem;
  max-width: 660px;
  color: var(--rose-2);
  line-height: 1.6;
}
.hero-bodas-sub .btn {
  margin-top: 1.8rem;
  background-color: white;
  border-color: var(--rose-3);
  color: var(--rose-5);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
}
.hero-breadcrumb {
  font-size: .78rem;
  color: rgba(255,255,255,.65);
  margin-bottom: .8rem;
  text-align: center;
}
.hero-breadcrumb a { color: rgba(255,255,255,.65); text-decoration: none; }
.hero-breadcrumb a:hover { color: white; }

/* ---- Sección contenido artículo/página ---- */
.bodas-content {
  background: var(--rose-1);
  padding: 3.5rem 1.5rem;
}
.bodas-content-inner {
  max-width: 860px;
  margin: 0 auto;
}
.bodas-content h2 {
  text-align: left;
  color: var(--rose-5);
  margin-bottom: .8rem;
  font-size: 1.5rem;
}
.bodas-content h3 {
  color: var(--rose-5);
  font-size: 1.1rem;
  margin-top: 1.5rem;
  margin-bottom: .4rem;
}
.bodas-content p {
  text-align: left;
  color: #444;
  line-height: 1.7;
  margin-bottom: 1rem;
}
.bodas-content ul {
  padding-left: 1.4rem;
  color: #444;
  line-height: 1.7;
  margin-bottom: 1rem;
}
.bodas-content ul li { margin-bottom: .35rem; }

/* ---- Grid de características (subpáginas) ---- */
.features-bodas {
  background: var(--rose-2);
  padding: 3.5rem 1.5rem;
  text-align: center;
}
.features-bodas h2 { margin-bottom: 2rem; }
.features-bodas-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  max-width: 1000px;
  margin: 0 auto;
}
.feature-bodas-card {
  background: white;
  border-radius: 12px;
  padding: 1.8rem 1.2rem;
  box-shadow: 0 4px 16px rgba(180,80,100,.12);
  transition: transform .25s;
}
.feature-bodas-card:hover { transform: translateY(-4px); }
.feature-bodas-card .icon { font-size: 2.2rem; margin-bottom: .7rem; }
.feature-bodas-card h3 { font-size: 1rem; color: var(--rose-5); margin-bottom: .4rem; }
.feature-bodas-card p { font-size: .88rem; color: #555; line-height: 1.5; }

/* ---- Blog ---- */
.blog-bodas {
  background: var(--rose-1);
  padding: 3.5rem 1.5rem 4rem;
}
.blog-bodas-header {
  text-align: center;
  margin-bottom: 2.5rem;
}
.blog-bodas-header h1,
.blog-bodas-header h2 { margin-bottom: .5rem; }
.blog-bodas-header p { color: #666; max-width: 580px; margin: 0 auto; font-size: .95rem; }
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  max-width: 1080px;
  margin: 0 auto;
}
.blog-card {
  background: white;
  border-radius: 14px;
  box-shadow: 0 5px 18px rgba(180,80,100,.12);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  transition: transform .25s, box-shadow .25s;
  border: 1.5px solid transparent;
}
.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 28px rgba(180,80,100,.2);
  border-color: var(--rose-3);
}
.blog-card-emoji {
  background: linear-gradient(135deg, var(--rose-4), var(--rose-5));
  font-size: 3rem;
  text-align: center;
  padding: 1.5rem;
  color: #fff;
}
.blog-card-body { padding: 1.4rem; flex: 1; display: flex; flex-direction: column; gap: .5rem; }
.blog-card-tag {
  display: inline-block;
  background: var(--rose-2);
  color: var(--rose-5);
  font-size: .72rem;
  padding: .2rem .6rem;
  border-radius: 20px;
  font-weight: 600;
  border: 1px solid var(--rose-3);
  width: fit-content;
}
.blog-card h3 { font-size: 1.05rem; color: var(--rose-5); line-height: 1.3; }
.blog-card p { font-size: .88rem; color: #666; line-height: 1.5; margin: 0; flex: 1; text-align: left; }
.blog-card-link {
  font-size: .82rem;
  color: var(--rose-4);
  font-weight: 700;
  margin-top: .4rem;
  display: inline-block;
}

/* ---- Artículo blog ---- */
.article-bodas {
  background: var(--rose-1);
  padding: 3rem 1.5rem 4rem;
}
.article-bodas-inner {
  max-width: 780px;
  margin: 0 auto;
}
.article-bodas-inner h2 {
  font-size: 1.45rem;
  color: var(--rose-5);
  text-align: left;
  margin: 2rem 0 .6rem;
}
.article-bodas-inner h3 {
  font-size: 1.1rem;
  color: var(--rose-5);
  margin: 1.5rem 0 .4rem;
}
.article-bodas-inner p {
  color: #444;
  line-height: 1.75;
  margin-bottom: 1rem;
  text-align: left;
}
.article-bodas-inner ul,
.article-bodas-inner ol {
  padding-left: 1.4rem;
  color: #444;
  line-height: 1.75;
  margin-bottom: 1rem;
}
.article-bodas-inner li { margin-bottom: .4rem; }
.article-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--rose-3);
  font-size: .82rem;
  color: #888;
}
.article-meta .tag {
  background: var(--rose-2);
  color: var(--rose-5);
  padding: .2rem .7rem;
  border-radius: 20px;
  font-weight: 600;
  border: 1px solid var(--rose-3);
}
.article-cta-box {
  background: linear-gradient(135deg, var(--rose-5) 0%, var(--rose-4) 100%);
  border-radius: 14px;
  padding: 2rem 1.8rem;
  text-align: center;
  color: white;
  margin-top: 2.5rem;
}
.article-cta-box h3 { color: white; margin-bottom: .6rem; font-size: 1.2rem; }
.article-cta-box p { color: var(--rose-2); margin-bottom: 1.2rem; font-size: .92rem; }
.article-cta-box .btn {
  background: white;
  color: var(--rose-5);
  border-color: white;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
}
.article-links {
  margin-top: 2rem;
  padding: 1.2rem 1.5rem;
  background: var(--rose-2);
  border-radius: 10px;
  border-left: 4px solid var(--rose-4);
}
.article-links h4 { color: var(--rose-5); font-size: .9rem; margin-bottom: .5rem; }
.article-links a {
  display: block;
  color: var(--rose-5);
  text-decoration: none;
  font-size: .88rem;
  margin-bottom: .3rem;
  font-weight: 600;
}
.article-links a:hover { text-decoration: underline; }

/* ---- Presupuesto tabla (blog article) ---- */
.presupuesto-tabla {
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 14px rgba(180,80,100,.1);
  overflow: hidden;
  margin: 1.8rem 0;
}
.presupuesto-fila {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: .75rem 1.2rem;
  border-bottom: 1px solid var(--rose-2);
  gap: 1rem;
}
.presupuesto-fila:last-child { border-bottom: none; }
.presupuesto-fila:nth-child(odd) { background: var(--rose-1); }
.presupuesto-partida { font-size: .95rem; color: #333; }
.presupuesto-pct {
  font-weight: 700;
  color: var(--rose-5);
  font-size: .95rem;
  white-space: nowrap;
}
.presupuesto-fila--reserve { background: var(--rose-2) !important; }
.presupuesto-fila--reserve .presupuesto-partida { font-weight: 600; }

/* ---- Portfolio bodas ---- */
.portfolio-bodas {
  background: var(--rose-1);
  padding: 3.5rem 1.5rem 4rem;
  text-align: center;
}
.portfolio-bodas h2 { margin-bottom: .5rem; }
.portfolio-bodas > p { color: #666; margin-bottom: 2.5rem; font-size: .95rem; }
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  max-width: 1080px;
  margin: 0 auto;
}
.portfolio-item {
  background: white;
  border-radius: 14px;
  box-shadow: 0 5px 18px rgba(180,80,100,.12);
  overflow: hidden;
  transition: transform .25s, box-shadow .25s;
  text-align: left;
}
.portfolio-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 28px rgba(180,80,100,.2);
}
.portfolio-item-thumb {
  background: linear-gradient(135deg, var(--rose-5), var(--rose-3));
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
}
.portfolio-item-body { padding: 1.3rem 1.4rem; }
.portfolio-item-body h3 { font-size: 1rem; color: var(--rose-5); margin-bottom: .3rem; }
.portfolio-item-body p { font-size: .85rem; color: #666; line-height: 1.4; }
.portfolio-tags { display: flex; gap: .4rem; flex-wrap: wrap; margin-top: .6rem; }
.portfolio-tag {
  background: var(--rose-2);
  color: var(--rose-5);
  font-size: .72rem;
  padding: .15rem .5rem;
  border-radius: 20px;
  border: 1px solid var(--rose-3);
}

/* ---- Sobre mí bodas ---- */
.sobre-mi-bodas {
  background: var(--rose-1);
  padding: 3.5rem 1.5rem;
}
.sobre-mi-inner {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 3rem;
  align-items: start;
}
@media (max-width: 650px) {
  .sobre-mi-inner { grid-template-columns: 1fr; }
}
.sobre-mi-avatar {
  background: linear-gradient(135deg, var(--rose-5), var(--rose-3));
  border-radius: 20px;
  padding: 2.5rem 1.5rem;
  text-align: center;
  color: white;
}
.sobre-mi-avatar .avatar-emoji { font-size: 5rem; display: block; margin-bottom: .8rem; }
.sobre-mi-avatar h3 { color: white; font-size: 1.3rem; }
.sobre-mi-avatar p { color: var(--rose-2); font-size: .9rem; margin-top: .3rem; }
.sobre-mi-text h2 { text-align: left; color: var(--rose-5); margin-bottom: 1rem; }
.sobre-mi-text p { text-align: left; color: #444; line-height: 1.7; margin-bottom: 1rem; }
.sobre-mi-skills {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-top: 1rem;
}
.skill-tag {
  background: var(--rose-2);
  color: var(--rose-5);
  font-size: .82rem;
  padding: .3rem .8rem;
  border-radius: 20px;
  border: 1px solid var(--rose-3);
  font-weight: 600;
}

/* ---- Contacto bodas ---- */
.contacto-bodas {
  background: linear-gradient(155deg, var(--rose-1) 0%, var(--rose-2) 25%, var(--rose-3) 50%, var(--rose-4) 75%, var(--rose-5) 100%);
  padding: 3.5rem 1.5rem;
}
.contacto-bodas-inner {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}
.contacto-bodas-inner h2 { margin-bottom: .5rem; }
.contacto-bodas-inner > p { color: #555; margin-bottom: 2rem; font-size: .95rem; }
.contacto-form {
  background: white;
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 8px 30px rgba(192,96,128,.18);
}

