:root {
  --bg: #fbf8f4;
  --surface: #fffdf9;
  --text: #1f1d1b;
  --muted: #6d655f;
  --brand: #b11e44;
  --brand-strong: #851432;
  --gold: #d3a447;
  --line: #e9ded2;
  --shadow: 0 18px 38px rgba(65, 45, 24, 0.12);
  --radius: 18px;
  --container: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--text);
  line-height: 1.55;
}

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

/* Preserve Tailwind cover/fill images inside fixed aspect boxes */
img.h-full,
img.object-cover {
  max-width: none;
  width: 100%;
  height: 100%;
}
.bg-white{
  background-color: #fff;
}
a {
  color: inherit;
  text-decoration: none;
}
.text-on-surface-variant{
  color: #666666;
}

.footer-bg{
  border-top-right-radius: 24px;
  border-top-left-radius: 24px;
  background-color: #F1EDF0;
}
.bg-secondary-section {
  background-color: #FCF9F8;
}
.break-line{
  width: 100%;
  height: 1px;
  background-color: #C6BBD2;
}
.container {
  width: min(var(--container), calc(100% - 2.2rem));
  margin: 0 auto;
}

.skip-link {
  position: absolute;
  left: -9999px;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
  background: #fff;
  padding: 0.5rem 0.8rem;
  border-radius: 8px;
  z-index: 999;
}

.site-main {
  min-height: 55vh;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 99;
  border-bottom: 1px solid rgba(233, 222, 210, 0.7);
  backdrop-filter: blur(12px);
  background: rgba(251, 248, 244, 0.88);
}

.header-wrap {
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  flex-direction: column;
}

.brand-kicker {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.65rem;
  color: var(--brand);
  font-weight: 800;
}

.brand-name {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(1.45rem, 1.1rem + 1.1vw, 2rem);
  line-height: 1;
  font-weight: 700;
}

.main-nav ul {
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 1.2rem;
  list-style: none;
}

.main-nav a {
  color: var(--muted);
  font-weight: 700;
  font-size: 0.96rem;
  transition: color 0.2s ease;
}

.main-nav a:hover,
.main-nav .current-menu-item > a {
  color: var(--brand);
}

.header-cart {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-weight: 700;
  border: 1px solid var(--line);
  padding: 0.6rem 0.95rem;
  border-radius: 999px;
  background: #fff;
}

.header-cart-count {
  min-width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--brand);
  color: #fff;
  border-radius: 999px;
  font-size: 0.82rem;
}

.hero {
  padding: clamp(3rem, 2.5rem + 2vw, 5rem) 0 3.2rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 1.4rem;
  align-items: stretch;
}

.hero-copy,
.hero-card {
  border-radius: calc(var(--radius) + 6px);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  padding: clamp(1.4rem, 1.1rem + 1vw, 2.2rem);
}

.eyebrow {
  margin: 0;
  color: var(--brand);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.7rem;
}

.hero h1,
.section-head h1,
.section-head h2,
.single-head h1 {
  font-family: "Cormorant Garamond", serif;
  line-height: 1.05;
  margin: 0.7rem 0 0.85rem;
  letter-spacing: 0.01em;
}

.hero h1 {
  font-size: clamp(2.1rem, 1.45rem + 2.2vw, 3.75rem);
}

.hero p {
  color: var(--muted);
  max-width: 62ch;
}

.hero-actions {
  display: flex;
  gap: 0.7rem;
  flex-wrap: wrap;
  margin: 1.2rem 0;
}

.btn {
  border: 0;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.82rem 1.15rem;
  font-weight: 800;
  cursor: pointer;
  transition:
    transform 0.18s ease,
    background-color 0.2s ease;
}

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

.btn-primary {
  background: linear-gradient(
    135deg,
    var(--brand) 0%,
    var(--brand-strong) 100%
  );
  color: #fff;
}

.btn-ghost {
  border: 1px solid var(--line);
  color: var(--text);
  background: #fff;
}

.btn-block {
  width: 100%;
}

.hero-points {
  list-style: none;
  margin: 1.1rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.45rem;
}

.hero-points li {
  position: relative;
  padding-left: 1.15rem;
  font-weight: 600;
}

.hero-points li::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
  position: absolute;
  left: 0;
  top: 0.52rem;
}

.hero-card h2 {
  margin-top: 0;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(1.7rem, 1.4rem + 1vw, 2.4rem);
}

.hero-card p {
  color: var(--muted);
}

.hero-stat-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.8rem;
  margin-top: 1.2rem;
}

.hero-stat {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  padding: 0.9rem;
}

.hero-stat strong {
  display: block;
  font-size: 1.6rem;
  color: var(--brand);
  font-weight: 800;
}

.hero-stat span {
  color: var(--muted);
  font-size: 0.88rem;
}

.section {
  padding: 3.2rem 0;
}

.section-head {
  margin-bottom: 1.3rem;
}

.section-head h1,
.section-head h2 {
  font-size: clamp(2rem, 1.5rem + 1.35vw, 3rem);
}

.section-head p {
  color: var(--muted);
  margin: 0;
}

.event-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.1rem;
}

.event-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}

.event-media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  display: block;
}

.event-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

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

.event-media-fallback {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(140deg, #f6d4da 0%, #f6ecd9 100%);
  font-family: "Cormorant Garamond", serif;
  font-size: 2.1rem;
  color: var(--brand-strong);
}

.event-content {
  padding: 1rem;
}

.event-date {
  margin: 0;
  color: var(--brand);
  font-weight: 800;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.event-content h2,
.event-content h3 {
  margin: 0.5rem 0 0.6rem;
  font-family: "Cormorant Garamond", serif;
  font-size: 1.65rem;
  line-height: 1.1;
}

.event-content p {
  margin: 0;
  color: var(--muted);
}

.event-link {
  display: inline-block;
  margin-top: 0.85rem;
  color: var(--brand);
  font-weight: 800;
}

.section-process {
  padding-top: 0;
}

.process-grid {
  display: grid;
  gap: 0.9rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.process-grid article {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  padding: 1.1rem;
}

.process-grid span {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--brand);
  color: #fff;
  border-radius: 50%;
  font-weight: 800;
}

.process-grid h3 {
  margin: 0.75rem 0 0.45rem;
  font-size: 1.1rem;
}

.process-grid p {
  margin: 0;
  color: var(--muted);
}

.single-head {
  margin-bottom: 1.4rem;
}

.single-head h1 {
  font-size: clamp(2.1rem, 1.7rem + 1.2vw, 3.1rem);
}

.single-date {
  color: var(--brand);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.82rem;
}

.single-lead {
  max-width: 74ch;
  color: var(--muted);
}

.single-content {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 1rem;
}

.single-text,
.single-side {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  padding: 1rem;
}

.single-featured {
  margin: 0;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #f4ece4;
}

.single-featured img {
  width: 100%;
  height: auto;
  max-height: 520px;
  object-fit: cover;
}

.single-description {
  margin-top: 1rem;
  color: var(--muted);
}

.single-description p {
  margin: 0 0 0.8rem;
}

.single-side p {
  color: var(--muted);
}

.galeria {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
}

.foto {
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow);
}

.foto-media {
  display: block;
  aspect-ratio: 4 / 3;
  position: relative;
  user-select: none;
  width: 100%;
  border: 0;
  padding: 0;
  cursor: zoom-in;
  background: transparent;
}

.foto img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.foto-watermark {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-family: "Cormorant Garamond", serif;
  font-weight: 700;
  font-size: clamp(0.85rem, 0.7rem + 1vw, 1.25rem);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.42);
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.45);
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='260' height='180' viewBox='0 0 260 180'%3E%3Cg transform='rotate(-28 130 90)'%3E%3Ctext x='22' y='90' fill='rgba(255,255,255,0.23)' font-family='Arial' font-size='19' font-weight='700'%3EBALLET FOTOS%3C/text%3E%3C/g%3E%3C/svg%3E"),
    repeating-linear-gradient(
      -30deg,
      rgba(0, 0, 0, 0.1) 0,
      rgba(0, 0, 0, 0.1) 1px,
      rgba(255, 255, 255, 0.04) 1px,
      rgba(255, 255, 255, 0.04) 42px
    );
  background-size:
    260px 180px,
    auto;
  background-repeat: repeat;
  pointer-events: none;
}

.photo-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 1rem;
  margin: 0;
  border: 0;
  background: transparent;
  max-width: 100%;
  max-height: 100%;
}

.photo-modal:not([open]) {
  display: none;
}

.photo-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(16, 12, 10, 0.86);
  backdrop-filter: blur(4px);
}

.photo-modal-dialog {
  position: relative;
  width: min(1100px, calc(100vw - 2rem));
  max-height: calc(100vh - 2rem);
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: 0 26px 65px rgba(0, 0, 0, 0.45);
  background: #13100e;
  z-index: 1;
}

.photo-modal-media {
  position: relative;
  max-height: calc(100vh - 2rem);
}

.photo-modal-media img {
  display: block;
  width: 100%;
  height: auto;
  max-height: calc(100vh - 2rem);
  object-fit: contain;
  pointer-events: none;
  user-select: none;
}

.foto-watermark--modal {
  font-size: clamp(1rem, 0.65rem + 1.4vw, 1.7rem);
  color: rgba(255, 255, 255, 0.38);
  background-size:
    290px 200px,
    auto;
}

.photo-modal-close {
  position: absolute;
  top: 0.6rem;
  right: 0.6rem;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  background: rgba(0, 0, 0, 0.45);
  color: #fff;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
  z-index: 2;
}

.photo-modal-close:hover {
  background: rgba(177, 30, 68, 0.9);
}

.foto-info {
  padding: 0.8rem;
  display: flex;
  justify-content: space-between;
  gap: 0.6rem;
  align-items: center;
}

.foto-info strong {
  font-size: 0.88rem;
  max-width: 60%;
}

.add-carrinho {
  border: 0;
  background: #111;
  color: #fff;
  border-radius: 10px;
  padding: 0.48rem 0.65rem;
  font-size: 0.83rem;
  font-weight: 700;
  cursor: pointer;
}

.add-carrinho.is-added {
  background: #167348;
}

.section-cart {
  padding-top: 3.6rem;
}

.cart-layout {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 1rem;
}

.cart-main,
.cart-form-wrap {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  padding: 1rem;
}

.cart-list {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.6rem;
}

.cart-item {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.72rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.7rem;
  background: var(--surface);
}

.cart-item strong {
  display: block;
  font-size: 0.95rem;
}

.cart-item span {
  color: var(--muted);
  font-size: 0.85rem;
}

.cart-remove {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 8px;
  padding: 0.45rem 0.65rem;
  font-weight: 700;
  cursor: pointer;
}

.cart-empty {
  color: var(--muted);
}

.cart-form {
  display: grid;
  gap: 0.48rem;
}

.cart-form label {
  font-weight: 700;
  font-size: 0.88rem;
}

.cart-form input,
.cart-form textarea {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.72rem;
  font-family: inherit;
  font-size: 0.95rem;
}

.pagination-wrap {
  margin-top: 1.2rem;
}

.pagination-wrap .nav-links {
  display: flex;
  gap: 0.5rem;
}

.pagination-wrap .page-numbers {
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 0.42rem 0.62rem;
  background: #fff;
}

.site-footer {
  margin-top: 3rem;
  border-top: 1px solid var(--line);
  background: #1f1a17;
  color: #fff3e7;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 1fr;
  gap: 1rem;
  padding: 2.2rem 0;
}

.footer-title {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  font-size: 2rem;
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.35rem;
}

.footer-whatsapp {
  display: inline-block;
  margin-top: 0.45rem;
  color: #ffe2a8;
  font-weight: 700;
}

.footer-copy {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding: 0.85rem 0 1.25rem;
  font-size: 0.85rem;
  color: #ceb7a2;
}

.reveal-up {
  opacity: 0;
  transform: translateY(12px);
  animation: revealUp 0.65s ease forwards;
}

.delay-1 {
  animation-delay: 0.15s;
}

@keyframes revealUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1080px) {
  .hero-grid,
  .event-grid,
  .galeria,
  .cart-layout,
  .process-grid,
  .single-content,
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .main-nav {
    display: none;
  }
}

@media (max-width: 760px) {
  .header-wrap {
    min-height: 72px;
  }

  .hero,
  .section {
    padding: 2.4rem 0;
  }

  .hero-grid,
  .event-grid,
  .galeria,
  .cart-layout,
  .process-grid,
  .single-content,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .foto-info {
    flex-direction: column;
    align-items: flex-start;
  }

  .foto-info strong {
    max-width: 100%;
  }

  .header-cart {
    padding: 0.48rem 0.7rem;
    font-size: 0.86rem;
  }
}

.text-on-secondary-container {
  background-color: #c6bbd2 !important;
  color: #6e4d8b !important;
}
