@font-face {
  font-family: "Aquawax Pro";
  src: url("../assets/fonts/Aquawax-Pro-DemiBold-trial.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Aloevera Sans";
  src: url("../assets/fonts/Aloevera-Regular.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Aloevera Sans";
  src: url("../assets/fonts/Aloevera-Medium.otf") format("opentype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Aloevera Sans";
  src: url("../assets/fonts/Aloevera-SemiBold.otf") format("opentype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #f4efe7;
  --bg-soft: #edf4f7;
  --surface: #fffdf8;
  --text: #313d52;
  --muted: #4e6580;
  --line: #d9e1e7;
  --accent: #5a9ecb;
  --accent-strong: #417ea8;
  --accent-soft: rgba(90, 158, 203, 0.14);
  --dark: #313d52;
  --dark-soft: #425068;
  --dark-text: #f7f2e8;
  --dark-muted: rgba(247, 242, 232, 0.9);
  --whatsapp: #25d366;
  --font-display: "Aquawax Pro", sans-serif;
  --font-body: "Aloevera Sans", sans-serif;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --space-xs: 6px;
  --space-sm: 12px;
  --space-md: 20px;
  --space-lg: 32px;
  --space-xl: 56px;
  --space-2xl: 88px;
  --container: 1160px;
  --transition: all 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  padding-top: 72px;
  letter-spacing: 0.01em;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

button {
  font: inherit;
}

details summary {
  list-style: none;
}

details summary::-webkit-details-marker {
  display: none;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 72px;
  background: rgba(244, 239, 231, 0.94);
  border-bottom: 1px solid var(--line);
  z-index: 100;
  backdrop-filter: blur(14px);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: 100%;
}

.brand img {
  height: 42px;
  width: auto;
}

.site-nav {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 16px;
  right: 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 18px;
  box-shadow: 0 12px 32px rgba(17, 47, 70, 0.08);
}

.site-nav.is-open {
  display: grid;
  gap: 14px;
}

.site-nav a {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--muted);
}

.site-nav a:hover {
  color: var(--text);
}

.menu-toggle {
  font-family: var(--font-body);
  font-weight: 600;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 14px;
  color: var(--text);
  cursor: pointer;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 12px 22px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.03em;
  border: 1px solid transparent;
  cursor: pointer;
}

.btn__icon,
.icon-link__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.btn__icon svg,
.icon-link__icon svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.btn--primary {
  background: var(--accent);
  color: #fff;
}

.btn--primary:hover {
  background: var(--accent-strong);
}

.btn--secondary {
  background: transparent;
  color: var(--text);
  border-color: var(--accent-strong);
}

.btn--secondary:hover {
  background: var(--accent-strong);
  color: #fff;
}

.btn--whatsapp {
  background: var(--whatsapp);
  color: #fff;
}

.btn--whatsapp:visited,
.btn--whatsapp:hover,
.btn--whatsapp:focus-visible {
  color: #fff;
}

.btn--whatsapp:hover {
  background: #1ebd5a;
}

.btn--nav {
  width: 100%;
}

.hero {
  position: relative;
  padding: 76px 0 64px;
  overflow: hidden;
}

.hero--cover {
  display: flex;
  align-items: center;
  min-height: clamp(520px, 78vh, 720px);
  padding: clamp(124px, 16vw, 164px) 0 72px;
  background: var(--dark);
  isolation: isolate;
}

.hero--cover::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(108deg, rgba(49, 61, 82, 0.94) 0%, rgba(49, 61, 82, 0.84) 34%, rgba(49, 61, 82, 0.5) 62%, rgba(49, 61, 82, 0.28) 100%),
    var(--hero-image);
  background-size: cover;
  background-position: var(--hero-position, center center);
  z-index: -2;
}

.hero--cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(16, 23, 35, 0.12) 0%, rgba(16, 23, 35, 0.02) 20%, rgba(16, 23, 35, 0.14) 100%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.04) 1px, transparent 1px, transparent 72px);
  z-index: -1;
  pointer-events: none;
}

.hero--grid::before,
.section--grid::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(0deg, transparent, transparent 39px, rgba(90, 158, 203, 0.06) 39px, rgba(90, 158, 203, 0.06) 40px),
    repeating-linear-gradient(90deg, transparent, transparent 39px, rgba(90, 158, 203, 0.06) 39px, rgba(90, 158, 203, 0.06) 40px);
  pointer-events: none;
}

.hero .container,
.section--grid .container {
  position: relative;
  z-index: 1;
}

.hero__grid,
.split,
.cards-3,
.issue-grid,
.treatment-grid,
.site-footer__grid,
.photo-strip,
.page-hero__layout {
  display: grid;
  gap: 20px;
}

.hero__title,
.section-header__title,
.card__title,
.issue-card h3,
.treatment-card h3,
.info-panel h3,
.cta-final__title,
.faq-question,
.site-footer__title,
.photo-card__body h3,
.page-hero__title {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  line-height: 1;
}

.hero__tag,
.section-header__tag,
.info-panel__tag,
.treatment-card__tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-strong);
  background: rgba(255, 253, 248, 0.72);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 10px;
  margin-bottom: 14px;
}

.hero__title {
  font-size: clamp(36px, 5vw, 56px);
  margin-bottom: 14px;
  color: var(--dark);
}

.hero__title em {
  font-style: normal;
  color: var(--accent);
}

.hero__subtitle,
.section-header__sub,
.card__text,
.issue-card p,
.treatment-card p,
.split__text,
.info-panel p,
.faq-answer,
.cta-final__sub,
.site-footer__brand p,
.photo-card__body p,
.page-hero__sub {
  color: var(--muted);
}

.hero__subtitle {
  max-width: 560px;
  font-size: 16px;
  margin-bottom: 20px;
}

.hero__meta {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.hero__meta span {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.8);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text);
}

.hero__buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hero--cover .hero__grid {
  grid-template-columns: 1fr;
  align-items: center;
  gap: 28px;
}

.hero--cover .hero__content {
  max-width: 100%;
}

.hero--cover .hero__tag {
  color: var(--dark-text);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.16);
}

.hero--cover .hero__title,
.hero--cover .hero__subtitle {
  color: var(--dark-text);
}

.hero--cover .hero__title em {
  color: #9fd0f1;
}

.hero--cover .hero__subtitle {
  max-width: 560px;
  color: rgba(247, 242, 232, 0.82);
}

.hero--cover .hero__meta span {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.18);
  color: var(--dark-text);
}

.hero--cover .btn--secondary {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.48);
}

.hero--cover .btn--secondary:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.64);
}

.hero--cover .hero__visual,
.hero__photo {
  display: block;
}

.hero__photo,
.page-hero__photo {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 24px 48px rgba(17, 25, 38, 0.24);
}

.hero__photo::after,
.page-hero__photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(17, 25, 38, 0.12));
  pointer-events: none;
}

.hero__photo img,
.page-hero__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 5;
}

.hero__visual-grid,
.hero__visual-secondary {
  display: grid;
  gap: 16px;
}

.photo-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 18px 36px rgba(17, 47, 70, 0.08);
}

.photo-card__media {
  background: #dfeaf2;
  aspect-ratio: 4 / 5;
}

.photo-card__media--wide {
  aspect-ratio: 4 / 3;
}

.photo-card__media--tall {
  aspect-ratio: 5 / 6;
}

.photo-card__media img,
.page-hero__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.img--top {
  object-position: center top;
}

.photo-card__body {
  padding: 18px;
}

.photo-card__body h3 {
  font-size: 26px;
  margin-bottom: 8px;
}

.photo-card__body h3,
.site-footer__title,
.faq-question {
  font-family: var(--font-body);
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.2;
  text-transform: none;
}

.stats-bar {
  padding: 34px 0;
}

.section--dark {
  background: var(--dark);
  color: var(--dark-text);
}

.stats-bar__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  text-align: center;
}

.stats-bar__num {
  font-family: var(--font-body);
  font-size: clamp(28px, 5vw, 44px);
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--accent);
  line-height: 1;
}

.stats-bar__num--icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.stats-bar__num--icon svg {
  width: clamp(28px, 4vw, 38px);
  height: clamp(28px, 4vw, 38px);
  fill: currentColor;
}

.stats-bar__label {
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(238, 247, 253, 0.48);
}

.section {
  padding: var(--space-2xl) 0;
  position: relative;
}

.section--soft {
  background: var(--bg-soft);
}

.clinical-showcase {
  display: grid;
  gap: 24px;
}

.clinical-showcase__stack {
  display: grid;
  gap: 24px;
}

.photo-card--feature .photo-card__media {
  aspect-ratio: 4 / 4.8;
}

.section-header {
  margin-bottom: 44px;
}

.section-header--center {
  text-align: center;
}

.section-header__title {
  font-size: clamp(34px, 5vw, 56px);
  margin-bottom: 12px;
}

.section-header__title--dark {
  color: var(--dark-text);
}

.section-header__sub {
  max-width: 560px;
}

.section-header--center .section-header__sub {
  margin: 0 auto;
}

.section-caption {
  max-width: 760px;
  margin: 18px auto 0;
  text-align: center;
  color: var(--muted);
  font-size: 14px;
}

.section-header__tag--dark {
  color: #d7ebf8;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.16);
}

.issue-grid {
  grid-template-columns: 1fr;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--line);
  gap: 1px;
}

.issue-card {
  background: var(--surface);
  padding: 28px 24px;
}

.issue-card__num {
  font-family: var(--font-body);
  font-size: 44px;
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1;
  color: rgba(90, 158, 203, 0.16);
  margin-bottom: 10px;
}

.issue-card h3 {
  font-size: 22px;
  margin-bottom: 8px;
}

.split {
  grid-template-columns: 1fr;
  align-items: center;
}

.feature-list {
  list-style: none;
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.feature-list li {
  position: relative;
  padding-left: 22px;
  color: var(--muted);
}

.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--accent);
}

.section-note {
  margin-top: 24px;
  padding: 18px 20px;
  border: 1px solid rgba(90, 158, 203, 0.22);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius-md);
  background: var(--accent-soft);
  color: var(--text);
}

.info-panel,
.card,
.treatment-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
}

.info-panel h3,
.treatment-card h3,
.card__title {
  font-size: 28px;
  margin-bottom: 10px;
}

.cards-3 {
  grid-template-columns: 1fr;
}

.card__cta,
.text-link {
  display: inline-block;
  margin-top: 14px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent);
}

.text-link--dark {
  color: #8bc3eb;
}

.card--placeholder {
  border-style: dashed;
  background: rgba(255, 255, 255, 0.72);
}

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

.treatment-card {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.1);
}

.treatment-card p {
  color: var(--dark-muted);
}

.treatment-card--accent {
  background: rgba(90, 158, 203, 0.16);
  border-color: rgba(215, 235, 248, 0.2);
}

.map-frame {
  min-height: 380px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--surface);
}

.map-frame iframe {
  width: 100%;
  height: 100%;
  min-height: 380px;
  border: 0;
}

.faq-list {
  display: grid;
  gap: 14px;
}

.faq-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  padding-bottom: 14px;
}

.faq-question {
  font-size: 28px;
  color: var(--dark-text);
  padding-right: 24px;
  position: relative;
  cursor: pointer;
}

.faq-question::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 0;
  color: var(--accent);
}

.faq-item[open] .faq-question::after {
  content: "x";
}

.faq-answer {
  padding-top: 12px;
  color: var(--dark-muted);
}

.cta-final {
  padding: 88px 0;
  background: var(--bg-soft);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-final::before {
  content: "HIDROS";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-display);
  font-size: 24vw;
  color: rgba(90, 158, 203, 0.05);
  line-height: 1;
  letter-spacing: 0.08em;
  pointer-events: none;
}

.cta-final__inner {
  position: relative;
  z-index: 1;
}

.cta-final__title {
  font-size: clamp(36px, 5vw, 64px);
  margin-bottom: 14px;
}

.cta-final__sub {
  max-width: 560px;
  margin: 0 auto 24px;
}

.cta-final__buttons {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.site-footer {
  background: var(--dark);
  color: var(--dark-text);
  padding: 52px 0 24px;
}

.site-footer__grid {
  grid-template-columns: 1fr;
  gap: 24px;
  margin-bottom: 30px;
}

.site-footer__logo {
  width: 132px;
  margin-bottom: 12px;
}

.site-footer__title {
  font-size: 18px;
  margin-bottom: 12px;
}

.site-footer__links {
  display: grid;
  gap: 8px;
}

.icon-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.site-footer__links a,
.site-footer__brand p,
.site-footer__bottom {
  color: var(--dark-muted);
}

.site-footer__links a:hover,
.site-footer__links a:focus-visible {
  color: #ffffff;
}

.site-footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 13px;
}

.page-hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: clamp(440px, 70vh, 620px);
  padding: clamp(124px, 16vw, 164px) 0 68px;
  background: var(--dark);
  overflow: hidden;
  isolation: isolate;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(105deg, rgba(49, 61, 82, 0.92) 0%, rgba(49, 61, 82, 0.82) 38%, rgba(49, 61, 82, 0.54) 66%, rgba(49, 61, 82, 0.28) 100%),
    var(--page-hero-image);
  background-size: cover;
  background-position: var(--page-hero-position, center center);
  z-index: -2;
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(16, 23, 35, 0.16) 0%, rgba(16, 23, 35, 0) 20%, rgba(16, 23, 35, 0.12) 100%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.04) 1px, transparent 1px, transparent 72px);
  z-index: -1;
  pointer-events: none;
}

.page-hero__layout {
  grid-template-columns: 1fr;
  align-items: center;
  min-height: 100%;
  gap: 28px;
}

.page-hero__box {
  max-width: 100%;
  padding: 0;
}

.page-hero .section-header__tag {
  color: var(--dark-text);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.16);
}

.page-hero__title {
  font-size: clamp(34px, 4.8vw, 52px);
  margin-bottom: 14px;
  color: var(--dark-text);
}

.page-hero__sub {
  max-width: 560px;
  color: rgba(247, 242, 232, 0.82);
}

.page-hero .hero__buttons,
.page-hero__actions {
  margin-top: 22px;
}

.page-hero .btn--secondary {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.48);
}

.page-hero .btn--secondary:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.64);
}

@media (min-width: 768px) {
  .site-nav {
    left: auto;
    width: 360px;
  }

  .hero__grid,
  .split {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 40px;
  }

  .hero--cover .hero__grid,
  .page-hero__layout {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 44px;
  }

  .hero__visual-grid {
    grid-template-columns: 1.05fr 0.95fr;
    align-items: start;
  }

  .cards-3,
  .treatment-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .stats-bar__grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .site-footer__grid {
    grid-template-columns: 1.2fr 1fr 1fr;
  }

  .site-footer__bottom {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

  .photo-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .clinical-showcase {
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
    gap: 28px;
    align-items: stretch;
  }

  .clinical-showcase__feature {
    display: grid;
    grid-template-rows: minmax(460px, 1fr) auto;
  }

  .clinical-showcase__feature .photo-card__media {
    aspect-ratio: auto;
    height: 100%;
  }

  .clinical-showcase__stack {
    grid-template-rows: repeat(2, minmax(0, 1fr));
    gap: 28px;
  }

  .clinical-showcase__stack .photo-card {
    display: grid;
    grid-template-rows: auto 1fr;
  }

  .clinical-showcase__stack .photo-card__media {
    aspect-ratio: 16 / 10;
  }
}

@media (min-width: 1024px) {
  .menu-toggle {
    display: none;
  }

  .site-nav {
    position: static;
    display: flex;
    align-items: center;
    gap: 22px;
    width: auto;
    background: transparent;
    border: 0;
    padding: 0;
    box-shadow: none;
  }

  .btn--nav {
    width: auto;
  }

  .hero__grid {
    grid-template-columns: 1fr 1fr;
    gap: 56px;
  }

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

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

@media (max-width: 767px) {
  .hero__buttons,
  .cta-final__buttons {
    flex-direction: column;
  }

  .hero__buttons .btn,
  .cta-final__buttons .btn {
    width: 100%;
  }

  .photo-card__media {
    aspect-ratio: 4 / 4.8;
  }
}
