:root {
  --primary: #52d6e5;
  --primary-dark: #0f7084;
  --secondary: #e9575f;
  --navy: #062837;
  --ink: #132f3b;
  --muted: #647986;
  --soft: #eef8fb;
  --white: #ffffff;
  --glass: rgba(255, 255, 255, 0.14);
  --border: rgba(255, 255, 255, 0.24);
  --shadow: 0 24px 70px rgba(7, 42, 55, 0.18);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: linear-gradient(180deg, #f7fcfd 0%, #eef8fb 42%, #ffffff 100%);
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 18px clamp(16px, 4vw, 58px);
  transition: all 0.35s ease;
}

.site-header.scrolled {
  padding-block: 10px;
  background: rgba(6, 40, 55, 0.78);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 18px 45px rgba(3, 21, 30, 0.2);
}

.navbar {
  width: min(1200px, 100%);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.brand img {
  width: 58px;
  height: 58px;
  object-fit: contain;
  filter: drop-shadow(0 12px 20px rgba(0, 0, 0, 0.25));
}

.brand span {
  display: grid;
  line-height: 1;
  font-size: 1rem;
}

.brand small {
  font-size: 0.72rem;
  font-weight: 500;
  color: #bfeff5;
  text-transform: none;
  letter-spacing: 0.06em;
}

.nav-panel {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  backdrop-filter: blur(14px);
}

.nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  color: rgba(255, 255, 255, 0.88);
  font-weight: 700;
  font-size: 0.9rem;
  border-radius: 999px;
  transition: color 0.25s ease, background 0.25s ease, transform 0.25s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--navy);
  background: rgba(255, 255, 255, 0.9);
  transform: translateY(-2px);
}

.nav-cta,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 800;
  border: 0;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.nav-cta,
.btn-primary {
  color: var(--navy);
  background: linear-gradient(135deg, #89f4ff 0%, var(--primary) 45%, #ffffff 130%);
  box-shadow: 0 18px 42px rgba(82, 214, 229, 0.32);
}

.nav-cta:hover,
.btn:hover {
  transform: translateY(-3px);
}

.btn-secondary {
  color: var(--white);
  background: rgba(255, 255, 255, 0.13);
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(14px);
}

.btn-outline {
  color: var(--primary-dark);
  background: #ffffff;
  border: 1px solid rgba(15, 112, 132, 0.15);
  box-shadow: 0 16px 38px rgba(15, 112, 132, 0.08);
}

.menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.12);
  cursor: pointer;
  backdrop-filter: blur(14px);
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px auto;
  background: var(--white);
  border-radius: 999px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.menu-toggle.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle.open span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: center;
  padding: 150px clamp(18px, 5vw, 76px) 80px;
  isolation: isolate;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -3;
  background: url("../assets/hero-respiratorio.jpg") center / cover no-repeat;
  transform: scale(1.02);
  animation: heroZoom 16s ease-in-out infinite alternate;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(circle at 22% 22%, rgba(82, 214, 229, 0.35), transparent 34%),
    linear-gradient(90deg, rgba(4, 33, 47, 0.9) 0%, rgba(6, 45, 63, 0.72) 42%, rgba(82, 139, 157, 0.22) 100%);
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 180px;
  z-index: -1;
  background: linear-gradient(180deg, transparent, #f7fcfd 88%);
}

.hero-content {
  width: min(720px, 100%);
  color: var(--white);
}

.eyebrow,
.section-tag,
.price-label {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 8px 13px;
  border-radius: 999px;
  font-size: 0.78rem;
  line-height: 1;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow {
  margin-bottom: 18px;
  color: #d9fbff;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(16px);
}

.hero h1 {
  font-family: "Playfair Display", serif;
  font-size: clamp(2.7rem, 7vw, 6.8rem);
  line-height: 0.94;
  max-width: 780px;
  letter-spacing: -0.06em;
  text-wrap: balance;
}

.hero p {
  max-width: 640px;
  margin-top: 24px;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1rem, 2vw, 1.25rem);
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.hero-card {
  position: absolute;
  right: clamp(18px, 7vw, 96px);
  bottom: clamp(40px, 9vw, 100px);
  width: min(360px, calc(100% - 36px));
  padding: 26px;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(18px);
  box-shadow: 0 28px 68px rgba(0, 0, 0, 0.18);
}

.hero-card strong,
.hero-card span {
  display: block;
}

.hero-card strong {
  margin: 12px 0 8px;
  font-size: 1.1rem;
}

.hero-card span {
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.65;
}

.pulse-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: radial-gradient(circle, #ffffff 0 24%, var(--secondary) 26% 42%, rgba(233, 87, 95, 0.2) 44% 100%);
  box-shadow: 0 0 0 0 rgba(233, 87, 95, 0.5);
  animation: pulse 2.4s infinite;
}

.hero-particles span {
  position: absolute;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(137, 244, 255, 0.5);
  box-shadow: 0 0 28px rgba(137, 244, 255, 0.9);
  z-index: -1;
  animation: float 7s ease-in-out infinite;
}

.hero-particles span:nth-child(1) { top: 24%; left: 12%; animation-delay: 0s; }
.hero-particles span:nth-child(2) { top: 48%; left: 48%; animation-delay: 1s; }
.hero-particles span:nth-child(3) { top: 28%; right: 16%; animation-delay: 1.8s; }
.hero-particles span:nth-child(4) { bottom: 26%; left: 28%; animation-delay: 2.4s; }
.hero-particles span:nth-child(5) { bottom: 18%; right: 28%; animation-delay: 3.2s; }

.section {
  width: min(1200px, calc(100% - 36px));
  margin: 0 auto;
  padding: 92px 0;
}

.section-heading {
  width: min(790px, 100%);
  margin-bottom: 38px;
}

.section-tag,
.price-label {
  margin-bottom: 14px;
  color: var(--primary-dark);
  background: rgba(82, 214, 229, 0.15);
}

.section-heading h2,
.contact h2 {
  font-family: "Playfair Display", serif;
  color: var(--navy);
  font-size: clamp(2.1rem, 4vw, 4.2rem);
  line-height: 1;
  letter-spacing: -0.045em;
}

.section-heading p,
.contact p {
  margin-top: 18px;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.8;
}


.about {
  position: relative;
}

.about::before {
  content: "";
  position: absolute;
  top: 36px;
  right: -7%;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(82, 214, 229, 0.18), transparent 68%);
  pointer-events: none;
}

.about-intro {
  position: relative;
  display: grid;
  grid-template-columns: minmax(320px, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(26px, 5vw, 62px);
  align-items: center;
  margin-bottom: 78px;
}

.about-media {
  position: relative;
  min-height: 440px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: #ffffff;
}

.about-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(6, 40, 55, 0.02), rgba(6, 40, 55, 0.22)),
    radial-gradient(circle at 24% 18%, rgba(137, 244, 255, 0.18), transparent 38%);
  pointer-events: none;
}

.about-media img {
  width: 100%;
  height: 100%;
  min-height: 440px;
  object-fit: cover;
  transform: scale(1.01);
  transition: transform 0.6s ease;
}

.about-media:hover img {
  transform: scale(1.06);
}

.about-media-badge {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 22px;
  z-index: 1;
  padding: 18px 20px;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 22px;
  background: rgba(6, 40, 55, 0.62);
  backdrop-filter: blur(18px);
  box-shadow: 0 18px 44px rgba(3, 21, 30, 0.18);
}

.about-media-badge strong,
.about-media-badge span {
  display: block;
}

.about-media-badge strong {
  margin-bottom: 5px;
  font-size: 1rem;
}

.about-media-badge span {
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.5;
}

.about-copy {
  position: relative;
  padding: clamp(6px, 2vw, 14px) 0;
}

.about-copy h2 {
  font-family: "Playfair Display", serif;
  color: var(--navy);
  font-size: clamp(2.4rem, 5vw, 4.8rem);
  line-height: 0.96;
  letter-spacing: -0.055em;
  margin-bottom: 22px;
}

.about-copy p {
  color: var(--muted);
  font-size: 1.03rem;
  line-height: 1.88;
  margin-bottom: 16px;
}

.about-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 18px;
  align-items: center;
  margin-top: 28px;
}

.about-link {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  color: var(--primary-dark);
  font-weight: 900;
}

.about-link::after {
  content: "→";
  margin-left: 8px;
  transition: transform 0.25s ease;
}

.about-link:hover::after {
  transform: translateX(5px);
}

.about-method {
  margin-bottom: 28px;
}

.about-grid,
.services-grid,
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.about-card,
.service-card,
.price-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(15, 112, 132, 0.1);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 18px 54px rgba(7, 42, 55, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border 0.3s ease;
}

.about-card:hover,
.service-card:hover,
.price-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow);
  border-color: rgba(82, 214, 229, 0.38);
}

.about-card {
  padding: 26px;
  min-height: 240px;
}

.about-card::before,
.service-card::before,
.price-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(82, 214, 229, 0.18), transparent 48%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.about-card:hover::before,
.service-card:hover::before,
.price-card:hover::before {
  opacity: 1;
}

.about-card > *,
.service-card > *,
.price-card > * {
  position: relative;
  z-index: 1;
}

.about-card span {
  font-family: "Playfair Display", serif;
  color: rgba(15, 112, 132, 0.24);
  font-size: 3.1rem;
  font-weight: 700;
}

.about-card h3,
.service-card h3,
.price-card h3 {
  margin: 12px 0;
  color: var(--navy);
  font-size: 1.12rem;
}

.about-card p,
.service-card p,
.price-card li {
  color: var(--muted);
  line-height: 1.7;
}


.respiratory-framework {
  position: relative;
  width: 100%;
  max-width: none;
  padding: 96px clamp(18px, 5vw, 76px);
  background:
    radial-gradient(circle at 14% 18%, rgba(82, 214, 229, 0.18), transparent 32%),
    radial-gradient(circle at 86% 16%, rgba(233, 87, 95, 0.11), transparent 28%),
    linear-gradient(180deg, #f7fcfd 0%, #ffffff 55%, #eef8fb 100%);
  overflow: hidden;
}

.respiratory-framework::before {
  content: "";
  position: absolute;
  inset: 42px clamp(18px, 5vw, 76px) auto auto;
  width: 190px;
  height: 190px;
  border: 1px solid rgba(15, 112, 132, 0.12);
  border-radius: 50%;
  pointer-events: none;
}

.framework-hero,
.framework-grid,
.framework-detail,
.mission-detail {
  width: min(1200px, 100%);
  margin-inline: auto;
}

.framework-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 430px);
  gap: clamp(26px, 5vw, 62px);
  align-items: center;
  margin-bottom: 34px;
}

.framework-copy h2 {
  font-family: "Playfair Display", serif;
  color: var(--navy);
  font-size: clamp(2.2rem, 4.4vw, 4.8rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
  max-width: 850px;
}

.framework-copy p {
  max-width: 700px;
  margin-top: 20px;
  color: var(--muted);
  font-size: 1.06rem;
  line-height: 1.85;
}

.framework-visual {
  position: relative;
  padding: 16px;
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(15, 112, 132, 0.1);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.framework-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(82, 214, 229, 0.15), transparent 52%);
  pointer-events: none;
}

.framework-visual img {
  width: 100%;
  aspect-ratio: 1.18 / 1;
  object-fit: cover;
  border-radius: 24px;
}

.framework-badge {
  position: absolute;
  left: 30px;
  right: 30px;
  bottom: 30px;
  z-index: 1;
  padding: 16px 18px;
  color: var(--white);
  border-radius: 20px;
  background: rgba(6, 40, 55, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(16px);
}

.framework-badge strong,
.framework-badge span {
  display: block;
}

.framework-badge strong {
  margin-bottom: 4px;
}

.framework-badge span {
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.5;
}

.framework-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 22px;
}

.framework-card,
.framework-detail,
.mission-detail {
  position: relative;
  border: 1px solid rgba(15, 112, 132, 0.1);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 18px 54px rgba(7, 42, 55, 0.08);
  overflow: hidden;
}

.framework-card {
  min-height: 300px;
  padding: 28px;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.framework-card::before,
.framework-detail::before,
.mission-detail::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(82, 214, 229, 0.15), transparent 48%);
  pointer-events: none;
}

.framework-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow);
  border-color: rgba(82, 214, 229, 0.38);
}

.framework-card > *,
.framework-detail > *,
.mission-detail > * {
  position: relative;
  z-index: 1;
}

.framework-card-dark {
  color: var(--white);
  background: linear-gradient(145deg, var(--navy), #0f7084 76%, #52d6e5 145%);
}

.framework-kicker {
  display: inline-flex;
  width: 52px;
  height: 52px;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  color: var(--primary-dark);
  background: rgba(82, 214, 229, 0.16);
  border-radius: 18px;
  font-family: "Playfair Display", serif;
  font-size: 1.45rem;
  font-weight: 700;
}

.framework-card-dark .framework-kicker {
  color: #d9fbff;
  background: rgba(255, 255, 255, 0.12);
}

.framework-card h3,
.framework-detail h3,
.mission-detail h3 {
  color: var(--navy);
  margin-bottom: 14px;
  font-size: 1.32rem;
}

.framework-card-dark h3,
.framework-card-dark p {
  color: var(--white);
}

.framework-card p,
.detail-content p,
.mission-detail p {
  color: var(--muted);
  line-height: 1.82;
  margin-bottom: 12px;
}

.framework-card-dark p {
  color: rgba(255, 255, 255, 0.84);
}

.framework-detail {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: clamp(22px, 4vw, 46px);
  align-items: start;
  padding: clamp(26px, 4vw, 42px);
  margin-bottom: 22px;
}

.detail-heading h3 {
  font-family: "Playfair Display", serif;
  font-size: clamp(1.9rem, 3.2vw, 3.2rem);
  line-height: 1.03;
  letter-spacing: -0.04em;
}

.mission-detail {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 22px;
  align-items: start;
  padding: clamp(24px, 4vw, 38px);
}

.mission-icon {
  width: 74px;
  height: 74px;
  display: grid;
  place-items: center;
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(82, 214, 229, 0.2), #ffffff);
  font-size: 2rem;
  box-shadow: 0 18px 42px rgba(15, 112, 132, 0.1);
}

.services {
  width: 100%;
  max-width: none;
  padding-inline: clamp(18px, 5vw, 76px);
  background:
    radial-gradient(circle at 82% 16%, rgba(82, 214, 229, 0.2), transparent 32%),
    linear-gradient(180deg, #ffffff 0%, #eef8fb 100%);
}

.services .section-heading,
.services-grid {
  width: min(1200px, 100%);
  margin-inline: auto;
}

.services-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.service-card {
  padding: 28px;
  min-height: 310px;
}

.service-icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(82, 214, 229, 0.2), #ffffff);
  font-size: 1.8rem;
}

.service-card a {
  display: inline-flex;
  margin-top: 22px;
  color: var(--primary-dark);
  font-weight: 900;
}

.pricing-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
}

.price-card {
  padding: 30px;
}

.price-card.featured {
  color: var(--white);
  background: linear-gradient(145deg, var(--navy), #0f7084 72%, #52d6e5 140%);
  transform: translateY(-14px);
}

.price-card.featured h3,
.price-card.featured .price,
.price-card.featured li {
  color: var(--white);
}

.price-card.featured .price-label {
  background: rgba(255, 255, 255, 0.14);
  color: #d9fbff;
}

.price {
  margin: 14px 0 22px;
  color: var(--primary-dark);
  font-size: 2rem;
  font-weight: 900;
}

.price-card ul {
  display: grid;
  gap: 10px;
  margin: 0 0 24px 18px;
}

.contact {
  padding: 84px clamp(18px, 5vw, 76px);
}

.contact-card {
  width: min(1200px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 34px;
  align-items: center;
  padding: clamp(24px, 5vw, 54px);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at 90% 0%, rgba(82, 214, 229, 0.28), transparent 34%),
    #ffffff;
  box-shadow: var(--shadow);
}

.contact-form {
  display: grid;
  gap: 14px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(15, 112, 132, 0.14);
  border-radius: 18px;
  padding: 15px 17px;
  font: inherit;
  color: var(--ink);
  background: #f7fcfd;
  outline: none;
  transition: border 0.25s ease, box-shadow 0.25s ease;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: rgba(82, 214, 229, 0.8);
  box-shadow: 0 0 0 5px rgba(82, 214, 229, 0.14);
}

.floating-whatsapp {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 999;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  color: var(--navy);
  font-size: 1.55rem;
  font-weight: 900;
  border-radius: 50%;
  background: linear-gradient(135deg, #89f4ff, #ffffff);
  box-shadow: 0 18px 44px rgba(15, 112, 132, 0.25);
  animation: whatsappBeat 2s infinite;
}

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 30px clamp(18px, 5vw, 76px);
  color: rgba(255, 255, 255, 0.76);
  background: radial-gradient(circle at top left, rgba(82, 214, 229, 0.14), transparent 35%), var(--navy);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 520px;
}

.footer-brand img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  flex: 0 0 auto;
}

.footer-brand p {
  margin: 0;
}

.footer-social {
  display: grid;
  justify-items: center;
  gap: 10px;
}

.footer-social span {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.footer-social-icons {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-social-link {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: #dffbff;
  border: 1px solid rgba(191, 247, 255, 0.28);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.07);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
  transition: transform 0.25s ease, color 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.footer-social-link svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.footer-social-link:hover {
  color: var(--navy);
  border-color: rgba(191, 247, 255, 0.85);
  background: linear-gradient(135deg, #89f4ff, #ffffff);
  transform: translateY(-4px);
}

.footer a {
  color: #bff7ff;
  font-weight: 800;
}

.footer-top {
  white-space: nowrap;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 { transition-delay: 0.12s; }
.delay-2 { transition-delay: 0.22s; }
.delay-3 { transition-delay: 0.32s; }

@keyframes heroZoom {
  from { transform: scale(1.02); }
  to { transform: scale(1.08); }
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(233, 87, 95, 0.48); }
  70% { box-shadow: 0 0 0 18px rgba(233, 87, 95, 0); }
  100% { box-shadow: 0 0 0 0 rgba(233, 87, 95, 0); }
}

@keyframes float {
  0%, 100% { transform: translateY(0) translateX(0); opacity: 0.65; }
  50% { transform: translateY(-18px) translateX(10px); opacity: 1; }
}

@keyframes whatsappBeat {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.07); }
}


/* Servicios clínicos completos */
.services {
  width: 100%;
  max-width: none;
  padding: 96px clamp(18px, 5vw, 76px);
  background:
    radial-gradient(circle at 82% 16%, rgba(82, 214, 229, 0.2), transparent 32%),
    radial-gradient(circle at 8% 78%, rgba(233, 87, 95, 0.08), transparent 28%),
    linear-gradient(180deg, #ffffff 0%, #eef8fb 100%);
}

.services-shell {
  width: min(1200px, 100%);
  margin: 0 auto;
}

.services .section-heading,
.services-grid {
  width: 100%;
  margin-inline: auto;
}

.services-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: -8px 0 30px;
}

.service-filter {
  border: 1px solid rgba(15, 112, 132, 0.14);
  border-radius: 999px;
  padding: 11px 16px;
  color: var(--primary-dark);
  background: rgba(255, 255, 255, 0.78);
  font: inherit;
  font-size: 0.88rem;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 12px 30px rgba(7, 42, 55, 0.06);
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease, border 0.25s ease;
}

.service-filter:hover,
.service-filter.active {
  transform: translateY(-2px);
  color: var(--white);
  background: linear-gradient(135deg, var(--navy), var(--primary-dark));
  border-color: rgba(82, 214, 229, 0.36);
}

.services-feature {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(280px, 0.97fr);
  align-items: center;
  gap: clamp(18px, 4vw, 42px);
  margin-bottom: 26px;
  padding: clamp(22px, 4vw, 40px);
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: linear-gradient(145deg, var(--navy), #0f7084 72%, #52d6e5 142%);
  box-shadow: var(--shadow);
}

.services-feature::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 18%, rgba(255, 255, 255, 0.18), transparent 28%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.1), transparent 48%);
  pointer-events: none;
}

.services-feature > * {
  position: relative;
  z-index: 1;
}

.feature-copy span {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 14px;
  padding: 9px 13px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  color: #d9fbff;
  background: rgba(255, 255, 255, 0.11);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.feature-copy h3 {
  max-width: 650px;
  color: var(--white);
  font-family: "Playfair Display", serif;
  font-size: clamp(2rem, 3.4vw, 3.7rem);
  line-height: 0.98;
  letter-spacing: -0.05em;
}

.feature-copy p {
  max-width: 700px;
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.03rem;
  line-height: 1.8;
}

.services-feature img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  border-radius: 26px;
  box-shadow: 0 24px 64px rgba(3, 21, 30, 0.22);
}

.services-catalog {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.service-media-card {
  display: flex;
  min-height: 100%;
  padding: 0;
  flex-direction: column;
  background: rgba(255, 255, 255, 0.86);
}

.service-media-card.is-hidden {
  display: none;
}

.service-media-card figure {
  position: relative;
  height: 205px;
  overflow: hidden;
  background: #dff4f7;
}

.service-media-card figure::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 48%, rgba(6, 40, 55, 0.18));
  pointer-events: none;
}

.service-media-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s ease;
}

.service-media-card:hover img {
  transform: scale(1.07);
}

.service-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 24px;
}

.service-badge {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 10px;
  padding: 7px 10px;
  border-radius: 999px;
  color: var(--primary-dark);
  background: rgba(82, 214, 229, 0.14);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.service-media-card h3 {
  margin: 0 0 10px;
  min-height: 54px;
  color: var(--navy);
  font-size: 1.12rem;
  line-height: 1.28;
}

.service-media-card p {
  color: var(--muted);
  line-height: 1.72;
}

.service-media-card a {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin-top: auto;
  padding-top: 18px;
  color: var(--primary-dark);
  font-weight: 900;
}

.service-media-card a::after {
  content: "→";
  margin-left: 8px;
  transition: transform 0.25s ease;
}

.service-media-card a:hover::after {
  transform: translateX(5px);
}

@media (max-width: 1024px) {
  .framework-hero,
  .framework-detail {
    grid-template-columns: 1fr;
  }

  .framework-grid {
    grid-template-columns: 1fr;
  }

  .about-intro {
    grid-template-columns: 1fr;
  }

  .about-media {
    min-height: 390px;
  }

  .about-media img {
    min-height: 390px;
  }

  .about-grid,
  .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-card {
    position: relative;
    right: auto;
    bottom: auto;
    margin-top: 46px;
  }
}

@media (max-width: 860px) {
  .menu-toggle {
    display: block;
  }

  .nav-panel {
    position: fixed;
    top: 84px;
    left: 18px;
    right: 18px;
    display: grid;
    gap: 14px;
    padding: 18px;
    border-radius: 24px;
    background: rgba(6, 40, 55, 0.94);
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: 0 25px 65px rgba(0, 0, 0, 0.22);
    backdrop-filter: blur(20px);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-14px) scale(0.98);
    transition: all 0.3s ease;
  }

  .nav-panel.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
  }

  .nav-links {
    display: grid;
    width: 100%;
    gap: 8px;
    padding: 0;
    border: 0;
    background: transparent;
  }

  .nav-link {
    justify-content: flex-start;
    width: 100%;
    padding: 0 16px;
  }

  .nav-cta {
    width: 100%;
  }

  .hero {
    padding-top: 128px;
  }

  .hero h1 {
    letter-spacing: -0.04em;
  }

  .pricing-grid,
  .contact-card {
    grid-template-columns: 1fr;
  }

  .price-card.featured {
    transform: none;
  }
}

@media (max-width: 620px) {
  .respiratory-framework {
    padding: 72px 18px;
  }

  .framework-card {
    min-height: auto;
  }

  .framework-visual img {
    aspect-ratio: 1 / 0.78;
  }

  .framework-badge {
    left: 24px;
    right: 24px;
    bottom: 24px;
  }

  .mission-detail {
    grid-template-columns: 1fr;
  }

  .brand img {
    width: 50px;
    height: 50px;
  }

  .brand span {
    font-size: 0.88rem;
  }

  .hero {
    min-height: auto;
    padding-bottom: 70px;
  }

  .hero-actions,
  .hero-actions .btn {
    width: 100%;
  }

  .about-grid,
  .services-grid {
    grid-template-columns: 1fr;
  }

  .about-intro {
    margin-bottom: 56px;
  }

  .about-media {
    min-height: 300px;
    border-radius: 24px;
  }

  .about-media img {
    min-height: 300px;
  }

  .about-media-badge {
    left: 14px;
    right: 14px;
    bottom: 14px;
    padding: 15px;
  }

  .about-actions,
  .about-actions .btn,
  .about-link {
    width: 100%;
  }

  .about-link {
    justify-content: center;
  }

  .section {
    padding: 70px 0;
  }

  .footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-social {
    justify-items: start;
  }

  .footer-social-icons {
    flex-wrap: wrap;
  }

  .footer-brand {
    align-items: flex-start;
  }
}


@media (max-width: 1024px) {
  .services-catalog {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .services-feature {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .services {
    padding: 72px 18px;
  }

  .services-toolbar {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .service-filter {
    width: 100%;
    padding-inline: 12px;
  }

  .services-feature {
    border-radius: 24px;
    padding: 20px;
  }

  .services-feature img {
    height: 230px;
    border-radius: 20px;
  }

  .services-catalog {
    grid-template-columns: 1fr;
  }

  .service-media-card figure {
    height: 185px;
  }

  .service-media-card h3 {
    min-height: auto;
  }
}

/* Servicios alternados izquierda / derecha */
.services-list {
  display: grid;
  gap: 26px;
  width: 100%;
  margin-top: 32px;
}

.service-row {
  position: relative;
  display: grid;
  grid-template-columns: minmax(300px, 0.92fr) minmax(0, 1.08fr);
  align-items: stretch;
  gap: clamp(18px, 4vw, 38px);
  overflow: hidden;
  min-height: 360px;
  padding: clamp(16px, 2.6vw, 24px);
  border: 1px solid rgba(15, 112, 132, 0.12);
  border-radius: 34px;
  background:
    radial-gradient(circle at 8% 14%, rgba(82, 214, 229, 0.16), transparent 30%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(239, 249, 251, 0.88));
  box-shadow: 0 24px 70px rgba(7, 42, 55, 0.09);
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.service-row:nth-child(even) {
  grid-template-columns: minmax(0, 1.08fr) minmax(300px, 0.92fr);
}

.service-row:nth-child(even) .service-row-media {
  order: 2;
}

.service-row::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(82, 214, 229, 0.12), transparent 42%),
    radial-gradient(circle at 88% 16%, rgba(233, 87, 95, 0.07), transparent 26%);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.service-row:hover {
  transform: translateY(-8px);
  border-color: rgba(82, 214, 229, 0.38);
  box-shadow: 0 34px 90px rgba(7, 42, 55, 0.14);
}

.service-row:hover::before {
  opacity: 1;
}

.service-row.is-hidden {
  display: none;
}

.service-row-media,
.service-row-content {
  position: relative;
  z-index: 1;
}

.service-row-media {
  overflow: hidden;
  min-height: 320px;
  border-radius: 26px;
  background: #dff4f7;
  box-shadow: 0 24px 60px rgba(3, 21, 30, 0.14);
}

.service-row-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 42%, rgba(6, 40, 55, 0.24)),
    radial-gradient(circle at 16% 18%, rgba(255, 255, 255, 0.28), transparent 28%);
  pointer-events: none;
}

.service-row-media img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
  transform: scale(1.01);
  transition: transform 0.6s ease, filter 0.6s ease;
}

.service-row:hover .service-row-media img {
  transform: scale(1.07);
  filter: saturate(1.05) contrast(1.02);
}

.service-row-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(10px, 2vw, 28px);
}

.service-row-content h3 {
  margin: 8px 0 10px;
  color: var(--navy);
  font-family: "Playfair Display", serif;
  font-size: clamp(2rem, 3.1vw, 3.55rem);
  line-height: 0.98;
  letter-spacing: -0.05em;
}

.service-row-content strong {
  display: block;
  margin-bottom: 14px;
  color: var(--primary-dark);
  font-size: 1.02rem;
  line-height: 1.55;
}

.service-row-content p {
  max-width: 760px;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.82;
}

.service-row-content ul {
  display: grid;
  gap: 9px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.service-row-content li {
  position: relative;
  padding-left: 25px;
  color: var(--ink);
  line-height: 1.62;
}

.service-row-content li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--primary-dark), #52d6e5);
  box-shadow: 0 0 0 5px rgba(82, 214, 229, 0.12);
}

.service-row-content a {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin-top: 24px;
  padding: 13px 18px;
  border-radius: 999px;
  color: var(--white);
  font-weight: 900;
  background: linear-gradient(135deg, var(--navy), var(--primary-dark));
  box-shadow: 0 16px 40px rgba(15, 112, 132, 0.18);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.service-row-content a::after {
  content: "→";
  margin-left: 8px;
  transition: transform 0.25s ease;
}

.service-row-content a:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 52px rgba(15, 112, 132, 0.24);
}

.service-row-content a:hover::after {
  transform: translateX(5px);
}

@media (max-width: 900px) {
  .service-row,
  .service-row:nth-child(even) {
    grid-template-columns: 1fr;
  }

  .service-row:nth-child(even) .service-row-media {
    order: 0;
  }

  .service-row-media,
  .service-row-media img {
    min-height: 260px;
  }

  .service-row-content {
    padding: 12px 4px 6px;
  }
}

@media (max-width: 620px) {
  .services-list {
    gap: 20px;
  }

  .service-row {
    min-height: auto;
    padding: 14px;
    border-radius: 26px;
  }

  .service-row-media {
    border-radius: 20px;
  }

  .service-row-media,
  .service-row-media img {
    min-height: 210px;
  }

  .service-row-content h3 {
    font-size: clamp(1.72rem, 10vw, 2.35rem);
  }
}


/* Contacto enriquecido */
.contact {
  width: 100%;
  max-width: none;
  padding: 92px clamp(18px, 5vw, 76px);
  background:
    radial-gradient(circle at 88% 10%, rgba(82, 214, 229, 0.22), transparent 28%),
    linear-gradient(180deg, #f7fcfd 0%, #ffffff 55%, #eef8fb 100%);
}

.contact-shell {
  width: min(1200px, 100%);
  margin: 0 auto;
}

.contact-heading {
  margin-bottom: 30px;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: 22px;
  align-items: start;
}

.contact-information {
  display: grid;
  gap: 18px;
}

.contact-profile-card,
.contact-form-card,
.info-card,
.map-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(15, 112, 132, 0.1);
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 20px 58px rgba(7, 42, 55, 0.08);
}

.contact-profile-card::before,
.contact-form-card::before,
.info-card::before,
.map-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(82, 214, 229, 0.14), transparent 48%);
  pointer-events: none;
}

.contact-profile-card,
.contact-form-card {
  padding: clamp(24px, 4vw, 34px);
}

.contact-mini-tag {
  display: inline-flex;
  margin-bottom: 12px;
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--primary-dark);
  background: rgba(82, 214, 229, 0.14);
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-profile-card h3,
.contact-form-card h3,
.map-card h3 {
  color: var(--navy);
  font-family: "Playfair Display", serif;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  line-height: 1;
  letter-spacing: -0.04em;
}

.contact-role {
  margin-top: 10px;
  color: var(--primary-dark);
  font-weight: 800;
}

.contact-license {
  margin-top: 4px;
  color: var(--muted);
}

.contact-mail-link,
.mail-inline {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin-top: 18px;
  color: var(--primary-dark);
  font-weight: 900;
}

.contact-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.info-card {
  display: grid;
  grid-template-columns: 74px 1fr;
  gap: 18px;
  padding: 24px;
}

.info-icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  color: var(--navy);
  background: linear-gradient(135deg, rgba(82, 214, 229, 0.18), #ffffff);
  font-size: 1.55rem;
  box-shadow: 0 18px 38px rgba(15, 112, 132, 0.08);
}

.info-card h3 {
  margin-bottom: 12px;
  color: var(--navy);
  font-size: 1.16rem;
}

.info-card p {
  color: var(--muted);
  line-height: 1.78;
}

.info-card p + p {
  margin-top: 12px;
}

.clinic-phones {
  display: grid;
  gap: 14px;
}

.clinic-phone-block {
  display: grid;
  gap: 7px;
}

.clinic-phone-block strong {
  color: var(--navy);
}

.clinic-phone-block a {
  display: inline-flex;
  width: fit-content;
  color: var(--primary-dark);
  font-weight: 800;
}

.contact-form-card p {
  margin-top: 14px;
  color: var(--muted);
  line-height: 1.8;
}

.contact-form {
  margin-top: 20px;
}

.contact-form button {
  margin-top: 6px;
}

.contact-maps {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  margin-top: 24px;
}

.map-card {
  padding: 24px;
}

.map-card-head {
  position: relative;
  z-index: 1;
  margin-bottom: 18px;
}

.map-card-head p {
  margin-top: 12px;
  color: var(--muted);
  line-height: 1.75;
}

.map-frame {
  position: relative;
  z-index: 1;
  overflow: hidden;
  border-radius: 24px;
  min-height: 320px;
  box-shadow: 0 18px 48px rgba(7, 42, 55, 0.1);
}

.map-frame iframe {
  width: 100%;
  height: 100%;
  min-height: 320px;
  display: block;
}


@media (max-width: 1024px) {
  .contact-grid,
  .contact-maps {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .info-card {
    grid-template-columns: 1fr;
  }

  .info-icon {
    width: 52px;
    height: 52px;
  }

  .map-card,
  .contact-profile-card,
  .contact-form-card {
    border-radius: 24px;
  }
}


/* Mapas compactos en cards */
.contact-maps {
  width: min(820px, 100%);
  margin: 26px auto 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(260px, 1fr));
  gap: 16px;
  align-items: stretch;
}

.map-card {
  padding: 14px;
  border-radius: 22px;
}

.map-card-head {
  margin-bottom: 12px;
}

.map-card-head .section-tag {
  margin-bottom: 8px;
  padding: 7px 10px;
  font-size: 0.68rem;
}

.map-card-head h3 {
  font-size: clamp(1.16rem, 1.8vw, 1.45rem);
  letter-spacing: -0.025em;
  line-height: 1.08;
}

.map-card-head p {
  margin-top: 8px;
  font-size: 0.88rem;
  line-height: 1.55;
}

.map-frame {
  min-height: 190px;
  height: 190px;
  border-radius: 18px;
}

.map-frame iframe {
  width: 100%;
  height: 190px;
  min-height: 190px;
  display: block;
}

@media (max-width: 1024px) {
  .contact-maps {
    grid-template-columns: repeat(2, minmax(240px, 1fr));
  }
}

@media (max-width: 720px) {
  .contact-maps {
    width: 100%;
    grid-template-columns: 1fr;
  }

  .map-frame,
  .map-frame iframe {
    height: 210px;
    min-height: 210px;
  }
}

.contact-maps-title {
  width: min(820px, 100%);
  margin: 28px auto 0;
}

.contact-maps-title h3 {
  color: var(--navy);
  font-family: "Playfair Display", serif;
  font-size: clamp(1.55rem, 2.4vw, 2.25rem);
  line-height: 1.05;
  letter-spacing: -0.035em;
}
