/* =====================================================================
   MasajeYoni.com — 2026 redesign layer
   Loaded after style.css. Same HTML and class names, new look.
   Palette: plum ink, rose paper, mulberry, saffron.
   Type: Fraunces (display) + Instrument Sans (text).
   ===================================================================== */

:root {
  --ink: #1f1320;
  --ink-soft: #33213a;
  --paper: #fbf7f8;
  --blush: #f3e7ec;
  --mulberry: #8a2f5f;
  --mulberry-deep: #6a2148;
  --saffron: #e3a233;
  --text: #2b1e2c;
  --muted: #6b5a6c;
  --line: #e6d6de;

  --color-primary: var(--mulberry);
  --color-primary-dark: var(--mulberry-deep);
  --color-primary-light: #d9a9c3;
  --color-secondary: #d9a9c3;
  --color-accent: var(--blush);
  --color-gold: var(--saffron);
  --color-dark: var(--ink);
  --color-text: var(--text);
  --color-text-light: var(--muted);
  --color-bg: var(--paper);
  --color-bg-alt: var(--blush);
  --color-border: var(--line);
  --font-heading: 'Fraunces', Georgia, 'Times New Roman', serif;
  --font-body: 'Instrument Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --radius: 18px;
  --radius-sm: 10px;
  --max-width: 1160px;
  --measure: 68ch;
}

/* ---------- Base type ---------- */
html { font-size: 17px; }
body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--paper);
  line-height: 1.72;
  text-rendering: optimizeLegibility;
}
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-style: normal !important;
  font-weight: 480;
  font-variation-settings: 'SOFT' 100, 'opsz' 96;
  letter-spacing: -0.015em;
  color: var(--ink);
  text-wrap: balance;
}
h1 { font-size: clamp(2.3rem, 5.4vw, 4.1rem); line-height: 1.06; letter-spacing: -0.028em; }
h2 { font-size: clamp(1.65rem, 3vw, 2.3rem); line-height: 1.16; }
h3 { font-size: clamp(1.15rem, 2vw, 1.4rem); line-height: 1.28; }
p { color: var(--text); margin-bottom: 1.15rem; text-wrap: pretty; }
a { color: var(--mulberry); text-underline-offset: 0.18em; }
.content-main p a, .faq-item p a { text-decoration: underline; text-decoration-color: #d9a9c3; }
.content-main p a:hover, .faq-item p a:hover { text-decoration-color: var(--mulberry); }
strong { font-weight: 650; }
::selection { background: var(--saffron); color: var(--ink); }
:focus-visible { outline: 3px solid var(--saffron); outline-offset: 3px; border-radius: 6px; }
.container { padding-left: 24px; padding-right: 24px; }

/* ---------- Buttons ---------- */
.btn {
  border-radius: 14px;
  padding: 15px 26px;
  font-weight: 650;
  font-size: 1rem;
  letter-spacing: 0;
  border-width: 1.5px;
  box-shadow: none;
}
.btn-primary { background: var(--mulberry); border-color: var(--mulberry); color: #fff; }
.btn-primary:hover { background: var(--mulberry-deep); border-color: var(--mulberry-deep); transform: none; box-shadow: none; }
.btn-secondary { background: transparent; border-color: var(--ink); color: var(--ink); }
.btn-secondary:hover { background: var(--ink); border-color: var(--ink); color: #fff; transform: none; }
.btn-outline { border-color: rgba(255,255,255,.55); color: #fff; }
.btn-outline:hover { background: #fff; color: var(--ink); border-color: #fff; }
.hero .btn-primary, .page-hero .btn-primary {
  background: var(--saffron); border-color: var(--saffron); color: var(--ink);
}
.hero .btn-primary:hover, .page-hero .btn-primary:hover { background: #f0b54d; border-color: #f0b54d; color: var(--ink); }

/* ---------- Header ---------- */
.site-header {
  background: rgba(251,247,248,.92);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line);
  box-shadow: none;
}
.logo-text { font-weight: 560; font-size: 1.4rem; color: var(--ink); letter-spacing: -0.02em; }
.logo-dot { color: var(--mulberry); }
.nav-list > li > a { font-size: .93rem; font-weight: 500; color: var(--text); border-radius: 10px; }
.nav-list > li > a:hover, .nav-list > li.has-dropdown:hover > a { background: var(--blush); color: var(--mulberry-deep); }
.nav-cta { background: var(--ink) !important; border-radius: 12px !important; font-weight: 650 !important; }
.nav-cta:hover { background: var(--mulberry) !important; box-shadow: none !important; transform: none; }
.dropdown { border-radius: 14px; border-color: var(--line); box-shadow: 0 18px 40px -18px rgba(31,19,32,.35); }
.dropdown li a { font-size: .92rem; border-radius: 8px; }

/* ---------- Stats bar ---------- */
.stats-bar {
  background: var(--blush);
  color: var(--ink-soft);
  font-weight: 550;
  font-size: .86rem;
  letter-spacing: 0;
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
}

/* ---------- Breadcrumb ---------- */
.breadcrumb { background: transparent; border-bottom: 0; padding: 14px 0 0; position: relative; z-index: 3; margin-bottom: -40px; }
.breadcrumb ol { font-size: .84rem; flex-wrap: wrap; }
.breadcrumb li, .breadcrumb li:not(:last-child)::after { color: rgba(255,255,255,.6); }
.breadcrumb a { color: rgba(255,255,255,.85); }
.breadcrumb a:hover { color: var(--saffron); }

/* ---------- Heroes: ink ground + breathing rings ---------- */
.hero, .page-hero {
  background: var(--ink);
  color: #fff;
  text-align: left;
  isolation: isolate;
  overflow: hidden;
}
.hero-overlay { display: none; }
.hero::before, .page-hero::before {
  content: '';
  position: absolute;
  inset: auto;
  z-index: -1;
  width: min(92vh, 760px);
  aspect-ratio: 1;
  right: -8%;
  top: 50%;
  translate: 0 -50%;
  border-radius: 50%;
  background:
    radial-gradient(closest-side, var(--saffron) 0 9%, transparent 9.6%),
    repeating-radial-gradient(closest-side, transparent 0 9.4%, rgba(227,162,51,.34) 9.6% 9.9%, transparent 10.1% 16%),
    radial-gradient(closest-side, rgba(138,47,95,.95), rgba(138,47,95,.28) 62%, transparent 100%);
  animation: breathe 9s ease-in-out infinite;
}
.page-hero::before { width: min(70vh, 520px); right: -6%; opacity: .8; }
@keyframes breathe {
  0%, 100% { scale: .94; opacity: .82; }
  50% { scale: 1.04; opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .hero::before, .page-hero::before { animation: none; }
  html { scroll-behavior: auto; }
}
.hero { min-height: min(86vh, 760px); }
.hero-content { text-align: left; padding: 72px 24px; max-width: var(--max-width); margin: 0 auto; }
.hero-content h1, .page-hero h1 { color: #fff; max-width: 15ch; margin-bottom: 1.4rem; }
.page-hero h1 { max-width: 22ch; font-size: clamp(2rem, 4.4vw, 3.3rem); }
.hero-subtitle, .page-hero p {
  margin-left: 0; margin-right: 0;
  max-width: 54ch;
  color: rgba(255,255,255,.84);
  font-weight: 400;
  font-size: clamp(1.02rem, 1.6vw, 1.2rem);
  line-height: 1.6;
}
.hero-subtitle { margin-bottom: 2.2rem; }
.hero .btn, .page-hero .btn { margin: 0 10px 10px 0; }
.page-hero { padding: 96px 0 72px; }
.city-hero-badge, .service-hero-badge {
  background: transparent;
  border: 0;
  padding: 0;
  border-radius: 0;
  color: var(--saffron);
  font-weight: 600;
  font-size: .95rem;
  margin-bottom: 1.1rem;
}

/* ---------- Sections (home) ---------- */
.section { padding: 96px 0; }
.section-title { text-align: left; margin-bottom: .9rem; max-width: 24ch; }
.section-subtitle { text-align: left; margin: 0 0 3rem; max-width: 60ch; font-size: 1.08rem; color: var(--muted); }
.beneficios-section, .tantra-section { background: var(--blush); }
.intro-grid, .tantra-grid { gap: 72px; }
.intro-text p, .tantra-text p { max-width: 60ch; }
.intro-image img, .tantra-image img {
  border-radius: 999px 999px 18px 18px;
  box-shadow: none;
  height: 480px;
}

/* Benefits: quiet two-column list */
.beneficios-grid { grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid #dcc6d1; }
.beneficio-card {
  background: transparent; border: 0; border-bottom: 1px solid #dcc6d1; border-radius: 0;
  box-shadow: none; text-align: left; padding: 28px 28px 28px 0;
}
.beneficio-card:hover { transform: none; box-shadow: none; }
.beneficio-icon { font-size: 1.4rem; margin-bottom: 10px; filter: saturate(.7); }
.beneficio-card h3 { color: var(--ink); font-size: 1.2rem; }
.beneficio-card p { color: var(--muted); font-size: .98rem; }

/* Services */
.servicios-grid { gap: 28px; }
.servicio-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: none;
  display: grid; grid-template-columns: 180px 1fr; align-items: stretch;
}
.servicio-card:hover { transform: none; box-shadow: none; border-color: var(--mulberry); }
.servicio-card img { height: 100%; min-height: 240px; }
.servicio-info { padding: 28px 28px 26px; }
.servicio-info h3 { color: var(--ink); font-size: 1.35rem; }
.servicio-info ul { color: var(--muted); font-size: .95rem; list-style: none; padding-left: 0; }
.servicio-info ul li { padding-left: 18px; position: relative; }
.servicio-info ul li::before { content: ''; position: absolute; left: 0; top: .72em; width: 7px; height: 7px; border-radius: 50%; background: var(--saffron); }
.servicio-info .btn { padding: 11px 18px; font-size: .94rem; }
.tantra-list li { border-bottom-color: #dcc6d1; padding-left: 20px; }
.tantra-list li::before { content: ''; top: 1.1em; width: 7px; height: 7px; border-radius: 50%; background: var(--saffron); }

/* Cities: compact link index */
.ciudades-region-title { font-size: 1.15rem; margin: 2.4rem 0 1rem; color: var(--muted); font-family: var(--font-body); font-weight: 600; letter-spacing: 0; }
.regiones-grid { gap: 12px; }
.region-card { background: #fff; border-color: var(--line); border-radius: 14px; text-align: left; padding: 18px 18px; }
.region-card:hover { background: var(--ink); border-color: var(--ink); transform: none; }
.region-name { font-family: var(--font-heading); font-size: 1.12rem; color: var(--ink); display: block; }
.region-cities { font-size: .84rem; color: var(--muted); display: block; line-height: 1.45; margin-top: 4px; }
.ciudades-grid { gap: 8px; grid-template-columns: repeat(5, 1fr); }
.ciudad-card { background: transparent; border: 1px solid var(--line); border-radius: 999px; padding: 9px 16px; text-align: left; }
.ciudad-card:hover { background: var(--mulberry); border-color: var(--mulberry); transform: none; }
.ciudad-card:hover .ciudad-nombre { color: #fff; }
.ciudad-nombre { font-weight: 600; font-size: .93rem; color: var(--ink); display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ciudad-tipo { display: none; }

/* ---------- Article pages ---------- */
.content-grid { grid-template-columns: minmax(0, 1fr) 280px; gap: 72px; padding: 72px 24px 88px; }
.content-main { max-width: 760px; }
.content-main p, .content-main li { font-size: 1.04rem; }
.content-main section { margin-bottom: 3.2rem; padding-bottom: 3.2rem; border-bottom: 1px solid var(--line); scroll-margin-top: 100px; }
.content-main h2 { color: var(--ink); margin-bottom: 1.1rem; }
.content-main h3 { color: var(--ink); margin: 1.6rem 0 .6rem; }
.content-main ul:not([class]) { list-style: none; padding-left: 0; }
.content-main ul:not([class]) > li { padding-left: 22px; position: relative; margin-bottom: 10px; }
.content-main ul:not([class]) > li::before { content: ''; position: absolute; left: 2px; top: .7em; width: 7px; height: 7px; border-radius: 50%; background: var(--saffron); }

.highlight-quote, .jay-quote {
  background: transparent;
  border-left: 3px solid var(--saffron);
  border-radius: 0;
  font-style: normal;
  font-size: 1.35rem;
  line-height: 1.4;
  color: var(--ink);
  padding: 6px 0 6px 26px;
  margin: 2.2rem 0;
}

/* Cards inside articles become plain, readable rows */
.zonas-grid, .servicios-ciudad-grid { gap: 0 36px; border-top: 1px solid var(--line); }
.zona-card, .servicio-ciudad-card {
  background: transparent; border: 0; border-bottom: 1px solid var(--line); border-radius: 0;
  box-shadow: none; padding: 20px 0;
}
.zona-card:hover { transform: none; box-shadow: none; }
.zona-card h3, .servicio-ciudad-card h3 { color: var(--ink); font-size: 1.12rem; margin: 0 0 .35rem; }
.zona-card p, .servicio-ciudad-card p { color: var(--muted); font-size: .97rem; margin: 0; }

/* FAQ */
.faq-grid { grid-template-columns: 1fr; gap: 0; border-top: 1px solid var(--line); }
.faq-item {
  background: transparent; border: 0; border-bottom: 1px solid var(--line); border-radius: 0;
  box-shadow: none; padding: 24px 0 !important; margin: 0 !important;
}
.faq-item h3 { color: var(--ink); font-size: 1.2rem; margin: 0 0 .5rem; }
.faq-item p { color: var(--text); font-size: 1.02rem; max-width: var(--measure); }
#preguntas .container { max-width: 860px; }

/* Steps: these really are sequences, so the numbers stay */
.paso-numero, .step-number { background: var(--ink); color: var(--saffron); font-family: var(--font-heading); }

/* Tables */
.comparison-table table { box-shadow: none; border: 1px solid var(--line); border-radius: 14px; }
.comparison-table th { background: var(--ink); font-weight: 500; }
.comparison-table td { font-size: .96rem; }

/* CTA block */
.content-cta {
  background: var(--ink);
  border: 0;
  border-radius: var(--radius);
  padding: 44px 40px;
  text-align: left;
}
.content-cta h3 { color: #fff; font-size: 1.7rem; margin-bottom: .5rem; }
.content-cta p { color: rgba(255,255,255,.78); }
.content-cta .btn { margin: 6px 10px 0 0; }
.content-cta .btn-primary { background: var(--saffron); border-color: var(--saffron); color: var(--ink); }
.content-cta .btn-primary:hover { background: #f0b54d; border-color: #f0b54d; }
.content-cta .btn-secondary { border-color: rgba(255,255,255,.55); color: #fff; }
.content-cta .btn-secondary:hover { background: #fff; color: var(--ink); border-color: #fff; }

/* Sidebar */
.sidebar-widget { background: transparent; border: 0; border-left: 2px solid var(--line); border-radius: 0; box-shadow: none; padding: 2px 0 2px 22px; margin-bottom: 36px; }
.sidebar-widget h4 { color: var(--ink); border-bottom: 0; padding-bottom: 0; font-size: 1.08rem; margin-bottom: .6rem; }
.sidebar-links li { border-bottom: 0; }
.sidebar-links a { padding: 5px 0; font-size: .95rem; color: var(--muted); }
.sidebar-links a:hover { color: var(--mulberry); padding-left: 0; text-decoration: underline; }
.sidebar-widget.sidebar-cta { border-left-color: var(--saffron); }
.sidebar-cta p { font-size: .95rem; color: var(--muted); }

/* Region pages */
.ciudades-region-grid { gap: 12px; }
.ciudad-region-card { background: #fff; border-color: var(--line); border-radius: 14px; box-shadow: none; text-align: left; }
.ciudad-region-card:hover { background: var(--ink); border-color: var(--ink); transform: none; box-shadow: none; }
.ciudad-region-name { font-family: var(--font-heading); font-size: 1.15rem; color: var(--ink); }
.ciudad-region-desc { font-size: .9rem; color: var(--muted); line-height: 1.5; }
.ciudad-region-link { font-size: .88rem; font-weight: 600; color: var(--mulberry); margin-top: 8px; }

/* About */
.jay-credential-card, .valor-card { background: #fff; border-color: var(--line); box-shadow: none; text-align: left; border-radius: 14px; }
.jay-hero-img img, .jay-story-block img { border-radius: 999px 999px 18px 18px; }
.jay-story-text p { max-width: 60ch; }
.jay-social-link { border-radius: 12px; }
.contact-social-card { border-radius: 14px; box-shadow: none; }

/* Reviews (rendered only when real reviews exist) */
.reviews-section { background: var(--blush); }
.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.review { margin: 0; padding: 0 0 0 22px; border-left: 3px solid var(--saffron); }
.review p { font-family: var(--font-heading); font-size: 1.18rem; line-height: 1.45; color: var(--ink); margin-bottom: .8rem; }
.review footer { font-size: .92rem; color: var(--muted); }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); padding-top: 72px; }
.footer-col h4 { font-family: var(--font-body); font-weight: 650; font-size: .95rem; border-bottom: 0; color: #fff; padding-bottom: 0; }
.footer-col ul a { font-size: .9rem; color: rgba(255,255,255,.62); }
.footer-col ul a:hover { color: var(--saffron); }
.footer-about h4 { font-family: var(--font-heading); font-size: 1.3rem; font-weight: 480; }
.footer-portrait { border-radius: 50%; }
.footer-social-btn { border-radius: 12px !important; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .content-grid { grid-template-columns: 1fr; gap: 48px; }
  .content-main { max-width: none; }
  .ciudades-grid { grid-template-columns: repeat(4, 1fr); }
  .beneficios-grid { grid-template-columns: repeat(2, 1fr); }
  .reviews-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  html { font-size: 16.5px; }
  .section { padding: 64px 0; }
  .hero { min-height: 0; }
  .hero-content { padding: 64px 22px 72px; }
  .hero::before, .page-hero::before { width: 120vw; right: -62vw; top: 22%; opacity: .55; }
  .page-hero { padding: 84px 0 56px; }
  .hero .btn, .page-hero .btn { display: block; margin: 0 0 12px; }
  .intro-image img, .tantra-image img { height: 340px; }
  .servicio-card { grid-template-columns: 1fr; }
  .servicio-card img { height: 200px; min-height: 0; }
  .ciudades-grid { grid-template-columns: repeat(2, 1fr); }
  .regiones-grid { grid-template-columns: 1fr 1fr; }
  .beneficios-grid { grid-template-columns: 1fr; }
  .beneficio-card { padding-right: 0; }
  .content-grid { padding: 48px 22px 64px; }
  .content-cta { padding: 32px 24px; }
  .content-cta .btn { display: block; margin: 10px 0 0; }
  .highlight-quote, .jay-quote { font-size: 1.18rem; }
}
@media (max-width: 600px) {
  /* WhatsApp becomes a full-width bar at the bottom of the screen */
  body #wa-float-btn {
    width: auto !important; height: auto !important;
    left: 12px !important; right: 12px !important; bottom: 12px !important;
    padding: 16px 18px !important; border-radius: 16px !important;
    justify-content: center !important; font-size: 16px !important;
  }
  body #wa-float-btn span.wa-long { display: inline !important; }
  body #wa-float-btn span.wa-short { display: none !important; }
  body #app-float-wrap { bottom: 84px !important; right: 12px !important; }
  body { padding-bottom: 82px; }
}
@media (max-width: 480px) {
  .regiones-grid, .ciudades-region-grid { grid-template-columns: 1fr; }
  .ciudades-grid { grid-template-columns: 1fr 1fr; }
}

/* Small alignments */
.ciudades-region-title { text-align: left; }
.nav-mobile-logo .gold { color: var(--saffron); }
body:has(.main-nav.is-open) #wa-float-btn,
body:has(.main-nav.is-open) #app-float-wrap { display: none !important; }
.jay-hero-img img { border-radius: 18px; }
