/* Servicios (inicio) — Clínica Roos */
.sh-section { position: relative; padding: 110px 0; background: #f4faff; overflow: hidden; font-family: "Urbanist", sans-serif; }
.sh-section::before, .sh-section::after { content: ""; position: absolute; border-radius: 50%; filter: blur(90px); pointer-events: none; }
.sh-section::before { width: 380px; height: 380px; left: -120px; top: 40px; background: rgba(159, 195, 230, .45); }
.sh-section::after { width: 320px; height: 320px; right: -100px; bottom: 20px; background: rgba(61, 127, 176, .22); }
.sh-section .container { position: relative; z-index: 2; }
.sh-head { text-align: center; max-width: 720px; margin: 0 auto 54px; }
.sh-kicker { font-size: 12px; letter-spacing: .24em; text-transform: uppercase; color: #3d7fb0; font-weight: 600; }
.sh-head h2 { font-size: 52px; line-height: 1.1; margin: 10px 0 14px; color: #0a2336; }
.sh-head h2 em { font-family: "Instrument Serif", serif; font-style: italic; font-weight: 400; color: #3d7fb0; }
.sh-head p { color: #5b6b7a; margin: 0; font-size: 17px; }

.sh-wrap { display: grid; grid-template-columns: 380px 1fr; gap: 32px; align-items: stretch; }
.sh-tabs { display: flex; flex-direction: column; gap: 14px; }
.sh-tab { position: relative; display: flex; align-items: center; gap: 16px; text-align: left; width: 100%; padding: 20px 22px; border: 1px solid rgba(44, 71, 98, .1); border-radius: 22px; background: #fff; cursor: pointer; overflow: hidden; transition: transform .35s cubic-bezier(.22, 1, .36, 1), box-shadow .35s, background .35s; }
.sh-tab:hover { box-shadow: 0 14px 30px rgba(10, 35, 54, .1); }
.sh-ico { flex: 0 0 54px; height: 54px; border-radius: 16px; display: flex; align-items: center; justify-content: center; font-size: 22px; color: #638969; background: rgba(159, 195, 230, .35); transition: .35s; }
.sh-tab b { display: block; font-size: 19px; color: #0a2336; line-height: 1.2; transition: .3s; }
.sh-tab small { color: #6b7b8a; font-size: 13px; }
.sh-tab i.sh-arrow { margin-left: auto; color: #9fb4c8; transition: .35s; }
.sh-tab .sh-bar { position: absolute; left: 0; bottom: 0; height: 3px; width: 0; background: linear-gradient(90deg, #d2957e, #fff); }
.sh-tab.active { background: linear-gradient(135deg, #638969, #0b2c40); box-shadow: 0 18px 40px rgba(10, 35, 54, .28); transform: translateX(10px); }
.sh-tab.active b { color: #fff; }
.sh-tab.active small { color: rgba(255, 255, 255, .7); }
.sh-tab.active .sh-ico { background: #d2957e; color: #0a2336; transform: rotate(-8deg); }
.sh-tab.active .sh-arrow { color: #fff; transform: translateX(4px); }
.sh-tab.active .sh-bar { animation: shBar var(--dur, 7s) linear forwards; }
.sh-paused .sh-tab.active .sh-bar { animation-play-state: paused; }
@keyframes shBar { to { width: 100%; } }

.sh-stage { position: relative; min-height: 520px; border-radius: 32px; overflow: hidden; background: #0a2336; box-shadow: 0 30px 70px rgba(10, 35, 54, .25); }
.sh-panel { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .6s, visibility .6s; }
.sh-panel.active { opacity: 1; visibility: visible; }
.sh-panel img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); transition: transform 7s ease-out; }
.sh-panel.active img { transform: scale(1); }
.sh-panel::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(10, 35, 54, .15) 0%, rgba(10, 35, 54, .55) 45%, rgba(10, 35, 54, .94) 100%); }
.sh-info { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; padding: 38px 40px; color: #fff; }
.sh-num { position: absolute; z-index: 2; top: 24px; right: 32px; font-size: 90px; font-weight: 700; line-height: 1; color: transparent; -webkit-text-stroke: 1.5px rgba(255, 255, 255, .45); }
.sh-info h3 { font-size: 34px; margin: 0 0 8px; color: #fff; }
.sh-info > p { margin: 0 0 20px; color: rgba(255, 255, 255, .82); max-width: 560px; font-size: 16px; line-height: 1.65; }
.sh-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 24px; }
.sh-chips span { padding: 8px 16px; border-radius: 40px; font-size: 14px; background: rgba(255, 255, 255, .13); border: 1px solid rgba(255, 255, 255, .25); backdrop-filter: blur(6px); transition: .3s; }
.sh-chips span:hover { background: #d2957e; color: #0a2336; transform: translateY(-3px); }
.sh-panel.active .sh-info > *, .sh-panel.active .sh-chips span { animation: shUp .7s cubic-bezier(.22, 1, .36, 1) both; }
.sh-panel.active .sh-info > p { animation-delay: .1s; }
.sh-panel.active .sh-chips span:nth-child(1) { animation-delay: .2s; }
.sh-panel.active .sh-chips span:nth-child(2) { animation-delay: .27s; }
.sh-panel.active .sh-chips span:nth-child(3) { animation-delay: .34s; }
.sh-panel.active .sh-chips span:nth-child(4) { animation-delay: .41s; }
.sh-panel.active .sh-chips span:nth-child(5) { animation-delay: .48s; }
@keyframes shUp { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
.sh-cta { display: inline-flex; align-items: center; gap: 10px; padding: 14px 26px; border-radius: 50px; background: #25d366; color: #fff !important; font-weight: 600; text-decoration: none; box-shadow: 0 10px 26px rgba(37, 211, 102, .38); transition: .3s; }
.sh-cta:hover { transform: translateY(-3px) scale(1.03); }

@media (max-width: 991px) {
  .sh-wrap { grid-template-columns: 1fr; }
  .sh-tabs { flex-direction: row; overflow-x: auto; gap: 10px; padding-bottom: 6px; scroll-snap-type: x mandatory; }
  .sh-tab { flex: 0 0 auto; width: auto; scroll-snap-align: start; padding: 14px 16px; }
  .sh-tab small, .sh-tab i.sh-arrow { display: none; }
  .sh-tab.active { transform: none; }
  .sh-head h2 { font-size: 36px; }
  .sh-stage { min-height: 560px; }
  .sh-info { padding: 26px 22px; }
  .sh-info h3 { font-size: 26px; }
  .sh-num { font-size: 60px; }
}
@media (prefers-reduced-motion: reduce) { .sh-panel img, .sh-panel.active * { animation: none !important; transition: none !important; } }

/* Bandera de España en el campo de teléfono */
.form-clt.style-2 .flag-img img { width: 24px; height: 16px; object-fit: cover; border-radius: 2px; display: block; box-shadow: 0 0 0 1px rgba(255,255,255,.25); }

/* Teléfono: bandera pequeña y texto sin solaparse con ella */
.contact-wrapper-three .form-contact-items .contact-form-box .form-clt.style-2 .flag-img { top: 50%; left: 14px; transform: translateY(-50%); line-height: 0; pointer-events: none; }
.contact-wrapper-three .form-contact-items .contact-form-box .form-clt.style-2 .flag-img img { width: 22px !important; height: 15px !important; max-width: none; }
.contact-wrapper-three .form-contact-items .contact-form-box .form-clt.style-2 input[name="telefono"] { padding-left: 52px !important; }
