/*
Theme Name: Lily Guerrero
Description: Tema de La Alquimia del Equilibrio.
Version: 0.5.8
Requires at least: 6.7
Requires PHP: 8.3
Text Domain: lily-guerrero
*/

@font-face {
  font-family: "Cormorant Garamond";
  src: url("assets/fonts/cormorant-garamond.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
}

@font-face {
  font-family: "DM Sans";
  src: url("assets/fonts/dm-sans.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
}

:root {
  --lily-olive: #465231;
  --lily-institutional-green: #35483c;
  --lily-ivory: #f7f4ef;
  --lily-white: #fff;
  --lily-charcoal: #252923;
  --lily-gold: #b79a58;
  --lily-divider: #ddd9d1;
  --lily-font-editorial: "Cormorant Garamond", Georgia, serif;
  --lily-font-ui: "DM Sans", system-ui, sans-serif;
  --lily-content-width: 86rem;
  --lily-gutter: clamp(1rem, 4vw, 3.5rem);
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; color: var(--lily-charcoal); background: var(--lily-ivory); font-family: var(--lily-font-ui); line-height: 1.55; }
figure, h1, h2, h3, p { margin: 0; }
h1, h2 { font-family: var(--lily-font-editorial); font-weight: 600; line-height: .98; letter-spacing: -.034em; overflow-wrap: anywhere; }
h2 { font-size: clamp(2.5rem, 4vw, 4rem); }
a { color: inherit; }
img { max-width: 100%; height: auto; vertical-align: middle; }
svg { width: 1.5rem; height: 1.5rem; flex: none; vertical-align: middle; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid #8b5d21; outline-offset: 4px; }
.site-shell { width: min(calc(100% - 2 * var(--lily-gutter)), var(--lily-content-width)); margin-inline: auto; }
.content-page { min-height: 44vh; padding-block: 4rem; }
.content-page h1 { margin-block-end: 1rem; font-size: clamp(2.75rem, 6vw, 5rem); }
.screen-reader-text, .skip-link:not(:focus) { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip-link:focus { position: absolute; z-index: 50; top: .5rem; left: .5rem; padding: .65rem 1rem; background: #fff; }

.site-header { position: relative; z-index: 4; border-bottom: 1px solid #e7e1d9; }
.header-inner { display: flex; align-items: center; gap: clamp(1.5rem, 3.6vw, 3.75rem); min-height: 5rem; }
.site-identity { display: inline-flex; flex: none; align-items: center; gap: .7rem; color: #232821; text-decoration: none; }
.site-logo { width: clamp(2.15rem, 3.5vw, 3.05rem); height: 3.35rem; object-fit: contain; }
.identity-type { display: grid; gap: .12rem; }
.identity-name { font: 700 clamp(1.25rem, 2vw, 1.85rem)/1 var(--lily-font-editorial); letter-spacing: -.035em; }
.identity-brand { display: flex; align-items: center; gap: .42rem; font-weight: 700; font-size: .64rem; line-height: 1.4; letter-spacing: .16em; text-transform: uppercase; }
.identity-brand::before { content: ""; width: 1.3rem; height: 1px; background: var(--lily-gold); }
.header-navigation { display: flex; justify-content: space-between; align-items: center; gap: 1.2rem; flex: 1; min-width: 0; border-inline-start: 1px solid var(--lily-divider); padding-inline-start: clamp(1.4rem, 3.5vw, 3.75rem); }
.site-menu, .footer-menu { display: flex; flex-wrap: wrap; align-items: center; gap: clamp(.7rem, 2.2vw, 2.15rem); list-style: none; padding: 0; margin: 0; }
.site-menu a, .footer-menu a { text-decoration: none; }
.site-menu a { display: block; position: relative; padding: .58rem 0; font-size: .93rem; font-weight: 600; }
.site-menu a[aria-current="page"]::after { position: absolute; inset: auto 0 .16rem; height: 2px; background: var(--lily-olive); content: ""; }
.site-menu a:hover, .footer-menu a:hover { text-decoration: underline; text-underline-offset: .2em; }
.site-button { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; min-height: 2.95rem; max-width: 100%; padding: .57rem 1.35rem; border: 1px solid transparent; border-radius: 10rem; font-size: .94rem; line-height: 1.25; font-weight: 700; text-align: center; text-decoration: none; overflow-wrap: anywhere; transition: background-color .18s, color .18s; }
.site-button svg { width: 1.25rem; height: 1.25rem; }
.button-primary { color: #fff; background: var(--lily-olive); }
.button-primary:hover { background: #354129; }
.button-outline { border-color: var(--lily-olive); color: var(--lily-olive); }
.button-outline:hover { background: #e9eadd; }
.button-light { color: #203529; background: var(--lily-ivory); }
.button-light:hover { background: #e5e9de; }
.header-booking { flex: none; }
.header-actions { display: flex; flex: none; align-items: center; gap: clamp(.35rem, 1vw, .7rem); }
.header-contact { display: grid; place-items: center; flex: none; width: 2.75rem; height: 2.75rem; border: 1px solid var(--lily-divider); border-radius: 50%; color: var(--lily-institutional-green); }
.header-contact:hover { background: #e9eadd; }
.header-contact svg { width: 1.2rem; height: 1.2rem; }
.menu-toggle { display: none; place-items: center; min-width: 2.75rem; min-height: 2.75rem; border: 1px solid #c3c5b7; border-radius: 50%; color: var(--lily-olive); background: transparent; }

.hero { position: relative; isolation: isolate; background: #eee8df; }
.hero-inner { min-height: clamp(24rem, 31vw, 30rem); display: flex; align-items: center; }
.hero-copy { padding: clamp(1.8rem, 3.2vw, 3.25rem) 0; padding-inline-start: clamp(0rem, 2vw, 2.1rem); }
.hero-with-media .hero-copy { max-width: 53%; }
.eyebrow { font-size: .76rem; font-weight: 700; line-height: 1.5; letter-spacing: .23em; text-transform: uppercase; overflow-wrap: anywhere; }
.hero-eyebrow, .section-eyebrow { display: flex; align-items: center; gap: clamp(.6rem, 2vw, 1.6rem); }
.hero-eyebrow { color: #37462d; }
.hero-eyebrow::after, .section-eyebrow::before, .section-eyebrow::after { width: clamp(1.15rem, 5vw, 4.3rem); height: 1px; background: var(--lily-gold); content: ""; flex: none; }
.hero h1 { margin-block: .55rem .8rem; color: #3a492c; font-size: clamp(3.05rem, 5.5vw, 5.45rem); }
.hero-description { max-width: 33ch; color: #38412f; font: 600 clamp(1.32rem, 2.2vw, 2.04rem)/1.08 var(--lily-font-editorial); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .65rem; margin-top: 1.5rem; }
.hero-visual { position: absolute; z-index: -1; inset: 0 0 0 46%; overflow: hidden; }
.hero-visual::after { position: absolute; inset: 0 auto 0 0; width: min(27%, 11rem); background: linear-gradient(90deg, #eee8df, transparent); content: ""; pointer-events: none; }
.hero-visual picture, .hero-image { display: block; width: 100%; height: 100%; }
.hero-image { object-fit: cover; object-position: center 6%; }
.hero-portrait .hero-inner { display: grid; grid-template-columns: minmax(0, 1.16fr) minmax(0, 1fr); gap: clamp(1.3rem, 4vw, 4rem); }
.hero-portrait .hero-copy { max-width: none; }
.hero-portrait .hero-visual { position: relative; z-index: 0; inset: auto; justify-self: center; align-self: end; width: min(100%, 31.5rem); aspect-ratio: 1 / 1.13; }
.hero-portrait .hero-visual::after { width: clamp(.75rem, 5vw, 4.5rem); }
.hero-brand-visual { display: grid; place-items: center; background: var(--lily-institutional-green); }
.hero-brand-visual::after { display: none; }
.hero-brand-logo { width: clamp(4rem, 11vw, 9rem); height: auto; object-fit: contain; }
.media-note { position: absolute; z-index: 1; inset: auto .8rem .8rem auto; padding: .28rem .54rem; color: #292f25; background: #f7f4ef; border-radius: .22rem; font-size: .69rem; line-height: 1.3; }
.photo-credits { margin-block: .9rem 1.5rem; color: #50594e; font-size: .82rem; line-height: 1.4; }
.photo-credits small { font-size: inherit; }

.care-strip { background: #f1ede6; border-block: 1px solid #e7e0d6; }
.care-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); list-style: none; padding: 1rem 0; }
.care-list li { display: flex; justify-content: center; align-items: center; gap: clamp(.6rem, 1.8vw, 1.45rem); padding: .2rem clamp(.4rem, 2vw, 1.55rem); min-height: 3.25rem; font-size: .98rem; font-weight: 600; line-height: 1.32; }
.care-list li + li { border-inline-start: 1px solid #cfc7bb; }
.care-list svg { color: var(--lily-olive); width: clamp(1.35rem, 3vw, 2.65rem); height: clamp(1.35rem, 3vw, 2.65rem); }

.home-services { padding-block: clamp(2.2rem, 4.3vw, 4rem) clamp(1.65rem, 3.4vw, 3rem); }
.section-heading { text-align: center; margin: 0 auto clamp(1.15rem, 2.2vw, 1.7rem); }
.section-eyebrow { justify-content: center; margin-block-end: .46rem; }
.service-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: clamp(.65rem, 1.15vw, 1rem); margin: 0; padding: 0; list-style: none; }
.service-card { --card-color: #45523d; --card-light: #68755a; position: relative; min-width: 0; min-height: 0; aspect-ratio: 1 / 1.03; }
.service-card:nth-child(2n) { --card-color: #394b41; --card-light: #65796a; }
.service-card:nth-child(3n) { --card-color: #4d5540; --card-light: #79735b; }
.service-card-body { position: relative; isolation: isolate; display: flex; align-items: end; width: 100%; height: 100%; overflow: hidden; border-radius: .68rem; background: linear-gradient(145deg, var(--card-light), var(--card-color) 68%); color: #fff; text-decoration: none; }
.service-card-body::after { position: absolute; inset: 0; z-index: -1; content: ""; background: linear-gradient(180deg, transparent 31%, #242d20e8 100%); }
.service-card-body:focus-visible { outline-offset: 4px; }
.service-with-image .service-card-body::after { background: linear-gradient(180deg, transparent 30%, #232c21f2 100%); }
.service-photo { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 55% 46%; transition: transform .25s ease; }
.service-card-body:is(:hover, :focus-visible) .service-photo { transform: scale(1.035); }
.service-grid:has(> .service-stock) > .service-card { aspect-ratio: auto; }
.service-grid:has(> .service-stock) > .service-card:not(.service-with-image) { min-height: 9rem; }
.service-stock .service-card-body { flex-direction: column; align-items: stretch; }
.service-stock .service-card-body::after { display: none; }
.service-stock .service-photo { position: static; z-index: auto; flex: 0 0 auto; width: 100%; height: auto; object-fit: contain; transform: none; }
.service-stock .service-card-body:is(:hover, :focus-visible) .service-photo { transform: none; }
.service-stock .service-caption { margin-top: auto; background: var(--card-color); }
.service-emblem { position: absolute; inset: 24% 0 auto; display: grid; place-items: center; color: #eddfb9; opacity: .94; }
.service-emblem svg { width: clamp(2.2rem, 4vw, 3.75rem); height: clamp(2.2rem, 4vw, 3.75rem); stroke-width: .95; }
.service-note { inset: .65rem auto auto .65rem; }
.service-caption { display: flex; width: 100%; align-items: end; justify-content: space-between; gap: .33rem; padding: .85rem .82rem; font-size: clamp(.86rem, 1.14vw, 1.1rem); font-weight: 600; line-height: 1.2; overflow-wrap: anywhere; }
.service-arrow { display: grid; flex: none; place-items: center; width: 1.72rem; height: 1.72rem; border: 1px solid currentColor; border-radius: 50%; }
.service-arrow svg { width: .98rem; height: .98rem; }

.profile-section { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: clamp(1.5rem, 4vw, 4.3rem); padding-block: .15rem clamp(2.3rem, 5vw, 4.4rem); }
.profile-visual { position: relative; width: min(100%, 30rem); min-width: 0; justify-self: center; aspect-ratio: 1 / 1.04; overflow: hidden; background: #e5dfd5; }
.profile-image { width: 100%; height: 100%; position: absolute; inset: 0; object-fit: cover; object-position: 50% 10%; }
.profile-copy { position: relative; grid-column: 2; padding-inline-start: 1.25rem; }
.profile-copy:first-child { grid-column: 1 / -1; max-width: 48rem; margin-inline: auto; }
.profile-copy::before { position: absolute; inset: 1.4rem auto 1.4rem 0; width: 1px; background: var(--lily-gold); content: ""; }
.profile-copy .eyebrow { margin-bottom: .2rem; }
.profile-copy h2 { font-size: clamp(2.5rem, 3.8vw, 3.7rem); margin: 0 0 .6rem; }
.profile-copy p:not(.eyebrow) { max-width: 55ch; }
.profile-copy .site-button { margin-top: 1rem; }

.home-blog { padding-bottom: clamp(2rem, 4.5vw, 4.2rem); }
.blog-content { display: grid; align-items: center; grid-template-columns: minmax(0, 1fr) auto; gap: clamp(1rem, 2.8vw, 2.5rem); }
.article-list { display: grid; align-items: stretch; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.article-card { border: 1px solid #e2ddd4; border-radius: .65rem; background: #f2eee7; }
.article-card a { display: block; height: 100%; border-radius: inherit; text-decoration: none; }
.article-card a:hover h3 { text-decoration: underline; text-underline-offset: .12em; }
.article-image { width: 100%; aspect-ratio: 2.7 / 1; object-fit: cover; border-radius: .65rem .65rem 0 0; }
.article-text { padding: .85rem 1rem; }
.article-text h3 { font-size: 1.02rem; line-height: 1.22; }
.article-text time { display: block; margin-top: .35rem; color: #48513c; font-size: .85rem; }

.booking-section { margin-bottom: clamp(1.2rem, 3.5vw, 2.75rem); }
.booking-banner { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: clamp(1rem, 3vw, 2.7rem); position: relative; isolation: isolate; overflow: hidden; padding: clamp(1.4rem, 3.2vw, 2.75rem) clamp(1.15rem, 5vw, 5rem); border-radius: 1rem; color: var(--lily-ivory); background: var(--lily-institutional-green); }
.booking-banner::after { position: absolute; z-index: -1; inset: -5rem -9rem auto auto; width: 15rem; height: 24rem; border-left: 1px solid #bea4687a; border-radius: 50%; transform: rotate(39deg); content: ""; }
.booking-icon { color: #e1c78c; align-self: stretch; display: grid; place-items: center; padding-inline-end: clamp(1rem, 3vw, 2.7rem); border-inline-end: 1px solid #bfa76b85; }
.booking-icon svg { width: clamp(2.2rem, 4.5vw, 4.25rem); height: clamp(2.2rem, 4.5vw, 4.25rem); stroke-width: 1.1; }
.booking-banner h2 { font-size: clamp(2.35rem, 4vw, 3.6rem); }
.booking-copy p { margin-top: .45rem; }
.booking-image { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; opacity: .2; }

.site-footer { padding: .9rem 0 1.05rem; }
.footer-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.35rem; }
.footer-top .identity-name { font-size: clamp(1.35rem, 1.9vw, 1.75rem); }
.footer-detail { display: flex; align-items: center; gap: .65rem; border-inline-start: 1px solid var(--lily-divider); padding-inline-start: clamp(.8rem, 3vw, 2.6rem); font-weight: 600; font-size: .9rem; }
.footer-detail a { text-decoration: none; }
.footer-detail a:hover { text-decoration: underline; }
.footer-detail div a { display: block; }
.footer-detail { min-width: 0; overflow-wrap: anywhere; }
.footer-location { max-width: 29ch; }
.footer-hours { display: block; color: #495448; font-size: .84rem; }
.footer-socials a { display: grid; place-items: center; min-width: 2.75rem; min-height: 2.75rem; }
.footer-bottom { display: flex; flex-wrap: wrap; gap: .25rem 1.4rem; justify-content: space-between; border-top: 1px solid var(--lily-divider); margin-top: .7rem; padding-top: .7rem; font-size: .83rem; }
.footer-menu { gap: .2rem 1.4rem; }
.footer-menu a { display: inline-flex; min-height: 2.1rem; align-items: center; }
.quick-whatsapp { position: fixed; z-index: 6; inset: auto max(.8rem,env(safe-area-inset-right)) max(.8rem,env(safe-area-inset-bottom)) auto; display: grid; place-items: center; width: 2.65rem; height: 2.65rem; color: #fff; border: 1px solid #ffffff88; border-radius: 50%; background: var(--lily-institutional-green); box-shadow: 0 3px 12px #29342a24; }
.quick-whatsapp:hover { background: #24382d; }

@media (max-width: 1120px) {
  .service-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .service-card { aspect-ratio: 1.65 / 1; }
}

@media (max-width: 1049px) {
  .header-inner { min-height: 4.5rem; flex-wrap: wrap; justify-content: space-between; gap: .65rem; padding-block: .4rem; }
  .header-navigation { width: 100%; flex: 0 0 100%; padding: .4rem 0 .85rem; border-inline-start: 0; }
  .menu-enhanced .menu-toggle { display: grid; }
  .menu-enhanced .header-navigation:not(.is-open) { display: none; }
  .menu-enhanced .header-navigation { position: absolute; inset: 100% 0 auto; padding: .8rem var(--lily-gutter) 1.3rem; background: var(--lily-ivory); border-bottom: 1px solid var(--lily-divider); }
  .blog-content { grid-template-columns: 1fr; }
  .blog-content > .site-button { justify-self: center; }
}

@media (700px <= width <= 850px) {
  .footer-top { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
  .footer-detail:nth-child(odd) { border: 0; padding-inline-start: 0; }
}

@media (700px <= width <= 1100px) {
  .hero-portrait .hero-inner { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 1.35rem; }
  .hero-portrait .hero-visual { align-self: center; aspect-ratio: 1 / 1.17; }
  .hero-portrait h1 { font-size: clamp(2.8rem, 5.6vw, 4rem); }
}

@media (max-width: 699px) {
  .site-identity { flex: 0 1 auto; min-width: 0; }
  .site-logo { flex: none; height: 2.75rem; }
  .identity-name { font-size: clamp(1.16rem, 4.4vw, 1.5rem); }
  .identity-brand { font-size: .58rem; letter-spacing: .11em; }
  .identity-brand::before { width: .7rem; }
  .header-navigation { align-items: start; flex-direction: column; gap: .6rem; }
  .site-menu { display: grid; width: 100%; grid-template-columns: 1fr 1fr; gap: .2rem 1.1rem; }
  .site-menu a { padding: .7rem 0; }
  .site-menu a[aria-current="page"]::after { right: auto; width: 1.55rem; }
  .hero { display: flex; flex-direction: column; }
  .hero-inner { order: -1; min-height: 0; }
  .hero-with-media .hero-copy { max-width: none; }
  .hero-copy { padding: 1.9rem 0 1.55rem; }
  .hero h1 { font-size: clamp(2.85rem, 10.9vw, 4rem); }
  .hero-visual { position: relative; inset: auto; aspect-ratio: 1.45 / 1; }
  .hero-visual::after { display: none; }
  .hero-portrait .hero-inner { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .hero-portrait .hero-visual { aspect-ratio: 1 / 1.15; width: min(100%, 26rem); }
  .hero-actions { margin-top: 1.1rem; gap: .5rem; }
  .hero-actions .site-button { font-size: .84rem; padding-inline: .85rem; }
  .care-list { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: .35rem 0; }
  .care-list li { justify-content: start; min-height: 3.55rem; font-size: .85rem; padding: .5rem; }
  .care-list li:nth-child(odd) { border-inline-start: 0; }
  .care-list li:nth-child(n+3) { border-top: 1px solid #ddd5c9; }
  .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .service-card { aspect-ratio: 1.17 / 1; }
  .service-caption { padding: .62rem; }
  .service-arrow { width: 1.4rem; height: 1.4rem; }
  .service-arrow svg { width: .83rem; height: .83rem; }
  .profile-section { grid-template-columns: 1fr; }
  .profile-copy { grid-column: 1; }
  .profile-visual { width: min(100%, 26rem); aspect-ratio: 1 / 1.1; }
  .article-list { grid-template-columns: 1fr; }
  .booking-banner { grid-template-columns: auto minmax(0, 1fr); }
  .booking-banner > .site-button { grid-column: 2; justify-self: start; }
  .footer-top { gap: .7rem 1.4rem; justify-content: start; }
  .footer-top .site-identity { flex-basis: 100%; }
  .footer-detail { border: 0; padding: 0; }
  .footer-bottom { padding-inline-end: 2rem; }
}

@media (max-width: 370px) {
  .header-inner { gap: .35rem; }
  .site-identity { gap: .32rem; }
  .identity-name { font-size: 1.16rem; }
  .identity-brand { letter-spacing: .05em; }
  .service-arrow { position: absolute; top: .45rem; right: .45rem; background: #344238dd; }
  .booking-banner { gap: .7rem; }
  .booking-banner > .site-button { padding-inline: .85rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
