/* Versión 2 · paleta integral: turquesa médico, violeta suave y fondos neutros.
   El logo original se mantiene sin modificaciones. */
:root {
  --plum:#31465e;
  --deep:#193949;
  --mauve:#6f6aa6;
  --pink:#087e85;
  --pink-dark:#08686f;
  --pink-light:#dbf3ef;
  --rose:#e9f8f5;
  --cream:#f8fbfb;
  --teal:#078d88;
  --mint:#e6f6f2;
  --peach:#fff2e8;
  --lilac:#eeedf8;
  --line:#dae8e8;
  --muted:#5f707c;
  --shadow:0 20px 50px rgba(19,72,80,.09);
}
body {background:#f8fbfb;color:#173847}
.topline{background:#23445a}
.top-inner>span:first-child,.top-contact a{color:#d6f6ee}
.site-header{background:rgba(255,255,255,.96);border-color:#dbece9}
.brand-copy strong{color:#28485e}
.brand-copy strong em,.brand-copy small{color:#118f89}
.desktop-doctoralia{color:#406c84}
.nav a{color:#34576b}
.nav a:hover,.nav a.active{color:#007b7a}
.mobile-menu-toggle{background:#e8f4f2}
.mobile-menu-toggle span{background:#265265}
.btn-primary{background:linear-gradient(120deg,#067f82,#056a75);color:white;box-shadow:0 12px 28px rgba(3,94,107,.18)}
.btn-primary:hover{background:linear-gradient(120deg,#08747a,#195f83);box-shadow:0 16px 32px rgba(8,92,101,.25)}
.btn-outline{border-color:#bddbd7;background:#fff;color:#15596a}
.btn-outline:hover{background:#e9f7f3;border-color:#4fada3}
.btn-white{color:#174d60}
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible{outline-color:#087b81}
.eyebrow{color:#087b82}
.section-title{color:#173847}
.section-title em,.life-intro h2 em,.shortcut-intro em{color:#248b87}
.hero{background:radial-gradient(ellipse at 87% 3%,#e2f3f2 0%,transparent 35%),linear-gradient(116deg,#f7fcfa,#f5f9fd 53%,#eef6fa)}
.hero:before{background:#c8e8e3;opacity:.40}
.hero:after{background:linear-gradient(140deg,#d7f0e9,#d8e7f8);opacity:.50}
.eyebrow-hero{background:#fff;color:#236b72;border-color:#c7e6df}
.eyebrow-dot{background:#138e8d;box-shadow:0 0 0 4px #dff4ee}
.hero h1{color:#153d54;max-width:735px;font-size:clamp(43px,4.55vw,74px)}
.serif-gradient{background:linear-gradient(110deg,#087d7d,#4c72a2);-webkit-background-clip:text;background-clip:text}
.highlight-swoosh{color:#087e85}
.highlight-swoosh:after{background:#c5ece4}
.hero-lead{color:#526773}
.trust-avatars span{background:#e5f5f1}
.trust-row strong{color:#254b5b}
.hero-art{height:600px}
.hero-grid{grid-template-columns:51% 49%;min-height:650px}
.hero-portrait-shell{position:relative;width:100%;height:min(590px,100%);display:grid;place-items:center;isolation:isolate}
.hero-glow{position:absolute;width:92%;height:83%;right:1%;top:8%;border-radius:46% 54% 45% 55%;background:linear-gradient(145deg,#c7ebe5 0%,#e2e7f8 60%,#f2eee9);filter:blur(3px);transform:rotate(-8deg)}
.hero-portrait-frame{position:relative;z-index:1;width:min(76%,395px);height:84%;border-radius:210px 210px 28px 28px;overflow:hidden;box-shadow:0 35px 65px rgba(13,66,88,.19);background:linear-gradient(145deg,#e8f3ee,#cadbe9)}
.hero-doctor-image{display:block;width:100%;height:100%;object-fit:cover;object-position:center 23%;filter:saturate(.93)}
.portrait-identity{position:absolute;bottom:0;left:0;right:0;display:flex;flex-direction:column;gap:3px;padding:28px 22px 22px;color:#fff;background:linear-gradient(0deg,rgba(20,54,72,.95),rgba(20,54,72,0))}
.portrait-identity>span{font-size:11px;letter-spacing:.12em;text-transform:uppercase;font-weight:700;color:#c1f2e9}
.portrait-identity>strong{font-size:18px;letter-spacing:-.03em;line-height:1.18}
.portrait-identity>small{font-size:10px;color:#e4f5f2}
.hero-specialty-tag{position:absolute;z-index:3;display:grid;grid-template-columns:42px auto;grid-template-rows:auto auto;column-gap:10px;align-items:center;background:rgba(255,255,255,.96);border:1px solid #d8e8e6;box-shadow:0 14px 32px rgba(25,74,95,.12);border-radius:18px;padding:11px 17px;transform:rotate(-4deg)}
.hero-specialty-tag>span{grid-row:span 2;display:grid;place-items:center;width:42px;height:42px;border-radius:13px;background:#dff4ee;font-size:28px;color:#07847e}
.hero-specialty-tag strong{font-size:13px;white-space:nowrap;color:#264454}
.hero-specialty-tag small{font-size:11px;color:#69808c}
.tag-gyne{top:16%;left:-4%}.tag-obst{right:-4%;bottom:16%;transform:rotate(5deg)}
.tag-obst>span{background:#e9e8f6;color:#7465ab}
.hero-portrait-fallback{display:none;position:absolute;z-index:0;width:54%;max-width:265px;opacity:.28}
.hero-foot{color:#43797d}.heart-stamp{color:#117f88;border-color:#bedddb}
.scroll-cue{color:#48727b}.scroll-cue span{color:#087e85}
.care-ribbon{background:linear-gradient(105deg,#174761,#087c82 53%,#6883a8)}
.shortcut-band{background:#f8fbfb}
.shortcut-card{border:1px solid #deebe9;box-shadow:0 17px 36px rgba(28,91,99,.07)}
.section-services{background:#fff}
.service-card{border-color:#dfebeb}
.service-card:nth-child(6n+1){background:#eef9f6}
.service-card:nth-child(6n+2){background:#f0f4fb}
.service-card:nth-child(6n+3){background:#f9f8f2}
.service-card:nth-child(6n+4){background:#f1f7fa}
.service-card:nth-child(6n+5){background:#eaf5f5}
.service-card:nth-child(6n+6){background:#f1f0fa}
.service-card:hover{box-shadow:0 20px 42px rgba(9,80,95,.11)}
.life-section{background:linear-gradient(112deg,#234b63,#194960 55%,#4c6689)}
.life-section:before{content:'✧';color:#d6f2ee}
.life-intro h2 em{color:#b9e9d9}
.life-index{color:#bfece5}
.about-section{background:#f8fbfb}
.about-frame{box-shadow:0 25px 60px rgba(30,86,110,.12)}
.about-flower{background:#fff}
.pricing-section{background:#eef6f6}
.testimonial-section{background:linear-gradient(132deg,#e7f5f1,#edf2fa 70%,#fcf8f4)}
.testimonial-section:before{color:#acd4d2}
.booking-section{background:#fff}
.faq-section{background:#eef6f6}
.contact-section{background:#fff}
.contact-inner{background:linear-gradient(115deg,#e9f6f1,#ebedf8)}
.site-footer{background:#1e4158;color:#e8f5f3}
.footer-brand .brand-copy strong{color:#f0fbf9}
.footer-brand .brand-copy strong em{color:#bde9d8}
.float-whatsapp{box-shadow:0 8px 25px rgba(18,76,70,.14)}
/* New media gallery */
.media-section{background:#fff;padding-top:90px;padding-bottom:100px}
.media-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.media-card{margin:0;overflow:hidden;border-radius:25px;background:#fff;border:1px solid #dbe9e6;box-shadow:0 8px 28px rgba(19,75,90,.045);transition:transform .35s,box-shadow .35s}
.media-card:hover{transform:translateY(-6px);box-shadow:0 24px 40px rgba(19,75,90,.12)}
.media-image-wrap{height:280px;overflow:hidden;position:relative;display:grid;place-items:center;background:radial-gradient(circle at 42% 23%,#e8f4f1,#d8ebef)}
.media-image-wrap img{width:100%;height:100%;object-fit:cover;object-position:center 24%;transition:transform .6s}
.media-card:hover img{transform:scale(1.035)}
.media-brand .media-image-wrap{background:linear-gradient(145deg,#edf8f6,#f2f1fa)}
.media-brand .media-image-wrap img{object-fit:contain;width:78%;height:86%}
.media-original .media-image-wrap img{object-fit:contain}
.media-card figcaption{padding:23px 23px 27px}
.media-label{display:block;font-size:10px;letter-spacing:.11em;color:#278881;font-weight:900;margin-bottom:10px}
.media-card figcaption strong{display:block;color:#284b5c;font-size:20px;letter-spacing:-.03em}
.media-card figcaption p{font-size:13px;color:#647982;margin:8px 0 0;line-height:1.7}
.media-note{display:flex;align-items:center;gap:16px;margin-top:27px;padding:17px 19px;border:1px solid #d8e8e6;border-radius:18px;color:#5f7480;background:#f7fbfa;font-size:12px}
.media-note>span{font-size:25px;color:#1a8480}
.media-note strong{color:#1c5b66}
.media-note a{color:#087880;font-weight:800;white-space:nowrap;margin-left:auto}
/* clean contrast in touchscreen navigation */
@media(max-width:1100px){.hero-grid{grid-template-columns:52% 48%}.hero-art{height:530px}.tag-gyne{left:0}.tag-obst{right:-3%}}
@media(max-width:760px){
 .hero-grid{display:flex;flex-direction:column;min-height:auto;padding-top:10px}
 .hero-content{padding-top:45px}
 .hero h1{font-size:clamp(36px,10vw,54px);margin-top:17px}
 .hero-art{height:470px;width:100%;max-width:480px;margin:20px auto 0}
 .hero-portrait-shell{height:100%}
 .hero-portrait-frame{width:67%;height:90%}
 .tag-gyne{top:12%;left:0}.tag-obst{right:0;bottom:16%}
 .hero-specialty-tag{grid-template-columns:33px auto;padding:9px 10px;column-gap:7px}
 .hero-specialty-tag>span{height:33px;width:33px;font-size:21px;border-radius:10px}
 .hero-specialty-tag strong{font-size:11px}.hero-specialty-tag small{font-size:9px}
 .media-grid{grid-template-columns:1fr;gap:17px}.media-image-wrap{height:300px}
 .media-section{padding-top:62px;padding-bottom:75px}
 .media-note{align-items:flex-start;flex-wrap:wrap}.media-note a{margin:0 0 0 40px}
}
@media(max-width:420px){.hero-art{height:395px}.hero-portrait-frame{width:70%}.hero-specialty-tag{padding:7px 8px}.tag-gyne{left:-2%}.tag-obst{right:-2%}.portrait-identity{padding:27px 13px 18px}.portrait-identity>strong{font-size:14px}}
@media(min-width:1900px){.hero-grid{min-height:700px}.hero-art{height:680px}.hero-portrait-frame{width:79%;max-width:460px}.media-image-wrap{height:330px}}
@media(prefers-reduced-motion:reduce){.media-card,.media-card img{transition:none!important}}

/* fallback conserva identidad original y evita fotografías falsas */
.hero-doctor-image.fallback-logo,.doctor-photo.fallback-logo,.media-image-wrap img.fallback-logo{object-fit:contain!important;object-position:center!important;background:#e6f5f2;padding:25px;filter:none}

@media(max-width:760px){.float-whatsapp{display:none!important}}
