/* ==========================================================================
   Olivablanca Studio — Wedding Planner Mediterránea
   Hoja de estilos compartida
   ========================================================================== */

:root {
  --cream: #f4efe4;
  --cream-soft: #ede6d6;
  --olive: #5b6142;
  --olive-dark: #3f4530;
  --olive-deep: #33362b;
  --gold: #a9895f;
  --white: #fffdf8;
  --line: rgba(59, 61, 46, 0.18);
  --max-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--olive-deep);
  font-family: "EB Garamond", "Lora", Georgia, serif;
  font-size: 18px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: "Cormorant Garamond", "Playfair Display", Georgia, serif;
  font-weight: 500;
  color: var(--olive-dark);
  margin: 0 0 0.5em;
  letter-spacing: 0.03em;
}

h1 {
  font-size: clamp(2.6rem, 5vw, 4.2rem);
  font-weight: 400;
}

h2 {
  font-size: clamp(2rem, 3.4vw, 2.8rem);
  font-weight: 400;
}

h3 {
  font-size: 1.4rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 600;
}

p {
  margin: 0 0 1.2em;
}

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

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

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.28em;
  font-size: 0.78rem;
  color: var(--gold);
  font-family: "EB Garamond", serif;
}

.divider {
  width: 60px;
  height: 1px;
  background: var(--gold);
  margin: 22px auto;
  border: none;
}

.divider.left {
  margin: 22px 0;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 32px;
}

.btn {
  display: inline-block;
  padding: 14px 38px;
  border: 1px solid var(--olive-dark);
  color: var(--olive-dark);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.78rem;
  font-family: "EB Garamond", serif;
  transition: all 0.35s ease;
}

.btn:hover {
  background: var(--olive-dark);
  color: var(--cream);
}

.btn.solid {
  background: var(--olive-dark);
  color: var(--cream);
}

.btn.solid:hover {
  background: var(--olive);
}

.btn.light {
  border-color: var(--cream);
  color: var(--cream);
}

.btn.light:hover {
  background: var(--cream);
  color: var(--olive-dark);
}

/* ---------- Header ---------- */

.site-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  padding: 30px 0;
}

.site-header.solid {
  position: relative;
  background: var(--cream);
  border-bottom: 1px solid var(--line);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: "Cormorant Garamond", serif;
  font-size: 1.5rem;
  letter-spacing: 0.12em;
  color: var(--cream);
}

.site-header.solid .brand,
.site-header.solid nav a,
.site-header.solid .menu-toggle {
  color: var(--olive-dark);
}

.brand img {
  height: 46px;
  width: 46px;
  border-radius: 50%;
  object-fit: cover;
}

nav.main-nav {
  display: flex;
  gap: 38px;
}

nav.main-nav a {
  color: var(--cream);
  text-transform: uppercase;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  font-family: "EB Garamond", serif;
  padding-bottom: 4px;
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease;
}

nav.main-nav a:hover,
nav.main-nav a.active {
  border-bottom-color: currentColor;
}

.menu-toggle {
  display: none;
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--white);
  background-size: cover;
  background-position: center;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(35,37,26,0.45) 0%, rgba(35,37,26,0.35) 45%, rgba(35,37,26,0.65) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 780px;
  padding: 0 24px;
}

.hero-content .eyebrow {
  color: var(--cream);
}

.hero-content h1 {
  color: var(--white);
  margin: 14px 0 18px;
}

.hero-content p.lead {
  font-size: 1.15rem;
  font-style: italic;
  color: var(--cream-soft);
  max-width: 560px;
  margin: 0 auto 30px;
}

.page-hero {
  position: relative;
  min-height: 46vh;
  display: flex;
  align-items: flex-end;
  color: var(--white);
  background-size: cover;
  background-position: center;
  padding-bottom: 60px;
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(33, 36, 24, 0.48);
}

.page-hero .container {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
}

.page-hero h1 {
  color: var(--white);
}

/* ---------- Sections ---------- */

section {
  padding: 100px 0;
}

section.tight {
  padding: 70px 0;
}

.center {
  text-align: center;
}

.lead-quote {
  max-width: 720px;
  margin: 0 auto;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(1.6rem, 2.6vw, 2.2rem);
  font-style: italic;
  color: var(--olive-dark);
  line-height: 1.5;
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.two-col img {
  border-radius: 2px;
}

.two-col.reverse .img-col {
  order: 2;
}

.pillars {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  margin-top: 50px;
}

.pillar {
  text-align: center;
}

.pillar .icon {
  font-size: 1.8rem;
  color: var(--gold);
  margin-bottom: 14px;
}

.pillar h3 {
  font-size: 0.95rem;
  margin-bottom: 12px;
}

.pillar p {
  font-size: 0.95rem;
  color: var(--olive);
}

.band {
  background: var(--olive-dark);
  color: var(--cream);
  text-align: center;
}

.band h2, .band .eyebrow {
  color: var(--cream);
}

.band p {
  color: var(--cream-soft);
}

.full-bleed {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  color: var(--white);
}

.full-bleed::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(30, 32, 21, 0.5);
}

.full-bleed .container {
  position: relative;
  z-index: 2;
}

.full-bleed .lead-quote {
  color: var(--white);
}

.step {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 70px;
  align-items: center;
  margin-bottom: 110px;
}

.step:last-child {
  margin-bottom: 0;
}

.step .step-number {
  font-family: "Cormorant Garamond", serif;
  font-size: 4.5rem;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 10px;
}

.step-text {
  padding: 0 20px;
}

.grid-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 40px;
}

.grid-gallery img {
  width: 100%;
  height: 320px;
  object-fit: cover;
}

/* ---------- Contact ---------- */

.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
}

.info-list div {
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.info-list h3 {
  font-size: 0.8rem;
  margin-bottom: 8px;
  color: var(--gold);
}

form {
  display: grid;
  gap: 20px;
}

label {
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.72rem;
  margin-bottom: 8px;
  color: var(--olive);
}

input, textarea, select {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid var(--line);
  background: var(--white);
  font-family: "EB Garamond", serif;
  font-size: 1rem;
  color: var(--olive-deep);
}

input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: var(--gold);
}

textarea {
  resize: vertical;
  min-height: 120px;
}

/* ---------- Footer ---------- */

footer {
  background: var(--olive-deep);
  color: var(--cream-soft);
  padding: 70px 0 30px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 50px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(244,239,228,0.14);
}

.footer-brand {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.6rem;
  letter-spacing: 0.08em;
  color: var(--cream);
  margin-bottom: 14px;
}

footer h4 {
  color: var(--cream);
  text-transform: uppercase;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  margin-bottom: 16px;
}

footer a {
  color: var(--cream-soft);
  opacity: 0.85;
}

footer a:hover {
  opacity: 1;
  color: var(--gold);
}

footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}

.footer-bottom {
  padding-top: 26px;
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  opacity: 0.65;
  flex-wrap: wrap;
  gap: 10px;
}

/* ---------- Cookie consent banner ---------- */

#ob-cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 999;
  background: var(--white);
  border-top: 1px solid var(--line);
  box-shadow: 0 -8px 24px rgba(51, 54, 43, 0.14);
  padding: 22px 24px;
}

.ob-cookie-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.ob-cookie-text {
  margin: 0 0 16px;
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--olive-deep);
}

.ob-cookie-text a {
  color: var(--gold);
  text-decoration: underline;
}

.ob-cookie-panel {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-bottom: 18px;
  padding: 16px;
  background: var(--cream-soft);
  border: 1px solid var(--line);
}

.ob-cookie-option label {
  display: flex;
  align-items: center;
  gap: 8px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
  color: var(--olive-dark);
  margin-bottom: 6px;
  font-family: "EB Garamond", serif;
}

.ob-cookie-option p {
  margin: 0;
  font-size: 0.85rem;
  color: var(--olive);
}

.ob-cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.ob-cookie-actions .btn {
  background: none;
  cursor: pointer;
  border-radius: 0;
  padding: 12px 26px;
  font-size: 0.72rem;
}

.ob-cookie-actions .btn.solid {
  background: var(--olive-dark);
}

.ob-cookie-panel[hidden],
.ob-cookie-actions .btn[hidden] {
  display: none;
}

#ob-cookie-reopen {
  position: fixed;
  left: 20px;
  bottom: 20px;
  z-index: 998;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: 0 6px 18px rgba(51, 54, 43, 0.2);
  font-size: 1.2rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ---------- Responsive ---------- */

@media (max-width: 880px) {
  nav.main-nav {
    display: none;
  }

  .two-col, .step, .contact-wrap {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .two-col.reverse .img-col {
    order: 0;
  }

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

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

  .footer-top {
    grid-template-columns: 1fr;
  }

  section {
    padding: 64px 0;
  }

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

  .ob-cookie-actions {
    flex-direction: column;
  }

  .ob-cookie-actions .btn {
    width: 100%;
    text-align: center;
  }
}
