/*
Theme Name: ATEMED
Theme URI: https://atemed.com.ar
Author: ATEMED
Description: Tema de bloques (FSE) de ATEMED. Header y footer compartidos en todo el sitio, incluida la tienda WooCommerce.
Version: 1.0.0
Requires at least: 6.4
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
Text Domain: atemed
*/


/* ============ Fuentes (incluidas en el tema, no dependen de Google) ============ */
@font-face{font-family:'Montserrat';font-style:normal;font-weight:100 900;font-display:swap;src:url(assets/fonts/montserrat-latin-wght-normal.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'Open Sans';font-style:normal;font-weight:300 800;font-stretch:75% 100%;font-display:swap;src:url(assets/fonts/open-sans-latin-wght-normal.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}

/* ============ Tokens ============ */
:root{
  --atm-teal:#05877F; --atm-teal-d:#046b65; --atm-teal-dd:#033e3a;
  --atm-navy:#042161; --atm-blue:#374F83; --atm-gray:#f2f2f2;
  --atm-green:#658161; --atm-head:#41807c; --atm-wa:#25a244;
  --atm-line:#e2e6ec; --atm-muted:#4b5563;
  --atm-wrap:1140px;
  --atm-mont:'Montserrat',Arial,sans-serif; --atm-open:'Open Sans',Arial,sans-serif;
}
*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;font-family:var(--atm-open);font-size:16px;line-height:1.6;color:#111;background:#fff;-webkit-font-smoothing:antialiased}
img{max-width:100%;height:auto}
a{color:inherit}
.wp-site-blocks{padding:0}
.wp-site-blocks>*{margin-block-start:0!important;margin-block-end:0!important}
.atm-main{margin:0!important;padding:0!important}
.atm-main>*{margin-block-start:0!important;margin-block-end:0!important}
.atm-main :where(.is-layout-flow,.is-layout-constrained,.is-layout-flex)>*,.atm-header-wrap :where(.is-layout-flow,.is-layout-constrained,.is-layout-flex)>*,.atm-footer-wrap :where(.is-layout-flow,.is-layout-constrained,.is-layout-flex)>*,.atm-main.is-layout-flow>*,.atm-main.is-layout-constrained>*{margin-block-start:0}
.atm-wrap{max-width:var(--atm-wrap);margin-left:auto;margin-right:auto;padding-left:20px;padding-right:20px}

/* ============ Botones (como Nicepage) ============ */
.ah-btn-navy .wp-block-button__link,.ah-btn-teal .wp-block-button__link{display:inline-block;font-family:var(--atm-open);font-weight:700;font-size:16px;line-height:22.4px;letter-spacing:1px;text-transform:uppercase;text-decoration:none;color:#fff;padding:10px 40px;border:0;border-radius:0;text-align:center;cursor:pointer;transition:filter .15s}
.ah-btn-navy .wp-block-button__link{background:var(--atm-navy)}
.ah-btn-teal .wp-block-button__link{background:#067f7b}
.ah-btn-navy .wp-block-button__link:hover,.ah-btn-teal .wp-block-button__link:hover{filter:brightness(1.18);color:#fff}

/* ============ HEADER ============ */
.atm-header{position:relative;z-index:50;margin:0!important}
.atm-topbar{background:var(--atm-teal);height:54px}
.atm-topbar-in{max-width:var(--atm-wrap);margin:0 auto;height:54px;display:flex;justify-content:flex-end;align-items:center;padding:0 7px 0 20px}
.atm-cart{position:relative;display:inline-block;width:24px;height:24px;color:#fff;text-decoration:none;line-height:0}
.atm-cart svg{width:24px;height:24px;display:block;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.atm-cart-count{position:absolute;left:16px;top:-7px;min-width:15px;height:15px;padding:0 3px;border-radius:50%;background:var(--atm-green);color:#fff;font:400 12px/15px var(--atm-open);text-align:center}
.atm-cart-count.is-empty{display:none}
.atm-mainbar{background:#fff}
.atm-mainbar-in{max-width:var(--atm-wrap);margin:0 auto;padding:7px 0;min-height:89px;display:flex;align-items:center;justify-content:space-between;gap:24px}
.atm-logo{display:block;flex:none;line-height:0}
.atm-logo img{width:272px;height:75px;display:block;object-fit:contain}
.atm-nav{flex:0 1 auto}
.atm-nav .wp-block-navigation__container{gap:31px;flex-wrap:nowrap}
.atm-nav .wp-block-navigation-item__content{font-family:var(--atm-open);font-size:16px;font-weight:600;line-height:16px;color:#1a1a1a;padding:6px 0;border-bottom:1.667px solid transparent;text-decoration:none;white-space:nowrap}
.atm-nav .wp-block-navigation-item__content:hover,
.atm-nav .current-menu-item>.wp-block-navigation-item__content,
.atm-nav .wp-block-navigation-item__content[aria-current="page"]{color:var(--atm-green);border-bottom-color:var(--atm-green)}
@media (max-width:1100px){.atm-mainbar-in{padding-left:20px;padding-right:20px}}
@media (max-width:980px){
  .atm-logo img{width:210px;height:auto}
  .atm-nav .wp-block-navigation__container{gap:20px}
  .atm-nav .wp-block-navigation-item__content{font-size:15px}
}
@media (max-width:860px){
  /* menú hamburguesa hasta 860px */
  .atm-nav .wp-block-navigation__responsive-container-open{display:flex!important}
  .atm-nav .wp-block-navigation__responsive-container:not(.is-menu-open){display:none!important}
  .atm-nav .wp-block-navigation__responsive-container.is-menu-open{display:flex!important}
  .atm-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container{flex-direction:column;align-items:flex-start;gap:18px}
  .atm-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content{font-size:20px}
  .atm-topbar,.atm-topbar-in{height:46px}
  .atm-logo img{width:180px}
  .atm-mainbar-in{min-height:76px}
}

/* ============ FOOTER ============ */
.atf{font-family:var(--atm-open);color:#fff}
.atf a{color:inherit;text-decoration:none}
.atf-cta{background:var(--atm-navy)}
.atf-cta-in{max-width:var(--atm-wrap);margin:0 auto;padding:30px 20px;display:flex;align-items:center;justify-content:space-between;gap:24px;flex-wrap:wrap}
.atf-cta h2{font:700 24px/1.25 var(--atm-mont);margin:0 0 6px;color:#fff}
.atf-cta p{margin:0;font-size:14px;color:#dbe4f7}
.atf-wa{display:inline-flex;align-items:center;gap:10px;background:var(--atm-wa);color:#fff;font:700 14px/1 var(--atm-open);letter-spacing:1px;text-transform:uppercase;padding:16px 28px;transition:filter .15s}
.atf-wa:hover{filter:brightness(1.1);color:#fff}
.atf-wa svg{width:18px;height:18px;fill:currentColor}
.atf-main{background:var(--atm-teal)}
.atf-grid{max-width:var(--atm-wrap);margin:0 auto;padding:44px 20px 40px;display:grid;grid-template-columns:1.25fr .9fr 1fr 1.15fr;gap:36px}
.atf-logo{display:inline-block;background:#fff;border-radius:8px;padding:7px 12px;line-height:0;margin-bottom:18px}
.atf-logo img{width:150px;height:auto;display:block}
.atf-tag{font-size:13.5px;line-height:1.7;margin:0 0 18px;color:#f2fffe}
.atf-ct{display:flex;align-items:center;gap:10px;font-size:14px;margin:0 0 10px;font-weight:600}
.atf-ct svg{width:15px;height:15px;fill:currentColor;flex:none}
.atf-h{font:700 13px/1 var(--atm-mont);letter-spacing:1.5px;text-transform:uppercase;margin:6px 0 20px;color:#fff}
.atf ul{list-style:none;margin:0;padding:0}
.atf li{margin:0 0 12px}
.atf-links a{font-size:15px;opacity:.95}
.atf-links a:hover{text-decoration:underline;opacity:1}
.atf-loc{display:flex;gap:10px;margin-bottom:14px;font-size:13.5px;line-height:1.45}
.atf-loc svg{width:13px;height:13px;fill:currentColor;flex:none;margin-top:3px}
.atf-loc b{display:block;font-weight:700}
.atf-map{display:inline-block;border:1px solid rgba(255,255,255,.55);border-radius:20px;padding:7px 16px;font-size:12.5px;font-weight:600;margin:2px 0 20px}
.atf-map:hover{background:rgba(255,255,255,.14)}
.atf-hours{font-size:13.5px;margin:0 0 20px;padding:9px 0;border-top:1px solid rgba(255,255,255,.28);border-bottom:1px solid rgba(255,255,255,.28);display:flex;justify-content:space-between;gap:10px}
.atf-hours b{font-weight:700}
.atf-soc{display:flex;gap:10px}
.atf-soc a{width:36px;height:36px;border-radius:50%;background:rgba(255,255,255,.18);display:flex;align-items:center;justify-content:center;transition:background .15s}
.atf-soc a:hover{background:rgba(255,255,255,.32)}
.atf-soc svg{width:16px;height:16px;fill:#fff}
.atf-trust{background:var(--atm-teal-d)}
.atf-trust-in{max-width:var(--atm-wrap);margin:0 auto;padding:14px 20px;display:flex;align-items:center;justify-content:space-between;gap:18px 30px;flex-wrap:wrap;font-size:12.5px}
.atf-pay{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.atf-pay>span{margin-right:4px;font-weight:600}
.atf-chip{background:#fff;color:var(--atm-navy);font:700 11.5px/1 var(--atm-open);padding:8px 12px;border-radius:5px}
.atf-badges{display:flex;gap:22px;flex-wrap:wrap;font-weight:600}
.atf-badges span::before{content:"✔";margin-right:6px}
.atf-copy{background:var(--atm-teal-dd);text-align:center;font-size:12.5px;padding:16px 20px;color:#e6f6f5}
@media (max-width:960px){.atf-grid{grid-template-columns:1fr 1fr;gap:34px 28px}}
@media (max-width:560px){
  .atf-grid{grid-template-columns:1fr;padding-top:34px}
  .atf-cta-in{flex-direction:column;align-items:flex-start}
  .atf-wa{width:100%;justify-content:center}
  .atf-trust-in{flex-direction:column;align-items:flex-start}
}

/* ============ Tarjetas de servicios (Home + Nosotros) ============ */
.atm-cards4{max-width:1140px;margin:0 auto;display:grid;grid-template-columns:repeat(4,271px);justify-content:space-between;gap:19px;padding:0 20px}
.atm-svc{background:#fff;border-radius:30px;height:220px;box-shadow:0 2px 10px rgba(0,0,0,.35);padding:30px 30px 0;text-align:center;display:block;text-decoration:none}
.atm-svc img{width:63px;height:63px;display:block;margin:0 auto 17px}
.atm-svc h6{margin:0;font:400 18px/21.6px var(--atm-mont);color:var(--atm-blue)}
@media (max-width:1180px){.atm-cards4{grid-template-columns:repeat(4,1fr);max-width:1000px}}
@media (max-width:900px){.atm-cards4{grid-template-columns:repeat(2,1fr);gap:16px}.atm-svc{height:auto;min-height:170px;padding-bottom:24px}}
@media (max-width:480px){.atm-cards4{grid-template-columns:1fr}}

/* ============ HOME ============ */
.atm-home-top{background:var(--atm-teal);position:relative;padding-bottom:57px}
.ah-hero{min-height:609px;position:relative;display:flex;align-items:flex-start;justify-content:center;color:#fff;text-align:center;overflow:hidden;background:#333 center/cover no-repeat}
.ah-hero>img.ah-hero-bg{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:0}
.ah-hero::after{content:"";position:absolute;inset:0;background:rgba(0,0,0,.35);z-index:1}
.ah-hero-in{position:relative;z-index:2;width:100%;max-width:1140px;padding:145px 20px 0;margin:0 auto}
.ah-hero h1{font:700 30px/36px var(--atm-mont);color:#fff;margin:0 0 21px}
.ah-hero p.ah-hero-p{font:400 14px/25.2px var(--atm-open);color:#fff;margin:0 auto;max-width:1000px}
.ah-hero-btns{display:flex;justify-content:center;gap:60px;margin-top:75px;flex-wrap:wrap}
.ah-hero-btns .wp-block-button__link{min-width:263px;padding:10px 60px}
.atm-home-top .atm-cards4{margin-top:-161px;position:relative;z-index:3}
@media (max-width:900px){
  .ah-hero{min-height:560px}
  .ah-hero-in{padding-top:70px}
  .ah-hero h1{font-size:26px;line-height:32px}
  .ah-hero-btns{gap:16px;margin-top:40px}
  .ah-hero-btns .wp-block-button__link{min-width:0;width:100%;max-width:340px}
  .atm-home-top .atm-cards4{margin-top:-110px}
  .atm-home-top{padding-bottom:40px}
}
.ah-strip{background:var(--atm-blue);color:#fff;padding:70px 20px}
.ah-strip-in{max-width:1140px;margin:0 auto;text-align:center}
.ah-strip h2{font:700 20px/24px var(--atm-mont);color:#fff;margin:0 0 26px}
.atm-ticks{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;justify-content:center;gap:12px 40px}
.atm-ticks li{font:700 14px/22.4px var(--atm-open);color:#fff;padding-left:18px;position:relative}
.atm-ticks li::before{content:"✔";position:absolute;left:0;top:0;font-size:11px;font-weight:700}
.ah-why{position:relative;min-height:371px;color:#fff;display:flex;align-items:center;overflow:hidden;background:#444 center/cover no-repeat}
.ah-why>img.ah-why-bg{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.ah-why::after{content:"";position:absolute;inset:0;background:rgba(0,0,0,.3)}
.ah-why-in{position:relative;z-index:2;max-width:1140px;width:100%;margin:0 auto;padding:60px 20px;display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:40px}
.ah-why-in img{width:232px;height:232px;border-radius:50%;object-fit:cover;justify-self:center}
.ah-why h2{font:700 20px/24px var(--atm-mont);margin:0 0 26px;color:#fff}
.ah-why .atm-ticks{display:block}
.ah-why .atm-ticks li{margin-bottom:0}
@media (max-width:760px){.ah-why-in{grid-template-columns:1fr;text-align:center}.ah-why .atm-ticks{display:inline-block;text-align:left}}
.ah-feat{background:#fff;padding:64px 20px 60px}
.ah-feat-in{max-width:1140px;margin:0 auto}
.atm-prods{display:grid;grid-template-columns:repeat(4,1fr);gap:30px 30px}
.atm-prods a{display:block;text-align:center;text-decoration:none;color:var(--atm-navy)}
.atm-prods img{width:218px;max-width:100%;height:300px;object-fit:contain;display:block;margin:0 auto 20px}
.atm-prods h4{margin:0;font:400 20px/24px var(--atm-mont);color:var(--atm-navy)}
.ah-feat-more .wp-block-button__link{display:block;margin-top:28px;background:var(--atm-navy);color:#fff;text-align:center;font:700 13px/38px var(--atm-open);letter-spacing:1px;text-transform:uppercase;text-decoration:none}
.ah-feat-more .wp-block-button__link:hover{filter:brightness(1.2);color:#fff}
@media (max-width:900px){.atm-prods{grid-template-columns:repeat(2,1fr)}.atm-prods img{height:230px}.atm-prods h4{font-size:17px;line-height:21px}}

/* ============ Páginas simples ============ */
.atm-split{background:var(--atm-gray);position:relative;overflow:hidden}
.atm-split-in{max-width:1140px;margin:0 auto;padding:64px 20px;min-height:523px;display:flex;flex-direction:column;justify-content:flex-start}
.atm-split-txt{max-width:600px}
.atm-split h3{font:700 20px/24px var(--atm-mont);color:var(--atm-head);margin:0 0 2px}
.atm-split p{font:400 16px/28.8px var(--atm-open);color:#111;margin:0 0 36px}
.atm-split-img{position:absolute;right:0;top:35px;width:36%;height:453px;background:center/cover no-repeat}
@media (max-width:980px){.atm-split-img{position:static;width:100%;height:300px}.atm-split-in{min-height:0;padding-bottom:40px}.atm-split-txt{max-width:none}}

.atm-faqp{max-width:1140px;margin:0 auto;padding:40px 20px 30px}
.atm-faqp h4.atm-faq-h{font:700 20px/1.3 var(--atm-mont);color:var(--atm-head);text-align:center;text-transform:uppercase;margin:30px 0 28px}
.atm-faqp details{margin:0 0 6px;max-width:1000px;margin-left:auto;margin-right:auto}
.atm-faqp summary{cursor:pointer;list-style:none;font:700 16px/25.6px var(--atm-open);color:var(--atm-green);padding:9px 0}
.atm-faqp summary::-webkit-details-marker{display:none}
.atm-faqp summary::after{content:"+";float:right;font-weight:400;font-size:22px;line-height:25px;color:var(--atm-green);margin-left:14px}
.atm-faqp details[open] summary::after{content:"–"}
.atm-faqp details .ans{font:400 14px/25px var(--atm-open);color:#111;padding:2px 0 18px}
.atm-faqp details .ans p{margin:0 0 8px}
.atm-faqp details .ans ul{margin:0 0 8px;padding-left:0;list-style:none}

.ap-contact{background:var(--atm-gray);padding:24px 20px 40px}
.ap-contact-in{max-width:1140px;margin:0 auto;display:grid;grid-template-columns:380px 1fr 380px;gap:20px;align-items:start}
.ap-contact iframe{width:100%;height:228px;border:0;display:block}
.ap-contact h2{font:700 18px/1.2 var(--atm-mont);color:var(--atm-head);text-transform:uppercase;text-align:center;margin:22px 0 0;padding-top:14px;border-top:1px solid #9aa7a6}
.ap-contact .ap-ccenter{text-align:center;padding-top:22px}
.ap-contact .ap-ccenter a{display:block;font:700 16px/1.4 var(--atm-open);color:#808080;text-decoration:none;margin:0 0 14px}
.ap-contact .ap-ccenter a:hover{color:var(--atm-teal)}
.ap-contact .ap-ccenter .ap-ch{border-top:1px solid #9aa7a6;margin-top:66px}
@media (max-width:980px){.ap-contact-in{grid-template-columns:1fr;max-width:420px}.ap-contact .ap-ccenter .ap-ch{margin-top:20px}}

.atm-about{position:relative;min-height:699px;display:flex;flex-direction:column;align-items:center;color:#fff;overflow:hidden;background:#333 center/cover no-repeat;padding-bottom:0}
.atm-about>img.atm-about-bg{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.atm-about::after{content:"";position:absolute;inset:0;background:rgba(0,0,0,.33)}
.atm-about-txt{position:relative;z-index:2;max-width:1000px;margin:164px auto 0;padding:0 20px;font:700 14px/25.2px var(--atm-open);text-align:center;color:#fff}
.atm-about-txt p{margin:0 0 25px;color:#fff}
.atm-about-cards{position:relative;z-index:3;margin-top:-146px!important;padding-bottom:40px}
@media (max-width:900px){.atm-about-txt{margin-top:60px;font-size:13.5px}}

/* ============ Alquileres (hero + tarjetas con ícono) ============ */
.atm-alq-hero{position:relative;min-height:471px;overflow:hidden;background:#555 center/cover no-repeat}
.atm-alq-hero>img.atm-alq-bg{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.atm-alq-hero::after{content:"";position:absolute;inset:0;background:rgba(0,0,0,.35)}
.atm-alq-cards{position:relative;z-index:4;max-width:1140px;margin:-116px auto 0!important;padding:0 20px;display:grid;grid-template-columns:repeat(5,212px);justify-content:space-between;gap:20px}
.atm-alq-card{background:#fff;border-radius:20px;height:222px;box-shadow:0 2px 14px rgba(0,0,0,.28);text-align:center;padding:30px 14px 0;display:block;text-decoration:none}
.atm-alq-card img{width:70px;height:70px;display:block;margin:0 auto 18px}
.atm-alq-card b{display:block;font:700 20px/24px var(--atm-mont);color:#071363}
.atm-alq-cards.row2{margin-top:22px!important}
.atm-alq-cards.cols4{grid-template-columns:repeat(4,212px);justify-content:center;gap:28px}
a.atm-alq-card{transition:transform .15s,box-shadow .15s}
a.atm-alq-card:hover{transform:translateY(-3px);box-shadow:0 6px 20px rgba(0,0,0,.32)}
.atm-alq-spacer{height:56px}
@media (max-width:1180px){.atm-alq-cards,.atm-alq-cards.cols4{grid-template-columns:repeat(4,1fr);gap:14px}.atm-alq-card b{font-size:17px;line-height:21px}}
@media (max-width:860px){.atm-alq-cards,.atm-alq-cards.cols4{grid-template-columns:repeat(2,1fr)}.atm-alq-card{height:auto;min-height:190px;padding-bottom:20px}}

/* ============ Genérico (page.html / single) ============ */
.atm-generic{max-width:1140px;margin:0 auto;padding:50px 20px 70px}
.atm-generic h1{font:700 30px/1.25 var(--atm-mont);color:var(--atm-head);margin:0 0 24px}
.atm-generic .entry-content>*{margin-top:0;margin-bottom:1.2em}

/* ===== Adaptación a bloques de WordPress (contenido editable) ===== */
:where(.wp-block-image){margin:0}
:where(.wp-block-buttons){margin:0}
:where(.wp-block-buttons>.wp-block-button){margin:0}
.atm-main .wp-block-button__link{border-radius:0}
.wp-block-button.atm-btn-block,.wp-block-button.ah-feat-more{width:100%}
:where(.wp-block-group,.wp-block-post-content){margin:0}
/* fondos de sección (imagen a pantalla completa detrás del contenido) */
.ah-hero>figure.ah-hero-bg,.ah-why>figure.ah-why-bg,.atm-about>figure.atm-about-bg,.atm-alq-hero>figure.atm-alq-bg{position:absolute;inset:0;width:100%;height:100%;margin:0}
.ah-hero>figure.ah-hero-bg{z-index:0}
.ah-hero>figure.ah-hero-bg img,.ah-why>figure.ah-why-bg img,.atm-about>figure.atm-about-bg img,.atm-alq-hero>figure.atm-alq-bg img{display:block;width:100%;height:100%;object-fit:cover}
/* tarjetas clickeables: el enlace del título cubre toda la tarjeta */
.atm-card-link{position:relative}
.atm-card-link a{color:inherit;text-decoration:none}
.atm-card-link a::after{content:"";position:absolute;inset:0;z-index:2}
.atm-svc figure{margin:0}
.atm-prods>.atm-card-link{text-align:center;color:var(--atm-navy)}
.atm-prods figure{margin:0}
.atm-prods h4 a{color:var(--atm-navy)}
.ah-why-in figure{margin:0;justify-self:center}
/* íconos de los botones (antes SVG dentro del enlace) */
.atm-ico .wp-block-button__link::before{content:"";flex:none;width:20px;height:20px;background:currentColor;-webkit-mask:var(--ico) center/contain no-repeat;mask:var(--ico) center/contain no-repeat}
.atm-ico-wa{--ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12.04 2a9.9 9.9 0 0 0-8.5 14.9L2 22l5.25-1.38A9.9 9.9 0 1 0 12.04 2zm5.8 14.1c-.25.7-1.45 1.34-2 1.4-.5.07-1.13.1-1.82-.12-.42-.13-.96-.31-1.65-.6-2.9-1.25-4.8-4.17-4.94-4.37-.14-.2-1.18-1.57-1.18-3s.75-2.12 1.02-2.41c.27-.3.58-.37.78-.37h.56c.18 0 .42-.07.65.5.25.6.85 2.07.92 2.22.08.15.13.32.03.52-.1.2-.15.32-.3.5-.15.17-.31.38-.44.51-.15.15-.3.31-.13.6.17.3.77 1.27 1.65 2.05 1.13 1 2.09 1.32 2.39 1.47.3.15.47.12.65-.07.17-.2.75-.87.95-1.17.2-.3.4-.25.67-.15.28.1 1.75.83 2.05.98.3.15.5.22.57.35.08.12.08.72-.17 1.42z'/%3E%3C/svg%3E")}
.atm-ico-phone{--ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.6 10.8a15.1 15.1 0 0 0 6.6 6.6l2.2-2.2a1 1 0 0 1 1-.25 11.4 11.4 0 0 0 3.6.57 1 1 0 0 1 1 1V20a1 1 0 0 1-1 1A17 17 0 0 1 3 4a1 1 0 0 1 1-1h3.5a1 1 0 0 1 1 1c0 1.25.2 2.45.57 3.57a1 1 0 0 1-.25 1z'/%3E%3C/svg%3E")}
.atm-ico-mail{--ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 5h18a1 1 0 0 1 1 1v12a1 1 0 0 1-1 1H3a1 1 0 0 1-1-1V6a1 1 0 0 1 1-1zm9 8.2L4.4 7H19.6L12 13.2z'/%3E%3C/svg%3E")}
.ah-feat-more .wp-block-button__link{padding:0}
figure.atm-split-img{position:absolute;right:0;top:35px;width:36%;height:453px;margin:0}
figure.atm-split-img img{width:100%;height:100%;object-fit:cover;display:block}
@media (max-width:980px){figure.atm-split-img{position:static;width:100%;height:300px}}

/* imágenes dentro de figure (bloque Imagen) en tarjetas de producto */
.atm-card-img figure.wp-block-image{margin:0;height:100%;width:100%;display:flex;align-items:center;justify-content:center}
.atm-card-img figure.wp-block-image img{max-height:100%;width:auto;object-fit:contain;mix-blend-mode:multiply}

/* tablas (bloque Tabla): anular bordes por defecto de WordPress */
.wp-block-table{margin:0;overflow-x:visible}
.wp-block-table thead,.wp-block-table tfoot{border:0}
.atm-page .wp-block-table th,.atm-page .wp-block-table td{border:0;border-bottom:1px solid var(--line)}
.atm-page .wp-block-table tbody tr:last-child th,.atm-page .wp-block-table tbody tr:last-child td{border-bottom:0}

/* reseñas: el párrafo con la cita ocupa el espacio libre (antes lo hacía <q>) */
.atm-rev > p:has(> q){flex:1;margin-bottom:20px}
.atm-rev > p:has(> q) > q{margin:0}

/* línea de contacto del CTA final (antes era <div>, ahora párrafo) */
.atm-page .atm-cta p.atm-contact,.atm-page .atm-cta p.atm-contact:last-child:last-child{max-width:none;margin:34px 0 0;font-size:15px}
/* fichas de Alquileres: dos botones lado a lado (VER MÁS + CONSULTAR) */
.atm-card-body .wp-block-buttons{display:flex;flex-wrap:nowrap;gap:10px;width:100%}
.atm-card-body .wp-block-button.atm-btn-half{flex:1 1 0;min-width:0}
.atm-card-body .wp-block-button.atm-btn-half .wp-block-button__link{width:100%;padding:15px 8px;gap:8px;letter-spacing:.6px;white-space:nowrap}
.atm-card-body .wp-block-button.atm-btn-half .wp-block-button__link::before{width:18px;height:18px}
@media (max-width:420px){.atm-card-body .wp-block-button.atm-btn-half .wp-block-button__link{font-size:13px;letter-spacing:.3px}}
/* precios alquiler / compra dentro de cada ficha */
.atm-prices{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:10px;margin:6px 0 16px}
.atm-prices>.atm-pbox{margin:0;border-radius:14px;padding:11px 13px;border:1.5px solid transparent;line-height:1.25}
.atm-pbox small{display:block;white-space:nowrap;font-family:'Montserrat',Arial,sans-serif;font-size:10px;font-weight:700;letter-spacing:.6px;text-transform:uppercase;margin-bottom:4px}
.atm-pbox strong{display:block;font-family:'Montserrat',Arial,sans-serif;font-size:22px;font-weight:800;line-height:1.15;color:var(--atm-navy,#042161)}
.atm-pbox span{display:block;font-size:12px;color:#4b5563;line-height:1.35;margin-top:3px}
.atm-pbox.r{background:#e6f4f3;border-color:#bfe3e0}.atm-pbox.r small{color:#046b65}
.atm-pbox.b{background:#e8edf8;border-color:#c5d0ec}.atm-pbox.b small{color:#374F83}
.atm-prices.rows{grid-template-columns:minmax(0,1fr);gap:8px}
.atm-prices.rows>.atm-pbox{display:block;min-width:0;padding:9px 13px 10px}
.atm-prices.rows .atm-pbox small{margin:0 0 2px}
.atm-prices.rows .atm-pbox strong{display:inline-block;font-size:21px;white-space:nowrap}
.atm-prices.rows .atm-pbox span{display:inline;margin:0 0 0 8px}
/* botones Alquilar (verde agua) y Comprar (azul) */
.atm-main .wp-block-button.atm-btn-rent .wp-block-button__link{background:#05877F;color:#fff}
.atm-main .wp-block-button.atm-btn-rent .wp-block-button__link:hover{background:#046b65;color:#fff}
.atm-main .wp-block-button.atm-btn-buy .wp-block-button__link{background:#042161;color:#fff}
.atm-main .wp-block-button.atm-btn-buy .wp-block-button__link:hover{background:#374F83;color:#fff}
/* bloque ¿Alquilar o comprar? y pasos */
.atm-choose{display:grid;grid-template-columns:1fr 1fr;gap:22px;max-width:960px;margin:0 auto}
.atm-choose>.atm-opt{border-radius:22px;padding:28px;border:1.5px solid;margin:0}
.atm-opt.r{background:#e6f4f3;border-color:#bfe3e0}.atm-opt.b{background:#e8edf8;border-color:#c5d0ec}
.atm-opt p.atm-tag{font-family:'Montserrat',Arial,sans-serif;font-size:12px;font-weight:700;letter-spacing:1.5px;text-transform:uppercase;margin:0 0 6px}
.atm-opt.r p.atm-tag{color:#046b65}.atm-opt.b p.atm-tag{color:#374F83}
.atm-page .atm-opt h3{font-size:24px;color:var(--atm-navy,#042161);margin:0 0 8px}
.atm-page .atm-opt .atm-feat{margin-top:16px}
.atm-steps{display:grid;grid-template-columns:repeat(4,1fr);gap:18px;counter-reset:atmstep;max-width:1140px;margin:0 auto}
.atm-steps>.atm-step{background:#fff;border:1px solid #e2e6ec;border-radius:18px;padding:22px;box-shadow:0 6px 20px rgba(4,33,97,.06);margin:0}
.atm-step::before{counter-increment:atmstep;content:counter(atmstep);display:flex;align-items:center;justify-content:center;width:38px;height:38px;border-radius:50%;background:#05877F;color:#fff;font-family:'Montserrat',Arial,sans-serif;font-weight:800;font-size:17px;margin-bottom:12px}
.atm-page .atm-step h4{font-size:16px;color:var(--atm-navy,#042161);margin:0 0 6px}
.atm-step p{font-size:14px;color:#4b5563;margin:0}
@media (max-width:960px){.atm-steps{grid-template-columns:1fr 1fr}}
@media (max-width:700px){.atm-choose{grid-template-columns:1fr}.atm-steps{grid-template-columns:1fr}.atm-prices{grid-template-columns:1fr 1fr}}

/* estilos en línea convertidos a clases */
.atm-s-5e9db0{text-align:center;margin-top:36px;justify-content:center}
.atm-s-bb37be{max-width:720px;margin:0 auto}

/* margen inferior del último hijo (anula regla de WP) */
body:last-child:last-child{margin-bottom:0}
.atm-main:last-child:last-child{margin-bottom:0!important}
.atm-header:last-child:last-child{margin-bottom:0!important}
.atm-topbar-in:last-child:last-child{margin-bottom:0}
.atm-mainbar-in:last-child:last-child{margin-bottom:0}
.atf-cta-in:last-child:last-child{margin-bottom:0}
.atf-cta h2:last-child:last-child{margin-bottom:6px}
.atf-cta p:last-child:last-child{margin-bottom:0}
.atf-grid:last-child:last-child{margin-bottom:0}
.atf-logo:last-child:last-child{margin-bottom:18px}
.atf-tag:last-child:last-child{margin-bottom:18px}
.atf-ct:last-child:last-child{margin-bottom:10px}
.atf-h:last-child:last-child{margin-bottom:20px}
.atf ul:last-child:last-child{margin-bottom:0}
.atf li:last-child:last-child{margin-bottom:12px}
.atf-loc:last-child:last-child{margin-bottom:14px}
.atf-map:last-child:last-child{margin-bottom:20px}
.atf-hours:last-child:last-child{margin-bottom:20px}
.atf-trust-in:last-child:last-child{margin-bottom:0}
.atm-cards4:last-child:last-child{margin-bottom:0}
.atm-svc img:last-child:last-child{margin-bottom:17px}
.atm-svc h6:last-child:last-child{margin-bottom:0}
.ah-hero-in:last-child:last-child{margin-bottom:0}
.ah-hero h1:last-child:last-child{margin-bottom:21px}
.ah-hero p.ah-hero-p:last-child:last-child{margin-bottom:0}
.ah-strip-in:last-child:last-child{margin-bottom:0}
.ah-strip h2:last-child:last-child{margin-bottom:26px}
.atm-ticks:last-child:last-child{margin-bottom:0}
.ah-why-in:last-child:last-child{margin-bottom:0}
.ah-why h2:last-child:last-child{margin-bottom:26px}
.ah-why .atm-ticks li:last-child:last-child{margin-bottom:0}
.ah-feat-in:last-child:last-child{margin-bottom:0}
.atm-prods img:last-child:last-child{margin-bottom:20px}
.atm-prods h4:last-child:last-child{margin-bottom:0}
.atm-split-in:last-child:last-child{margin-bottom:0}
.atm-split h3:last-child:last-child{margin-bottom:2px}
.atm-split p:last-child:last-child{margin-bottom:36px}
.atm-faqp:last-child:last-child{margin-bottom:0}
.atm-faqp h4.atm-faq-h:last-child:last-child{margin-bottom:28px}
.atm-faqp details:last-child:last-child{margin-bottom:6px}
.atm-faqp details .ans p:last-child:last-child{margin-bottom:8px}
.atm-faqp details .ans ul:last-child:last-child{margin-bottom:8px}
.ap-contact-in:last-child:last-child{margin-bottom:0}
.ap-contact h2:last-child:last-child{margin-bottom:0}
.ap-contact .ap-ccenter a:last-child:last-child{margin-bottom:14px}
.atm-about-txt:last-child:last-child{margin-bottom:0}
.atm-about-txt p:last-child:last-child{margin-bottom:25px}
.atm-alq-cards:last-child:last-child{margin-bottom:0!important}
.atm-alq-card img:last-child:last-child{margin-bottom:18px}
.atm-generic:last-child:last-child{margin-bottom:0}
.atm-generic h1:last-child:last-child{margin-bottom:24px}
.atm-generic .entry-content>*:last-child:last-child{margin-bottom:1.2em}
.wp-block-post-content):last-child:last-child{margin-bottom:0}
.ah-hero>figure.ah-hero-bg:last-child:last-child,
.ah-why>figure.ah-why-bg:last-child:last-child,
.atm-about>figure.atm-about-bg:last-child:last-child,
.atm-alq-hero>figure.atm-alq-bg:last-child:last-child{margin-bottom:0}
.atm-svc figure:last-child:last-child{margin-bottom:0}
.atm-prods figure:last-child:last-child{margin-bottom:0}
.ah-why-in figure:last-child:last-child{margin-bottom:0}
figure.atm-split-img:last-child:last-child{margin-bottom:0}
.atm-card-img figure.wp-block-image:last-child:last-child{margin-bottom:0}
.wp-block-table:last-child:last-child{margin-bottom:0}
.atm-rev > p:has(> q):last-child:last-child{margin-bottom:20px}
.atm-rev > p:has(> q) > q:last-child:last-child{margin-bottom:0}
.atm-page .atm-cta p.atm-contact:last-child:last-child{margin-bottom:0}
.atm-prices:last-child:last-child{margin-bottom:16px}
.atm-prices>.atm-pbox:last-child:last-child{margin-bottom:0}
.atm-pbox small:last-child:last-child{margin-bottom:4px}
.atm-prices.rows .atm-pbox small:last-child:last-child{margin-bottom:2px}
.atm-prices.rows .atm-pbox span:last-child:last-child{margin-bottom:0}
.atm-choose:last-child:last-child{margin-bottom:0}
.atm-choose>.atm-opt:last-child:last-child{margin-bottom:0}
.atm-opt p.atm-tag:last-child:last-child{margin-bottom:6px}
.atm-page .atm-opt h3:last-child:last-child{margin-bottom:8px}
.atm-steps:last-child:last-child{margin-bottom:0}
.atm-steps>.atm-step:last-child:last-child{margin-bottom:0}
.atm-page .atm-step h4:last-child:last-child{margin-bottom:6px}
.atm-step p:last-child:last-child{margin-bottom:0}
.atm-s-bb37be:last-child:last-child{margin-bottom:0}

/* menú desplegable de Equipamiento clínico */
.atm-nav .wp-block-navigation__submenu-container{background:#fff;border:1px solid #e3e6ea!important;border-radius:10px;box-shadow:0 10px 30px rgba(0,0,0,.14);padding:8px 0!important;min-width:260px}
.atm-nav .wp-block-navigation__submenu-container .wp-block-navigation-item__content{font-size:14.5px;font-weight:600;padding:9px 20px;border-bottom:0;line-height:1.3;white-space:nowrap}
.atm-nav .wp-block-navigation__submenu-container .wp-block-navigation-item__content:hover{background:#e6f4f3;color:#05877F}
.atm-nav .wp-block-navigation__submenu-icon{margin-left:4px}
@media(min-width:861px){
  .atm-nav .wp-block-navigation__submenu-container .wp-block-navigation__submenu-container{left:100%;top:-9px;margin-left:2px}
  .atm-nav .wp-block-navigation__submenu-container .wp-block-navigation__submenu-container .wp-block-navigation-item__content{font-size:14px;font-weight:600;padding:7px 20px}
}

/* puente invisible para que el menú no se cierre al mover el mouse hacia el desplegable */
.atm-nav .wp-block-navigation__submenu-container::before{content:"";position:absolute;left:0;right:0;top:-16px;height:16px}
@media(min-width:861px){
  .atm-nav .wp-block-navigation__submenu-container .wp-block-navigation__submenu-container::before{top:0;bottom:0;left:-14px;right:auto;width:14px;height:auto}
}
/* el header queda por encima del contenido para que el desplegable reciba el mouse */
.atm-header-wrap{position:relative;z-index:100}
/* menú del celular (pantalla completa): lista simple, con sangría */
@media(max-width:860px){
  .atm-nav .is-menu-open .wp-block-navigation__container,
  .atm-nav .is-menu-open .wp-block-navigation__submenu-container{align-items:flex-start!important;text-align:left;width:100%}
  .atm-nav .is-menu-open .wp-block-navigation__submenu-container{position:static!important;background:transparent;border:0!important;box-shadow:none;border-radius:0;min-width:0;height:auto;padding:2px 0 2px 16px!important;gap:2px;opacity:1;visibility:visible;overflow:visible}
  .atm-nav .is-menu-open .wp-block-navigation__submenu-container::before{display:none}
  .atm-nav .is-menu-open .wp-block-navigation__submenu-container .wp-block-navigation-item__content{font-size:16px!important;font-weight:600;padding:6px 0!important;white-space:normal;color:#374F83}
  .atm-nav .is-menu-open .wp-block-navigation__submenu-container .wp-block-navigation-item__content:hover{background:transparent}
  .atm-nav .is-menu-open .wp-block-navigation__submenu-icon{display:none}
}
@media(max-width:860px){
  .atm-nav .is-menu-open .wp-block-navigation-item{align-items:flex-start!important;width:100%}
  .atm-nav .is-menu-open .wp-block-navigation-item.has-child{display:flex;flex-direction:column}
  .atm-nav .is-menu-open .wp-block-navigation-item__content{text-align:left;justify-content:flex-start}
  .atm-nav .is-menu-open .wp-block-navigation__submenu-container>.has-child>.wp-block-navigation-item__content{color:#042161;font-weight:700;margin-top:8px}
}
@media(max-width:860px){.atm-nav .is-menu-open .wp-block-navigation__container{padding:0 22px;box-sizing:border-box}}
