.doctor-photo-bg{background-image:url('../img/consultorio-fondo-doctor-20261127.png')!important;background-size:cover!important;background-position:center!important}
.doctor-biography{max-width:1150px;margin:auto;background:#fff;color:#153550}.doctor-biography h2,.doctor-documents h2,.location-map h2,.doctor-blog h2{font:500 clamp(42px,4.2vw,68px)/1.08 'Playfair Display',Georgia,serif}.doctor-biography p{font:400 18px/1.8 'DM Sans',Arial,sans-serif;max-width:80ch}.doctor-documents{background:#edf4fa;color:#153550}.doctor-documents-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:25px;margin-top:35px}.doctor-documents-grid a{display:block;color:#153550}.doctor-documents-grid img{width:100%;height:280px;object-fit:contain;background:white;border-radius:14px}.doctor-documents-grid span{display:block;margin-top:10px;text-decoration:underline}.location-map iframe{width:100%;height:440px;border:0;border-radius:20px;margin:25px 0}.location-map a,.footer-email a{overflow-wrap:anywhere}.footer-email{font:400 13px/1.7 'DM Sans',Arial,sans-serif;margin-bottom:25px}.doctor-blog-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:35px}.doctor-blog-grid article img{width:100%;aspect-ratio:16/10;object-fit:cover;border-radius:18px}.doctor-blog-grid h3{margin-top:20px}.doctor-blog-grid a{text-decoration:underline}.doctor-card-content p{overflow-wrap:break-word}.doctor-card{min-height:300px}.doctor-card-4{min-height:310px}@media(max-width:700px){.doctor-documents-grid,.doctor-blog-grid{grid-template-columns:1fr}.doctor-biography p{font-size:16px}.location-map iframe{height:330px}.doctor-documents-grid img{height:auto;max-height:500px}}
/* Document gallery: explicit spacing avoids legacy .section collisions. */
section.doctor-documents{padding:90px 6vw!important;background:#edf4fa;color:#153550}
.doctor-documents-inner{width:min(1240px,100%);margin:0 auto}
.doctor-documents-heading{max-width:800px;margin:0 0 42px}
.doctor-documents-heading h2{margin:0 0 22px;font-size:clamp(40px,4vw,64px);line-height:1.1;letter-spacing:-.025em}
.doctor-documents-heading>p{font:400 17px/1.75 'DM Sans',Arial,sans-serif;color:#425b70;margin:0;max-width:65ch}
.doctor-documents-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:28px;margin:0;align-items:stretch}
.doctor-documents-grid a.doctor-document-card{display:flex;flex-direction:column;background:#fff;border:1px solid #dae4ed;border-radius:18px;overflow:hidden;color:#153550;text-decoration:none;min-width:0;transition:box-shadow .2s ease,transform .2s ease}
.doctor-document-preview{height:270px;padding:24px;background:#f9fbfc;border-bottom:1px solid #e4ebf1;display:flex;align-items:center;justify-content:center}
.doctor-documents-grid .doctor-document-preview img{width:100%;height:100%;max-height:100%;object-fit:contain;border-radius:0;background:transparent}
.doctor-document-caption{padding:23px 24px 25px;display:flex;flex-direction:column;flex:1}
.doctor-document-caption h3{font:600 17px/1.5 'DM Sans',Arial,sans-serif;margin:0 0 18px;letter-spacing:0}
.doctor-documents-grid .doctor-document-caption span{display:flex;align-items:center;gap:12px;font:600 12px/1.6 'DM Sans',Arial,sans-serif;text-decoration:none;color:#245d86;margin:auto 0 0}
.doctor-document-caption svg{width:18px;height:18px;flex:none}
.doctor-document-card:focus-visible{outline:3px solid #b38e43;outline-offset:5px}
@media(hover:hover){.doctor-document-card:hover{transform:translateY(-4px);box-shadow:0 12px 25px rgba(12,43,68,.09)}}
@media(max-width:1000px){.doctor-documents-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:620px){section.doctor-documents{padding:55px 7%!important}.doctor-documents-grid{grid-template-columns:1fr;gap:22px}.doctor-documents-heading{margin-bottom:30px}.doctor-document-preview{height:290px;padding:22px}.doctor-document-caption{padding:20px}.doctor-documents-heading>p{font-size:16px}}
@media(prefers-reduced-motion:reduce){.doctor-documents-grid a.doctor-document-card{transition:none}.doctor-document-card:hover{transform:none}}

/* Keep the cutout aligned with the actual bottom of the photo card. */
.doctor-grid .doctor-person{bottom:0}
.doctor-grid .doctor-person img{object-position:center bottom!important;transform:none!important;transform-origin:center bottom}
@media(min-width:901px){.doctor-section .doctor-grid{grid-template-rows:minmax(300px,auto) minmax(310px,auto)!important}}
@media(min-width:601px) and (max-width:900px){.doctor-section .doctor-grid{grid-template-rows:minmax(300px,auto) minmax(310px,auto) 360px!important}}


/* Verified public Google reviews, replacing the former generic carousel. */
.google-patient-reviews{padding:90px 6vw;background:#edf4fa;color:#153550}
.google-reviews-inner{max-width:1240px;margin:auto}
.google-reviews-heading{margin-bottom:38px}
.google-reviews-heading h2{font:500 clamp(36px,4vw,60px)/1.12 'Playfair Display',Georgia,serif;max-width:20ch;margin:0 0 24px}
.google-rating{font:400 18px/1.6 'DM Sans',Arial,sans-serif;margin:0 0 8px}
.google-rating>span{color:#916515;letter-spacing:3px;margin-right:12px}
.google-review-date,.google-review-note{font:400 13px/1.7 'DM Sans',Arial,sans-serif;color:#425b70;margin:0}
.google-reviews-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:28px}
.google-reviews-grid figure{margin:0;padding:30px;background:#fff;border:1px solid #d7e3ec;border-radius:16px;display:flex;flex-direction:column;min-width:0}
.google-reviews-grid blockquote{font:400 19px/1.7 'DM Sans',Arial,sans-serif;margin:0 0 30px}
.google-reviews-grid figcaption{margin-top:auto;font:600 14px/1.6 'DM Sans',Arial,sans-serif}
.google-reviews-grid figcaption a{color:#153550;text-decoration:underline;text-underline-offset:4px}
.google-reviews-grid figcaption span{display:block;font-weight:400;font-size:12px;color:#425b70;margin-top:5px}
.google-reviews-actions{display:flex;gap:14px;flex-wrap:wrap;margin:32px 0 18px}
.google-reviews-actions a{display:inline-flex;align-items:center;padding:14px 23px;border:1px solid #153550;border-radius:999px;font:600 14px/1.5 'DM Sans',Arial,sans-serif;color:#153550;text-decoration:none}
.google-reviews-actions a:first-child{background:#153550;color:#fff}
.google-patient-reviews a:focus-visible{outline:3px solid #a77c25;outline-offset:5px}
@media(max-width:700px){.google-patient-reviews{padding:55px 7vw}.google-reviews-grid{grid-template-columns:1fr;gap:18px}.google-reviews-grid figure{padding:25px}.google-rating{font-size:16px}.google-rating>span{display:block;margin-bottom:5px}}
