:root {
  --ink: #24201c;
  --muted: #786e64;
  --paper: #fffaf3;
  --ivory: #f6eee3;
  --blush: #e8c9bd;
  --rose: #a86961;
  --wine: #6c3a3b;
  --gold: #b89152;
  --sage: #7d8674;
  --line: rgba(36, 32, 28, 0.12);
  --shadow: 0 26px 72px rgba(54, 38, 30, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

section {
  scroll-margin-top: 90px;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(18px, 5vw, 64px);
  color: #fff;
  transition: background 0.25s ease, box-shadow 0.25s ease, color 0.25s ease;
}

.site-header.is-scrolled {
  color: var(--ink);
  background: rgba(255, 250, 243, 0.94);
  box-shadow: 0 12px 40px rgba(40, 27, 21, 0.08);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 190px;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 25px;
  font-weight: 700;
}

.brand strong {
  display: block;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 24px;
  line-height: 1;
}

.brand small {
  display: block;
  margin-top: 2px;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 3vw, 34px);
  font-size: 14px;
  font-weight: 700;
}

.nav a {
  position: relative;
  padding: 8px 0;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 1px;
  height: 1px;
  background: currentColor;
  opacity: 0;
  transform: scaleX(0.4);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.nav a:hover::after {
  opacity: 0.72;
  transform: scaleX(1);
}

.header-cta,
.primary-button,
.ghost-button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-weight: 800;
  line-height: 1;
}

.header-cta {
  min-width: 126px;
  border: 1px solid currentColor;
  padding: 0 18px;
  font-size: 14px;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.primary-button {
  background: #5d3434;
  color: #fff;
  padding: 0 24px;
  box-shadow: 0 16px 34px rgba(110, 47, 51, 0.28);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.ghost-button {
  border: 1px solid rgba(255, 255, 255, 0.78);
  color: #fff;
  padding: 0 22px;
  transition: background 0.2s ease, color 0.2s ease;
}

.header-cta:hover,
.primary-button:hover {
  transform: translateY(-1px);
}

.primary-button:hover {
  background: #4c2b2b;
  box-shadow: 0 20px 42px rgba(93, 52, 52, 0.3);
}

.ghost-button:hover {
  background: rgba(255, 255, 255, 0.14);
}

.hero {
  position: relative;
  min-height: 94vh;
  overflow: hidden;
  display: grid;
  align-items: end;
  padding: 150px clamp(20px, 6vw, 80px) 92px;
}

.hero img,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero img {
  object-fit: cover;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(35, 24, 20, 0.74), rgba(35, 24, 20, 0.34) 48%, rgba(35, 24, 20, 0.08)),
    linear-gradient(0deg, rgba(35, 24, 20, 0.36), transparent 50%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 760px;
  color: #fff;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero h1,
.section-heading h2,
.lookbook-copy h2,
.creator-copy h2,
.contact h2 {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 600;
  line-height: 0.98;
}

.hero h1 {
  font-size: clamp(82px, 14vw, 172px);
  font-weight: 700;
}

.hero p:not(.eyebrow) {
  max-width: 640px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(18px, 2.2vw, 24px);
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.intro-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
}

.intro-band div {
  min-height: 118px;
  padding: 32px clamp(20px, 5vw, 64px);
  background: #fff;
}

.intro-band strong {
  display: block;
  color: var(--wine);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(34px, 4.5vw, 52px);
  font-weight: 600;
  line-height: 1;
}

.intro-band span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-weight: 600;
}

.section {
  padding: clamp(72px, 10vw, 126px) clamp(20px, 6vw, 80px);
}

.section-heading {
  max-width: 860px;
  margin-bottom: 42px;
}

.section-heading.compact {
  max-width: 780px;
}

.section-heading h2,
.lookbook-copy h2,
.creator-copy h2,
.contact h2 {
  font-size: clamp(42px, 7vw, 84px);
}

.section-heading p:not(.eyebrow),
.lookbook-copy p:not(.eyebrow),
.creator-copy p,
.contact p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.75;
}

.manifest {
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  gap: clamp(34px, 7vw, 86px);
  align-items: start;
  background:
    linear-gradient(90deg, rgba(232, 201, 189, 0.2), transparent 42%),
    var(--paper);
}

.manifest-text h2 {
  margin: 0;
  max-width: 650px;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(44px, 7vw, 90px);
  font-weight: 600;
  line-height: 0.98;
}

.manifest-copy {
  border-left: 1px solid var(--line);
  padding-left: clamp(26px, 4vw, 54px);
}

.manifest-copy p {
  margin: 0;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.75;
}

.manifest-copy p + p {
  margin-top: 18px;
}

.portfolio {
  background: #fff;
}

.carousel-shell {
  position: relative;
}

.carousel {
  position: relative;
  min-height: 650px;
  overflow: hidden;
  border-radius: 6px;
  box-shadow: var(--shadow);
}

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.45s ease;
}

.slide.is-active {
  opacity: 1;
  z-index: 1;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(0deg, rgba(31, 22, 18, 0.74), transparent 56%),
    linear-gradient(90deg, rgba(31, 22, 18, 0.28), transparent 52%);
}

.slide-copy {
  position: absolute;
  z-index: 2;
  left: clamp(22px, 5vw, 58px);
  right: clamp(22px, 5vw, 58px);
  bottom: clamp(24px, 5vw, 58px);
  max-width: 660px;
  color: #fff;
}

.slide-copy span {
  color: #f4d89c;
  font-weight: 800;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 0.12em;
}

.slide-copy h3 {
  margin: 10px 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(34px, 5vw, 62px);
  font-weight: 600;
  line-height: 1;
}

.slide-copy p {
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 18px;
  line-height: 1.5;
}

.carousel-button {
  position: absolute;
  z-index: 5;
  top: 50%;
  width: 52px;
  height: 52px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 250, 244, 0.9);
  color: var(--ink);
  cursor: pointer;
  font-size: 38px;
  line-height: 1;
  box-shadow: 0 16px 36px rgba(25, 21, 18, 0.16);
  transform: translateY(-50%);
}

.carousel-button.previous {
  left: 18px;
}

.carousel-button.next {
  right: 18px;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 18px;
}

.carousel-dots button {
  width: 34px;
  height: 5px;
  border: 0;
  border-radius: 99px;
  background: rgba(110, 47, 51, 0.25);
  cursor: pointer;
  transition: width 0.2s ease, background 0.2s ease;
}

.carousel-dots button.is-active {
  width: 48px;
  background: var(--wine);
}

.services {
  background:
    linear-gradient(180deg, var(--ivory), #fffaf3 76%);
}

.service-grid,
.creator-panel,
.steps {
  display: grid;
  gap: 18px;
}

.service-grid {
  grid-template-columns: repeat(3, 1fr);
  margin-bottom: 34px;
}

.service-card,
.creator-panel article,
.steps article,
.contact-card {
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.72);
  padding: 30px;
}

.service-card,
.occasion-grid article,
.steps article,
.creator-panel article {
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.service-card:hover,
.occasion-grid article:hover,
.steps article:hover,
.creator-panel article:hover {
  border-color: rgba(108, 58, 59, 0.22);
  box-shadow: 0 18px 48px rgba(54, 38, 30, 0.1);
  transform: translateY(-4px);
}

.service-card.featured {
  background: #5d3434;
  color: #fff;
  transform: translateY(-18px);
  box-shadow: var(--shadow);
}

.service-card span,
.steps span {
  display: inline-grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  color: var(--gold);
  font-weight: 900;
}

.service-card h3,
.steps h3,
.creator-panel h3 {
  margin: 22px 0 12px;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 30px;
  font-weight: 600;
  line-height: 1.05;
}

.service-card p,
.steps p,
.creator-panel p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.service-card.featured p {
  color: rgba(255, 255, 255, 0.78);
}

.service-card strong {
  display: block;
  margin-top: 28px;
  color: var(--wine);
}

.service-card.featured strong {
  color: #f4d89c;
}

.service-note {
  display: grid;
  grid-template-columns: 0.38fr 1fr;
  gap: 22px;
  align-items: center;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 24px 0;
}

.service-note span {
  color: var(--wine);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 600;
  line-height: 1;
}

.service-note p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.occasion-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 42px;
}

.occasion-grid article {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
}

.occasion-grid img {
  width: 100%;
  aspect-ratio: 1 / 0.78;
  object-fit: cover;
}

.occasion-grid h3 {
  margin: 22px 22px 8px;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 28px;
  font-weight: 600;
}

.occasion-grid p {
  margin: 0 22px 24px;
  color: var(--muted);
  line-height: 1.55;
}

.lookbook,
.creators,
.contact {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(30px, 6vw, 76px);
  align-items: center;
  padding: clamp(72px, 10vw, 126px) clamp(20px, 6vw, 80px);
}

.lookbook {
  background:
    linear-gradient(90deg, #fff 0 50%, rgba(232, 201, 189, 0.22) 50% 100%);
}

.mini-carousel {
  position: relative;
  min-height: 560px;
  overflow: hidden;
  border-radius: 6px;
  box-shadow: var(--shadow);
}

.mini-carousel img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.5s ease, transform 6s ease;
}

.mini-carousel img.is-active {
  opacity: 1;
  transform: scale(1.04);
}

.signature-list {
  display: grid;
  gap: 12px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.signature-list li {
  position: relative;
  padding-left: 28px;
  color: var(--ink);
  font-weight: 700;
}

.signature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 14px;
  height: 1px;
  background: var(--gold);
}

.creators {
  background: var(--paper);
}

.creator-panel {
  grid-template-columns: 1fr;
}

.creator-panel article {
  background: #fff;
  position: relative;
}

.creator-panel article::before {
  content: "";
  position: absolute;
  left: 30px;
  top: 0;
  width: 42px;
  height: 3px;
  background: var(--blush);
}

.process {
  background: #fff;
}

.steps {
  grid-template-columns: repeat(4, 1fr);
}

.briefing {
  background:
    linear-gradient(90deg, rgba(125, 134, 116, 0.12), transparent 46%),
    var(--ivory);
}

.briefing-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.briefing-list span {
  min-height: 74px;
  display: flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.6);
  padding: 18px 20px;
  color: var(--ink);
  font-weight: 700;
}

.contact {
  color: #fff;
  background:
    linear-gradient(90deg, rgba(34, 21, 18, 0.86), rgba(34, 21, 18, 0.68)),
    url("assets/bodas-luxo.png") center / cover;
}

.contact p {
  color: rgba(255, 255, 255, 0.78);
}

.contact-card {
  display: grid;
  gap: 14px;
  background: rgba(255, 250, 243, 0.96);
  color: var(--ink);
  box-shadow: var(--shadow);
}

.contact-card strong {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 32px;
  font-weight: 600;
}

.contact-card span {
  color: var(--muted);
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 28px clamp(20px, 6vw, 80px);
  color: var(--muted);
  background: #fff;
  font-size: 14px;
}

.whatsapp-float {
  position: fixed;
  z-index: 30;
  right: 22px;
  bottom: 22px;
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #5d3434;
  color: #fff;
  padding: 0 20px;
  font-size: 14px;
  font-weight: 800;
  box-shadow: 0 16px 40px rgba(53, 33, 29, 0.26);
  transition: transform 0.2s ease, background 0.2s ease;
}

.whatsapp-float:hover {
  background: #4c2b2b;
  transform: translateY(-2px);
}

@media (max-width: 900px) {
  .site-header {
    align-items: flex-start;
  }

  .nav {
    display: none;
  }

  .header-cta {
    min-width: 112px;
  }

  .intro-band,
  .service-grid,
  .occasion-grid,
  .briefing-list,
  .service-note,
  .steps,
  .lookbook,
  .creators,
  .contact,
  .manifest {
    grid-template-columns: 1fr;
  }

  .manifest-copy {
    border-left: 0;
    border-top: 1px solid var(--line);
    padding-left: 0;
    padding-top: 28px;
  }

  .service-card.featured {
    transform: none;
  }

  .carousel {
    min-height: 560px;
  }
}

@media (max-width: 560px) {
  section {
    scroll-margin-top: 74px;
  }

  .site-header {
    padding: 14px 16px;
  }

  .header-cta {
    display: none;
  }

  .brand {
    min-width: 0;
  }

  .brand small {
    display: none;
  }

  .hero {
    min-height: 88vh;
    padding: 112px 18px 42px;
  }

  .hero h1 {
    font-size: clamp(76px, 23vw, 92px);
  }

  .hero p:not(.eyebrow) {
    max-width: 100%;
    font-size: 17px;
    line-height: 1.5;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    margin-top: 26px;
  }

  .ghost-button {
    border-color: rgba(255, 255, 255, 0.55);
  }

  .intro-band div {
    min-height: auto;
    padding: 24px 20px;
  }

  .carousel {
    min-height: 540px;
  }

  .slide-copy {
    bottom: 94px;
  }

  .carousel-button {
    top: auto;
    bottom: 18px;
    transform: none;
  }

  .carousel-button.previous {
    left: 18px;
  }

  .carousel-button.next {
    left: 78px;
    right: auto;
  }

  .mini-carousel {
    min-height: 420px;
  }

  .footer {
    flex-direction: column;
  }

  .whatsapp-float {
    left: auto;
    right: 14px;
    bottom: 14px;
    width: 52px;
    min-height: 44px;
    padding: 0;
    overflow: hidden;
    font-size: 0;
  }

  .whatsapp-float::after {
    content: "WA";
    font-size: 13px;
    letter-spacing: 0.04em;
  }
}

@media print {
  @page {
    size: A4 landscape;
    margin: 0;
  }

  html,
  body {
    background: #fff;
    print-color-adjust: exact;
    -webkit-print-color-adjust: exact;
  }

  .site-header {
    position: absolute;
  }

  .hero {
    min-height: 100vh;
    page-break-after: always;
  }

  .carousel,
  .mini-carousel {
    box-shadow: none;
  }

  .section,
  .lookbook,
  .creators,
  .contact {
    break-inside: avoid;
  }
}

/* --- Events CTA on Homepage --- */
.events-cta {
  background: var(--paper);
  text-align: center;
  padding: 80px 20px;
}
.events-cta-content {
  max-width: 600px;
  margin: 0 auto;
}

/* --- Events Page --- */
.events-page {
  padding-top: 100px; /* offset for header */
}
.events-header {
  text-align: center;
  background: var(--ivory);
  padding-top: 80px;
  padding-bottom: 60px;
}
.events-header .section-heading {
  margin: 0 auto;
}

.events-grid-section {
  background: #fff;
  padding-top: 40px;
}
.events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.event-card {
  cursor: pointer;
  group: hover;
}
.event-image-wrapper {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 4/5;
}
.event-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.event-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.event-overlay span {
  color: white;
  border: 1px solid white;
  padding: 10px 20px;
  border-radius: 4px;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 2px;
}
.event-card:hover .event-overlay {
  opacity: 1;
}
.event-card:hover .event-image-wrapper img {
  transform: scale(1.05);
}

.event-info {
  margin-top: 16px;
  text-align: center;
}
.event-info h3 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 24px;
  font-weight: 600;
  color: var(--ink);
}

/* --- Fullscreen Gallery Modal --- */
.gallery-modal {
  position: fixed;
  inset: 0;
  background: rgba(10, 10, 10, 0.95);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.gallery-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.gallery-close {
  position: absolute;
  top: 20px;
  right: 30px;
  background: none;
  border: none;
  color: white;
  font-size: 40px;
  cursor: pointer;
  z-index: 1001;
}

.gallery-content {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 40px;
}

.gallery-image-container {
  max-width: 90vw;
  max-height: 80vh;
  position: relative;
}
.gallery-image-container img {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.gallery-caption {
  color: white;
  text-align: center;
  margin-top: 15px;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 20px;
}

.gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.1);
  border: none;
  color: white;
  font-size: 40px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}
.gallery-nav:hover {
  background: rgba(255,255,255,0.3);
}
.gallery-nav.prev {
  left: 40px;
}
.gallery-nav.next {
  right: 40px;
}

.gallery-counter {
  color: rgba(255,255,255,0.6);
  text-align: center;
  padding: 20px;
  font-size: 14px;
  letter-spacing: 2px;
}

