/* The Touch Condesa — dark noir + champagne gold (Lovable-aligned) */

:root {
  --background: #1a1917;
  --foreground: #ebe6dc;
  --primary: #c9a86c;
  --primary-foreground: #1c1914;
  --secondary: #262421;
  --muted-foreground: #b0a898;
  --border: #52493a;
  --font-sans: "Manrope", system-ui, sans-serif;
  --font-display: "Cormorant Garamond", Georgia, serif;
  --hero-shade: linear-gradient(90deg, rgba(16,15,13,.75), rgba(16,15,13,.35) 55%, rgba(16,15,13,.08));
  --header-h: 98px;
  --radius: 4px;
}

*, *::before, *::after { box-sizing: border-box; border-color: var(--border); }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body {
  margin: 0;
  background: var(--background);
  color: var(--foreground);
  font-family: var(--font-sans);
  font-size: 14px;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
h1,h2,h3,p { margin: 0; }
h1,h2,h3 { font-family: var(--font-display); font-weight: 400; line-height: 1.1; }
::selection { background: var(--primary); color: var(--primary-foreground); }
a { color: inherit; text-decoration: none; transition: color .2s; }
a:hover { color: var(--primary); }
button, a { -webkit-tap-highlight-color: transparent; }
ul { list-style: none; margin: 0; padding: 0; }

.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 100;
  background: var(--primary); color: var(--primary-foreground); padding: .5rem .8rem;
}
.skip-link:focus { top: 1rem; }

.preview-banner {
  background: #120f0d; color: var(--muted-foreground); text-align: center;
  font-size: 9px; letter-spacing: .14em; text-transform: uppercase;
  padding: .4rem 1rem; border-bottom: 1px solid var(--border);
}
.preview-banner strong { color: var(--primary); font-weight: 600; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  height: var(--header-h);
  background: rgba(26,25,23,.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  display: grid; grid-template-columns: minmax(0,1fr) auto;
  align-items: center; padding: 0 5.5%; gap: 24px;
}
.brand {
  display: flex; align-items: center; gap: 13px;
  color: var(--primary); line-height: 1.15; min-width: 0;
}
.brand img, .brand svg { width: 42px; height: 36px; flex-shrink: 0; }
.brand .brand-text span {
  font-family: var(--font-display); font-size: 23px; display: block; color: var(--primary);
}
.brand .brand-text small {
  display: block; font-size: 8px; text-transform: uppercase;
  letter-spacing: 3px; margin-top: 5px; color: var(--muted-foreground); font-family: var(--font-sans);
}
.header-right { display: flex; gap: 32px; align-items: center; }
.nav { display: flex; gap: 28px; font-size: 11px; }
.nav a { color: var(--foreground); letter-spacing: .04em; }
.nav a[aria-current="page"], .nav a:hover { color: var(--primary); }
.lang-switch { display: flex; align-items: center; gap: 0; font-size: 10px; color: var(--muted-foreground); }
.lang-switch button {
  background: none; border: 0; color: var(--muted-foreground); cursor: pointer;
  padding: 0 7px; font-size: 11px; font-family: inherit; min-width: 32px;
}
.lang-switch button[aria-pressed="true"] { color: var(--primary); }
.nav-toggle {
  display: none; background: none; border: 0; padding: .4rem; cursor: pointer;
}
.nav-toggle-bar { display: block; width: 20px; height: 1.5px; background: var(--primary); margin: 5px 0; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 47px; padding: 0 24px; font-family: var(--font-sans);
  font-size: 10px; letter-spacing: 1.5px; text-transform: uppercase;
  border-radius: var(--radius); border: 1px solid transparent; cursor: pointer;
  transition: background .2s, color .2s, border-color .2s;
  text-decoration: none !important;
}
.btn-gold { background: var(--primary); color: var(--primary-foreground); border-color: var(--primary); }
.btn-gold:hover { background: #d4b57a; color: var(--primary-foreground); }
.btn-outline {
  background: transparent; color: var(--primary); border-color: var(--primary);
}
.btn-outline:hover { background: rgba(201,168,108,.08); color: var(--primary); }
.btn-sm { height: 40px; padding: 0 18px; }
.header-book { height: 40px; padding: 0 20px; }

/* Hero */
.hero {
  position: relative; min-height: 650px; height: calc(88svh - var(--header-h));
  max-height: 850px; display: flex; align-items: center; overflow: hidden;
  background:
    radial-gradient(ellipse at 70% 40%, rgba(201,168,108,.12), transparent 50%),
    linear-gradient(160deg, #1a1917 0%, #12100e 50%, #0e0c0a 100%);
}
.hero-image {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center; opacity: .55;
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: var(--hero-shade); pointer-events: none;
}
.hero-silk {
  position: absolute; inset: 0; pointer-events: none; opacity: .18;
  background:
    repeating-linear-gradient(115deg, transparent, transparent 3px, rgba(201,168,108,.04) 3px, rgba(201,168,108,.04) 4px),
    radial-gradient(ellipse at 80% 50%, rgba(201,168,108,.2), transparent 45%);
}
.hero-content { position: relative; z-index: 1; padding: 58px 8.5% 80px; width: 100%; }
.eyebrow {
  color: var(--primary); font-size: 10px; letter-spacing: 2.5px;
  text-transform: uppercase; display: block; margin-bottom: 25px;
}
.hero h1 {
  font-size: clamp(3.5rem, 9vw, 88px); max-width: 620px;
  line-height: .98; margin-bottom: 26px; color: var(--foreground);
}
.hero h1 em { color: var(--primary); font-style: italic; font-weight: 400; }
.hero-tagline {
  font-family: var(--font-display); font-size: clamp(1.15rem, 2vw, 1.35rem);
  margin-bottom: 12px; color: var(--foreground);
}
.hero-copy {
  color: var(--foreground); max-width: 390px; font-size: 14px;
  line-height: 1.9; margin-bottom: 32px; opacity: .92;
}
.hero-actions { display: flex; gap: 15px; align-items: center; flex-wrap: wrap; }
.hero-quiet {
  margin-top: 27px; display: flex; align-items: center; gap: 9px;
  font-size: 10px; color: var(--muted-foreground);
}
.scroll-link {
  position: absolute; bottom: 30px; left: 8.5%; z-index: 2;
  display: flex; gap: 10px; align-items: center; font-size: 9px;
  letter-spacing: 2px; text-transform: uppercase; color: var(--primary);
}

/* Values */
.values-band {
  display: flex; justify-content: center; gap: 75px; flex-wrap: wrap;
  padding: 24px 20px; border-block: 1px solid var(--border);
  font-size: 10px; letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--muted-foreground); background: var(--background);
}
.values-band span { display: flex; align-items: center; gap: 10px; }
.values-band svg { color: var(--primary); width: 16px; height: 16px; flex-shrink: 0; }

/* Sections */
.section { padding: 100px 8.5%; }
.section-heading {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 30px; margin-bottom: 45px;
}
.section h2 { font-size: clamp(2.2rem, 5vw, 52px); color: var(--foreground); }
.section .eyebrow { margin-bottom: 16px; }
.section-intro { color: var(--muted-foreground); max-width: 330px; font-size: 12px; }

.about-section {
  display: grid; grid-template-columns: 1fr 1fr; gap: 90px; align-items: center;
}
.about-visual {
  width: 100%; height: 440px; object-fit: cover;
  background:
    linear-gradient(145deg, #2a2620, #1a1917 60%),
    radial-gradient(circle at 30% 40%, rgba(201,168,108,.25), transparent 50%);
  border: 1px solid var(--border);
  position: relative; overflow: hidden;
}
.about-visual img { width: 100%; height: 100%; object-fit: cover; opacity: .7; }
.about-visual::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(26,25,23,.5), transparent 40%);
}
.about-copy h2 { margin-bottom: 25px; white-space: pre-line; }
.about-copy p { color: var(--muted-foreground); margin-bottom: 20px; max-width: 450px; }
.text-link {
  display: inline-flex; align-items: center; gap: 16px; padding: 10px 0;
  color: var(--primary) !important; font-size: 10px; text-transform: uppercase;
  letter-spacing: 1.5px; border-bottom: 1px solid var(--border);
}

/* Services */
.services-section { background: var(--secondary); }
.service-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 55px; }
.photo-section {
  display: grid; grid-template-columns: 1fr 1fr; gap: 90px; align-items: center;
}
.photo-section-reverse .about-visual { order: 2; }
.photo-section .about-visual img { opacity: .9; }
.service { border-top: 1px solid var(--border); padding-top: 30px; }
.service-top {
  display: flex; justify-content: space-between; align-items: center; margin-bottom: 22px;
}
.service-number { font-size: 10px; color: var(--primary); letter-spacing: 1px; }
.service h3 { font-size: clamp(2rem, 4vw, 42px); margin-bottom: 17px; }
.service p { color: var(--muted-foreground); font-size: 13px; max-width: 440px; min-height: 78px; }
.service-bottom {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: 30px; padding-top: 22px; border-top: 1px solid var(--border); gap: 12px;
}
.price {
  font-family: var(--font-display); font-size: 36px; color: var(--primary); white-space: nowrap;
}
.price small, .price span {
  font-family: var(--font-sans); font-size: 10px; color: var(--muted-foreground); margin-left: 7px;
}
.service-note {
  margin-top: 24px; font-size: 10px; color: var(--muted-foreground); text-align: center;
  letter-spacing: .04em;
}
.service-note + .service-note { margin-top: 8px; }

/* Booking steps */
.booking-section { text-align: center; }
.steps {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 45px;
  margin-top: 55px; text-align: left;
}
.step-number {
  color: var(--primary); font-family: var(--font-display); font-size: 35px;
  display: block; margin-bottom: 20px; border-bottom: 1px solid var(--border); padding-bottom: 16px;
}
.steps h3 { font-size: 25px; margin-bottom: 12px; }
.steps p { font-size: 12px; color: var(--muted-foreground); }

/* Contact */
.contact-section {
  background: var(--secondary);
  display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center;
  border-block: 1px solid var(--border);
}
.contact-section h2 { margin-bottom: 18px; }
.contact-section > div > p { color: var(--muted-foreground); }
.contact-details { border-left: 1px solid var(--border); padding-left: 65px; }
.contact-details > a.phone-lg {
  display: block; color: var(--primary); font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 36px); margin-bottom: 20px;
}
.contact-actions { display: flex; gap: 15px; flex-wrap: wrap; margin-bottom: 20px; }
.contact-actions .btn { height: 45px; font-size: 10px; }
.contact-neighborhood {
  display: flex; align-items: center; gap: 9px; font-size: 11px; color: var(--muted-foreground);
}

/* Footer */
.site-footer {
  display: flex; align-items: center; justify-content: space-between;
  padding: 40px 8.5% 65px; gap: 30px; background: var(--background);
}
.footer-notes { text-align: right; font-size: 9px; color: var(--muted-foreground); }
.footer-notes p + p { margin-top: 5px; }

/* Inner pages */
.page-main { padding: 80px 8.5% 100px; min-height: 60vh; }
.page-main .lead { color: var(--muted-foreground); max-width: 40rem; margin: 1rem 0 2rem; }
.card-dark {
  background: var(--secondary); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.75rem;
}
.form { display: grid; gap: 1rem; }
.form label { display: grid; gap: .35rem; font-size: .85rem; color: var(--muted-foreground); }
.form input, .form select, .form textarea {
  width: 100%; padding: .8rem .9rem; border-radius: var(--radius);
  border: 1px solid var(--border); background: var(--background);
  font: inherit; color: var(--foreground);
}
.form input:focus, .form select:focus, .form textarea:focus {
  outline: 1px solid var(--primary); border-color: var(--primary);
}
.form .row { display: grid; gap: 1rem; grid-template-columns: 1fr 1fr; }
.form .hp { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }
.form-note { font-size: .85rem; color: var(--muted-foreground); margin: 0; }
.form-status { min-height: 1.4em; font-size: .92rem; }
.form-status.ok { color: #8fbf9a; }
.form-status.err { color: #d08080; }
.split-page {
  display: grid; gap: 2.5rem; grid-template-columns: 1fr 1fr; align-items: start;
}
.faq details {
  background: var(--secondary); border: 1px solid var(--border);
  border-radius: var(--radius); padding: .95rem 1.1rem; margin-bottom: .7rem;
}
.faq summary { cursor: pointer; font-weight: 500; color: var(--foreground); }
.faq details p { margin: .75rem 0 0; color: var(--muted-foreground); }

[data-lang-en] { display: none !important; }
html[lang="en"] [data-lang-es] { display: none !important; }
html[lang="en"] [data-lang-en] { display: revert !important; }

/* Chat — gold on dark */
#n8n-chat,
:root {
  --chat--color--primary: #c9a86c;
  --chat--color--primary-shade-50: #c9a86c;
  --chat--color--primary--shade-100: #b89555;
  --chat--color--secondary: #c9a86c;
  --chat--color-white: #ebe6dc;
  --chat--color-light: #262421;
  --chat--color-light-shade-50: #52493a;
  --chat--color-light-shade-100: #3d372c;
  --chat--color-medium: #52493a;
  --chat--color-dark: #ebe6dc;
  --chat--color-disabled: #b0a898;
  --chat--color-typing: #c9a86c;
  --chat--window--width: 380px;
  --chat--window--height: 560px;
  --chat--window--border: 1px solid #52493a;
  --chat--window--border-radius: 6px;
  --chat--header--background: #262421;
  --chat--header--color: #c9a86c;
  --chat--heading--font-size: 18px;
  --chat--subtitle--font-size: 11px;
  --chat--message--bot--background: #1a1917;
  --chat--message--bot--color: #ebe6dc;
  --chat--message--bot--border: 1px solid #52493a;
  --chat--message--user--background: #c9a86c;
  --chat--message--user--color: #1c1914;
  --chat--toggle--size: 54px;
  --chat--toggle--background: #c9a86c;
  --chat--toggle--hover--background: #d4b57a;
  --chat--toggle--active--background: #b89555;
  --chat--toggle--color: #1c1914;
  --chat--message--font-size: 13px;
  --chat--body--background: #262421;
  --chat--footer--background: #1a1917;
  --chat--input--background: #1a1917;
  --chat--input--text-color: #ebe6dc;
  --chat--input--placeholder--color: #b0a898;
}

@media (max-width: 1000px) {
  .nav { gap: 18px; }
  .header-right { gap: 20px; }
  .header-book { display: none; }
  .about-section, .photo-section { gap: 45px; }
  .service-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .hero h1 { font-size: 76px; }
}
@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav {
    display: none; position: absolute; left: 0; right: 0; top: var(--header-h);
    background: rgba(26,25,23,.98); border-bottom: 1px solid var(--border);
    flex-direction: column; padding: 1rem 5.5% 1.25rem; gap: .85rem;
  }
  .nav.open { display: flex; }
  .service-grid, .about-section, .photo-section, .steps, .contact-section, .split-page, .form .row {
    grid-template-columns: 1fr;
  }
  .section-heading { display: block; }
  .section-intro { margin-top: 20px; }
  .contact-details { border-left: 0; border-top: 1px solid var(--border); padding: 25px 0 0; }
  .site-footer { flex-direction: column; align-items: flex-start; gap: 20px; }
  .footer-notes { text-align: left; }
  .values-band { gap: 20px; font-size: 8px; }
  .about-visual { height: 300px; }
  .photo-section-reverse .about-visual { order: 0; }
  .service p { min-height: 0; }

  /* Mobile: kill left curtain + silk texture; let photo breathe */
  .hero::after {
    background: linear-gradient(180deg, rgba(16,15,13,.35) 0%, rgba(16,15,13,.15) 40%, rgba(16,15,13,.55) 100%);
  }
  .hero-image { opacity: .82; }
  .hero-silk { display: none; }
  .about-visual img { opacity: .85; }
  .about-visual::after {
    background: linear-gradient(to top, rgba(26,25,23,.35), transparent 45%);
  }
}
@media (max-width: 640px) {
  :root { --header-h: 80px; }
  .site-header { padding-inline: 6%; }
  .brand .brand-text span { font-size: 19px; }
  .hero { min-height: 590px; }
  .hero-content { padding: 40px 7% 100px; }
  .hero h1 { font-size: 64px; max-width: 350px; }
  .section { padding: 65px 7%; }
  .page-main { padding: 55px 7% 80px; }
  .site-footer { padding: 35px 7% 90px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
