/* =========================================================
   Centro Dental Mayte Montesinos — estilos del sitio
   Paleta y tipografía tomadas de la web original
   ========================================================= */
:root {
  --brand: #a82f53;
  --brand-dark: #542b51;
  --pink-soft: rgba(204, 106, 156, .75);
  --grey: #f5f5f5;
  --grey-form: #ededed;
  --text: #000;
  --muted: #4d4d4d;
  --slate: #475467;
  --link: #188bf6;
  --container: 1170px;
  --radius: 10px;
  --f-head: "Albert Sans", sans-serif;
  --f-body: "Mulish", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--f-body); font-size: 16px; line-height: 1.5; color: var(--text); background: #fff; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1em; }
p.tight { margin-bottom: .1em; }
h1, h2, h3, h4, h5 { margin: 0; font-weight: inherit; }
.brand { color: var(--brand); }
.white { color: #fff !important; }
.center { text-align: center; }
.right { text-align: right; }
.muted { color: var(--muted); }
.slate { color: var(--slate); font-family: var(--f-head); font-size: 17px; }
.rounded { border-radius: var(--radius); }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 15px; }
.container-wide { width: 100%; max-width: 1404px; margin: 0 auto; padding: 0 15px; }
.section { padding: 20px 0; }
.section--pt0 { padding-top: 0; }
.section--grey { background: var(--grey); }
.section--brand { background: var(--brand); color: #fff; }
.section--pb-lg { padding-bottom: 150px; }
.section > .container + .container-wide { margin-top: 30px; }

/* ---------- Tipografía de bloques ---------- */
.eyebrow { font-family: var(--f-head); font-size: 18px; font-weight: 700; color: var(--brand); letter-spacing: .02em; margin-bottom: 6px; }
.title { font-family: var(--f-body); font-size: 48px; line-height: 1.15; font-weight: 700; margin-bottom: 18px; }
.title::after { content: ""; display: block; width: 120px; height: 2px; background: var(--brand); margin-top: 14px; }
.center .title::after, .heading.center .title::after { margin-left: auto; margin-right: auto; }
.title.white::after { background: #fff; }
.lead { font-family: var(--f-body); font-size: 18px; margin-bottom: 14px; }
.subhead { font-family: var(--f-head); font-size: 18px; font-weight: 700; margin: 18px 0 8px; }
.quote { font-family: var(--f-body); font-size: 29px; font-weight: 700; color: var(--brand); line-height: 1.3; }
.heading { margin-bottom: 30px; }
.heading-split { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-bottom: 30px; flex-wrap: wrap; }
.heading-split .title { margin-bottom: 0; }

/* ---------- Botones ---------- */
.btn { display: inline-block; font-family: var(--f-head); font-size: 16px; padding: 14px 34px; border-radius: var(--radius); border: 1px solid transparent; text-align: center; transition: opacity .2s, background .2s, color .2s; cursor: pointer; }
.btn:hover { opacity: .88; }
.btn-primary { background: var(--brand); color: #fff; border-color: #fff; }
.btn-outline { background: #fff; color: var(--brand); border-color: var(--brand); }
.btn-white { background: #fff; color: var(--brand); border-color: #fff; }
.btn-sm { padding: 10px 22px; border-radius: 5px; font-family: "Montserrat", var(--f-head); }
.btn-block { display: block; width: 100%; }
.btn-row { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 34px; }
.btn-pair { margin-top: 30px; }

/* ---------- Cabecera ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: #fff; padding: 20px 0 14px; box-shadow: 0 1px 0 rgba(0,0,0,.04); }
.header-inner { max-width: 1330px; margin: 0 auto; padding: 0 15px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.logo img { width: 300px; max-width: 46vw; }
.main-nav { display: flex; align-items: center; gap: 40px; flex: 1; justify-content: flex-end; }
.menu { list-style: none; margin: 0; padding: 0; display: flex; gap: 26px; font-family: var(--f-head); font-size: 16px; }
.menu > li { position: relative; padding: 10px 0; }
.menu a:hover, .menu-label:hover { color: var(--brand); }
.menu-label { cursor: pointer; display: inline-flex; align-items: center; gap: 6px; }
.menu-label i { font-size: 11px; }
.submenu { list-style: none; margin: 0; padding: 10px 0; position: absolute; top: 100%; left: -14px; min-width: 230px; background: #fff; box-shadow: 0 10px 30px rgba(0,0,0,.08); border-radius: 6px; opacity: 0; visibility: hidden; transform: translateY(6px); transition: .2s; }
.submenu li a { display: block; padding: 8px 18px; }
.has-sub:hover .submenu, .has-sub:focus-within .submenu { opacity: 1; visibility: visible; transform: none; }
.header-contact { display: flex; align-items: center; gap: 22px; font-family: var(--f-head); font-size: 16px; white-space: nowrap; }
.header-contact i { font-size: 13px; }
.header-contact .btn { padding: 12px 34px; }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; width: 26px; height: 2px; background: #000; margin: 5px 0; transition: .2s; }

/* ---------- Hero home ---------- */
.hero-home { background-size: cover; background-position: center; padding: 20px 0 130px; min-height: 521px; display: flex; align-items: center; }
.hero-title { font-family: var(--f-head); font-size: 70px; line-height: 1; font-weight: 700; margin-bottom: 30px; }
.hero-text h2 { font-family: var(--f-head); font-size: 18px; line-height: 1.45; }

/* ---------- Banners de imagen ---------- */
.banner-img { background-size: cover; background-position: center; height: clamp(240px, 42vw, 620px); }
.banner-img--portrait { background-position: center 30%; }
.banner-img--md { height: clamp(240px, 33vw, 480px); }
.page-intro { padding: 30px 0 40px; }
.page-intro-title { font-family: var(--f-head); font-size: 48px; font-weight: 700; line-height: 1.2; }

/* ---------- Formularios ---------- */
.form-card { border-radius: 8px; padding: 40px; }
.form-card--brand { background: var(--brand); color: #fff; margin-top: -60px; position: relative; z-index: 1; }
.form-card--light { background: var(--grey-form); }
.form-card-title { font-family: "Mulish", sans-serif; font-size: 36px; font-weight: 700; margin-bottom: 20px; }
.form-card--light .form-card-title { font-family: "Roboto", sans-serif; font-size: 40px; font-weight: 400; margin-bottom: 10px; }
.form-card-sub { font-family: "Roboto", sans-serif; font-size: 20px; font-weight: 400; margin-bottom: 20px; line-height: 1.3; }
.lead-form input[type=text], .lead-form input[type=email], .lead-form input[type=tel] { display: block; width: 100%; font: 14px "Inter", sans-serif; padding: 12px 14px; border: 1px solid #d0d5dd; border-radius: 6px; background: #fff; margin-bottom: 14px; }
.lead-form--inline .form-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; max-width: 760px; }
.lead-form .check { display: flex; align-items: center; gap: 10px; font: 16px "Inter", sans-serif; color: #1a1a1a; margin: 6px 0 18px; }
.form-card--brand .check, .form-card--brand .check a { color: #fff; }
.lead-form .check input { width: 18px; height: 18px; accent-color: var(--brand); }
.btn-form { font: 600 14px "Roboto", sans-serif; color: #fff; border: 0; border-radius: 8px; padding: 14px 26px; cursor: pointer; width: 100%; }
.btn-form--dark { background: var(--brand-dark); max-width: 240px; }
.btn-form--primary { background: var(--brand); }
.form-msg { margin-top: 12px; font-size: 15px; }

/* ---------- Grids ---------- */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.grid-2--wide-right { grid-template-columns: 44fr 56fr; }
.grid-2--wide-left { grid-template-columns: 71fr 29fr; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.align-center { align-items: center; }

/* ---------- Tarjetas ---------- */
.cards { display: grid; gap: 30px; }
.cards-3 { grid-template-columns: repeat(3, 1fr); }
.cards-4 { grid-template-columns: repeat(4, 1fr); }
.card { position: relative; background: var(--grey); border-radius: var(--radius); padding: 24px 22px 50px; }
.card--text { padding: 26px 22px; }
.cards--plain .card { background: #fff; padding: 20px 10px 46px; }
.card-icon { width: 60px; height: 60px; object-fit: contain; margin-bottom: 18px; }
.card-title { font-family: var(--f-head); font-size: 18px; font-weight: 700; margin-bottom: 12px; }
.card p { font-family: var(--f-head); font-size: 16px; }
.card-arrow { position: absolute; left: 22px; bottom: 20px; font-size: 16px; }
.cards--plain .card-arrow { left: 10px; }
.card-arrow.brand { color: var(--brand); }
.card--inline .card-head { display: grid; grid-template-columns: 90px 1fr; align-items: center; margin-bottom: 12px; }
.card--inline .card-icon { margin: 0; }
.card--inline .card-title { margin: 0; }

/* ---------- CTA banner ---------- */
.section--overlap { margin-top: -110px; position: relative; }
.cta-banner { display: grid; grid-template-columns: 763fr 397fr; padding: 0 15px; }
.cta-banner-text { background: var(--brand); color: #fff; padding: 50px 40px; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
.cta-banner-text h1 { font-family: var(--f-body); font-size: 32px; font-weight: 700; line-height: 1.3; margin-bottom: 30px; }
.cta-banner-img { background-size: cover; background-position: center; min-height: 320px; }

/* ---------- Logos ---------- */
.logos { display: grid; grid-template-columns: repeat(5, 1fr); gap: 30px; align-items: center; }
.logos img { max-height: 70px; margin: 0 auto; object-fit: contain; }

/* ---------- Equipo ---------- */
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.team-member { text-align: center; }
.team-member img { width: 100%; aspect-ratio: 318 / 290; object-fit: cover; border-radius: var(--radius); margin-bottom: 18px; }
.team-member h2 { font-family: var(--f-body); font-size: 18px; font-weight: 700; margin-bottom: 10px; }
.team-member p { margin: 0; font-size: 16px; }

/* ---------- Testimonios / sliders ---------- */
.testimonials { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.testimonials-img img { width: 100%; }
.slider { position: relative; overflow: hidden; }
.slider-track { display: flex; transition: transform .6s ease; }
.slider-track > * { flex: 0 0 100%; width: 100%; object-fit: cover; }
.testimonials .slider-track img { border-radius: 3.6% / 7.2%; }
.slider--rounded { border-radius: var(--radius); }
.slider--rounded .slider-track img { aspect-ratio: 624 / 416; }
.slider-prev, .slider-next { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(255,255,255,.8); border: 0; width: 34px; height: 34px; border-radius: 50%; cursor: pointer; color: #333; }
.slider-prev { left: 8px; } .slider-next { right: 8px; }
.slider-dots { display: flex; justify-content: center; gap: 6px; padding: 12px 0 4px; }
.slider-dots button { width: 8px; height: 8px; border-radius: 50%; border: 0; background: #000; opacity: .25; cursor: pointer; padding: 0; }
.slider-dots button.active { opacity: 1; }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 10px; align-items: start; }
.faq-item { background: var(--grey); border-radius: var(--radius); margin-bottom: 10px; overflow: hidden; }
.faq-item summary { list-style: none; cursor: pointer; padding: 14px 44px 14px 16px; position: relative; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "\f107"; font-family: "Font Awesome 6 Free"; font-weight: 900; position: absolute; right: 16px; top: 50%; transform: translateY(-50%); transition: transform .2s; }
.faq-item[open] summary::after { transform: translateY(-50%) rotate(180deg); }
.faq-item h4 { font-family: var(--f-head); font-size: 16px; font-weight: 700; }
.faq-body { background: #fff; padding: 16px; }
.faq-body p { font-family: var(--f-head); font-size: 15px; }

/* ---------- Mapa + contacto ---------- */
.map-block { display: grid; grid-template-columns: 789fr 401fr; align-items: stretch; }
.map-img { min-height: 380px; }
.map-img iframe { display: block; width: 100%; height: 100%; min-height: 380px; border: 0; }
.map-info { background: var(--brand); color: #fff; border-radius: var(--radius); padding: 30px 20px; text-align: center; }
.map-info h2 { font-size: 18px; font-weight: 700; margin: 14px 0 6px; }
.map-info h2:first-child { margin-top: 0; }
.map-info p { margin: 0; font-size: 16px; }

/* ---------- Páginas de tratamiento ---------- */
.treatment-layout { display: grid; grid-template-columns: 752fr 418fr; gap: 30px; align-items: start; padding-top: 10px; }
.treatment-icon { width: 100px; margin-bottom: 10px; }
.treatment-content .title { margin-top: 30px; }
.treatment-content .title:first-of-type { margin-top: 0; }
.treatment-sidebar { position: sticky; top: 130px; }
.sidebar-title { margin-top: 40px; }
.treatment-list { list-style: none; margin: 0; padding: 0; }
.treatment-list li { display: grid; grid-template-columns: 90px 1fr; align-items: center; padding: 6px 0; }
.treatment-list img { width: 50px; height: 50px; object-fit: contain; }
.treatment-list a:hover { color: var(--brand); }
.video { position: relative; aspect-ratio: 16 / 9; background: #000 center/cover no-repeat; border-radius: 4px; cursor: pointer; margin: 10px 0 30px; }
.video::before { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.15); }
.video::after { content: "\f04b"; font-family: "Font Awesome 6 Free"; font-weight: 900; position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%); width: 64px; height: 44px; border-radius: 10px; background: rgba(0,0,0,.65); color: #fff; display: grid; place-items: center; font-size: 18px; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; border-radius: 4px; }
.video.playing::before, .video.playing::after { display: none; }
.gallery-2 { margin: 10px 0 24px; }
.gallery-2 figure, .photo-grid figure { margin: 0; text-align: center; }
.gallery-2 img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); margin-bottom: 10px; }
.gallery-2 figcaption { font-family: var(--f-head); }
.text-cols { gap: 10px; }

/* ---------- La clínica ---------- */
.counters { display: grid; grid-template-columns: repeat(4, 1fr); background: var(--brand); color: #fff; border-radius: 5px; padding: 40px 10px; text-align: center; }
.counter-num { display: block; font-family: var(--f-head); font-size: 48px; font-weight: 700; line-height: 1.1; }
.counter-label { font-family: var(--f-head); font-size: 18px; }

/* ---------- Instalaciones ---------- */
.photo-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.photo-grid img { width: 100%; aspect-ratio: 318 / 212; object-fit: cover; border-radius: var(--radius); margin-bottom: 12px; }
.photo-grid figcaption { font-size: 16px; }

/* ---------- Proceso (tratamientos) ---------- */
.process-step { margin-top: 40px; }
.process-step h1 { font-family: var(--f-head); font-size: 48px; font-weight: 700; line-height: 1.15; margin-bottom: 16px; }
.process-step h2 { font-family: var(--f-head); font-size: 18px; margin-bottom: 10px; }
.process-step img { width: 100%; }

/* ---------- Contacto ---------- */
.contact-info p { margin-bottom: 6px; }
.contact-info .muted { font-family: var(--f-head); margin-bottom: 18px; }
.footer-mail { color: var(--link); }

/* ---------- Blog ---------- */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; max-width: 1080px; margin: 60px auto 0; }
.blog-card { display: flex; flex-direction: column; border: 1px solid #eaecf0; border-radius: 12px; overflow: hidden; background: #fff; font-family: "Mulish", sans-serif; }
.blog-card-img { position: relative; display: block; }
.blog-card-img img { width: 100%; aspect-ratio: 348 / 196; object-fit: cover; }
.blog-card-badge { position: absolute; right: 8px; bottom: 8px; background: rgba(16,24,40,.6); color: #fff; border-radius: 6px; font-size: 12px; padding: 3px 8px; display: flex; gap: 6px; align-items: center; }
.blog-card-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; padding: 16px 14px 0; font-size: 11px; }
.blog-card-tags span { background: #ecfdf3; color: #027a48; padding: 2px 8px; border-radius: 16px; text-transform: capitalize; }
.blog-card-tags .more { background: none; color: var(--slate); }
.blog-card h2 { font-size: 20px; font-weight: 500; color: #101828; text-transform: uppercase; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin: 14px 14px 6px; }
.blog-card > p { font-size: 14px; line-height: 1.45; color: var(--slate); text-transform: capitalize; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin: 0 14px 16px; flex: 1; }
.blog-card-author { display: flex; align-items: center; gap: 10px; font-size: 12px; color: #101828; border-top: 1px solid #eaecf0; margin: 0 14px; padding: 14px 0; }
.blog-card-author img { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; }
.blog-card-author strong { font-weight: 400; }
.blog-card-author span { display: block; color: #101828; font-size: 12px; }
.blog-card-go { margin-left: auto; color: #344054; }
.pagination { display: flex; justify-content: center; gap: 8px; margin: 40px 0 20px; }
.pagination button { font: 16px "Montserrat", sans-serif; background: #fff; border: 1px solid #ccc; border-radius: 4px; padding: 6px 12px; color: rgba(16,16,16,.3); }
.pagination button.active { color: #007bff; border-color: #007bff; font-weight: 700; }

/* ---------- Post ---------- */
.post { max-width: 780px; margin: 30px auto 0; font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
.post-cover { width: 100%; border-radius: 8px; margin-bottom: 24px; }
.post-title { font: 700 28px/1.3 "Montserrat", sans-serif; margin-bottom: 12px; }
.post-meta { display: flex; flex-wrap: wrap; gap: 8px; color: #556c79; font-size: 14px; margin-bottom: 26px; }
.post-meta a { color: #335dff; }
.post-body h1 { font-size: 32px; font-weight: 700; line-height: 1.25; margin: 10px 0 18px; }
.post-body h2 { font-size: 24px; font-weight: 700; line-height: 1.3; margin: 28px 0 12px; }
.post-body h3 { font-size: 18.72px; font-weight: 700; margin: 22px 0 10px; }
.post-body p { line-height: 1.7; }
.post-body ul, .post-body ol { padding-left: 24px; }
.post-body li p { margin-bottom: .5em; }
.post-body a { color: #007bff; }
.post-body figure { margin: 24px 0; text-align: center; color: #555; font-size: 14px; }
.post-body figure img { width: 100%; border-radius: 6px; margin-bottom: 8px; }
.post-body blockquote { margin: 24px 0; padding: 12px 20px; border-left: 4px solid var(--brand); background: #fafafa; }
.post-kicker { color: #8b6914; }
.post-lead { color: #555; }
.post-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 30px 0; }
.post-tags span { font-size: 13px; color: #6b7280; background: #e5e7eb; border-radius: 10px; padding: 4px 12px; }
.post-end { display: flex; flex-direction: column; align-items: center; gap: 20px; margin: 30px 0 40px; }
.post-top { font: 16px "Lato", sans-serif; color: #007bff; background: #f4f7fe; border: 0; border-radius: 14px; padding: 14px 30px; cursor: pointer; }
.post-back { font-size: 13px; color: #6b7280; align-self: flex-start; }

/* ---------- Legales ---------- */
.legal { padding-top: 20px; padding-bottom: 40px; }
.legal h1 { font-size: 2em; font-weight: 700; margin: .67em 0; }
.legal h2 { font-size: 1.5em; font-weight: 700; margin: .83em 0; }
.legal a { color: #0000ee; text-decoration: underline; }
.legal li { margin-bottom: .3em; }

/* ---------- Pie ---------- */
.site-footer { background: var(--grey); padding: 21px 0; color: var(--slate); }
.footer-grid { display: grid; grid-template-columns: 559fr 350fr 261fr; gap: 0 10px; padding-top: 10px; }
.footer-col p { font-family: var(--f-head); font-size: 17px; margin: 0 0 4px; }
.footer-col p i { font-size: 13px; margin-right: 4px; }
.footer-col:not(:first-child) p { font-family: var(--f-body); font-size: 16px; margin-bottom: 10px; }
.footer-logo { width: 238px; margin-bottom: 18px; }
.footer-col h3 { font-family: var(--f-head); font-size: 28px; font-weight: 600; color: var(--slate); margin: 30px 0 24px; }
.footer-col a:hover { color: var(--brand); }
.gtranslate_wrapper { margin-top: 16px; width: max-content; position: relative; z-index: 5; }
/* GTranslate limita el ancho del desplegable al de la columna: lo liberamos para que se vean los 4 idiomas */
.gtranslate_wrapper .gt_float_switcher, .gtranslate_wrapper .gt_float_switcher .gt_options { max-width: none !important; white-space: nowrap !important; }
@media (max-width: 640px) {
  .gtranslate_wrapper { width: auto; max-width: 100%; }
  .gtranslate_wrapper .gt_float_switcher, .gtranslate_wrapper .gt_float_switcher .gt_options { max-width: 100% !important; white-space: normal !important; }
}
.lang-switch { display: inline-flex; align-items: center; gap: 8px; background: #fff; border-radius: 2px; padding: 8px 12px; margin-top: 16px; font: 600 15px var(--f-head); color: #333; box-shadow: 0 1px 3px rgba(0,0,0,.1); }
.lang-switch img { width: 33px; border-radius: 3px; }
.lang-switch i { font-size: 10px; color: #666; }
.social { display: flex; gap: 18px; margin-top: 16px; }
.social img { width: 40px; }
.copyright { text-align: center; font-family: var(--f-head); color: var(--slate); margin: 30px 0 10px; }

/* ---------- Flotantes ---------- */
.whatsapp-float { position: fixed; right: 20px; bottom: 20px; z-index: 60; width: 56px; height: 56px; border-radius: 50%; background: #25d366; display: grid; place-items: center; box-shadow: 0 4px 12px rgba(0,0,0,.2); }
.whatsapp-float i { color: #fff; font-size: 34px; line-height: 1; }
.whatsapp-float:hover { transform: scale(1.06); }
.whatsapp-float { transition: transform .2s; }
.cookie-banner { position: fixed; left: 0; right: 0; bottom: 0; z-index: 70; background: var(--pink-soft); color: #000; padding: 14px 24px; display: flex; align-items: center; justify-content: space-between; gap: 20px; font: 14px "Inter", sans-serif; }
.cookie-banner[hidden] { display: none; }
.cookie-banner p { margin: 0; max-width: 980px; }
.cookie-banner a { font-weight: 700; text-decoration: underline; }
.cookie-actions { display: flex; gap: 10px; flex-shrink: 0; }
.cookie-actions button { font: 14px "Inter", sans-serif; border: 0; border-radius: 4px; padding: 8px 14px; cursor: pointer; }
.cookie-all { background: #000; color: #fff; }
.cookie-essential { background: #fff; color: #000; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1200px) {
  .menu { gap: 18px; }
  .main-nav { gap: 24px; }
  .header-contact { gap: 14px; }
}
@media (max-width: 1024px) {
  .nav-toggle { display: block; }
  .main-nav { position: fixed; inset: 92px 0 0 0; background: #fff; flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 20px; padding: 20px; overflow-y: auto; transform: translateX(100%); transition: transform .25s; }
  .main-nav.open { transform: none; }
  .menu { flex-direction: column; gap: 0; }
  .menu > li { border-bottom: 1px solid #eee; }
  .submenu { position: static; box-shadow: none; opacity: 1; visibility: visible; transform: none; display: none; padding: 0 0 6px 10px; }
  .has-sub.open .submenu { display: block; }
  .header-contact { flex-direction: column; align-items: flex-start; }
  .cards-4, .team-grid, .photo-grid { grid-template-columns: repeat(2, 1fr); }
  .treatment-layout { grid-template-columns: 1fr; }
  .treatment-sidebar { position: static; }
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .title, .page-intro-title, .process-step h1 { font-size: 32px; }
  .hero-title { font-size: 48px; }
  .grid-2, .grid-2--wide-right, .grid-2--wide-left, .grid-3, .cards-3, .testimonials, .faq-grid, .map-block, .cta-banner, .footer-grid, .counters { grid-template-columns: 1fr; }
  .counters { gap: 24px; }
  .lead-form--inline .form-row { grid-template-columns: 1fr; gap: 0; }
  .logos { grid-template-columns: repeat(3, 1fr); }
  .section--pb-lg { padding-bottom: 60px; }
  .section--overlap { margin-top: 0; }
  .form-card { padding: 24px; }
  .form-card--brand { margin-top: 0; }
  .form-card-title { font-size: 26px; }
  .process-step .right { text-align: left; }
  .blog-grid { grid-template-columns: 1fr; }
  .cookie-banner { flex-direction: column; align-items: flex-start; }
  .map-info { border-radius: 0 0 var(--radius) var(--radius); }
}
@media (max-width: 480px) {
  .cards-4, .team-grid, .photo-grid { grid-template-columns: 1fr; }
}
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* ---------- Cabeceras grises de página ---------- */
.page-head { background: var(--grey); padding: 80px 0; }
.page-head .heading { margin-bottom: 0; }
.page-head .heading > :last-child { margin-bottom: 0; }

/* ---------- Tarjetas con icono (Primera visita) ---------- */
.card--icon { display: flex; align-items: center; gap: 18px; }
.card--icon .card-title { margin: 0; }
.card-fa { flex: 0 0 52px; height: 52px; border-radius: 50%; background: #fff; color: var(--brand); display: grid; place-items: center; font-size: 22px; }

/* ---------- Animaciones de la portada ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .8s ease; transition-delay: var(--d, 0s); }
.reveal.is-visible { opacity: 1; transform: none; }
.page-home .hero-title, .page-home .hero-text, .page-home .hero-home .btn-row { animation: heroIn .9s ease both; }
.page-home .hero-text { animation-delay: .25s; }
.page-home .hero-home .btn-row { animation-delay: .5s; }
@keyframes heroIn { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .page-home .hero-title, .page-home .hero-text, .page-home .hero-home .btn-row { animation: none; }
}
@media (max-width: 768px) { .page-head { padding: 50px 0; } .hero-home { padding-bottom: 90px; } }
