:root {
  --navy: #082d50;
  --deep: #052f3b;
  --teal: #06adc0;
  --yellow: #ffc73a;
  --text: #123048;
  --white: #fff;
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: Arial, Helvetica, sans-serif; color: var(--text); background: #fff; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
img { max-width: 100%; display: block; }
.container { width: min(calc(100% - 48px), var(--container)); margin-inline: auto; }
.skip-link { position: absolute; z-index: 100; left: 12px; top: -100px; background: #fff; padding: 12px; }
.skip-link:focus { top: 12px; }
a:focus-visible, button:focus-visible { outline: 3px solid #f3a900; outline-offset: 4px; }

.site-header { position: relative; z-index: 10; background: #fff; box-shadow: 0 2px 15px #0c284218; }
.header-inner { min-height: 92px; display: flex; align-items: center; gap: 30px; justify-content: space-between; }
.brand { flex: none; }
.brand img { width: 215px; height: auto; }
.primary-nav { display: flex; align-items: center; gap: 25px; font-size: 14px; font-weight: 600; }
.primary-nav > a { padding-block: 12px; white-space: nowrap; color: var(--navy); }
.primary-nav > a.current { color: #008ca5; border-bottom: 2px solid var(--teal); }
.primary-nav > a:hover { color: #008ca5; }
.nav-actions { display: flex; gap: 10px; margin-left: 10px; }

.btn { min-height: 43px; padding: 11px 18px; border-radius: 9px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-weight: 700; font-size: 14px; white-space: nowrap; transition: transform .16s ease, background .16s ease; }
.btn:hover { transform: translateY(-1px); }
.btn-yellow { color: #082d50; background: var(--yellow); }
.btn-yellow:hover { background: #ffb91a; }
.btn-outline-teal { border: 1.5px solid #00a9b9; color: #007d92; }
.btn-outline-light { border: 1.5px solid #32d7e2; color: #fff; background: #002b3590; }

.hero { position: relative; min-height: 540px; isolation: isolate; display: flex; align-items: center; background: #133b42; overflow: hidden; }
.hero-photo { position: absolute; inset: 0; z-index: -2; background-image: url('../assets/images/home/recepcion-psicoval-valdepenas.webp'); background-position: 55% 30%; background-size: cover; background-repeat: no-repeat; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(2,36,47,.95) 0%, rgba(1,42,52,.86) 22%, rgba(1,43,51,.38) 43%, rgba(0,22,27,.02) 65%); }
.hero-inner { padding-block: 68px; }
.hero-content { width: min(100%, 550px); color: white; }
.eyebrow { font-size: 12px; letter-spacing: .24em; font-weight: 800; margin: 0 0 14px; }
.hero h1 { font-size: clamp(34px, 3.5vw, 49px); line-height: 1.13; letter-spacing: -.04em; margin: 0 0 20px; font-weight: 800; }
.hero h1 span { color: #26e0ea; display: block; }
.hero-description { max-width: 500px; font-size: 17px; line-height: 1.52; margin: 0 0 26px; }
.hero-buttons { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-buttons .btn { min-width: 143px; }
.hero-note { font-size: 13px; color: #d5eef1; margin-top: 25px; line-height: 1.5; }
.next-step { background: #fff; padding: 35px 0; text-align: center; color: #536a7b; font-size: 14px; }
.next-step p { margin: 0; }
.anchor-only { height: 0; }
.menu-toggle { display: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}

/* PASO 4 · Servicios: composición compacta, limpia y equilibrada */
.svg-sprite { position:absolute; width:0; height:0; overflow:hidden; }
.services-section { padding: 42px 0 46px; background:#fff; scroll-margin-top:24px; }
.section-heading { max-width:700px; margin:0 auto 25px; text-align:center; }
.section-eyebrow { margin:0 0 7px; font-size:10px; font-weight:800; letter-spacing:.19em; color:#078da0; }
.section-heading h2 { margin:0 0 7px; color:var(--navy); font-size:clamp(27px,2.7vw,33px); line-height:1.2; }
.section-heading > p:last-child { margin:0; font-size:14px; line-height:1.45; color:#536a7b; }
.services-grid { display:grid; grid-template-columns:repeat(12,minmax(0,1fr)); gap:12px; }
.service-card { grid-column:span 3; min-width:0; padding:20px 16px 17px; border:1px solid #e4eef1; border-radius:13px; background:#fff; display:flex; flex-direction:column; align-items:center; text-align:center; transition:box-shadow .18s ease,transform .18s ease; }
.service-card:nth-child(n+5) { grid-column:span 4; }
.service-card:hover { transform:translateY(-2px); box-shadow:0 10px 22px rgba(7,45,65,.07); }
.service-icon { display:grid; place-items:center; width:55px; height:55px; margin-bottom:12px; background:#e7f7f8; color:#058ea3; border-radius:50%; }
.service-icon svg { width:29px; height:29px; fill:none; }
.service-card h3 { margin:0 0 7px; font-size:16px; color:var(--navy); line-height:1.25; }
.service-card p { margin:0 0 10px; color:#536a7b; font-size:12.5px; line-height:1.45; flex:1; }
.service-card a { color:#007f91; font-size:12px; font-weight:700; text-underline-offset:3px; }
.service-card a:hover { text-decoration:underline; }
.services-footer { text-align:center; color:#536a7b; margin:21px 0 0; font-size:13px; line-height:1.5; }
@media (prefers-reduced-motion:reduce) { .service-card { transition:none; } }

/* PASO 5 · Ventajas e instalaciones */
.center-section { padding: 8px 0 62px; background: #fff; scroll-margin-top: 24px; }
.center-layout { display: grid; grid-template-columns: minmax(0, .88fr) minmax(0, 1.32fr); gap: 20px; align-items: stretch; }
.benefits-panel, .gallery-panel { min-width: 0; border-radius: 15px; }
.benefits-panel { padding: 31px 30px; background: #e8f8fa; display: flex; flex-direction: column; align-items: flex-start; }
.benefits-panel h2 { font-size: clamp(24px, 2.3vw, 30px); line-height: 1.18; color: var(--navy); letter-spacing: -.02em; margin: 8px 0 12px; max-width: 370px; }
.benefits-intro { margin: 0; color: #42647a; font-size: 14px; line-height: 1.55; }
.benefits-list { padding: 0; margin: 23px 0 27px; list-style: none; display: grid; gap: 13px; }
.benefits-list li { display: flex; gap: 11px; align-items: center; font-size: 14px; line-height: 1.4; color: #31546b; }
.benefit-check { display: grid; place-items: center; flex: 0 0 23px; width: 23px; height: 23px; color: #fff; border-radius: 50%; font-size: 14px; font-weight: bold; background: #058ea3; }
.benefits-panel > .btn { margin-top: auto; min-width: 155px; }
.gallery-panel { padding: 22px; border: 1px solid #e3edf0; background: #fff; }
.gallery-heading h2 { color: var(--navy); font-size: clamp(23px, 2.2vw, 28px); margin: 0 0 5px; }
.gallery-heading p { margin: 0 0 17px; font-size: 14px; line-height: 1.5; color: #536a7b; }
.gallery-viewer { position: relative; height: 255px; overflow: hidden; border-radius: 10px; background: #e8f4f5; }
.gallery-image-button { display: block; position: absolute; inset: 0; width: 100%; height: 100%; border: 0; padding: 0; background: #f4f9fa; cursor: zoom-in; }
.gallery-image-button img { width: 100%; height: 100%; object-fit: contain; object-position: center; }
.gallery-expand-hint { position: absolute; right: 12px; bottom: 10px; padding: 6px 10px; border-radius: 6px; color: #092f46; background: rgba(255,255,255,.94); font-size: 12px; font-weight: 700; }
.gallery-image-button:focus-visible { outline: 3px solid #f3a900; outline-offset: -4px; }
.gallery-arrow { z-index: 1; }
.photo-lightbox { border: 0; border-radius: 14px; padding: 14px; width: min(96vw, 1400px); max-width: 1400px; max-height: 94vh; color: #123048; background: #fff; box-shadow: 0 18px 70px #0006; }
.photo-lightbox::backdrop { background: rgba(0,16,26,.88); }
.lightbox-bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 2px 5px 11px; font-size: 15px; font-weight: 700; }
.lightbox-close { background: #e9f5f6; border: 0; width: 38px; height: 38px; border-radius: 50%; color: #082d50; font-size: 26px; cursor: pointer; }
.lightbox-body { display: grid; grid-template-columns: 42px minmax(0,1fr) 42px; align-items: center; gap: 8px; }
.lightbox-body img { max-height: calc(94vh - 125px); width: 100%; height: auto; object-fit: contain; margin: auto; }
.lightbox-arrow { border: 0; border-radius: 50%; width: 40px; height: 40px; font-size: 28px; background: #e9f5f6; color: #082d50; cursor: pointer; }
.lightbox-help { font-size: 12px; text-align: center; margin: 12px 0 2px; color: #536a7b; }
@media(max-width:600px) { .photo-lightbox { padding: 9px; width: 98vw; } .lightbox-body { grid-template-columns: 30px minmax(0,1fr) 30px; gap: 3px; } .lightbox-arrow { width: 30px; height: 38px; } .gallery-expand-hint { font-size: 11px; } }
.gallery-arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 36px; height: 36px; border-radius: 50%; border: 1px solid #d0e1e8; color: var(--navy); font-size: 27px; line-height: 1; background: rgba(255,255,255,.94); cursor: pointer; display: grid; place-items: center; }
.gallery-prev { left: 10px; } .gallery-next { right: 10px; }
.gallery-arrow:hover { background: #e8f8fa; }
.gallery-bottom { display: flex; justify-content: space-between; align-items: center; gap: 15px; padding-top: 14px; }
.gallery-dots { display: flex; align-items: center; gap: 8px; }
.gallery-dot { width: 9px; height: 9px; border: 0; border-radius: 50%; padding: 0; cursor: pointer; background: #a9d5dc; }
.gallery-dot.is-active { background: #008ca5; width: 11px; height: 11px; }
.gallery-caption { margin: 0; color: #536a7b; font-size: 12px; text-align: right; }
@media (prefers-reduced-motion: reduce) { .gallery-arrow { scroll-behavior: auto; } }

/* PASO 7 · FAQ y reseñas: contenido real, sin puntuaciones ficticias */
.faq-reviews-section { background:#f7fbfc; padding:52px 0 60px; scroll-margin-top:20px; }
.faq-reviews-layout { display:grid; grid-template-columns:minmax(0,1.35fr) minmax(300px,.85fr); gap:26px; align-items:start; }
.faq-column,.reviews-column { min-width:0; }
.faq-column h2,.reviews-column h2 { color:var(--navy); font-size:clamp(25px,2.5vw,31px); line-height:1.2; margin:6px 0 11px; }
.faq-intro,.reviews-column>p:not(.section-eyebrow) { color:#52697a; font-size:14px; line-height:1.6; margin:0 0 19px; }
.faq-items { background:#fff; border:1px solid #e1ebee; border-radius:14px; overflow:hidden; }
.faq-item + .faq-item { border-top:1px solid #e5eef0; }
.faq-item summary { display:flex; justify-content:space-between; align-items:center; gap:14px; padding:17px 19px; color:var(--navy); font-weight:700; font-size:14px; cursor:pointer; list-style:none; }
.faq-item summary::-webkit-details-marker { display:none; }
.faq-item summary:hover { background:#f8fcfd; }
.faq-item summary:focus-visible { outline:3px solid #f3a900; outline-offset:-3px; }
.faq-plus { position:relative; flex:0 0 24px; width:24px; height:24px; border-radius:50%; background:#e6f6f8; }
.faq-plus::before,.faq-plus::after { content:""; position:absolute; left:7px; right:7px; top:11px; height:2px; background:#008ca5; }
.faq-plus::after { transform:rotate(90deg); transition:transform .2s; }
.faq-item[open] .faq-plus::after { transform:rotate(0deg); }
.faq-item p { padding:0 19px 18px; margin:0; font-size:13.5px; color:#455e70; line-height:1.65; }
.faq-item p a { color:#00849a; text-decoration:underline; }
.reviews-column { border:1px solid #e1ebee; background:#fff; border-radius:15px; padding:27px; }
.reviews-pending { background:#edf8fa; border-radius:12px; padding:19px 21px; }
.reviews-symbol { display:block; font-family:Georgia,serif; font-size:42px; line-height:.8; color:#0695a8; margin-bottom:9px; }
.reviews-pending p { margin:0; color:#294d61; font-size:14px; line-height:1.7; }
.reviews-column .reviews-small { font-size:12px !important; margin:13px 0 0 !important; color:#667c88 !important; }

/* PASO 8 · Ventaja gratuita, ubicacion y cierre HOME */
.benefit-feature { align-items:flex-start; }
.benefit-feature span:last-child { display:block; }
.benefit-feature strong { display:block; font-weight:800; }
.benefit-feature small { display:block; font-size:12px; line-height:1.5; margin-top:3px; font-weight:400; }
.location-section { background:#fff; padding:70px 0; scroll-margin-top:20px; }
.location-layout { display:grid; grid-template-columns:1fr .9fr; gap:46px; align-items:center; }
.location-copy h2 { color:var(--navy); font-size:clamp(30px,3vw,40px); letter-spacing:-.03em; margin:8px 0 15px; }
.location-copy>p:not(.section-eyebrow),.location-address,.location-phones { color:#4c6475; line-height:1.65; font-size:15px; }
.location-address { display:flex; flex-direction:column; margin:23px 0 8px; font-style:normal; }
.location-address strong { color:var(--navy); }
.location-phones { margin:8px 0 22px; font-weight:700; }
.location-phones a:hover,.location-map-card a:hover { text-decoration:underline; }
.location-actions,.final-cta-actions { display:flex; flex-wrap:wrap; gap:12px; }
.location-visual { min-height:310px; border-radius:18px; background:linear-gradient(135deg,#dff4f6,#edf8f9 55%,#c8e9ed); padding:20px; display:grid; place-items:center; }
.location-map-card { width:min(100%,390px); padding:31px 27px; background:white; border:1px solid #d5e8ec; border-radius:14px; box-shadow:0 10px 30px #092a3712; text-align:center; }
.location-pin { display:inline-grid; place-items:center; width:50px; height:50px; border-radius:50%; background:#dff6f8; color:#008b9d; font-size:32px; }
.location-map-title { margin:15px 0 5px; font-size:21px; font-weight:800; color:var(--navy); }
.location-map-card p:not(.location-map-title) { color:#546b78; margin:0 0 20px; }
.location-map-card a { color:#00849a; font-size:14px; font-weight:700; }
.final-cta { background:#063b48; padding:36px 0; color:white; }
.final-cta-inner { display:flex; justify-content:space-between; align-items:center; gap:25px; }
.final-cta h2 { font-size:clamp(23px,2.6vw,30px); margin:0 0 8px; }
.final-cta p { margin:0; color:#d6ebef; }
.site-footer { background:#f5f9fa; color:#325269; padding:43px 0 0; font-size:14px; }
.footer-layout { display:grid; grid-template-columns:1.2fr 1fr 1fr; gap:40px; }
.footer-brand img { width:175px; height:auto; }
.footer-layout strong { color:var(--navy); }
.footer-layout p { line-height:1.65; }
.footer-legal-note { font-size:12px; color:#637988; }
.footer-bottom { border-top:1px solid #dbe7eb; margin-top:29px; padding:16px 0; font-size:12px; }

/* PASO 9 · Barra inferior para contacto rápido. Oculta en escritorio. */
.mobile-quick-actions { display:none; }

/* PASO 10 - Fotografía de fachada en el bloque de ubicación */
.location-visual-photo { position:relative; padding:0; overflow:hidden; min-height:330px; background:#edf5f6; display:block; }
.location-visual-photo > img { width:100%; height:100%; min-height:330px; object-fit:contain; object-position:center; }
.location-photo-link { position:absolute; right:14px; bottom:14px; border-radius:9px; padding:11px 16px; color:#073444; font-size:13px; font-weight:700; background:rgba(255,255,255,.96); box-shadow:0 4px 18px rgba(0,0,0,.12); }
.location-photo-link:hover { background:#fff; text-decoration:underline; }
.gallery-dots { flex-wrap:wrap; row-gap:9px; }

/* PASO 11: tarjetas clínicas sobrias (sin efecto infantil) */
.services-grid { gap:14px; }
.service-card.service-card-refined { text-align:left; align-items:flex-start; padding:22px 20px 19px; border:1px solid #dae7ea; border-left:3px solid #168a95; border-radius:11px; box-shadow:0 3px 14px rgba(4,42,60,.035); }
.service-card-refined .service-icon { width:48px; height:48px; border-radius:9px; margin-bottom:15px; background:#eff7f7; color:#0b596a; }
.service-card-refined .service-icon svg { height:27px;width:27px; stroke-width:1.5; }
.service-card-refined h3 { font-size:17px; margin-bottom:8px; letter-spacing:-.015em; }
.service-card-refined p { font-size:13px; line-height:1.55; margin-bottom:17px; }
.service-card-refined a { display:inline-flex; align-items:center; gap:10px; padding:8px 13px; border:1px solid #0a8b9b; border-radius:7px; color:#065e71; font-size:12.5px; transition:background .16s ease; }
.service-card-refined a:hover { background:#eaf7f8; text-decoration:none; }
.service-card-refined a span { font-size:17px; line-height:1; }
/* Página de servicio: misma identidad, fotografía real */
.service-breadcrumb { padding:22px 0 0; font-size:13px; color:#557080; }
.service-breadcrumb a { color:#006f80; text-decoration:underline; text-underline-offset:3px; }
.service-hero { padding:34px 0 48px; background:linear-gradient(180deg,#f1f9fa,#fff); }
.service-hero-grid { display:grid; grid-template-columns:1fr 1.06fr; align-items:center; gap:46px; }
.service-kicker { color:#087b8d; font-size:12px; font-weight:800; letter-spacing:.17em; }
.service-hero h1 { font-size:clamp(33px,3.2vw,48px); line-height:1.13; letter-spacing:-.035em; margin:15px 0 18px; color:#082d50; }
.service-hero p { line-height:1.65; color:#385366; font-size:17px; max-width:520px; }
.service-hero-image { display:block; margin:0; border-radius:16px; overflow:hidden; box-shadow:0 14px 33px rgba(7,45,65,.12); }
.service-hero-image img { width:100%; aspect-ratio:4/3; object-fit:cover; object-position:center; }
.service-hero-image figcaption { padding:9px 14px; font-size:12px; color:#536a7b; background:#fff; }
.service-cta { display:flex; flex-wrap:wrap; gap:12px; margin-top:24px; }
.service-content { padding:44px 0 66px; }
.service-info-grid { display:grid; grid-template-columns:1fr 1fr; gap:24px; }
.service-info-box { padding:27px; border:1px solid #dce9ed; border-radius:12px; background:#fff; }
.service-info-box h2 { font-size:23px; color:#082d50; margin:0 0 13px; }
.service-info-box p,.service-info-box li { color:#425e70; line-height:1.7; font-size:15px; }
.service-info-box ul { padding-left:22px; }
.service-info-box-highlight { background:#edf9fa; border-color:#d8eff1; }
.service-bottom-cta { background:#073b48; padding:34px 0; color:#fff; }
.service-bottom-cta .container { display:flex; justify-content:space-between; align-items:center; gap:24px; }
.service-bottom-cta h2 { margin:0 0 7px; font-size:24px; }
.service-bottom-cta p { margin:0; color:#d6edef; }
@media(max-width:820px) { .service-hero-grid,.service-info-grid { grid-template-columns:1fr; gap:22px; } .service-hero { padding-top:25px; } .service-bottom-cta .container { flex-direction:column; align-items:flex-start; } }
@media(max-width:560px) { .service-card.service-card-refined { padding:17px; } .service-hero-image img { aspect-ratio:4/3; } .service-hero h1 { font-size:34px; } .service-info-box { padding:21px; } }

/* PASO 1 — Cabecera, propuesta 1: horario en dos líneas y móvil junto al menú. */
.top-info-bar{background:#073d48;color:#fff}
.top-info-inner{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;padding-block:12px;text-align:center}
.top-info-title{display:flex;align-items:center;justify-content:center;gap:8px;font-size:14px;font-weight:700;letter-spacing:.01em}
.top-info-title svg{color:#65e1dd;flex:none}
.top-info-schedule{display:flex;justify-content:center;align-items:center;flex-wrap:wrap;gap:4px 9px;margin:0;font-size:12.5px;line-height:1.5;font-weight:400}
.top-info-schedule strong{font-weight:700;color:#fff}
.hours-divider{color:#78d6d5}
.header-phone{display:inline-flex;align-items:center;gap:7px;color:#082d50;font-size:14px;font-weight:700;white-space:nowrap;padding:9px 0}
.header-phone svg{color:#087f93;flex:none}
.header-phone:hover{color:#008ca5}
@media(max-width:820px){.top-info-inner{gap:5px;padding-block:9px}.top-info-title{font-size:13px}.top-info-schedule{font-size:11px;gap:2px 7px}.header-phone{padding:12px 0}}
@media(max-width:440px){.top-info-schedule .hours-divider{display:none}.top-info-schedule span:not(.hours-divider){display:block;width:100%}.top-info-inner{padding-block:10px}}

/* PASO 2 — Menú desplegable de servicios, escritorio y móvil */
.services-nav-item{position:relative;display:flex;align-items:center}
.services-nav-trigger{display:inline-flex;align-items:center;gap:5px;padding:12px 0;border:0;background:transparent;color:var(--navy);font:inherit;font-weight:600;cursor:pointer;white-space:nowrap}
.services-nav-trigger:hover,.services-nav-trigger[aria-expanded="true"]{color:#008ca5}
.services-nav-trigger svg{transition:transform .18s ease}
.services-nav-trigger[aria-expanded="true"] svg{transform:rotate(180deg)}
.services-submenu{display:none;position:absolute;top:calc(100% - 1px);left:-15px;z-index:40;min-width:245px;padding:8px;background:#fff;border:1px solid #dce9eb;border-radius:12px;box-shadow:0 14px 30px rgba(4,37,50,.16)}
.services-nav-item.is-open .services-submenu{display:flex;flex-direction:column}
.services-submenu a{display:block;padding:11px 12px;border-radius:7px;color:#153c50;font-size:14px;font-weight:500;line-height:1.3}
.services-submenu a:hover,.services-submenu a:focus-visible{background:#eaf7f8;color:#087b91}
.service-card[id]{scroll-margin-top:24px}
@media(min-width:821px){.services-nav-item:hover .services-submenu,.services-nav-item:focus-within .services-submenu{display:flex;flex-direction:column}}
@media(max-width:820px){.services-nav-item{display:block;width:100%}.services-nav-trigger{width:100%;justify-content:space-between;padding:12px 7px;font-size:15px}.services-submenu{position:static;min-width:0;width:100%;border:0;border-left:2px solid #c5e8eb;border-radius:0;box-shadow:none;background:#f4fafb;margin-left:7px;padding:5px 10px}.services-submenu a{padding:11px;font-size:14px}}
@media(prefers-reduced-motion:reduce){.services-nav-trigger svg{transition:none}}

/* HOME: tarjetas de servicios aprobadas - iconos lineales sin fondos infantiles */
.services-section .section-heading{margin-bottom:34px}
.services-section .service-card.service-card-refined{padding:21px 22px 20px;border:1px solid #d9e5e9;border-radius:13px;border-left:1px solid #d9e5e9;box-shadow:none;text-align:left;align-items:flex-start;min-height:180px}
.services-section .service-card.service-card-refined:hover{box-shadow:0 9px 24px rgba(5,45,61,.08);border-color:#a9d7dc}
.services-section .service-card-refined .service-icon{background:none;color:#087c89;width:43px;height:43px;margin-bottom:8px;border-radius:0}
.services-section .service-card-refined .service-icon svg{width:39px;height:39px;stroke-width:1.55}
.services-section .service-card-refined h3{font-size:17px;margin-bottom:7px}
.services-section .service-card-refined p{font-size:13px;line-height:1.4;margin-bottom:12px}
.services-section .service-card-refined a{display:inline-flex;gap:7px;border:0;border-radius:0;padding:0;color:#007f91;font-size:13px;background:transparent}
.services-section .service-card-refined a:hover{background:transparent;text-decoration:underline;text-underline-offset:4px}
.services-section .service-card-refined a span{font-size:21px;line-height:14px}
/* Carnet: canje y enlaces rápidos */
.carnet-page .carnet-service-links{display:flex;gap:10px;flex-wrap:wrap;align-items:center;margin:15px 0 0;font-size:14px}
.carnet-page .carnet-service-links a{color:#076d80;text-decoration:underline;text-underline-offset:3px;font-weight:700}
.carnet-page .canje-card{background:#f0faf9;border-color:#cce7e5}
.carnet-page .canje-card .canje-note{font-size:13px;color:#58707b;margin-top:13px}
.carnet-page #canje-permisos,.carnet-page #documentacion-carnet{scroll-margin-top:28px}
@media(max-width:600px){.services-section .service-card.service-card-refined{min-height:0;padding:18px}}

/* REVISION DISEÑO HOME APROBADO · 2026-11-09 */
.services-section{padding:47px 0 45px;background:#fff;}
.services-section .section-heading{margin-bottom:30px}
.services-section .service-card.service-card-refined{display:flex;flex-direction:column;align-items:flex-start;text-align:left;min-height:181px;padding:20px 23px 19px;background:#fff;border:1px solid #dae6e9;border-radius:13px;box-shadow:none;transition:box-shadow .2s ease,border-color .2s ease,transform .2s ease}
.services-section .service-card.service-card-refined:hover{border-color:#9ccfd4;box-shadow:0 9px 25px rgba(6,61,75,.07);transform:translateY(-2px)}
.services-section .service-card-refined .service-icon{width:39px;height:39px;margin:0 0 9px;background:transparent;border:none;border-radius:0;color:#087f8c;display:flex;align-items:center;justify-content:flex-start}
.services-section .service-card-refined .service-icon svg{width:36px;height:36px;stroke-width:1.45}
.services-section .service-card-refined h3{font-size:17px;font-weight:750;line-height:1.2;color:#082d50;margin:0 0 7px}
.services-section .service-card-refined p{margin:0 0 12px;min-height:18px;font-size:13px;line-height:1.45;color:#536a7b}
.services-section .service-card-refined .service-visit-link{display:inline-flex;align-items:center;gap:5px;margin-top:auto;padding:2px 0;color:#008899;font-weight:750;font-size:13px;background:transparent;border:none;border-radius:0}
.services-section .service-card-refined .service-visit-link:hover{text-decoration:underline;text-underline-offset:3px}
.services-section .service-card-refined .service-visit-link span{font-size:20px;line-height:12px}
@media(max-width:600px){.services-section .service-card.service-card-refined{padding:18px;min-height:0}}

/* PSICOVAL | SERVICIOS HOME | DISEÑO APROBADO (REPRODUCCIÓN DEL MODELO) */
.services-section{background:#fff;padding:50px 0 54px}
.services-section .section-heading{max-width:1000px;margin:0 auto 36px}
.services-section .section-eyebrow{font-size:13px;font-weight:750;letter-spacing:.3em;color:#078fa1;margin-bottom:12px}
.services-section .section-heading h2{font-size:clamp(29px,3.2vw,39px);font-weight:800;letter-spacing:-.025em;line-height:1.16;color:#0a2354;margin-bottom:10px}
.services-section .section-heading>p:last-child{font-size:16px;line-height:1.5;color:#52657d}
.services-section .services-grid{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:20px}
.services-section .service-card.service-card-refined{grid-column:span 3;display:flex;flex-direction:column;align-items:flex-start;text-align:left;background:#fff;border:1.5px solid #d4e3e8;border-radius:13px;padding:20px 22px 19px;min-height:186px;box-shadow:0 1px 1px rgba(5,50,66,.02);transition:box-shadow .18s,border-color .18s,transform .18s}
.services-section .service-card.service-card-refined:nth-child(n+5){grid-column:span 4}
.services-section .service-card.service-card-refined:hover{transform:translateY(-2px);border-color:#9ecbd4;box-shadow:0 8px 24px rgba(6,54,69,.08)}
.services-section .service-card-refined .service-icon{width:54px;height:54px;display:flex;align-items:center;justify-content:flex-start;color:#007c8b;background:transparent;border:none;border-radius:0;margin:0 0 6px}
.services-section .service-card-refined .service-icon svg{width:51px;height:51px;stroke-width:1.5;fill:none}
.services-section .service-card-refined h3{font-size:20px;font-weight:800;letter-spacing:-.025em;color:#091d4a;margin:0 0 7px;line-height:1.16}
.services-section .service-card-refined p{font-size:15px;color:#475b72;line-height:1.43;margin:0 0 13px;min-height:auto;flex:0 0 auto}
.services-section .service-card-refined .service-visit-link{margin-top:auto;display:inline-flex;gap:8px;align-items:center;border:0;padding:0;background:none;color:#008397;font-size:16px;font-weight:750;line-height:1.35;text-decoration:none}
.services-section .service-card-refined .service-visit-link span{font-size:24px;line-height:1;transform:translateY(-1px)}
.services-section .service-card-refined .service-visit-link:hover{text-decoration:underline;text-underline-offset:4px}
@media(max-width:1000px){.services-section .services-grid{gap:14px}.services-section .service-card.service-card-refined{grid-column:span 6;padding:20px;min-height:186px}.services-section .service-card.service-card-refined:nth-child(n+5){grid-column:span 6}.services-section .service-card.service-card-refined:last-child{grid-column:span 12}}
@media(max-width:620px){.services-section{padding:38px 0 42px}.services-section .section-heading{margin-bottom:25px}.services-section .section-heading h2{font-size:28px}.services-section .section-heading>p:last-child{font-size:14px}.services-section .services-grid{gap:11px}.services-section .service-card.service-card-refined,.services-section .service-card.service-card-refined:nth-child(n+5){grid-column:span 6;padding:16px 13px;min-height:182px}.services-section .service-card.service-card-refined:last-child{grid-column:span 12}.services-section .service-card-refined .service-icon{height:42px;width:42px;margin-bottom:7px}.services-section .service-card-refined .service-icon svg{width:40px;height:40px}.services-section .service-card-refined h3{font-size:16px}.services-section .service-card-refined p{font-size:12px}.services-section .service-card-refined .service-visit-link{font-size:13px}}
@media(max-width:380px){.services-section .service-card.service-card-refined,.services-section .service-card.service-card-refined:nth-child(n+5),.services-section .service-card.service-card-refined:last-child{grid-column:span 12;min-height:160px}}

/* ICONOS ORIGINALES DE PSICOVAL — capturas aprobadas, sin redibujar ni retocar */
.services-section .service-card-refined .service-icon {display:flex;justify-content:flex-start;align-items:center;width:100px;height:65px;max-width:100%;margin:0 0 8px;padding:0;background:transparent;border:0;border-radius:0;}
.services-section .service-card-refined .service-icon img {display:block;width:auto;height:auto;max-height:65px;max-width:100px;object-fit:contain;object-position:left center;}
@media(max-width:620px){.services-section .service-card-refined .service-icon{width:84px;height:57px;margin-bottom:6px}.services-section .service-card-refined .service-icon img{max-height:57px;max-width:84px;}}

/* CARRUSEL DE RESEÑAS: funciona sin registro, servicios externos ni conexión */
.reviews-carousel-controls{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:14px 0 9px}
.reviews-carousel-counter{font-size:12px;color:#566e7a;font-weight:700}
.reviews-carousel-buttons{display:flex;gap:9px}
.reviews-arrow{cursor:pointer;appearance:none;border:1px solid #b8d8df;border-radius:50%;background:white;color:#007e8d;width:39px;height:39px;display:flex;align-items:center;justify-content:center;font-size:20px;transition:background .18s,transform .18s}
.reviews-arrow:hover,.reviews-arrow:focus-visible{background:#e6f7f8;outline-offset:3px}
.reviews-arrow:disabled{opacity:.35;cursor:default}
.reviews-column .review-cards{display:flex;gap:14px;overflow-x:auto;scroll-snap-type:x mandatory;overscroll-behavior-x:contain;scrollbar-width:none;-webkit-overflow-scrolling:touch;padding:2px 1px 7px}
.reviews-column .review-cards::-webkit-scrollbar{display:none}
.reviews-column .review-card{flex:0 0 100%;box-sizing:border-box;scroll-snap-align:start;min-height:155px;display:flex;flex-direction:column;justify-content:space-between}
.reviews-column .review-card blockquote{margin-bottom:16px}
@media(prefers-reduced-motion:reduce){.reviews-column .review-cards{scroll-behavior:auto}}

/* Opiniones transcritas literalmente de la captura facilitada */
.reviews-exact-intro{font-size:14px;line-height:1.55;color:#456376;margin:10px 0}
.reviews-column .review-card{background:#eaf7f9;border-radius:12px;padding:22px 20px;justify-content:flex-start;gap:12px}
.reviews-column .review-card .review-literal-head{display:flex;flex-wrap:wrap;align-items:center;gap:6px 12px}
.reviews-column .review-card .review-literal-head strong{font-size:15px;color:#082d50;flex:1 1 100%}
.reviews-column .review-card .review-literal-stars{color:#d29a05;letter-spacing:1px}
.reviews-column .review-card .review-literal-head small{font-size:12px;color:#466273}
.reviews-column .review-card blockquote{font-size:15px;line-height:1.65;margin:4px 0 8px;color:#193c50;overflow-wrap:anywhere}
.reviews-column .review-card figcaption{font-size:12px;color:#587080;margin-top:auto}

/* Revisión final: legibilidad del contacto en páginas interiores */
.footer-contact-email{font-size:14px;text-align:center;margin:8px auto 18px}.footer-contact-email a{color:inherit;text-decoration:underline;text-underline-offset:3px;overflow-wrap:anywhere}

/* Distribución final: portada compacta + tres páginas independientes */
.home-benefits-section{padding:32px 0 30px;background:#fff}
.home-benefits-layout{max-width:1100px;margin-inline:auto}
.home-benefits-section .benefits-panel{max-width:100%;padding:32px 38px}
.home-benefits-section .benefits-panel h2{max-width:720px}
.home-reviews-section{padding:35px 0 64px;background:linear-gradient(180deg,#fff 0%,#f5fafb 100%)}
.home-reviews-layout{max-width:1100px;margin-inline:auto}
.home-reviews-section .reviews-column{min-width:0;width:100%;max-width:none}
.home-reviews-section .review-cards{width:100%}
.inner-page-intro{background:linear-gradient(110deg,#e8f8fa,#f7fbfc);padding:48px 0 35px}
.inner-page-intro h1{font-size:clamp(32px,4vw,46px);line-height:1.13;color:#062e50;margin:10px 0 0}
.center-detail-section,.faq-detail-section,.contact-detail-section{padding:40px 0 75px}
.center-detail-layout{display:grid;grid-template-columns:minmax(260px,.75fr) minmax(0,1.25fr);gap:28px;align-items:start}
.center-detail-copy{padding:30px;background:#e8f8fa;border-radius:17px}
.center-detail-copy h2{font-size:clamp(24px,3vw,34px);color:#063357;margin:9px 0 17px;line-height:1.2}
.center-detail-copy p:not(.section-eyebrow){line-height:1.7;margin:0 0 16px;color:#355b70}
.center-detail-copy .btn{margin-top:8px}
.center-detail-section .gallery-panel{min-width:0}
.faq-detail-layout{max-width:920px;margin-inline:auto}
.faq-detail-layout .faq-column{width:100%;max-width:none}
.faq-detail-layout .faq-items{max-width:none}
.contact-detail-layout{display:grid;grid-template-columns:1fr 1fr;gap:30px;align-items:start}
.contact-detail-layout .location-copy{padding:0}
.contact-detail-layout .location-visual{min-width:0}
.contact-hours{margin-top:24px;padding:20px;background:#edf8fa;border-radius:14px}
.contact-hours h2{font-size:20px;margin:0 0 12px;color:#063357}
.contact-hours p{margin:6px 0;line-height:1.5}
@media(max-width:850px){.center-detail-layout,.contact-detail-layout{grid-template-columns:1fr}.home-benefits-section .benefits-panel{padding:27px}}
@media(max-width:580px){.inner-page-intro{padding:32px 0 26px}.center-detail-section,.faq-detail-section,.contact-detail-section{padding:24px 0 52px}.home-benefits-section{padding:24px 0}.home-reviews-section{padding:27px 0 45px}}

/* INICIO: Rediseño exclusivo del bloque de reseñas HOME, 12-11-2026 */
.home-reviews-section {background:linear-gradient(180deg,#ffffff 0%,#f6fbfc 100%);padding:64px 0 76px;}
.home-reviews-section .home-reviews-layout {max-width:1120px;}
.home-reviews-section .reviews-column {display:grid;grid-template-columns:minmax(245px,.77fr) minmax(0,1.28fr);align-items:center;gap:48px;background:transparent;border:0;border-radius:0;padding:0;box-shadow:none;}
.home-reviews-section .reviews-showcase-intro {padding:20px 0;min-width:0;}
.home-reviews-section .reviews-showcase-intro h2 {font-size:clamp(30px,3.8vw,45px);line-height:1.12;letter-spacing:-.025em;margin:11px 0 24px;}
.home-reviews-section .reviews-showcase-stars {font-size:clamp(32px,3.5vw,43px);color:#f5ad08;letter-spacing:4px;line-height:1.15;margin-bottom:12px;white-space:nowrap;text-shadow:0 1px 0 #e7a21926;}
.home-reviews-section .reviews-showcase-subtitle {color:#435f70;font-size:16px;line-height:1.6;margin:0 0 26px;max-width:310px;}
.home-reviews-section .reviews-showcase-intro .review-google-link {display:inline-flex;align-items:center;gap:8px;text-decoration:none;font-size:14px;font-weight:700;color:#008e9e;border-bottom:1px solid #8bcdd5;padding:0 0 5px;}
.home-reviews-section .reviews-showcase-content {min-width:0;}
.home-reviews-section .reviews-showcase-frame {position:relative;min-height:302px;background:#fff;border:1px solid #dcebf0;border-radius:28px;box-shadow:0 14px 36px rgba(10,64,81,.10);padding:43px 44px 28px;overflow:hidden;}
.home-reviews-section .reviews-showcase-quote {position:absolute;left:27px;top:9px;font-family:Georgia,serif;font-size:86px;line-height:1;color:#33a8ac;opacity:.42;pointer-events:none;}
.home-reviews-section .review-cards {display:flex;width:100%;gap:0;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;padding:0;align-items:stretch;}
.home-reviews-section .review-cards::-webkit-scrollbar {display:none;}
.home-reviews-section .review-card {background:transparent;border:0;box-shadow:none;border-radius:0;padding:15px 0 0;min-height:225px;flex:0 0 100%;scroll-snap-align:start;justify-content:flex-start;gap:12px;text-align:left;}
.home-reviews-section .review-card .review-literal-head {display:flex;flex-wrap:wrap;align-items:center;gap:9px 13px;}
.home-reviews-section .review-card .review-literal-head strong {order:3;flex-basis:100%;font-size:15px;color:#0b3556;}
.home-reviews-section .review-card .review-literal-stars,
.home-reviews-section .review-card .review-stars {order:1;display:inline-block;color:#f5ad08;font-size:27px;letter-spacing:3px;line-height:1.2;white-space:nowrap;}
.home-reviews-section .review-card .review-literal-head small {order:2;font-size:12px;color:#637f8e;}
.home-reviews-section .review-card blockquote {font-size:clamp(16px,1.35vw,19px);line-height:1.65;font-style:normal;color:#153c56;margin:4px 0 15px;overflow-wrap:anywhere;}
.home-reviews-section .review-card figcaption {font-size:12px;color:#6b8490;margin-top:auto;}
.home-reviews-section .reviews-carousel-controls {display:flex;justify-content:space-between;align-items:center;margin:17px 8px 0;gap:20px;}
.home-reviews-section .reviews-carousel-counter {font-size:13px;letter-spacing:.025em;color:#567180;}
.home-reviews-section .reviews-carousel-buttons {gap:12px;}
.home-reviews-section .reviews-arrow {width:47px;height:47px;border-radius:50%;background:#e5f5f6;border:0;color:#006b7b;font-size:26px;box-shadow:none;}
.home-reviews-section .reviews-arrow:hover:not(:disabled),.home-reviews-section .reviews-arrow:focus-visible {background:#bce8ea;}
@media (max-width:800px) {
 .home-reviews-section {padding:38px 0 55px;}
 .home-reviews-section .reviews-column {grid-template-columns:minmax(0,1fr);gap:20px;}
 .home-reviews-section .reviews-showcase-intro {padding:0;}
 .home-reviews-section .reviews-showcase-intro h2 {margin-bottom:12px;font-size:32px;}
 .home-reviews-section .reviews-showcase-subtitle {margin-bottom:12px;max-width:none;}
 .home-reviews-section .reviews-showcase-stars {font-size:32px;}
 .home-reviews-section .reviews-showcase-frame {padding:35px 25px 22px;min-height:278px;border-radius:22px;}
 .home-reviews-section .reviews-showcase-quote {top:7px;left:15px;font-size:74px;}
 .home-reviews-section .review-card {min-height:210px;}
}
@media (max-width:480px) {
 .home-reviews-section .reviews-showcase-frame {padding:27px 19px 20px;}
 .home-reviews-section .review-card .review-literal-stars,.home-reviews-section .review-card .review-stars {font-size:22px;letter-spacing:1.5px;}
 .home-reviews-section .review-card blockquote {font-size:15px;}
}
/* FIN: Rediseño exclusivo del bloque de reseñas HOME */

/* Mapa final de HOME: no altera secciones anteriores */
.home-location-map{padding:60px 0 76px;background:#fff}
.home-location-map-heading{display:flex;justify-content:space-between;align-items:end;gap:24px;margin-bottom:22px}
.home-location-map-heading h2{font-size:clamp(28px,3.2vw,38px);line-height:1.15;margin:5px 0 10px;color:#123b53}
.home-location-map-heading p{margin:0;color:#466070}
.home-map-eyebrow{font-size:12px;font-weight:800;letter-spacing:.12em;color:#078a9b!important}
.home-location-map-frame{overflow:hidden;min-height:340px;border:1px solid #dae9ed;border-radius:20px;box-shadow:0 8px 25px rgba(8,54,71,.08)}
.home-location-map-frame iframe{display:block;width:100%;height:370px;border:0}
@media(max-width:680px){.home-location-map{padding:38px 0 48px}.home-location-map-heading{align-items:start;flex-direction:column;gap:16px}.home-location-map-frame iframe{height:320px}}

/* Páginas legales de PsicoVal; estilos aislados */
.legal-page{padding:44px 0 75px;background:#f9fcfd}.legal-container{max-width:890px;margin:0 auto;padding:0 22px}.legal-intro{margin-bottom:25px}.legal-eyebrow{color:#078597;letter-spacing:.12em;font-size:12px;font-weight:800}.legal-intro h1{font-size:clamp(30px,4vw,43px);color:#0d3450;margin:8px 0 10px}.legal-intro>p:last-child{color:#496a77;font-size:17px;line-height:1.6}.legal-article{border:1px solid #deeaed;border-radius:18px;background:#fff;padding:28px 34px;box-shadow:0 8px 26px rgba(7,61,78,.035)}.legal-article section+section{margin-top:26px;border-top:1px solid #e5eef0;padding-top:20px}.legal-article h2{font-size:21px;color:#0d3d58;margin:0 0 10px}.legal-article p,.legal-article dd{color:#354d5b;line-height:1.75}.legal-article a{color:#007f95;text-decoration:underline}.legal-data{display:grid;grid-template-columns:minmax(165px,1fr) 2fr;gap:10px 20px}.legal-data dt{font-weight:750;color:#163e51}.legal-data dd{margin:0}.legal-warning{background:#fff8e9;border:1px solid #eacb88;border-radius:12px;padding:15px 20px;margin:0 0 20px;line-height:1.5;color:#624915}.legal-nav{display:flex;flex-wrap:wrap;gap:11px;margin-top:22px}.legal-nav a{padding:10px 14px;border:1px solid #d5e7eb;border-radius:9px;color:#12647a;text-decoration:none;font-weight:700}.footer-legal-links{display:flex;flex-wrap:wrap;gap:9px 16px;margin:10px 0 0;font-size:13px}.footer-legal-links a{color:inherit;text-decoration:underline;text-underline-offset:3px}@media(max-width:650px){.legal-article{padding:20px}.legal-data{display:block}.legal-data dt{margin-top:12px}.legal-data dd{margin-top:4px}}

/* Consentimiento por acción para mapa de Google; mismo espacio del iframe anterior. */
.home-location-map-frame{min-height:300px}
.map-privacy-preview{box-sizing:border-box;min-height:300px;height:100%;padding:32px 20px;text-align:center;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;background:#eff8fa;color:#173949}
.map-privacy-preview strong{font-size:1.3rem}
.map-privacy-preview p{margin:0;max-width:580px}
.map-privacy-preview .map-privacy-text{font-size:.89rem;color:#48616a}
.map-load-button{appearance:none;background:#007f90;color:white;font:inherit;font-weight:700;border:0;border-radius:9px;padding:13px 24px;cursor:pointer;margin-top:9px}
.map-load-button:hover,.map-load-button:focus-visible{background:#056777}

/* Enlaces a redes sociales, discretos y consistentes en todas las páginas */
.site-footer .footer-social{display:flex;align-items:center;justify-content:center;gap:12px;max-width:100%;margin:8px auto 18px;padding:0 18px}
.site-footer .footer-social a{display:inline-flex;align-items:center;justify-content:center;width:38px;height:38px;border:1px solid rgba(255,255,255,.25);border-radius:50%;color:inherit;text-decoration:none;transition:color .18s ease,border-color .18s ease,background-color .18s ease;flex:0 0 auto}
.site-footer .footer-social a:hover,.site-footer .footer-social a:focus-visible{color:#27bec0;border-color:#27bec0;background:rgba(39,190,192,.10)}
.site-footer .footer-social a:focus-visible{outline:2px solid #27bec0;outline-offset:3px}
.site-footer .footer-social svg{display:block}

/* Redes sociales inmediatamente bajo los avisos legales en el pie. */
.site-footer .footer-social{justify-content:flex-start;gap:14px;margin:17px 0 0;padding:0;}
.site-footer .footer-social a{width:46px;height:46px;border-color:rgba(255,255,255,.34);}
.site-footer .footer-social svg{width:28px;height:28px;}
@media(max-width:560px){.site-footer .footer-social{justify-content:flex-start;margin-top:14px;}}

/* Mapa HOME: ilustración local, sin conexión externa hasta activar Google Maps */
.home-location-map-frame .map-privacy-preview--visual{min-height:370px;height:370px;position:relative;isolation:isolate;padding:20px;overflow:hidden;background:#eaf2ee}
.map-preview-illustration{position:absolute;inset:0;background:url('../assets/images/home/mapa-vista-previa-ilustrativa.svg') center/cover no-repeat;opacity:1;z-index:-1}
.map-preview-overlay{background:rgba(255,255,255,.95);border:1px solid rgba(18,79,91,.12);box-shadow:0 10px 35px rgba(0,57,75,.15);border-radius:20px;padding:20px 28px;display:flex;align-items:center;flex-direction:column;gap:8px;max-width:520px;width:calc(100% - 20px)}
.map-preview-overlay strong{color:#103b53;font-size:1.35rem}
.map-preview-overlay p{font-size:.94rem;line-height:1.5;color:#34586a}
.map-preview-pin{height:44px;width:44px;display:flex;align-items:center;justify-content:center;border-radius:50%;background:#d9f3f2;color:#007d8e}
.map-preview-overlay small{font-size:.77rem;color:#536d78;text-align:center;margin-top:2px}
.map-preview-disclaimer{position:absolute;right:12px;bottom:10px;font-size:.68rem;background:rgba(255,255,255,.92);border-radius:5px;padding:5px 8px;color:#45616d}
.home-location-map-frame .map-load-button{margin-top:5px}
@media(max-width:600px){.home-location-map-frame .map-privacy-preview--visual{height:330px;min-height:330px;padding:12px}.map-preview-overlay{padding:16px 12px}.map-preview-overlay strong{font-size:1.12rem}.map-preview-disclaimer{font-size:.6rem;left:10px;right:10px;text-align:center}}


/* Ajuste aprobado: siete tarjetas de servicios iguales; fila de 3 centrada.
   Solo escritorio: se conservan las distribuciones adaptables de tablet y móvil. */
@media (min-width: 1001px) {
  .services-section .services-grid {
    grid-template-columns: repeat(8, minmax(0, 1fr));
  }
  .services-section .services-grid > .service-card.service-card-refined,
  .services-section .services-grid > .service-card.service-card-refined:nth-child(n+5),
  .services-section .services-grid > .service-card.service-card-refined:last-child {
    grid-column: span 2;
  }
  .services-section .services-grid > .service-card.service-card-refined:nth-child(5) {
    grid-column: 2 / span 2;
  }
  .services-section .services-grid > .service-card.service-card-refined:nth-child(6) {
    grid-column: 4 / span 2;
  }
  .services-section .services-grid > .service-card.service-card-refined:nth-child(7) {
    grid-column: 6 / span 2;
  }
}
