:root {
  color-scheme: light;
  --navy: #102d48;
  --ink: #18344d;
  --blue: #1676cf;
  --blue-deep: #1266b8;
  --sky: #eaf4fc;
  --mist: #f5f8fb;
  --muted: #748294;
  --line: #e4eaf0;
  --white: #fff;
  --serif: Georgia, "Times New Roman", serif;
  --sans: "DM Sans", Arial, sans-serif;
  --display: "Manrope", "DM Sans", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

body,
button,
input,
select,
textarea {
  font-family: var(--sans);
}

button,
a,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
a {
  color: inherit;
}

a {
  text-decoration: none;
}

button {
  cursor: pointer;
}

img {
  display: block;
  max-width: 100%;
}

.container {
  width: min(1160px, calc(100% - 64px));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 20;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  color: var(--white);
  background: var(--navy);
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--white);
  border-bottom: 1px solid rgba(16, 45, 72, 0.07);
}

.header-inner {
  display: flex;
  min-height: 82px;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex-shrink: 0;
}

.brand-mark {
  display: grid;
  width: 41px;
  height: 41px;
  place-items: center;
  border: 1px solid #b7daf5;
  border-radius: 50%;
  color: var(--blue);
  font-family: var(--display);
  font-size: 27px;
  font-weight: 500;
  line-height: 1;
}

.brand-copy {
  display: grid;
  gap: 1px;
}

.brand-copy strong {
  color: var(--navy);
  font-family: var(--display);
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.25;
}

.brand-copy small {
  color: #8191a1;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.2em;
}

.main-navigation {
  display: flex;
  align-items: center;
  gap: clamp(20px, 3vw, 40px);
}

.main-navigation > a {
  color: #52677c;
  font-size: 12px;
  font-weight: 600;
  transition: color 180ms ease;
}

.main-navigation > a:hover {
  color: var(--blue);
}

.main-navigation .nav-cta {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  gap: 17px;
  padding: 0 17px;
  color: var(--white);
  background: var(--blue);
  transition: background 180ms ease, transform 180ms ease;
}

.social-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.header-social-links {
  gap: 4px;
}

.social-link {
  display: grid;
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  place-items: center;
  border: 1px solid rgba(22, 118, 207, 0.18);
  border-radius: 50%;
  color: var(--blue);
  transition: color 180ms ease, background 180ms ease, border-color 180ms ease;
}

.social-link:hover {
  border-color: var(--blue);
  color: var(--white);
  background: var(--blue);
}

.social-link svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.social-link .social-icon-fill {
  fill: currentColor;
  stroke: none;
}

.nav-cta:hover {
  color: var(--white) !important;
  background: var(--blue-deep);
  transform: translateY(-1px);
}

.nav-cta span {
  font-size: 16px;
}

.menu-toggle {
  display: none;
}

.hero {
  position: relative;
  display: grid;
  width: min(1160px, calc(100% - 64px));
  margin-inline: auto;
  height: min(560px, calc(100svh - 82px));
  grid-template-columns: 1fr 1fr;
  grid-template-rows: minmax(0, 1fr);
  background: #f5f8fb;
}

.hero-copy {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 42px clamp(24px, 5vw, 64px) 72px 0;
}

.hero-copy-inner {
  width: min(500px, 100%);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--blue);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.13em;
  line-height: 1.5;
  text-transform: uppercase;
}

.eyebrow-line {
  display: block;
  width: 25px;
  height: 1px;
  background: currentColor;
}

.hero-slides {
  position: relative;
  min-height: 312px;
  margin-top: 27px;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 450ms ease, transform 450ms ease;
  pointer-events: none;
}

.hero-slide.is-active {
  position: relative;
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

.hero h1 {
  max-width: 520px;
  margin-bottom: 21px;
  color: var(--navy);
  font-family: var(--display);
  font-size: clamp(39px, 4.4vw, 56px);
  font-weight: 600;
  letter-spacing: -0.075em;
  line-height: 1.08;
}

.hero h1 em,
.section-heading h2 em,
.news-copy h2 em,
.contact-copy h2 em {
  color: var(--blue);
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.06em;
}

.hero-slide > p {
  max-width: 420px;
  margin-bottom: 27px;
  color: #6a7a8b;
  font-size: 18px;
  line-height: 1.85;
}

.button {
  display: inline-flex;
  min-height: 49px;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 0 20px;
  border: 1px solid transparent;
  font-size: 12px;
  font-weight: 700;
  transition: color 180ms ease, background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: var(--white);
  background: var(--blue);
}

.button-primary:hover {
  background: var(--blue-deep);
}

.button span {
  font-size: 17px;
}

.hero-controls {
  position: absolute;
  bottom: 24px;
  left: 0;
  display: flex;
  align-items: center;
  gap: 13px;
}

.slide-arrow {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid #d7e0e8;
  border-radius: 50%;
  color: var(--navy);
  background: transparent;
  transition: color 180ms ease, background 180ms ease, border-color 180ms ease;
}

.slide-arrow:hover {
  border-color: var(--blue);
  color: var(--white);
  background: var(--blue);
}

.slide-dots {
  display: flex;
  align-items: center;
  gap: 6px;
}

.slide-dot {
  width: 7px;
  height: 7px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #ccd6df;
  transition: width 180ms ease, background 180ms ease;
}

.slide-dot.is-active {
  width: 21px;
  border-radius: 5px;
  background: var(--blue);
}

.slide-count {
  margin-left: 7px;
  color: #9aa8b4;
  font-size: 10px;
  letter-spacing: 0.08em;
}

.current-slide {
  color: var(--navy);
  font-weight: 700;
}

.hero-visual {
  position: relative;
  min-height: 0;
  overflow: hidden;
  background: #cddbe4;
}

.hero-visual > img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  object-position: center 20%;
}

.hero-image-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(10, 31, 49, 0.25), transparent 45%);
  pointer-events: none;
}

.hero-note {
  position: absolute;
  right: 34px;
  bottom: 43px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  color: var(--navy);
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 10px 35px rgba(18, 42, 63, 0.12);
}

.note-icon {
  display: grid;
  width: 37px;
  height: 37px;
  place-items: center;
  border: 1px solid #d8eafa;
  border-radius: 50%;
  color: var(--blue);
  font-size: 20px;
}

.hero-note > span:last-child {
  display: grid;
}

.hero-note strong {
  font-family: var(--display);
  font-size: 16px;
}

.hero-note small {
  color: var(--muted);
  font-size: 14px;
}

.hero-index {
  position: absolute;
  top: 50%;
  right: 21px;
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--white);
  font-size: 9px;
  letter-spacing: 0.09em;
  writing-mode: vertical-rl;
}

.hero-index i {
  width: 1px;
  height: 28px;
  background: rgba(255, 255, 255, 0.72);
}

.hero-scroll {
  position: absolute;
  bottom: 0;
  left: -31px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #718092;
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
}

.hero-scroll span {
  width: 1px;
  height: 27px;
  background: #b5c3cf;
}

.intro-strip {
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.intro-strip-inner {
  display: flex;
  min-height: 78px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.intro-strip p {
  margin: 0;
  color: #506479;
  font-size: 17px;
}

.intro-strip strong {
  color: var(--navy);
}

.intro-strip-inner > span {
  color: #8593a1;
  font-size: 10px;
  letter-spacing: 0.08em;
}

.section {
  padding: 112px 0;
}

.section-heading {
  max-width: 600px;
  margin: 0 auto 54px;
  text-align: center;
}

.section-heading h2,
.news-copy h2,
.contact-copy h2 {
  margin: 18px 0 14px;
  color: var(--navy);
  font-family: var(--display);
  font-size: clamp(36px, 4.5vw, 53px);
  font-weight: 600;
  letter-spacing: -0.075em;
  line-height: 1.13;
}

.section-heading > p {
  max-width: 490px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.8;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.service-card {
  position: relative;
  min-height: 270px;
  padding: 29px 25px 24px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--white);
  transition: background 220ms ease, transform 220ms ease, box-shadow 220ms ease;
}

.service-card:hover {
  z-index: 1;
  background: #fbfdff;
  box-shadow: 0 14px 35px rgba(30, 71, 106, 0.08);
  transform: translateY(-4px);
}

.service-icon {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 1px solid #cfe4f7;
  border-radius: 50%;
  color: var(--blue);
}

.service-icon svg {
  width: 25px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.5;
}

.card-number {
  position: absolute;
  top: 33px;
  right: 22px;
  color: #b6c3ce;
  font-size: 10px;
}

.service-card h3 {
  margin: 23px 0 7px;
  color: var(--navy);
  font-family: var(--display);
  font-size: 20px;
  letter-spacing: -0.03em;
}

.service-card p {
  min-height: 60px;
  margin-bottom: 13px;
  color: #788797;
  font-size: 15px;
  line-height: 1.7;
}

.service-card > a,
.article-read {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--blue);
  font-size: 10px;
  font-weight: 700;
}

.services-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 23px;
  color: var(--muted);
  font-size: 15px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--blue);
  font-size: 11px;
  font-weight: 700;
}

.text-link span {
  font-size: 16px;
  transition: transform 180ms ease;
}

.text-link:hover span,
.article-read:hover span {
  transform: translate(3px, -2px);
}

.about-section {
  position: relative;
  overflow: hidden;
  padding: 103px 0 47px;
  color: var(--white);
  background-color: #1269b4;
  background-image: linear-gradient(115deg, rgba(13, 91, 163, 0.97), rgba(27, 122, 193, 0.91)), url("assets/endocrinologista-dia.jpg");
  background-position: center;
  background-size: cover;
}

.about-section::before,
.about-section::after {
  position: absolute;
  width: 390px;
  height: 390px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.about-section::before {
  top: 50px;
  left: -220px;
}

.about-section::after {
  right: -255px;
  bottom: -80px;
  width: 500px;
  height: 500px;
}

.about-section .container {
  position: relative;
  z-index: 1;
}

.section-heading-light {
  margin-bottom: 42px;
}

.section-heading-light .eyebrow,
.section-heading-light h2,
.section-heading-light > p {
  color: var(--white);
}

.section-heading-light .eyebrow-line {
  background: #9bd1fb;
}

.section-heading-light h2 em {
  color: #a8d7fa;
}

.section-heading-light > p {
  color: rgba(255, 255, 255, 0.76);
}

.about-layout {
  display: grid;
  grid-template-columns: 1fr minmax(250px, 350px) 1fr;
  align-items: center;
  gap: clamp(24px, 5vw, 72px);
}

.about-side {
  display: grid;
  gap: 35px;
}

.about-point {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.about-point-icon {
  display: grid;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  color: #b9e1ff;
  font-size: 9px;
}

.about-point h3 {
  margin: 1px 0 7px;
  color: var(--white);
  font-family: var(--display);
  font-size: 18px;
  letter-spacing: -0.025em;
}

.about-point p {
  max-width: 245px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 15px;
  line-height: 1.8;
}

.about-portrait {
  position: relative;
  padding: 11px;
  border: 1px solid rgba(255, 255, 255, 0.45);
}

.about-portrait > img {
  width: 100%;
  aspect-ratio: 0.79;
  object-fit: cover;
  object-position: center 34%;
  background: #d1e0e8;
}

.portrait-caption {
  position: absolute;
  right: 0;
  bottom: 27px;
  display: grid;
  min-width: 81%;
  gap: 1px;
  padding: 13px 18px;
  color: var(--navy);
  background: var(--white);
}

.portrait-caption strong {
  font-family: var(--display);
  font-size: 16px;
}

.portrait-caption small {
  color: var(--muted);
  font-size: 13px;
}

.portrait-decoration {
  position: absolute;
  top: -21px;
  right: -20px;
  color: #b0dcfc;
  font-size: 45px;
  font-weight: 300;
  line-height: 1;
}

.about-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 54px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.about-bottom > span {
  color: rgba(255, 255, 255, 0.88);
  font-family: var(--serif);
  font-size: 18px;
  font-style: italic;
}

.button-outline-light {
  border-color: rgba(255, 255, 255, 0.58);
  color: var(--white);
  background: transparent;
}

.button-outline-light:hover {
  border-color: var(--white);
  color: var(--navy);
  background: var(--white);
}

.articles-section {
  padding-bottom: 123px;
}

.section-topline {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 35px;
  margin-bottom: 42px;
}

.section-heading-left {
  margin: 0;
  text-align: left;
}

.section-heading-left h2 {
  margin-top: 16px;
  font-size: clamp(35px, 4vw, 46px);
}

.section-heading-left > p {
  margin: 0;
}

.desktop-link {
  margin-bottom: 7px;
}

.mobile-link {
  display: none;
}

.articles-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.article-card {
  min-width: 0;
}

.article-image {
  position: relative;
  display: block;
  margin-bottom: 19px;
  overflow: hidden;
  background: #e9f0f5;
}

.article-image > img {
  width: 100%;
  aspect-ratio: 1.42;
  object-fit: cover;
  transition: transform 450ms ease;
}

.article-card:hover .article-image > img {
  transform: scale(1.045);
}

.article-arrow {
  position: absolute;
  right: 13px;
  bottom: 13px;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  color: var(--navy);
  background: var(--white);
}

.article-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 9px;
  font-size: 9px;
}

.article-meta span {
  padding: 4px 8px;
  color: var(--blue);
  background: #e9f4fc;
  font-weight: 700;
}

.article-meta time {
  color: #909dab;
}

.article-card h3 {
  margin: 0 0 8px;
  color: var(--navy);
  font-family: var(--display);
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.38;
}

.article-card h3 a:hover {
  color: var(--blue);
}

.article-card > p {
  min-height: 50px;
  margin-bottom: 14px;
  color: #7b8997;
  font-size: 15px;
  line-height: 1.75;
}

.article-read {
  gap: 14px;
}

.article-read span {
  transition: transform 180ms ease;
}

.news-section {
  overflow: hidden;
  background: #f4f8fb;
}

.news-inner {
  position: relative;
  display: grid;
  min-height: 430px;
  grid-template-columns: 0.8fr 1.2fr;
  align-items: center;
  gap: 7%;
  padding-top: 75px;
  padding-bottom: 75px;
}

.news-copy {
  position: relative;
  z-index: 1;
}

.news-copy h2 {
  font-size: clamp(35px, 4vw, 49px);
}

.news-copy > p {
  max-width: 390px;
  margin-bottom: 25px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.9;
}

.news-feature {
  position: relative;
  min-height: 300px;
}

.news-feature > img {
  width: 100%;
  height: 340px;
  object-fit: cover;
}

.news-feature-caption {
  position: absolute;
  right: -25px;
  bottom: -31px;
  width: min(310px, 80%);
  padding: 22px 24px;
  background: var(--white);
  box-shadow: 0 13px 36px rgba(25, 57, 81, 0.1);
}

.news-badge {
  display: inline-block;
  margin-bottom: 9px;
  color: var(--blue);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.news-feature-caption h3 {
  margin-bottom: 7px;
  color: var(--navy);
  font-family: var(--display);
  font-size: 21px;
  letter-spacing: -0.035em;
  line-height: 1.35;
}

.news-feature-caption p {
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.news-feature-caption > a {
  color: var(--blue);
  font-size: 10px;
  font-weight: 700;
}

.news-feature-caption > a span {
  margin-left: 8px;
}

.news-watermark {
  position: absolute;
  bottom: 19px;
  left: 0;
  color: #dce7ef;
  font-family: var(--display);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
}

.contact-section {
  padding: 114px 0;
  background: var(--white);
}

.contact-layout {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  align-items: center;
  gap: clamp(50px, 9vw, 130px);
}

.contact-copy h2 {
  margin-top: 18px;
  font-size: clamp(38px, 4.4vw, 54px);
}

.contact-copy > p {
  max-width: 420px;
  margin-bottom: 32px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.85;
}

.contact-details {
  display: grid;
  gap: 19px;
}

.contact-detail {
  display: flex;
  align-items: center;
  gap: 13px;
}

.contact-detail-icon {
  display: grid;
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  place-items: center;
  border: 1px solid #d9e9f5;
  border-radius: 50%;
  color: var(--blue);
  font-size: 17px;
}

.contact-detail > span:last-child {
  display: grid;
  gap: 1px;
}

.contact-detail small {
  color: #8997a4;
  font-size: 9px;
}

.contact-detail strong {
  color: var(--navy);
  font-size: 15px;
  font-weight: 600;
}

.contact-form {
  padding: 38px;
  border: 1px solid var(--line);
  background: #fcfdfe;
  box-shadow: 0 18px 55px rgba(20, 55, 83, 0.055);
}

.form-heading {
  margin-bottom: 24px;
}

.form-heading > span {
  color: var(--blue);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.form-heading h3 {
  margin: 6px 0 0;
  color: var(--navy);
  font-family: var(--display);
  font-size: 26px;
  letter-spacing: -0.05em;
}

.contact-form label {
  display: block;
  margin: 0 0 6px;
  color: #40576d;
  font-size: 10px;
  font-weight: 600;
}

.contact-form label span {
  color: #9aa7b2;
  font-weight: 400;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  min-height: 45px;
  margin-bottom: 16px;
  padding: 11px 13px;
  border: 1px solid #e2e9ef;
  border-radius: 0;
  outline: 0;
  color: var(--navy);
  background: var(--white);
  font-size: 11px;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.contact-form textarea {
  min-height: 87px;
  resize: vertical;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder,
.contact-form select:invalid {
  color: #a0acb8;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: #83b9e4;
  box-shadow: 0 0 0 3px rgba(22, 118, 207, 0.09);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.form-submit {
  width: 100%;
  margin-top: 1px;
  border: 0;
}

.form-privacy {
  display: block;
  margin-top: 12px;
  color: #95a1ac;
  font-size: 9px;
  text-align: center;
}

.form-feedback {
  display: none;
  margin: 12px 0 0;
  padding: 10px 12px;
  color: #155f39;
  background: #eaf7ef;
  font-size: 11px;
}

.form-feedback.is-visible {
  display: block;
}

.site-footer {
  color: rgba(255, 255, 255, 0.76);
  background: #123c61;
}

.footer-main {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr 1fr 1.2fr;
  gap: 45px;
  padding-top: 61px;
  padding-bottom: 51px;
}

.brand-footer .brand-copy strong {
  color: var(--white);
}

.brand-footer .brand-copy small {
  color: #a4bfd3;
}

.brand-footer .brand-mark {
  border-color: rgba(193, 224, 249, 0.42);
  color: #8bc8f5;
}

.footer-about > p,
.footer-cta > p {
  max-width: 250px;
  margin: 17px 0 12px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 14px;
  line-height: 1.8;
}

.footer-crm {
  color: rgba(255, 255, 255, 0.49);
  font-size: 9px;
}

.footer-social-links {
  margin-top: 17px;
}

.footer-social-links .social-link {
  border-color: rgba(193, 224, 249, 0.34);
  color: #a7d4f4;
}

.footer-social-links .social-link:hover {
  border-color: #fff;
  color: var(--navy);
  background: #fff;
}

.footer-links,
.footer-cta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-links h3,
.footer-cta h3 {
  margin: 7px 0 18px;
  color: var(--white);
  font-family: var(--display);
  font-size: 16px;
  font-weight: 700;
}

.footer-links > a {
  margin-bottom: 9px;
  color: rgba(255, 255, 255, 0.63);
  font-size: 10px;
  transition: color 180ms ease;
}

.footer-links > a:hover,
.footer-bottom a:hover {
  color: var(--white);
}

.footer-cta h3 {
  margin-bottom: 0;
}

.footer-cta > p {
  margin: 5px 0 15px;
}

.footer-cta .button {
  min-height: 39px;
  font-size: 10px;
}

.footer-bottom {
  display: flex;
  min-height: 56px;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.5);
  font-size: 9px;
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.7);
}

.whatsapp-float {
  position: fixed;
  z-index: 9;
  right: 25px;
  bottom: 24px;
  display: flex;
  width: 57px;
  height: 57px;
  align-items: center;
  justify-content: center;
  border: 3px solid rgba(255, 255, 255, 0.88);
  border-radius: 50%;
  color: var(--white);
  background: #20bd65;
  box-shadow: 0 7px 24px rgba(16, 69, 44, 0.25);
  transition: transform 200ms ease;
}

.whatsapp-float:hover {
  transform: scale(1.08);
}

.whatsapp-float svg {
  width: 23px;
  height: 23px;
  fill: var(--white);
}

.whatsapp-chat {
  position: fixed;
  z-index: 30;
  right: 25px;
  bottom: 94px;
  display: flex;
  width: min(360px, calc(100vw - 40px));
  flex-direction: column;
  overflow: hidden;
  border: 1px solid #dce5f0;
  border-radius: 16px;
  color: #10203e;
  background: #f0f2f5;
  box-shadow: 0 12px 36px rgba(7, 25, 54, 0.28);
  font-size: 14px;
  animation: whatsapp-chat-enter 240ms ease both;
}

.whatsapp-chat[hidden] {
  display: none;
}

.whatsapp-chat__header {
  display: flex;
  min-height: 54px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 14px 10px 17px;
  color: var(--white);
  background: #0e2854;
}

.whatsapp-chat__title {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 15px;
  font-weight: 700;
}

.whatsapp-chat__title svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: #25d366;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.whatsapp-chat__close {
  display: grid;
  width: 32px;
  height: 32px;
  flex: 0 0 auto;
  place-items: center;
  border: 0;
  border-radius: 50%;
  color: var(--white);
  background: rgba(255, 255, 255, 0.14);
  cursor: pointer;
  font-size: 23px;
  line-height: 1;
}

.whatsapp-chat__close:hover {
  background: rgba(255, 255, 255, 0.25);
}

.whatsapp-chat__body {
  display: flex;
  min-height: 145px;
  flex-direction: column;
  justify-content: flex-end;
  gap: 10px;
  padding: 16px;
  background-color: #e5ddd5;
  background-image: radial-gradient(rgba(16, 32, 62, 0.045) 0.7px, transparent 0.7px);
  background-size: 12px 12px;
}

.whatsapp-chat__message {
  position: relative;
  max-width: 88%;
  margin: 0;
  padding: 10px 13px;
  border-radius: 0 14px 14px 14px;
  color: #111b21;
  background: var(--white);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.12);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 350ms ease, transform 350ms ease;
}

.whatsapp-chat__message.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.whatsapp-chat__footer {
  display: flex;
  justify-content: flex-end;
  padding: 12px 15px;
  border-top: 1px dashed #d5dbe3;
  background: var(--white);
}

.whatsapp-chat__send {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 8px 17px;
  border-radius: 22px;
  color: var(--white);
  background: #159d60;
  font-size: 13px;
  font-weight: 700;
  transition: background 200ms ease, transform 200ms ease;
}

.whatsapp-chat__send:hover {
  color: var(--white);
  background: #11814e;
  transform: translateY(-1px);
}

.whatsapp-chat__send svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

@keyframes whatsapp-chat-enter {
  from {
    opacity: 0;
    transform: translateY(12px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

:focus-visible {
  outline: 3px solid #54aaf0;
  outline-offset: 3px;
}

@media (max-width: 960px) {
  .container {
    width: min(100% - 48px, 760px);
  }

  .header-inner {
    min-height: 72px;
  }

  .hero {
    width: min(100% - 48px, 760px);
  }

  .main-navigation {
    gap: 16px;
  }

  .main-navigation > a {
    font-size: 10px;
  }

  .main-navigation .nav-cta {
    gap: 9px;
    padding-inline: 11px;
  }

  .hero {
    height: min(520px, calc(100svh - 72px));
  }

  .hero-copy {
    padding: 36px 28px 66px 0;
  }

  .hero h1 {
    font-size: clamp(36px, 5vw, 48px);
  }

  .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about-layout {
    grid-template-columns: 1fr minmax(220px, 290px) 1fr;
    gap: 24px;
  }

  .about-side {
    gap: 27px;
  }

  .about-point {
    display: block;
  }

  .about-point-icon {
    margin-bottom: 10px;
  }

  .footer-main {
    grid-template-columns: 1.2fr 0.8fr 1fr;
    gap: 30px;
  }

  .footer-cta {
    grid-column: 2 / 4;
  }
}

@media (max-width: 850px) {
  .menu-toggle {
    display: flex;
    width: 42px;
    height: 42px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    border: 1px solid var(--line);
    background: var(--white);
  }

  .menu-toggle span {
    width: 17px;
    height: 1px;
    background: var(--navy);
    transition: transform 180ms ease;
  }

  .menu-toggle[aria-expanded="true"] span:first-child {
    transform: translateY(3.5px) rotate(45deg);
  }

  .menu-toggle[aria-expanded="true"] span:last-child {
    transform: translateY(-3.5px) rotate(-45deg);
  }

  .main-navigation {
    position: absolute;
    top: calc(100% - 1px);
    right: 0;
    left: 0;
    display: none;
    align-items: stretch;
    gap: 0;
    padding: 7px 24px 20px;
    border-bottom: 1px solid var(--line);
    background: var(--white);
    box-shadow: 0 18px 24px rgba(16, 45, 72, 0.08);
  }

  .main-navigation.is-open {
    display: flex;
    flex-direction: column;
  }

  .main-navigation > a {
    padding: 12px 0;
    border-bottom: 1px solid #eef1f4;
    font-size: 12px;
  }

  .main-navigation .nav-cta {
    justify-content: space-between;
    margin-top: 12px;
    padding: 0 14px;
  }

  .header-social-links {
    padding: 13px 0 4px;
  }
}

@media (max-width: 700px) {
  html {
    scroll-padding-top: 72px;
  }

  .container {
    width: min(100% - 40px, 520px);
  }

  .header-inner {
    min-height: 70px;
  }

  .hero {
    width: min(100% - 40px, 520px);
    margin-inline: auto;
    height: auto;
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }

  .hero-copy {
    order: 2;
    min-height: 442px;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 46px 25px 95px;
  }

  .hero-copy-inner {
    width: min(100%, 520px);
    margin-inline: auto;
  }

  .hero-slides {
    min-height: 274px;
    margin-top: 18px;
  }

  .hero h1 {
    max-width: 440px;
    font-size: clamp(40px, 11vw, 58px);
  }

  .hero-slide > p {
    font-size: 17px;
  }

  .hero-controls {
    bottom: 31px;
  }

  .hero-visual {
    order: 1;
    height: clamp(320px, 91vw, 470px);
  }

  .hero-visual > img {
    object-position: center 35%;
  }

  .hero-note {
    right: 15px;
    bottom: 18px;
    padding: 12px 14px;
  }

  .hero-index,
  .hero-scroll {
    display: none;
  }

  .intro-strip-inner {
    min-height: 80px;
    flex-wrap: wrap;
    align-content: center;
    gap: 3px;
  }

  .intro-strip p {
    width: 100%;
    font-size: 16px;
  }

  .intro-strip-inner > span {
    font-size: 9px;
  }

  .section {
    padding: 81px 0;
  }

  .section-heading {
    margin-bottom: 35px;
  }

  .section-heading h2,
  .news-copy h2,
  .contact-copy h2 {
    font-size: clamp(35px, 9vw, 46px);
  }

  .section-heading > p {
    font-size: 16px;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    display: grid;
    min-height: auto;
    grid-template-columns: 50px 1fr;
    column-gap: 15px;
    padding: 20px;
  }

  .service-icon {
    grid-row: 1 / 4;
  }

  .service-card h3 {
    margin: 2px 0 5px;
  }

  .service-card p {
    min-height: 0;
    margin: 0 0 11px;
  }

  .service-card > a {
    grid-column: 2;
  }

  .card-number {
    top: 22px;
    right: 19px;
  }

  .services-foot {
    align-items: flex-start;
    flex-direction: column;
    gap: 9px;
  }

  .about-section {
    padding: 78px 0 32px;
  }

  .about-layout {
    grid-template-columns: 1fr 1fr;
    gap: 25px 20px;
  }

  .about-portrait {
    grid-column: 1 / -1;
    grid-row: 1;
    width: min(78%, 310px);
    margin: 0 auto;
  }

  .about-side {
    align-content: start;
    gap: 22px;
  }

  .about-point-icon {
    width: 29px;
    height: 29px;
    margin-bottom: 8px;
  }

  .about-point h3 {
    font-size: 16px;
  }

  .about-point p {
    font-size: 14px;
  }

  .about-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
    margin-top: 34px;
  }

  .about-bottom > span {
    font-size: 16px;
  }

  .articles-section {
    padding-bottom: 82px;
  }

  .section-topline {
    margin-bottom: 26px;
  }

  .desktop-link {
    display: none;
  }

  .mobile-link {
    display: inline-flex;
    margin-top: 25px;
  }

  .articles-grid {
    grid-template-columns: 1fr;
    gap: 31px;
  }

  .article-image {
    margin-bottom: 14px;
  }

  .article-image > img {
    aspect-ratio: 1.56;
  }

  .article-card h3 {
    font-size: 23px;
  }

  .article-card > p {
    min-height: 0;
    font-size: 16px;
  }

  .news-inner {
    grid-template-columns: 1fr;
    gap: 31px;
    padding-top: 72px;
    padding-bottom: 89px;
  }

  .news-copy > p {
    max-width: 470px;
  }

  .news-feature {
    min-height: 245px;
    margin-right: 10px;
    margin-bottom: 20px;
  }

  .news-feature > img {
    height: clamp(230px, 61vw, 330px);
  }

  .news-feature-caption {
    right: -10px;
    bottom: -42px;
    width: min(285px, 83%);
  }

  .news-watermark {
    bottom: 24px;
    font-size: 8px;
  }

  .contact-section {
    padding: 82px 0;
  }

  .contact-layout {
    grid-template-columns: 1fr;
    gap: 37px;
  }

  .contact-copy > p {
    margin-bottom: 23px;
  }

  .contact-details {
    gap: 13px;
  }

  .contact-form {
    padding: 26px 21px;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .footer-main {
    grid-template-columns: 1fr 1fr;
    gap: 32px 22px;
    padding-top: 44px;
    padding-bottom: 38px;
  }

  .footer-about,
  .footer-cta {
    grid-column: 1 / -1;
  }

  .footer-links h3 {
    margin-bottom: 13px;
  }

  .footer-bottom {
    min-height: 68px;
    align-items: flex-start;
    justify-content: center;
    flex-direction: column;
    gap: 4px;
  }

  .whatsapp-float {
    right: 16px;
    bottom: 16px;
    width: 53px;
    height: 53px;
  }

  .whatsapp-chat {
    right: 16px;
    bottom: 78px;
    width: min(360px, calc(100vw - 32px));
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
