/*
Theme Name: Moira Tarot Evolutivo
Description: Tema a medida para la web de Moira, tarot evolutivo. Portada con sesiones, curso, sobre mí y contacto por WhatsApp.
Version: 1.3
Requires at least: 6.4
Requires PHP: 7.4
Text Domain: moira
*/

html{scroll-behavior:smooth;scroll-padding-top:96px}
body{overflow-x:clip}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}}

/* Cabecera fija */
header.wp-block-template-part{position:sticky;top:var(--wp-admin--admin-bar--height,0);z-index:50}
.moira-header{background:color-mix(in srgb,#fbf8f3 93%,transparent);backdrop-filter:blur(8px);border-bottom:1px solid #e6dfd3}
.moira-header .moira-bar{min-height:84px}
.moira-logo{gap:10px!important}
.moira-logo figure{margin:0}
.moira-logo img{width:60px;height:60px}
.moira-logo .moira-name{font-family:var(--wp--preset--font-family--cinzel);font-size:28px;line-height:1;letter-spacing:.05em;margin:0}
.moira-logo .moira-name a{text-decoration:none}
.moira-logo .moira-sub{font-size:15px;color:#5b5f70;margin:3px 0 0}
.moira-nav{font-weight:500;font-size:16px}
.moira-nav a{text-decoration:none}
.moira-nav a:hover{text-decoration:underline;text-underline-offset:5px}
.moira-header .wp-block-button__link{padding:.65em 1.2em}
@media (max-width:600px){
  .moira-header .moira-bar{min-height:72px}
  .moira-logo img{width:48px;height:48px}
  .moira-logo .moira-name{font-size:23px}
  .moira-logo .moira-sub{font-size:13px}
  .moira-header .moira-reservar{display:none}
}

/* Bandas */
.moira-band{padding-top:clamp(56px,8vw,104px)!important;padding-bottom:clamp(56px,8vw,104px)!important;margin-top:0!important;margin-bottom:0!important}
.moira-hero{padding-top:clamp(36px,6vw,80px)!important;padding-bottom:clamp(36px,6vw,80px)!important}
.moira-line{border-top:1px solid #e6dfd3}
.moira-azul{background:#232c4d;color:#f4eee4}
.moira-azul .moira-soft,.moira-azul .moira-soft p{color:#d7d1c6}
.moira-columns{gap:clamp(28px,5vw,72px)!important;align-items:center!important}
.moira-columns.is-top{align-items:flex-start!important}
.moira-lead{font-size:19px;color:#5b5f70}
.moira-small{font-size:15px;color:#5b5f70}
.moira-azul .moira-small{color:#d7d1c6}

/* Fotos */
.moira-arch img,.moira-round img{width:100%;height:100%;object-fit:cover;display:block}
.moira-arch{border-radius:220px 220px 14px 14px;overflow:hidden;box-shadow:0 30px 60px -30px rgba(20,24,42,.5);margin:0}
.moira-round{border-radius:14px;overflow:hidden;margin:0}
.moira-hero .moira-arch{aspect-ratio:4/4.3}
.moira-course-photo{aspect-ratio:2/3}
.moira-about-photo{aspect-ratio:2/3}

/* Botones */
.moira-ghost .wp-block-button__link{background:transparent!important;color:inherit!important;box-shadow:inset 0 0 0 1.5px currentColor}
.wp-block-button__link{transition:transform .2s}
.wp-block-button__link:hover{transform:translateY(-2px)}

/* Sesiones */
.moira-card{background:#fff;border:1px solid #e6dfd3;border-radius:14px;padding:22px 24px!important}
.moira-card h3{margin:0 0 .4em}
.moira-card p{margin:0;color:#5b5f70}
.moira-price{background:#232c4d;color:#f4eee4;border-radius:14px;padding:26px 28px!important}
.moira-price .moira-row{justify-content:space-between;align-items:baseline;flex-wrap:wrap}
.moira-price .moira-n{font-family:var(--wp--preset--font-family--cinzel);font-size:44px;line-height:1;white-space:nowrap;margin:0}
.moira-price p{margin:0}
.moira-price .moira-note{color:#d7d1c6;font-size:15.5px}
.moira-price hr{border:0;border-top:1px solid rgba(244,238,228,.25);margin:20px 0}
.moira-facts{list-style:none;padding:0!important}
.moira-facts li{margin:0 0 8px}
.moira-price + .moira-facts{margin-top:22px!important}
.wp-block-buttons + .moira-round{margin-top:28px!important}

/* Experiencias */
.moira-quotes{gap:18px!important;margin-top:28px!important;align-items:stretch!important}
.moira-quote{background:#fff;border:1px solid #e6dfd3;border-radius:14px;padding:26px 26px 22px!important;display:flex;flex-direction:column;justify-content:space-between;gap:18px}
.moira-quote p{margin:0}
.moira-quote .moira-quote-name{font-family:var(--wp--preset--font-family--cinzel);font-size:17px}
.moira-quote .moira-quote-name::before{content:"✦ ";color:#f2c500}

/* Curso */
.moira-steps{gap:10px!important}
.moira-step{border:1px solid rgba(244,238,228,.28);border-radius:12px;padding:14px 12px!important;text-align:center}
.moira-step p{margin:0}
.moira-step .moira-roman{font-family:var(--wp--preset--font-family--cinzel);font-size:21px;white-space:nowrap}
.moira-step .moira-small{font-size:14px}
.moira-tags{list-style:none;padding:0!important;display:flex;flex-wrap:wrap;gap:8px 18px}
.moira-tags li::before{content:"✦ ";color:#f2c500}
.moira-subtitle{font-family:var(--wp--preset--font-family--cinzel);font-size:24px;margin-top:-.4em!important}

/* Contacto */
.moira-contact{text-align:center}
.moira-contact .wp-block-buttons{justify-content:center}
.moira-contact figure{margin:0 auto 12px}
.moira-contact figure img{width:150px;height:auto}

/* Pie */
.moira-footer{border-top:1px solid #e6dfd3;padding-top:26px!important;padding-bottom:26px!important;font-size:14px;color:#5b5f70}
.moira-footer p{margin:0}
.moira-wa-float{position:fixed;right:18px;bottom:18px;z-index:60;width:58px;height:58px;border-radius:50%;background:#25a35a;color:#fff;display:grid;place-items:center;box-shadow:0 10px 24px -8px rgba(0,0,0,.45)}
.moira-wa-float svg{width:30px;height:30px}

/* Páginas legales */
.moira-page{padding-top:40px!important;padding-bottom:56px!important}
.moira-page .wp-block-post-title{font-size:clamp(28px,4vw,38px)}

@media (max-width:781px){
  .moira-hero .moira-arch{aspect-ratio:4/3.4}
  .moira-reverse-mobile{flex-direction:column-reverse}
  .moira-course-photo{aspect-ratio:4/3}
  .moira-about-photo{aspect-ratio:4/5}
  .wp-block-columns.is-not-stacked-on-mobile.moira-steps{flex-wrap:wrap!important}
  .wp-block-columns.is-not-stacked-on-mobile.moira-steps>.wp-block-column{flex:0 0 calc(50% - 5px)!important}
}
