/* ========= COLORS & FONTS - change here to restyle everything ========= */
:root {
  --bg: #f4ece0;
  --bg-soft: #efe3d3;
  --text: #5b4a40;
  --heading: #6a3a22;
  --accent: #b5694a;          /* buttons & links (home, terracotta) */
  --accent-dark: #9a5438;
  --line: #e2d3c0;
  --font-serif: "Cormorant Garamond", Georgia, serif;
  --font-sans: "Jost", "Helvetica Neue", Arial, sans-serif;
  --font-script: "Caveat", cursive;
}
/* The session pages use the green theme */
body.page-session, body.page-about, body.page-contact, body.page-reviews {
  --bg: #f6f0e3;
  --bg-soft: #efe6d6;
  --heading: #4a4a3a;
  --accent: #5f6140;
  --accent-dark: #4a4c30;
  --line: #ddd2bd;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--text); font-family: var(--font-sans); font-weight: 300; line-height: 1.7; font-size: 16px; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--font-serif); font-weight: 500; color: var(--heading); line-height: 1.12; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 32px; }
.eyebrow { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; opacity: .85; }
.script { font-family: var(--font-script); color: var(--accent); }

/* ---------- Header ---------- */
.site-header { background: var(--bg); position: sticky; top: 0; z-index: 20; border-bottom: 1px solid transparent; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 86px; gap: 24px; }
.logo { font-family: var(--font-serif); color: var(--heading); font-size: 34px; letter-spacing: .22em; line-height: 1; }
.logo small { display: block; font-family: var(--font-sans); font-size: 11px; letter-spacing: .2em; margin-top: 4px; opacity: .8; }
.nav { display: flex; gap: 34px; flex: 1; margin-left: 40px; }
.nav a, .header-book { white-space: nowrap; }
.nav a { font-size: 14px; padding: 4px 0; border-bottom: 1px solid transparent; }
.nav a.active, .nav a:hover { border-color: var(--accent); }
@media (min-width: 861px) and (max-width: 1100px) { .nav { gap: 18px; margin-left: 18px; } .header-book { padding: 11px 16px; } }   /* 5 menu items need a bit less space */
.menu-toggle { display: none; background: none; border: 0; font-size: 28px; color: var(--heading); cursor: pointer; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 10px; background: var(--accent); color: #fff; padding: 13px 28px; border-radius: 999px; font-size: 15px; font-weight: 400; border: 1px solid var(--accent); transition: background .2s; cursor: pointer; }
.btn:hover { background: var(--accent-dark); }
.btn svg { width: 18px; height: 18px; fill: currentColor; }
.btn.outline { background: transparent; color: var(--accent); }
.btn.outline:hover { background: var(--accent); color: #fff; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--bg-soft); }
.hero .wrap { display: grid; grid-template-columns: 1fr 1fr; align-items: center; min-height: 540px; position: relative; z-index: 2; }
.hero-text { padding: 40px 0; max-width: 520px; }
.hero h1 { font-size: clamp(40px, 5.4vw, 74px); margin: 18px 0 22px; }
body.page-session .hero h1, body.page-about .hero h1 { font-size: clamp(34px, 4vw, 54px); }
.hero p { font-size: 17px; max-width: 470px; margin-bottom: 30px; }
.hero-img { position: absolute; top: 0; right: 0; bottom: 0; width: 62%; background-size: cover; background-position: center top; background-color: #d9c7ae; z-index: 1; }
.hero-img::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--bg-soft) 0%, rgba(239,227,211,0) 45%); }
.hero-quote { position: absolute; right: 7%; top: 28%; width: 130px; text-align: center; font-size: 23px; line-height: 1.15; transform: rotate(-6deg); z-index: 3; }
.hero-quote svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 1.5; margin-top: 4px; }

/* Hero image modes (set "imageStyle" in content.js) */
.hero.has-bg { background-size: cover; background-position: center; }
/* "full": the picture is one wide photo that fills the whole hero */
.hero.style-full .hero-img { width: 100%; background-position: center right; }
.hero.style-full .hero-img::before { display: none; }
/* "cutout": a woman PNG with transparent background, placed over the background */
.hero.style-cutout .hero-img { width: 64%; background-color: transparent; background-size: auto 125%; background-repeat: no-repeat; background-position: 62% bottom; }   /* 125% = woman bigger than the banner height (the empty space above her head is cut off); raise/lower this number to resize */
.hero.style-cutout .hero-img::before { display: none; }
.hero.style-cutout .hero-quote { right: auto; left: max(44%, calc(50% - 10px)); top: 30%; }
@media (max-width: 860px) {
  .hero.style-full .hero-img { height: 340px; background-position: 75% center; }
  .hero.style-cutout .hero-img { width: 100%; height: 360px; background-position: center bottom; }
}

/* "Sobre mí" page: the banner photo is shown whole (not cropped), on the right */
body.page-about .hero-img { background-size: contain; background-repeat: no-repeat; background-color: transparent; }
body.page-about .hero-img::before { background: linear-gradient(90deg, var(--bg-soft) 0%, rgba(239,230,214,0) 22%); }
@media (max-width: 860px) { body.page-about .hero-img::before { background: linear-gradient(0deg, var(--bg-soft) 0%, rgba(0,0,0,0) 15%); } }

/* ---------- Home: session cards ---------- */
.sessions { padding: 70px 0 64px; text-align: center; }
.sessions h2 { font-size: 34px; }
.sessions .sub { font-size: 15px; margin: 12px 0 46px; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); row-gap: 28px; }
.card { display: block; padding: 18px 28px 22px; border-left: 1px solid var(--line); text-align: center; transition: background .25s; }
.card:nth-child(3n+1) { border-left: 0; }
.card .icon svg { width: 54px; height: 54px; stroke: var(--accent); fill: none; stroke-width: 1.4; margin: 0 auto 22px; }
.card h3 { font-size: 20px; color: var(--accent); margin-bottom: 14px; }
.card p { font-size: 14.5px; margin-bottom: 22px; }
.card .more { display: inline-block; font-size: 14px; transition: transform .25s, color .25s; }
/* the whole card is one link */
.card:hover, .card:focus-visible { background: var(--bg-soft); }
.card:hover .more, .card:focus-visible .more { color: var(--accent); transform: translateX(4px); }
.card:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
@media (max-width: 1000px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .card:nth-child(3n+1) { border-left: 1px solid var(--line); }
  .card:nth-child(2n+1) { border-left: 0; }
}

/* ---------- About block ---------- */
.about { display: grid; grid-template-columns: 1fr 1fr; min-height: 420px; }
.about-img { background-size: cover; background-position: center; background-color: #d9c7ae; position: relative; }
.about-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(244,236,224,0) 60%, var(--bg) 100%); }
.about-img .script { position: absolute; left: 58%; top: 22%; width: 150px; font-size: 24px; line-height: 1.15; text-align: center; transform: rotate(-6deg); z-index: 2; }
.about-text { padding: 60px 56px; align-self: center; max-width: 560px; }
.about-text h2 { font-size: 36px; margin: 14px 0 22px; }
.about-text p { margin-bottom: 14px; font-size: 15.5px; }
.about-text .btn { margin-top: 14px; }

/* ---------- Session page ---------- */
.session { padding: 56px 0; }
.session .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.session-img { align-self: stretch; min-height: 380px; max-height: 820px; border-radius: 4px; background-size: cover; background-position: center; background-color: #d9c7ae; }
.session.flip .session-img { order: 2; }
.session h2 { font-size: 44px; margin: 8px 0 14px; }
.session .quote { font-family: var(--font-serif); font-style: italic; font-size: 20px; color: var(--heading); opacity: .85; margin-bottom: 20px; line-height: 1.35; }
.session p { margin-bottom: 14px; font-size: 15.5px; }
.meta { display: flex; flex-wrap: wrap; gap: 6px 28px; align-items: center; padding: 14px 0; margin: 8px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.meta span { display: inline-flex; align-items: center; gap: 8px; }
.meta svg { width: 18px; height: 18px; stroke: var(--accent); fill: none; stroke-width: 1.4; }
.prices { font-size: 18px; margin: 14px 0 18px; }
.prices b { font-weight: 500; color: var(--heading); }
.prices .dot { margin: 0 12px; }
.special { display: flex; gap: 12px; align-items: flex-start; font-size: 13.5px; margin-top: 18px; max-width: 460px; }
.special svg { width: 26px; height: 26px; flex: none; stroke: var(--accent); fill: none; stroke-width: 1.3; }
/* extra elements of the service texts */
.session strong { font-weight: 400; color: var(--heading); }
.points { list-style: none; margin: 2px 0 18px; }
.points li { position: relative; padding-left: 20px; margin-bottom: 9px; font-size: 15.5px; }
.points li::before { content: ""; position: absolute; left: 3px; top: .78em; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); }
.session .quote.closing { margin: 4px 0 18px; }
.price-extra { font-size: 14px; margin: -8px 0 18px; }
.note { font-size: 13.5px; margin-top: 12px; max-width: 460px; }

/* ---------- About band (session pages) ---------- */
.band { background: var(--bg-soft); }
.band .wrap { display: grid; grid-template-columns: 1fr 1.3fr; gap: 0; align-items: stretch; padding: 0; max-width: none; }
.band-img { min-height: 270px; background-size: cover; background-position: center; background-color: #d9c7ae; }
.band-body { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; padding: 40px 56px; align-items: center; }
.band-body h2 { font-size: 34px; margin: 6px 0 12px; }
.band-body p { font-size: 14px; margin-bottom: 10px; }
.band-body .eyebrow + p { margin-top: 12px; }
.band-body .script { font-size: 22px; margin-top: 10px; line-height: 1.2; }
.highlights { border-left: 1px solid var(--line); padding-left: 36px; display: grid; gap: 22px; }
.highlights div { display: flex; align-items: center; gap: 14px; font-size: 13.5px; line-height: 1.3; }
.highlights svg { width: 36px; height: 36px; flex: none; stroke: var(--accent); fill: none; stroke-width: 1.3; }

/* ---------- Text pages ---------- */
.page { padding: 80px 0; }
.page .narrow { max-width: 720px; }
.page h1 { font-size: 50px; margin-bottom: 20px; }
.page p { margin-bottom: 16px; font-size: 17px; }
.page .links { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 28px; }

/* Reseñas page */
.reviews-head { max-width: 720px; margin-bottom: 40px; }
.reviews-summary { display: flex; align-items: center; gap: 12px; font-size: 16px; color: var(--accent); }
.stars { color: #c9a24a; letter-spacing: .12em; font-size: 17px; }
.reviews { columns: 3 300px; column-gap: 24px; }
.review { break-inside: avoid; margin: 0 0 24px; padding: 26px 26px 22px; background: var(--bg-soft); border: 1px solid var(--line); border-radius: 4px; }
.review blockquote { margin: 12px 0 18px; font-family: var(--font-serif); font-size: 19px; line-height: 1.55; color: var(--heading); }
.review figcaption { font-size: 14px; display: flex; flex-direction: column; }
.review figcaption strong { font-weight: 400; color: var(--accent); }
.review figcaption span { color: #8a8470; font-size: 13px; }
.reviews-foot { margin-top: 20px; text-align: center; }
.reviews-foot .note { font-size: 14px; color: #8a8470; margin-bottom: 18px; }

/* Contact page: location + Google map */
.page .narrow { max-width: 720px; }
.location { margin-top: 56px; padding-top: 44px; border-top: 1px solid var(--line); }
.location h2 { font-size: 34px; margin-bottom: 12px; }
.location .address { display: flex; gap: 10px; align-items: flex-start; font-size: 16px; margin-bottom: 20px; }
.location .address svg { width: 20px; height: 20px; flex: none; margin-top: 4px; stroke: var(--accent); fill: none; stroke-width: 1.4; }
.location .map { display: block; width: 100%; height: 380px; border: 0; border-radius: 4px; background: #d9c7ae; margin-bottom: 20px; }
@media (max-width: 860px) { .location .map { height: 300px; } }

/* ---------- Footer ---------- */
.site-footer { background: #9a9c7c; color: #f4efe2; }
body:not(.page-session):not(.page-about):not(.page-contact) .site-footer { background: #c9ab93; }
.site-footer .wrap { display: flex; justify-content: space-between; align-items: center; height: 76px; }
.site-footer .txt { font-family: var(--font-serif); font-size: 22px; letter-spacing: .22em; line-height: 1; }
.site-footer .script { color: #f4efe2; font-size: 24px; }

/* ---------- Mobile ---------- */
@media (max-width: 860px) {
  .wrap { padding: 0 20px; }
  .menu-toggle { display: block; }
  .nav { display: none; position: absolute; top: 86px; left: 0; right: 0; background: var(--bg); flex-direction: column; gap: 4px; padding: 16px 24px 24px; margin: 0; border-bottom: 1px solid var(--line); }
  .nav.open { display: flex; }
  .header-book { display: none; }
  .hero .wrap { grid-template-columns: 1fr; min-height: 0; }
  .hero { display: flex; flex-direction: column-reverse; }
  .hero-img { position: relative; width: 100%; height: 320px; }
  .hero-img::before { background: linear-gradient(0deg, var(--bg-soft) 0%, rgba(0,0,0,0) 40%); }
  .hero-quote { display: none; }
  .about, .session .wrap, .band .wrap, .band-body { grid-template-columns: 1fr; }
  .about-img { min-height: 300px; }
  .about-text, .band-body { padding: 36px 24px; }
  .cards { grid-template-columns: 1fr; row-gap: 0; }
  .card, .card:nth-child(n) { border-left: 0; border-top: 1px solid var(--line); padding: 28px 10px; }
  .card:first-child { border-top: 0; }
  .highlights { border-left: 0; padding-left: 0; }
  .session { padding: 36px 0; }
  .session.flip .session-img { order: 0; }
  .session h2 { font-size: 36px; }
}

/* The logo name is long: make it a bit smaller on narrower screens so the header never overflows */
@media (max-width: 1300px) { .logo { font-size: 26px; letter-spacing: .14em; } }
@media (min-width: 861px) and (max-width: 1000px) { .logo { font-size: 19px; letter-spacing: .08em; } }
@media (max-width: 860px) { .logo { font-size: 21px; letter-spacing: .1em; } }
@media (max-width: 860px) { .site-footer .txt { font-size: 16px; letter-spacing: .14em; } }
