:root {
  --ivory: #faf6f0;
  --white: #fffdfa;
  --cream: #f1e7dc;
  --beige: #dbc7b7;
  --taupe: #a98f7c;
  --brown: #6a4d40;
  --dark: #3c2b25;
  --muted: #78635a;
  --shadow: 0 18px 48px rgba(69, 44, 34, 0.11);
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    "Segoe UI",
    sans-serif;
  color: var(--dark);
  background: var(--ivory);
  line-height: 1.6;
}
h1,
h2,
h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  line-height: 1.1;
  margin: 0 0 0.8rem;
}
h1 {
  font-size: clamp(2.7rem, 6.5vw, 5.5rem);
  letter-spacing: -0.04em;
}
h2 {
  font-size: clamp(2rem, 4vw, 3.35rem);
  letter-spacing: -0.03em;
}
h3 {
  font-size: 1.55rem;
}
p {
  margin: 0.4rem 0 1rem;
}
a {
  text-decoration: none;
  color: inherit;
}
.container {
  width: min(1160px, 92%);
  margin: auto;
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.76rem;
  font-weight: 800;
  color: var(--taupe);
}
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 246, 240, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(106, 77, 64, 0.08);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
  padding: 1rem 0;
}
.brand {
  font-family: Georgia, serif;
  letter-spacing: 0.08em;
  font-size: 1.12rem;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  font-size: 0.94rem;
}
.nav-link {
  padding: 0.5rem 0;
}
.lang,
.nav-toggle {
  border: 1px solid var(--beige);
  background: var(--white);
  color: var(--brown);
  border-radius: 999px;
  padding: 0.45rem 0.75rem;
  font-weight: 800;
  cursor: pointer;
}
.nav-toggle {
  display: none;
  min-height: 44px;
  font: inherit;
}
:where(a, button, summary, input, select, textarea):focus-visible {
  outline: 3px solid var(--brown);
  outline-offset: 4px;
}
.contact :focus-visible,
footer :focus-visible {
  outline-color: var(--beige);
}
.contact .soft-card :focus-visible {
  outline-color: var(--brown);
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  background: var(--brown);
  color: white;
  border: 1px solid var(--brown);
  padding: 0.9rem 1.2rem;
  border-radius: 999px;
  font-weight: 800;
  transition: 0.2s;
}
.btn:hover,
.service-preview:hover {
  transform: translateY(-2px);
}
.btn.secondary {
  background: transparent;
  color: var(--brown);
}
.dropdown {
  position: relative;
}
.dropdown-toggle {
  background: none;
  border: 0;
  font: inherit;
  color: inherit;
  cursor: pointer;
  padding: 0.5rem 0;
  display: flex;
  gap: 0.35rem;
  align-items: center;
  list-style: none;
}
.dropdown-toggle::-webkit-details-marker {
  display: none;
}
.dropdown-menu {
  position: absolute;
  top: calc(100% + 0.6rem);
  left: -1rem;
  width: 285px;
  background: var(--white);
  padding: 0.65rem;
  border-radius: 18px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(106, 77, 64, 0.08);
}
.dropdown-menu a {
  display: block;
  padding: 0.8rem 0.9rem;
  border-radius: 12px;
}
.dropdown-menu a:hover {
  background: var(--cream);
}
.hero {
  min-height: 76vh;
  display: grid;
  place-items: center;
  padding: 4rem 0;
  background:
    radial-gradient(
      circle at 80% 10%,
      rgba(219, 199, 183, 0.5),
      transparent 33%
    ),
    linear-gradient(180deg, var(--ivory), #f3e9df);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 3rem;
  align-items: center;
}
.lead {
  font-size: 1.15rem;
  color: #6b554b;
  max-width: 690px;
}
.hero-actions {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
  margin-top: 1.3rem;
}
.hero-photo {
  min-height: 520px;
  border-radius: 36px;
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.08), rgba(60, 43, 37, 0.18)),
    url("https://images.unsplash.com/photo-1540555700478-4be289fbecef?auto=format&fit=crop&w=1200&q=85")
      center/cover;
  box-shadow: var(--shadow);
}
.trust {
  background: var(--white);
  border-block: 1px solid rgba(106, 77, 64, 0.08);
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  text-align: center;
}
.trust-item {
  padding: 1.3rem 0.7rem;
  font-weight: 800;
  font-size: 0.93rem;
}
section {
  padding: 5rem 0;
}
.section-head {
  max-width: 760px;
  margin-bottom: 2rem;
}
.soft-card {
  background: var(--white);
  border: 1px solid rgba(106, 77, 64, 0.08);
  border-radius: 28px;
  padding: 2rem;
  box-shadow: var(--shadow);
}
.intro-grid,
.about-grid,
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.services-preview {
  background: var(--cream);
}
.preview-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.2rem;
}
.service-preview {
  background: var(--white);
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid rgba(106, 77, 64, 0.08);
  transition: 0.2s;
}
.preview-img {
  height: 260px;
  background-size: cover;
  background-position: center;
}
.preview-copy {
  padding: 1.5rem;
}
.small-link {
  font-weight: 850;
  color: var(--brown);
}
.about-photo {
  min-height: 480px;
  border-radius: 34px;
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.05), rgba(60, 43, 37, 0.14)),
    url("https://images.unsplash.com/photo-1552693673-1bf958298935?auto=format&fit=crop&w=1200&q=85")
      center/cover;
  box-shadow: var(--shadow);
}
.contact {
  background: var(--dark);
  color: white;
}
.contact p {
  color: #eadfd8;
}
form {
  display: grid;
  gap: 0.9rem;
}
input,
select,
textarea {
  width: 100%;
  padding: 1rem;
  border: 1px solid #d8c7b9;
  border-radius: 14px;
  background: #fff;
  font: inherit;
  color: var(--dark);
}
textarea {
  min-height: 125px;
  resize: vertical;
}
footer {
  background: #2d201b;
  color: #eadfd8;
  padding: 2rem 0;
}
.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.whatsapp {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 1.5rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  z-index: 60;
}
.page-hero {
  padding: 5rem 0 3.5rem;
  background: linear-gradient(180deg, var(--cream), var(--ivory));
}
.page-hero p {
  max-width: 720px;
  color: var(--muted);
  font-size: 1.08rem;
}
.service-section {
  scroll-margin-top: 90px;
}
.service-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 3rem;
  align-items: start;
}
.service-image {
  position: sticky;
  top: 110px;
  height: 520px;
  border-radius: 34px;
  background-size: cover;
  background-position: center;
  box-shadow: var(--shadow);
}
.treatment-grid {
  display: grid;
  gap: 1rem;
}
.treatment {
  background: var(--white);
  border: 1px solid rgba(106, 77, 64, 0.08);
  border-radius: 22px;
  padding: 1.35rem;
}
.treatment p {
  color: var(--muted);
  margin-bottom: 0.35rem;
}
.price-note {
  display: inline-block;
  margin-top: 0.5rem;
  background: var(--cream);
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  font-weight: 800;
  font-size: 0.9rem;
}
.alt {
  background: #f3e9df;
}
.guidance {
  margin-top: 1.5rem;
  background: var(--dark);
  color: white;
  border-radius: 28px;
  padding: 2rem;
}
.guidance p {
  color: #eadfd8;
}
[data-en] {
  display: none;
}
body.en [data-es] {
  display: none !important;
}
body.en [data-en] {
  display: block;
}
body.en a[data-en],
body.en span[data-en],
body.en button[data-en] {
  display: inline-flex;
}
body:not(.en) a[data-es],
body:not(.en) span[data-es],
body:not(.en) button[data-es] {
  display: inline-flex;
}
@media (max-width: 900px) {
  .nav-inner {
    flex-wrap: wrap;
    gap: 0.75rem;
  }
  .nav-enhanced .nav-toggle {
    display: inline-flex;
    align-items: center;
  }
  .nav-links {
    flex: 0 0 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0.5rem;
    max-height: 70vh;
    max-height: 70dvh;
    overflow-y: auto;
    padding: 0.25rem 0.5rem 0.75rem;
  }
  .nav-enhanced:not(.nav-open) .nav-links {
    display: none;
  }
  .nav-link,
  .dropdown-toggle,
  .nav-links .lang {
    min-height: 44px;
    align-items: center;
  }
  .dropdown-menu {
    position: static;
    width: 100%;
    box-shadow: none;
  }
  .hero-grid,
  .intro-grid,
  .about-grid,
  .contact-grid,
  .service-layout {
    grid-template-columns: 1fr;
  }
  .preview-grid {
    grid-template-columns: 1fr 1fr;
  }
  .trust-grid {
    grid-template-columns: 1fr 1fr;
  }
  .hero-photo {
    min-height: 390px;
  }
  .service-image {
    position: relative;
    top: auto;
    height: 390px;
  }
}
@media (max-width: 620px) {
  .preview-grid,
  .trust-grid {
    grid-template-columns: 1fr;
  }
  section {
    padding: 3.5rem 0;
  }
  .brand {
    font-size: 0.95rem;
  }
}

/* Language visibility fix for dropdown */
body:not(.en) .dropdown-menu a[data-en] {
  display: none !important;
}
body:not(.en) .dropdown-menu a[data-es] {
  display: block !important;
}
body.en .dropdown-menu a[data-es] {
  display: none !important;
}
body.en .dropdown-menu a[data-en] {
  display: block !important;
}

/* Security / form hardening */
.hp-field {
  position: absolute !important;
  left: -10000px !important;
  top: auto !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}
.form-note {
  font-size: 0.88rem;
  color: var(--muted);
  margin-top: -0.25rem;
}
.contact .form-note {
  color: var(--muted);
}
input:invalid,
select:invalid,
textarea:invalid {
  box-shadow: none;
}
