:root {
  --teal: #16b6b2;
  --teal-dark: #069f9b;
  --sky: #93c5fd;
  --pink: #f9b8d4;
  --yellow: #fcd34d;
  --ink: #0b2d5c;
  --white: #ffffff;
  --mint-soft: #e8faf7;
  --blue-soft: #edf6ff;
  --pink-soft: #fff0f6;
  --yellow-soft: #fff8e8;
  --page-max: 1280px;
  --shadow: 0 12px 30px rgba(11, 45, 92, 0.12);
  --shadow-button: 0 8px 18px rgba(0, 120, 117, 0.2);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: clamp(124px, 13vw, 166px);
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: #f7fbfc;
  font-family: "Nunito", sans-serif;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

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

.icon-library {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.ui-icon {
  display: block;
  width: 1em;
  height: 1em;
  flex: 0 0 auto;
  overflow: visible;
  color: currentColor;
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 3px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  padding: 10px 16px;
  border-radius: 12px;
  color: var(--white);
  background: var(--ink);
  transform: translateY(-160%);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.page-canvas {
  width: min(100%, var(--page-max));
  margin-inline: auto;
  overflow: clip;
  background: var(--white);
}

.content-width {
  width: 92.9%;
  margin-inline: auto;
}

.sprite {
  position: relative;
  overflow: hidden;
}

.sprite > img {
  position: absolute;
  max-width: none;
}

.sprite-trust {
  width: 51%;
  aspect-ratio: 165 / 112;
  margin: -2% 0 0 20%;
}

.sprite-trust > img {
  top: -15%;
  left: -7.5%;
  width: 115%;
  height: 130%;
  object-fit: contain;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: clamp(124px, 13vw, 166px);
  border-bottom: 1px solid transparent;
  background: rgba(255, 255, 255, 0.98);
  transition:
    box-shadow 220ms ease,
    border-color 220ms ease;
}

.site-header.scrolled {
  border-color: rgba(11, 45, 92, 0.08);
  box-shadow: 0 8px 24px rgba(11, 45, 92, 0.08);
  backdrop-filter: blur(12px);
}

.header-layout {
  display: flex;
  width: 92.9%;
  height: 100%;
  align-items: center;
  justify-content: space-between;
  margin-inline: auto;
}

.header-brand {
  position: relative;
  display: flex;
  width: 25.8%;
  height: 100%;
  align-items: center;
}

.header-brand img {
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: calc(100% - 16px);
  object-fit: contain;
}

.main-nav {
  display: flex;
  width: 45.5%;
  align-items: center;
  justify-content: space-between;
}

.nav-link {
  position: relative;
  padding: clamp(7px, 0.82vw, 11px) clamp(4px, 0.58vw, 8px);
  color: #061f4e;
  border-radius: 999px;
  font-size: clamp(12px, 1.42vw, 18px);
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  transition:
    color 180ms ease,
    background-color 180ms ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--teal-dark);
  background: rgba(22, 182, 178, 0.13);
}

.header-appointment {
  display: inline-flex;
  width: 18.6%;
  min-height: clamp(39px, 4.85vw, 62px);
  align-items: center;
  justify-content: center;
  gap: clamp(7px, 0.82vw, 11px);
  border-radius: 999px;
  color: var(--white);
  background: linear-gradient(100deg, #09a9a5, #18c5bf);
  box-shadow: var(--shadow-button);
  font-size: clamp(13px, 1.53vw, 19px);
  font-weight: 800;
  white-space: nowrap;
  transition:
    transform 180ms var(--ease),
    box-shadow 180ms ease;
}

.header-appointment:hover {
  box-shadow: 0 12px 24px rgba(0, 120, 117, 0.28);
  transform: translateY(-2px);
}

.header-appointment .ui-icon {
  width: clamp(18px, 2.36vw, 30px);
  height: clamp(18px, 2.36vw, 30px);
  color: var(--white);
}

.menu-toggle {
  display: none;
}

.hero {
  position: relative;
  display: flex;
  height: clamp(374px, 44.21vw, 566px);
  overflow: hidden;
  isolation: isolate;
  background: var(--white);
}

.hero::before {
  position: absolute;
  bottom: -5%;
  left: -6%;
  z-index: 0;
  width: 41%;
  height: 23%;
  border-radius: 50% 50% 0 0;
  background: rgba(167, 243, 208, 0.45);
  content: "";
}

.hero-media {
  position: absolute;
  inset: 0 0 0 26.5%;
  z-index: 1;
  margin: 0;
  overflow: hidden;
}

.hero-media::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    var(--white) 0%,
    rgba(255, 255, 255, 0.98) 12%,
    rgba(255, 255, 255, 0.58) 21%,
    rgba(255, 255, 255, 0) 32%
  );
  content: "";
}

.hero-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-copy {
  z-index: 2;
  display: flex;
  width: 36.17%;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 0 1.2% 2.2% 3.55%;
}

.hero-copy h1 {
  position: relative;
  margin: 0 0 clamp(8px, 1.06vw, 14px);
  color: #082957;
  font-family: "Baloo 2", sans-serif;
  font-size: clamp(39px, 4.85vw, 62px);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 0.91;
  white-space: nowrap;
}

.hero-copy h1::after {
  position: absolute;
  top: -19%;
  right: -8%;
  width: 9%;
  aspect-ratio: 1;
  background: center / contain no-repeat url("rays-yellow.svg");
  content: "";
}

.hero-copy > p {
  width: 96%;
  margin: 0 0 clamp(13px, 1.77vw, 23px);
  color: #092952;
  font-size: clamp(15px, 1.84vw, 23px);
  font-weight: 600;
  line-height: 1.34;
}

.hero-buttons {
  display: flex;
  gap: clamp(11px, 1.42vw, 18px);
}

.pill-button {
  display: inline-flex;
  min-height: clamp(42px, 5.2vw, 67px);
  align-items: center;
  justify-content: center;
  padding: 0 clamp(15px, 2.01vw, 26px);
  border: clamp(1.5px, 0.18vw, 2.5px) solid transparent;
  border-radius: 999px;
  font-size: clamp(13px, 1.65vw, 21px);
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
  transition:
    transform 180ms var(--ease),
    box-shadow 180ms ease,
    background-color 180ms ease;
}

.pill-button:hover {
  transform: translateY(-2px);
}

.pill-primary {
  gap: clamp(7px, 0.95vw, 12px);
  color: var(--white);
  background: linear-gradient(100deg, #0ca9a5, #14c0ba);
  box-shadow: var(--shadow-button);
}

.pill-primary .ui-icon {
  width: clamp(20px, 2.6vw, 33px);
  height: clamp(20px, 2.6vw, 33px);
  color: var(--white);
}

.pill-outline {
  color: var(--teal-dark);
  border-color: var(--teal);
  background: rgba(255, 255, 255, 0.9);
}

.attribute-strip {
  position: relative;
  display: grid;
  width: 100%;
  min-height: clamp(86px, 8.6vw, 110px);
  grid-template-columns: repeat(3, 1fr);
  margin: 0;
  padding: clamp(12px, 1.3vw, 17px) 3.55%;
  border-bottom: 1px solid rgba(11, 45, 92, 0.07);
  background: linear-gradient(90deg, #effbf8, #f5fbfd 52%, #fff9ef);
}

.attribute {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(11px, 1.42vw, 18px);
  padding-inline: 3%;
}

.attribute + .attribute::before {
  position: absolute;
  top: 18%;
  bottom: 18%;
  left: 0;
  width: 1px;
  background: rgba(11, 45, 92, 0.18);
  content: "";
}

.attribute-icon {
  display: grid;
  width: clamp(48px, 5.79vw, 74px);
  height: clamp(48px, 5.79vw, 74px);
  flex: 0 0 auto;
  place-items: center;
  border-radius: 34%;
}

.attribute-icon .ui-icon {
  width: clamp(30px, 3.7vw, 47px);
  height: clamp(30px, 3.7vw, 47px);
}

.attribute-pink {
  color: #ff5f93;
  background: #fff0f6;
}

.attribute-blue {
  color: #348cf1;
  background: #e9f3ff;
}

.attribute-yellow {
  color: #f2a400;
  background: #fff2c7;
}

.attribute h2 {
  margin: 0;
  color: #082957;
  font-family: "Baloo 2", sans-serif;
  font-size: clamp(15px, 1.89vw, 24px);
  font-weight: 700;
  line-height: 1.04;
}

.about {
  position: relative;
  display: flex;
  min-height: clamp(400px, 46vw, 620px);
  align-items: center;
  margin-top: clamp(30px, 3.55vw, 45px);
  overflow: hidden;
  border-radius: clamp(24px, 3vw, 38px);
  background: #f8fdfc;
  isolation: isolate;
}

.about-copy {
  position: relative;
  z-index: 2;
  width: 57%;
  margin-left: auto;
  padding: clamp(24px, 3vw, 38px) 4% clamp(24px, 3vw, 38px) 1%;
}

.about-portrait {
  position: absolute;
  inset: 0 auto 0 0;
  z-index: 0;
  width: 49%;
  margin: 0;
  overflow: hidden;
}

.about-portrait > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 8%;
}

.about-portrait::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 48%, rgba(248, 253, 252, 0.35) 69%, #f8fdfc 100%);
  content: "";
}

.decorated-heading {
  position: relative;
  display: inline-block;
  margin: 0;
  color: #082957;
  font-family: "Baloo 2", sans-serif;
  font-size: clamp(38px, 4.61vw, 59px);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 0.95;
}

.decorated-heading::after {
  position: absolute;
  top: -30%;
  right: -12%;
  width: 10%;
  min-width: 27px;
  aspect-ratio: 1;
  background: center / contain no-repeat;
  content: "";
}

.rays-yellow::after {
  background-image: url("rays-yellow.svg");
}

.rays-teal::after {
  background-image: url("rays-teal.svg");
  transform: scaleX(-1);
}

.centered-heading.rays-teal::before {
  position: absolute;
  top: -10%;
  left: -22%;
  width: 17%;
  min-width: 27px;
  aspect-ratio: 1;
  background: center / contain no-repeat url("rays-teal.svg");
  content: "";
}

.centered-heading.rays-teal::after {
  top: -10%;
  right: -22%;
  width: 17%;
}

.about-copy > p {
  margin: clamp(8px, 1.06vw, 14px) 0 clamp(11px, 1.42vw, 18px);
  font-size: clamp(14px, 1.77vw, 22.5px);
  font-weight: 600;
  line-height: 1.26;
}

.about-list {
  display: grid;
  gap: clamp(7px, 0.94vw, 12px);
  margin: 0;
  padding: 0;
  list-style: none;
}

.about-list li {
  display: flex;
  align-items: center;
  gap: clamp(11px, 1.42vw, 18px);
  font-size: clamp(14px, 1.77vw, 22.5px);
  font-weight: 600;
}

.about-list .ui-icon {
  width: clamp(27px, 3.31vw, 42px);
  height: clamp(27px, 3.31vw, 42px);
  flex: 0 0 auto;
  color: var(--teal);
}

.services {
  padding-top: clamp(34px, 4vw, 52px);
}

.centered-heading {
  display: table;
  margin-inline: auto;
  text-align: center;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.45%;
  margin-top: clamp(19px, 2.25vw, 29px);
}

.service-card {
  display: flex;
  min-height: clamp(245px, 29vw, 370px);
  flex-direction: column;
  align-items: center;
  padding: clamp(12px, 1.5vw, 19px) clamp(10px, 1.1vw, 14px) clamp(16px, 2vw, 25px);
  overflow: hidden;
  border: 1px solid rgba(11, 45, 92, 0.04);
  border-radius: clamp(20px, 2.72vw, 35px);
  text-align: center;
  transition:
    transform 220ms var(--ease),
    box-shadow 220ms ease;
}

.service-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}

.service-card > img {
  width: 72%;
  max-width: 190px;
  aspect-ratio: 1;
  margin-bottom: 2%;
  object-fit: contain;
}

.service-card h3 {
  min-height: 2.75em;
  margin: 0;
  color: #082957;
  font-family: "Baloo 2", sans-serif;
  font-size: clamp(18px, 2.25vw, 29px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 0.96;
}

.service-card p {
  margin: 8px 0 0;
  font-size: clamp(12px, 1.53vw, 19px);
  font-weight: 600;
  line-height: 1.19;
}

.card-aqua {
  background: linear-gradient(150deg, #f4fffe, #e7f9f6);
}

.card-blue {
  background: linear-gradient(150deg, #f7fbff, #eaf4ff);
}

.card-cream {
  background: linear-gradient(150deg, #fffdf9, #fff6e6);
}

.card-pink {
  background: linear-gradient(150deg, #fffafd, #ffedf5);
}

.trust {
  display: grid;
  height: clamp(230px, 26vw, 340px);
  grid-template-columns: 43% 57%;
  margin-top: clamp(17px, 2.01vw, 26px);
  overflow: hidden;
  border-radius: clamp(20px, 2.72vw, 35px);
  background:
    radial-gradient(circle at 18% 105%, rgba(167, 243, 208, 0.7), transparent 37%),
    linear-gradient(105deg, #f3fcfb, #eaf7fa);
}

.trust-intro {
  position: relative;
  padding: 4.2% 0 0 14%;
}

.trust-intro::after {
  position: absolute;
  top: 10%;
  right: 0;
  bottom: 12%;
  width: 1px;
  background: rgba(11, 45, 92, 0.22);
  content: "";
}

.trust-intro .decorated-heading {
  font-size: clamp(31px, 3.9vw, 50px);
}

.trust-list {
  display: grid;
  align-content: center;
  gap: clamp(5px, 0.71vw, 9px);
  margin: 0;
  padding: 4% 6.3% 4% 8.5%;
  list-style: none;
}

.trust-list li {
  display: flex;
  align-items: center;
  gap: clamp(12px, 1.53vw, 20px);
  font-size: clamp(14px, 1.77vw, 22.5px);
  font-weight: 600;
  line-height: 1.15;
}

.trust-icon {
  display: grid;
  width: clamp(52px, 6.5vw, 83px);
  height: clamp(36px, 4.48vw, 57px);
  flex: 0 0 auto;
  place-items: center;
  border-radius: 999px;
}

.trust-icon .ui-icon {
  width: clamp(25px, 3.1vw, 40px);
  height: clamp(25px, 3.1vw, 40px);
}

.trust-mint {
  color: #0eb9b1;
  background: #d7f8ef;
}

.trust-pink {
  color: #ff5f93;
  background: #ffe0ec;
}

.trust-yellow {
  color: #ec9f00;
  background: #fff0bd;
}

.trust-blue {
  color: #247ff0;
  background: #d9ebff;
}

.partners {
  display: grid;
  height: clamp(110px, 12.5vw, 165px);
  grid-template-columns: 31% 27% 21% 21%;
  align-items: stretch;
  margin-top: clamp(16px, 1.89vw, 24px);
  overflow: hidden;
  border: 1px solid rgba(11, 45, 92, 0.05);
  border-radius: clamp(19px, 2.6vw, 33px);
  background: var(--white);
  box-shadow: var(--shadow);
}

.partners > * {
  position: relative;
}

.partners > * + *::before {
  position: absolute;
  top: 18%;
  bottom: 18%;
  left: 0;
  width: 1px;
  background: rgba(11, 45, 92, 0.2);
  content: "";
}

.partners h2 {
  display: flex;
  align-items: center;
  margin: 0;
  padding-left: 12%;
  font-family: "Baloo 2", sans-serif;
  font-size: clamp(20px, 2.48vw, 32px);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 0.92;
}

.partners p {
  display: flex;
  align-items: center;
  margin: 0;
  padding: 0 10%;
  font-size: clamp(11px, 1.36vw, 17.5px);
  font-weight: 600;
  line-height: 1.26;
}

.partner-logo {
  display: grid;
  place-items: center;
  padding: 8% 8% calc(8% + 16px);
}

.partner-logo img {
  width: 90%;
  max-height: 80%;
  object-fit: contain;
  filter: grayscale(1);
}

.partner-logo-crop {
  display: block;
  width: 90%;
  overflow: hidden;
}

.partner-logo-coomeva img {
  width: 108%;
  max-width: none;
  max-height: none;
  transform: translateX(-7.4%);
}

.main-cta {
  position: relative;
  display: grid;
  height: clamp(119px, 14.07vw, 180px);
  grid-template-columns: 62.5% 37.5%;
  align-items: center;
  margin-top: clamp(24px, 2.84vw, 36px);
  margin-bottom: clamp(25px, 2.96vw, 38px);
  overflow: hidden;
  border-radius: clamp(20px, 2.72vw, 35px);
  background: linear-gradient(100deg, #08a9a4, #27c8c3);
}

.main-cta::after {
  position: absolute;
  right: -2.5%;
  bottom: -58%;
  width: 22%;
  aspect-ratio: 1.5;
  border-radius: 50% 0 0;
  background:
    radial-gradient(circle at 38% 35%, var(--yellow) 0 29%, transparent 30%),
    var(--pink);
  content: "";
}

.main-cta h2 {
  z-index: 1;
  margin: 0;
  padding-left: 8.2%;
  color: var(--white);
  font-family: "Baloo 2", sans-serif;
  font-size: clamp(27px, 3.31vw, 42.5px);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 0.91;
}

.cta-button {
  z-index: 1;
  display: inline-flex;
  width: 86%;
  min-height: clamp(48px, 5.67vw, 73px);
  align-items: center;
  justify-content: center;
  gap: clamp(10px, 1.3vw, 17px);
  border-radius: 999px;
  color: var(--teal-dark);
  background: var(--white);
  box-shadow: 0 8px 18px rgba(0, 92, 90, 0.2);
  font-size: clamp(15px, 1.89vw, 24px);
  font-weight: 800;
  white-space: nowrap;
  transition:
    transform 180ms var(--ease),
    box-shadow 180ms ease;
}

.cta-button:hover {
  box-shadow: 0 12px 24px rgba(0, 92, 90, 0.28);
  transform: translateY(-2px);
}

.cta-button .ui-icon {
  width: clamp(25px, 3.07vw, 39px);
  height: clamp(25px, 3.07vw, 39px);
  color: var(--teal-dark);
}

.site-footer {
  position: relative;
  min-height: clamp(325px, 36vw, 460px);
  overflow: hidden;
  background: top center / 100% 100% no-repeat url("Margarita_Assets_FINAL_APROBADOS/35_ondas_footer.svg");
}

.footer-brand {
  display: flex;
  width: min(72%, 800px);
  align-items: center;
  justify-content: center;
  gap: clamp(24px, 4vw, 52px);
  margin: clamp(35px, 4vw, 50px) auto 0;
}

.footer-brand::before,
.footer-brand::after {
  height: 1px;
  flex: 1 1 0;
  background: var(--teal);
  content: "";
}

.footer-brand img {
  width: clamp(120px, 14vw, 180px);
  height: auto;
  flex: 0 0 auto;
}

.footer-contacts {
  display: grid;
  width: 86%;
  grid-template-columns: 1.35fr 0.72fr 1fr 0.78fr;
  margin: 2% auto 0;
}

.footer-contact {
  position: relative;
  display: flex;
  min-height: clamp(84px, 9.93vw, 127px);
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: clamp(7px, 0.94vw, 12px);
  padding: 0 4%;
  font-size: clamp(12px, 1.42vw, 18px);
  font-weight: 700;
  line-height: 1.23;
  text-align: center;
}

.footer-contact + .footer-contact::before {
  position: absolute;
  top: 14%;
  bottom: 11%;
  left: 0;
  width: 1px;
  background: rgba(11, 45, 92, 0.22);
  content: "";
}

.footer-contact .ui-icon {
  width: clamp(26px, 3.19vw, 41px);
  height: clamp(26px, 3.19vw, 41px);
  color: var(--teal);
}

.footer-contact span {
  max-width: 100%;
  overflow-wrap: anywhere;
}

.floating-whatsapp {
  position: fixed;
  right: max(20px, calc((100vw - var(--page-max)) / 2 + 20px));
  bottom: 20px;
  z-index: 90;
  display: inline-flex;
  min-height: clamp(52px, 6.15vw, 68px);
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 10px clamp(18px, 2.36vw, 30px);
  border: 2px solid rgba(255, 255, 255, 0.92);
  border-radius: 999px;
  color: var(--white);
  background: linear-gradient(100deg, #0aa8a3, #18c2bc);
  box-shadow: 0 10px 24px rgba(11, 45, 92, 0.26);
  font-size: clamp(14px, 1.65vw, 20px);
  font-weight: 800;
  white-space: nowrap;
  transition:
    transform 180ms var(--ease),
    box-shadow 180ms ease;
}

.floating-whatsapp:hover {
  box-shadow: 0 14px 30px rgba(11, 45, 92, 0.32);
  transform: translateY(-3px);
}

.floating-whatsapp .ui-icon {
  width: clamp(25px, 3.07vw, 36px);
  height: clamp(25px, 3.07vw, 36px);
  color: var(--white);
}

.reveal-ready .reveal,
.reveal-ready .reveal-item {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 340ms ease,
    transform 460ms var(--ease);
  will-change: opacity, transform;
}

.reveal-ready .reveal-left {
  transform: translateX(-20px);
}

.reveal-ready .reveal-right {
  transform: translateX(20px);
}

.reveal-ready .reveal.visible,
.reveal-ready .reveal-item.visible {
  opacity: 1;
  transform: none;
}

.reveal-ready .reveal-group .reveal-item:nth-child(2) {
  transition-delay: 55ms;
}

.reveal-ready .reveal-group .reveal-item:nth-child(3) {
  transition-delay: 110ms;
}

.reveal-ready .reveal-group .reveal-item:nth-child(4) {
  transition-delay: 165ms;
}

@media (min-width: 1281px) {
  .page-canvas {
    width: 100%;
  }

  .content-width,
  .header-layout {
    width: min(92.9%, 1500px);
  }

  .hero {
    height: clamp(566px, 37vw, 720px);
  }

  .hero-copy {
    width: calc(max(3.55%, (100% - 1500px) / 2) + 460px);
    padding-left: max(3.55%, (100% - 1500px) / 2);
  }

  .hero-media {
    left: max(26.5%, (100% - 1500px) / 2 + 320px);
  }

  .hero-image {
    object-position: center 20%;
  }

  .attribute-strip {
    padding-inline: max(3.55%, (100% - 1500px) / 2);
  }

  .footer-contacts {
    width: min(86%, 1390px);
  }

  .floating-whatsapp {
    right: 20px;
  }
}

@media (max-width: 760px) {
  html {
    scroll-padding-top: 112px;
  }

  .page-canvas {
    width: 100%;
  }

  .content-width {
    width: calc(100% - 32px);
  }

  .site-header {
    height: 112px;
  }

  .header-layout {
    width: calc(100% - 32px);
  }

  .header-brand {
    width: 118px;
  }

  .header-brand img {
    max-height: calc(100% - 8px);
  }

  .header-appointment {
    width: 48px;
    min-height: 48px;
    margin-left: auto;
    padding: 0;
  }

  .header-appointment span {
    display: none;
  }

  .header-appointment .ui-icon {
    width: 24px;
    height: 24px;
  }

  .menu-toggle {
    position: relative;
    z-index: 102;
    display: block;
    width: 48px;
    height: 48px;
    margin-left: 10px;
    padding: 11px;
    border: 0;
    border-radius: 50%;
    background: var(--mint-soft);
  }

  .menu-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    margin: 5px 0;
    border-radius: 999px;
    background: var(--ink);
    transition:
      transform 180ms ease,
      opacity 180ms ease;
  }

  .menu-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .menu-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .main-nav {
    position: fixed;
    top: 112px;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 101;
    display: flex;
    visibility: hidden;
    width: auto;
    flex-direction: column;
    justify-content: flex-start;
    gap: 8px;
    padding: 32px 20px;
    background: rgba(255, 255, 255, 0.99);
    opacity: 0;
    transform: translateY(-10px);
    transition:
      opacity 180ms ease,
      transform 180ms var(--ease),
      visibility 180ms ease;
  }

  .main-nav.open {
    visibility: visible;
    opacity: 1;
    transform: none;
  }

  .nav-link {
    width: min(100%, 340px);
    padding: 14px 20px;
    font-size: 18px;
    text-align: center;
  }

  .hero {
    height: auto;
    flex-direction: column;
  }

  .hero-copy {
    width: calc(100% - 32px);
    margin-inline: auto;
    padding: 48px 0 28px;
  }

  .hero-copy h1 {
    font-size: clamp(43px, 11.5vw, 58px);
    white-space: normal;
  }

  .hero-copy > p {
    width: 100%;
    font-size: 17px;
  }

  .hero-buttons {
    width: 100%;
  }

  .pill-button {
    min-height: 52px;
    flex: 1 1 0;
    font-size: 15px;
    padding-inline: 14px;
  }

  .hero-media {
    position: relative;
    inset: auto;
    width: 100%;
    height: auto;
    aspect-ratio: 3 / 2;
    order: 2;
  }

  .hero-image {
    transform: scale(1.13);
    transform-origin: right center;
  }

  .hero-media::after {
    background: linear-gradient(180deg, var(--white) 0%, rgba(255, 255, 255, 0) 18%);
  }

  .attribute-strip {
    width: 100%;
    height: auto;
    grid-template-columns: 1fr;
    margin: 0;
    padding: 8px 22px;
    background: linear-gradient(160deg, #effbf8, #f7fbfd 65%, #fff9ef);
  }

  .attribute {
    min-height: 76px;
    justify-content: flex-start;
    padding: 10px 6px;
  }

  .attribute + .attribute::before {
    top: 0;
    right: 0;
    bottom: auto;
    width: auto;
    height: 1px;
  }

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

  .attribute h2 {
    font-size: 19px;
  }

  .about {
    display: flex;
    min-height: 0;
    flex-direction: column;
    align-items: stretch;
    margin-top: 42px;
    padding: 0;
    border-radius: 26px;
  }

  .about-portrait {
    position: relative;
    inset: auto;
    width: 100%;
    height: clamp(320px, 105vw, 470px);
  }

  .about-portrait > img {
    object-position: 50% 23%;
  }

  .about-portrait::after {
    background: linear-gradient(180deg, transparent 60%, rgba(248, 253, 252, 0.55) 82%, #f8fdfc 100%);
  }

  .about-copy {
    width: 100%;
    margin: -30px 0 0;
    padding: 0 24px 32px;
  }

  .decorated-heading {
    font-size: 42px;
  }

  .about-copy > p,
  .about-list li {
    font-size: 16px;
  }

  .about-copy > p {
    margin-block: 16px;
  }

  .about-list {
    gap: 12px;
  }

  .about-list .ui-icon {
    width: 34px;
    height: 34px;
  }

  .services {
    padding-top: 40px;
  }

  .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-top: 24px;
  }

  .service-card {
    min-height: 320px;
    padding: 20px 14px 22px;
    border-radius: 24px;
  }

  .service-card > img {
    width: min(78%, 160px);
  }

  .service-card h3 {
    font-size: 23px;
  }

  .service-card p {
    font-size: 14px;
  }

  .trust {
    height: auto;
    grid-template-columns: 1fr;
    margin-top: 30px;
    border-radius: 26px;
  }

  .trust-intro {
    min-height: 320px;
    padding: 30px 26px 0;
  }

  .trust-intro::after {
    top: auto;
    right: 26px;
    bottom: 0;
    left: 26px;
    width: auto;
    height: 1px;
  }

  .trust-intro .decorated-heading {
    font-size: 40px;
  }

  .sprite-trust {
    width: 235px;
    max-width: 100%;
    margin: 0 auto;
  }

  .trust-list {
    gap: 12px;
    padding: 28px 24px 32px;
  }

  .trust-list li {
    font-size: 16px;
  }

  .trust-icon {
    width: 58px;
    height: 40px;
  }

  .partners {
    height: auto;
    grid-template-columns: repeat(2, 1fr);
    margin-top: 22px;
    border-radius: 24px;
  }

  .partners > * {
    min-height: 116px;
  }

  .partners > * + *::before {
    display: none;
  }

  .partners > *:nth-child(even) {
    border-left: 1px solid rgba(11, 45, 92, 0.17);
  }

  .partners > *:nth-child(n + 3) {
    border-top: 1px solid rgba(11, 45, 92, 0.17);
  }

  .partners h2 {
    justify-content: center;
    padding: 18px;
    font-size: 27px;
    text-align: center;
  }

  .partners p {
    justify-content: center;
    padding: 18px;
    font-size: 14px;
    text-align: center;
  }

  .partner-logo {
    padding: 18px;
  }

  .partner-logo img {
    max-width: 190px;
  }

  .main-cta {
    height: auto;
    grid-template-columns: 1fr;
    gap: 26px;
    margin-block: 26px 32px;
    padding: 32px 26px;
    border-radius: 26px;
  }

  .main-cta h2 {
    padding: 0;
    font-size: 36px;
  }

  .main-cta h2 br {
    display: none;
  }

  .cta-button {
    width: 100%;
    min-height: 58px;
    font-size: 16px;
  }

  .site-footer {
    height: auto;
    min-height: 640px;
    padding: 36px 16px 110px;
    background-size: auto 100%;
  }

  .footer-brand {
    width: 92%;
    margin-top: 0;
  }

  .footer-brand img {
    width: clamp(140px, 42vw, 180px);
  }

  .footer-contacts {
    width: 94%;
    grid-template-columns: repeat(2, 1fr);
    margin-top: 22px;
  }

  .footer-contact {
    min-height: 125px;
    padding: 14px;
    font-size: 14px;
  }

  .footer-contact + .footer-contact::before {
    display: none;
  }

  .footer-contact:nth-child(even) {
    border-left: 1px solid rgba(11, 45, 92, 0.2);
  }

  .footer-contact:nth-child(n + 3) {
    border-top: 1px solid rgba(11, 45, 92, 0.2);
    padding-top: 22px;
  }

  .floating-whatsapp {
    right: 16px;
    bottom: 16px;
    min-height: 54px;
    font-size: 15px;
  }
}

@media (max-width: 520px) {
  .hero-copy h1 {
    font-size: clamp(40px, 11.5vw, 52px);
  }

  .hero-buttons {
    flex-direction: column;
  }

  .pill-button {
    flex-basis: auto;
  }

  .service-card {
    min-height: 290px;
    padding: 14px 10px 20px;
  }

  .service-card h3 {
    font-size: clamp(18px, 4.3vw, 22px);
  }

  .service-card p {
    font-size: 13px;
  }

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

  .partners > *:nth-child(even) {
    border-left: 0;
  }

  .partners > * + * {
    border-top: 1px solid rgba(11, 45, 92, 0.17);
  }

  .footer-brand {
    width: 100%;
  }

  .footer-contacts {
    grid-template-columns: 1fr;
  }

  .footer-contact:nth-child(even) {
    border-left: 0;
  }

  .footer-contact + .footer-contact {
    border-top: 1px solid rgba(11, 45, 92, 0.2);
    padding-top: 22px;
  }

  .floating-whatsapp {
    width: 56px;
    padding: 0;
  }

  .floating-whatsapp span {
    display: none;
  }
}

@media (max-width: 380px) {
  .services-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: 300px;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .reveal-ready .reveal,
  .reveal-ready .reveal-item,
  .reveal-ready .reveal-left,
  .reveal-ready .reveal-right {
    opacity: 1;
    transform: none;
  }
}
