/*
Theme Name: Sagittarius Academy Editorial
Theme URI: https://sagittariusacademy.com
Author: Sagittarius Jewelry Academy
Description: Tema inicial editorial para la academia. Catálogo demostrativo; todavía no gestiona cursos ni compras.
Version: 1.3.0
Requires at least: 6.4
Requires PHP: 7.4
Text Domain: sagittarius-academy
*/

:root{--ink:#516167;--text:#575757;--mauve:#BCB0B1;--blush:#E6DCDC;--dust:#D5C6C7;--stone:#C7C6C5;--wine:#491023;--white:#fff;--cream:#f9f7f5}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:Nunito,Arial,sans-serif;color:var(--text);background:var(--cream);line-height:1.6}h1,h2,h3,h4,.wordmark{font-family:Quicksand,Arial,sans-serif;color:var(--ink)}h1,h2,h3,p{margin-top:0}h1{font-size:clamp(2.7rem,5.4vw,5rem);line-height:1.12;letter-spacing:-.045em}h2{font-size:clamp(2rem,3.4vw,3.2rem);line-height:1.2;letter-spacing:-.035em}h3{font-size:1.25rem}.wrap{max-width:1180px;margin:auto;padding:0 28px}.announcement{text-align:center;background:var(--ink);color:white;font-size:.79rem;letter-spacing:.08em;padding:9px 16px}.nav{background:#fff;position:sticky;top:0;z-index:20;box-shadow:0 1px 20px #51616710}.nav-inner{height:84px;display:flex;align-items:center;justify-content:space-between;gap:24px}.wordmark{text-decoration:none;font-weight:700;line-height:1.1;font-size:1.35rem;color:var(--ink);min-width:205px}.wordmark small{display:block;font-family:Nunito,sans-serif;font-size:.65rem;letter-spacing:.32em;font-weight:700;color:var(--mauve);padding-top:5px}.navlinks{display:flex;gap:28px;align-items:center}.navlinks a{font-size:.91rem;color:var(--ink);text-decoration:none;font-weight:700}.navlinks a:hover{color:var(--wine)}.btn{display:inline-flex;align-items:center;justify-content:center;text-align:center;background:var(--ink);border:1px solid var(--ink);border-radius:999px;padding:14px 26px;color:white;text-decoration:none;font-weight:800;font-size:.88rem;transition:.2s;cursor:pointer}.btn:hover{background:#3c4c52;transform:translateY(-2px)}.btn.outline{background:transparent;color:var(--ink)}.btn.outline:hover{background:#eef0ef}.btn.small{padding:11px 19px}.hero{overflow:hidden;background:linear-gradient(125deg,#f9f7f5 0%,#f8f4f3 55%,#ebe2e2 100%)}.hero-grid{min-height:595px;display:grid;grid-template-columns:1.06fr .94fr;gap:55px;align-items:center;padding-top:60px;padding-bottom:60px}.eyebrow{font-size:.73rem;font-weight:800;letter-spacing:.23em;text-transform:uppercase;color:#957e82;margin-bottom:20px}.hero p.lead{font-size:1.18rem;max-width:510px}.hero-actions{display:flex;gap:12px;flex-wrap:wrap;margin:27px 0 38px}.tiny-line{display:flex;align-items:center;gap:10px;font-size:.82rem;color:var(--ink);font-weight:700}.tiny-line i{width:34px;height:1px;background:var(--mauve);display:inline-block}.hero-art{height:510px;position:relative;display:flex;justify-content:center;align-items:center}.hero-art:before{content:"";position:absolute;width:88%;height:96%;border-radius:46% 46% 15% 15%;background:radial-gradient(circle at 25% 30%,#fff8 0%,transparent 42%),linear-gradient(150deg,#e9dbdb,#c8b5b7)}.hero-art:after{content:"";position:absolute;width:71%;height:82%;border:1px solid #ffffffab;border-radius:47% 47% 12% 12%;transform:translate(18px,8px)}.jewel{width:78%;max-width:390px;position:relative;z-index:2;filter:drop-shadow(0 15px 19px #655c6040)}.art-sticker{position:absolute;z-index:3;bottom:30px;right:0;background:white;padding:18px 24px;border-radius:7px;box-shadow:0 11px 30px #645c6020;transform:rotate(3deg);color:var(--ink);font-size:.81rem;letter-spacing:.08em;text-align:center;font-weight:800}.stats{display:grid;grid-template-columns:repeat(3,1fr);border-bottom:1px solid #e7dfdf;border-top:1px solid #e7dfdf;background:#fff}.stat{text-align:center;padding:25px 16px;font-size:.92rem;color:var(--ink)}.stat:not(:last-child){border-right:1px solid #e7dfdf}.stat strong{display:block;font-family:Quicksand;font-size:1.25rem}.section{padding:102px 0}.section.soft{background:#f1ebeb}.center{text-align:center}.section-head{max-width:760px;margin:0 auto 44px}.section-head p{max-width:650px;margin:0 auto}.cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}.course{border:1px solid #e7e0df;background:white;border-radius:12px;overflow:hidden;box-shadow:0 9px 24px #5161670c}.course-img{height:225px;display:flex;align-items:center;justify-content:center;position:relative;background:linear-gradient(135deg,#e6dcdc,#c6bab9);overflow:hidden}.course-img .round{height:160px;width:160px;border-radius:50%;border:13px solid #ede4e1;box-shadow:inset 0 0 0 2px #958b8b,0 10px 35px #4e454533;transform:rotate(-12deg)}.course-img.c2{background:linear-gradient(140deg,#cdd4d4,#ebeeed)}.course-img.c2 .round{width:145px;height:145px;border:9px solid #b7a0a0;box-shadow:inset 0 0 0 2px #fff,0 12px 25px #4e454533}.course-img.c3{background:linear-gradient(145deg,#e4d6ce,#d4bcb6)}.course-img.c3 .round{border:9px dotted #b8a1a2;width:155px;height:155px;box-shadow:inset 0 0 0 2px #e7dcdc,0 12px 25px #4e454533}.tag{position:absolute;left:16px;top:17px;background:white;color:var(--ink);font-size:.68rem;padding:7px 10px;border-radius:30px;font-weight:800;letter-spacing:.06em}.course-text{padding:25px}.course-text h3{min-height:60px}.course-text p{font-size:.91rem;min-height:62px}.price{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:20px;padding-top:15px;border-top:1px solid #eee}.price strong{font-family:Quicksand;color:var(--ink);font-size:1.4rem}.price .btn{padding:9px 16px;font-size:.78rem}.faint{font-size:.78rem;color:#827a7a}.info{display:grid;grid-template-columns:1fr 1fr;gap:75px;align-items:center}.info-visual{height:415px;border-radius:50% 50% 9px 9px;background:linear-gradient(150deg,#d5c6c7,#aab7b9);display:grid;place-items:center;position:relative;overflow:hidden}.info-visual:before{content:"";width:60%;height:70%;border:5px solid #ffffff99;border-radius:50%;transform:rotate(25deg);box-shadow:0 0 0 22px #ffffff22}.info-visual:after{content:"✦";position:absolute;color:white;font-size:7rem;opacity:.65}.check{display:flex;gap:14px;margin:17px 0;align-items:flex-start}.check b{color:var(--ink)}.check .num{background:var(--blush);color:var(--ink);border-radius:50%;width:31px;height:31px;flex:0 0 31px;text-align:center;line-height:31px;font-weight:900}.founder{display:grid;grid-template-columns:.75fr 1.25fr;gap:75px;align-items:center}.photo-placeholder{min-height:410px;background:linear-gradient(150deg,#ddcfd0,#b3c0c0);border-radius:48% 48% 6px 6px;position:relative;display:grid;place-content:center;color:#fff;text-align:center;padding:40px}.photo-placeholder span{font-size:3rem}.photo-placeholder p{color:white;max-width:240px;font-size:.85rem;margin:0}.quote{border-left:4px solid var(--mauve);padding-left:20px;font-family:Quicksand;font-size:1.27rem;color:var(--ink);font-weight:600;margin:25px 0}.reviews{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}.review{background:white;padding:30px;border:1px solid #e8dfdf;border-radius:12px}.stars{color:#a48e91;letter-spacing:.12em;font-size:1.2rem}.review p{font-size:.94rem}.review strong{color:var(--ink);font-size:.85rem}.faq{max-width:820px;margin:auto}.faq details{background:white;border:1px solid #e8e0df;padding:20px 24px;margin:12px 0;border-radius:8px}.faq summary{font-family:Quicksand;color:var(--ink);font-weight:700;cursor:pointer}.faq p{padding-top:10px;margin:0}.cta{background:var(--ink);color:white;padding:70px 0}.cta h2,.cta p{color:white}.cta .btn{background:white;border-color:white;color:var(--ink)}.footer{background:#eceded;padding:60px 0 25px}.footergrid{display:grid;grid-template-columns:1.7fr 1fr 1fr;gap:50px}.footer a{color:var(--ink);text-decoration:none;display:block;margin:11px 0}.footer small{font-size:.79rem}.footbottom{margin-top:45px;border-top:1px solid #cdd1d0;padding-top:22px;font-size:.77rem}.mobile-menu{display:none} .disclaimer{font-size:.74rem;opacity:.85;margin-top:12px}.course-img svg{width:58%;height:75%}
@media(max-width:900px){.navlinks{display:none}.mobile-menu{display:block;font-weight:800;color:var(--ink)}.hero-grid{grid-template-columns:1fr;gap:10px}.hero-art{height:390px;max-width:470px;width:100%;margin:auto}.cards,.reviews{grid-template-columns:1fr 1fr}.info,.founder{gap:35px}.hero-grid{padding-top:55px;padding-bottom:45px}.section{padding:70px 0}}@media(max-width:620px){.wrap{padding:0 20px}.nav-inner{height:72px}.wordmark{min-width:0;font-size:1.09rem}.wordmark small{font-size:.55rem}.hero-grid{min-height:0}.hero-art{height:345px}.hero p.lead{font-size:1rem}.stats{grid-template-columns:1fr}.stat{padding:16px}.stat:not(:last-child){border-right:0;border-bottom:1px solid #e7dfdf}.cards,.reviews,.info,.founder,.footergrid{grid-template-columns:1fr}.course-text h3,.course-text p{min-height:0}.info-visual,.photo-placeholder{min-height:320px;height:320px}.section{padding:60px 0}.art-sticker{right:1px;bottom:16px;padding:13px}.footergrid{gap:14px}}

/* WordPress controls */
.admin-bar .nav{top:32px} .academy-skip{position:absolute;top:-100px;left:10px;z-index:100;background:#fff;padding:12px}.academy-skip:focus{top:10px}.site-content{min-height:55vh}.content-default{max-width:850px;margin:80px auto;padding:0 24px}.mobile-menu{border:0;background:none;cursor:pointer}.navlinks.open{display:flex;position:absolute;top:100%;left:0;right:0;background:white;padding:20px 25px;flex-direction:column;box-shadow:0 10px 30px #0001}.nav{position:sticky}.navlinks a:focus-visible,.btn:focus-visible{outline:3px solid #491023;outline-offset:3px}@media(max-width:782px){.admin-bar .nav{top:46px}}

/* Sagittarius Academy · revisión de identidad institucional */
.brand-logo{display:flex;align-items:center;min-width:175px;max-width:200px;align-self:stretch}.brand-logo img{display:block;width:100%;height:74px;object-fit:contain}.hero-photo{height:510px;overflow:hidden;border-radius:44% 44% 14px 14px;box-shadow:0 24px 70px #51616722}.hero-photo img{width:100%;height:100%;object-fit:cover;object-position:center}.course-img .course-photo{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:1}.course-img .tag{z-index:2}.course-img:has(.course-photo) .round{display:none}.info-visual.real-photo{border-radius:46% 46% 12px 12px;background:none}.info-visual.real-photo:before,.info-visual.real-photo:after{display:none}.info-visual.real-photo img{height:100%;width:100%;object-fit:cover;object-position:center}.founder-photo{height:500px;overflow:hidden;border-radius:46% 46% 8px 8px}.founder-photo img{display:block;width:100%;height:100%;object-fit:cover;object-position:center 28%}.footer-logo{display:block;width:200px;height:auto;max-height:140px;object-fit:contain;object-position:left}.heritage{background:#fff}.heritage-grid{display:grid;grid-template-columns:1fr 1fr;gap:85px;align-items:center}.heritage-number{margin-top:24px;font:700 3rem Quicksand,sans-serif;color:var(--ink)}.heritage-number span{display:block;font:600 .92rem Nunito,sans-serif}.institutional{background:#f1ebeb}.institutional-grid{display:grid;grid-template-columns:.75fr 1.25fr;align-items:center;gap:75px}.institutional-logo{background:#fff;border-radius:18px;padding:35px;min-height:310px;display:grid;place-items:center}.institutional-logo img{max-width:100%;width:320px;height:auto}.footer .faint{margin-top:10px}.footer .footer-logo+.faint{font-weight:700;color:var(--ink)}
@media(max-width:900px){.heritage-grid,.institutional-grid{gap:35px}.brand-logo img{height:67px}}
@media(max-width:620px){.brand-logo{max-width:150px;min-width:120px}.brand-logo img{height:65px}.hero-photo{height:360px}.heritage-grid,.institutional-grid{grid-template-columns:1fr}.founder-photo{height:410px}.institutional-logo{min-height:250px}.institutional-logo img{width:250px}}

/* v1.2: Contraste del acceso Mi cuenta en cabecera */
.navlinks a.btn, .navlinks a.btn:visited, .navlinks a.btn:hover, .navlinks a.btn:focus {color: #ffffff;}
.navlinks a.btn:hover {background:#3c4c52;}

/* v1.3: El estilo de los enlaces del menú no debe ocultar el CTA Mi cuenta. */
.navlinks a.btn, .navlinks a.btn:link, .navlinks a.btn:visited, .navlinks a.btn:hover, .navlinks a.btn:focus { color: #ffffff !important; -webkit-text-fill-color: #ffffff !important; opacity: 1 !important; visibility: visible !important; text-shadow: none !important; }
.navlinks a.btn { background-color: #516167; border-color: #516167; }
.navlinks a.btn:hover, .navlinks a.btn:focus { background-color: #3c4c52; }
