/* ========================================================= RESET ========================================================= */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* ========================================================= VARIÁVEIS ========================================================= */

:root {
  --bg-page: #F2F3F5;
  --bg-card: #ffffff;
  --text-primary: #13294b;
  --text-secondary: #73829a;
  --text-muted: #6e7d94;
  --border-color: #d7e0e7;

  --option-bg: #f3f4f6;
  --option-hover-patient: #eef4f1;
  --option-hover-doctor: #f3f4f6;

  --icon-bg: #e5e7eb;
  --icon-hover-patient: #dce8e2;
  --icon-hover-doctor: #e5e7eb;

  --container-width: 920px;
  --card-width: 450px;

  --radius-card: 18px;
  --radius-option: 14px;

  --shadow-card: 0 8px 24px rgba(15, 35, 66, 0.05);
}

/* ========================================================= BASE ========================================================= */

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: 'Montserrat', sans-serif;
  background: var(--bg-page);
  color: var(--text-primary);
  line-height: 1.45;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

/* ========================================================= LAYOUT GERAL ========================================================= */

.layout-container {
  width: min(calc(100% - 2rem), var(--container-width));
  margin: 0 auto;
}

/* ========================================================= HEADER / AÇÕES DIREITA ========================================================= */

.button-club {
  text-decoration: none;
  font-size: 0.98rem;
  font-weight: 550;
  color: #5f6f86;
  line-height: 1;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.button-club:hover {
  color: #13294b;
}

/* ========================================================= HEADER USER LOGADO ========================================================= */

.header-user-button {
  min-height: 48px;
  max-width: 185px;
  padding: 0.35rem 0.85rem 0.35rem 0.45rem;
  border-radius: 11px;
  background: #ffffff;
  border: 1px solid #d9e3e7;
  color: #13294b;
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  box-shadow: none;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.header-user-button:hover {
  background: #ffffff;
  border-color: #cbdcdf;
  transform: translateY(-1px);
  box-shadow: none;
}

.header-user-avatar {
  width: 34px;
  height: 34px;
  border-radius: 0;
  background: transparent;
  color: #13294b;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.header-user-avatar i,
.header-user-avatar svg {
  width: 21px;
  height: 21px;
  stroke-width: 2.3;
  color: #13294b;
  stroke: #13294b;
}

.header-user-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  line-height: 1.05;
  min-width: 0;
}

.header-user-text strong {
  max-width: 115px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.88rem;
  line-height: 1.1;
  font-weight: 800;
  color: #13294b;
  letter-spacing: -0.01em;
}

.header-user-text small {
  margin-top: 0.18rem;
  font-size: 0.72rem;
  line-height: 1.1;
  font-weight: 500;
  color: #73829a;
}

/* ========================================================= HERO ========================================================= */

.layout-hero {
  position: relative;
  min-height: 620px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background-image: url("/public/assets/images/cincare-imagem.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.layout-hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0, 101, 78, 0.82) 0%, rgba(0, 101, 78, 0.68) 28%, rgba(0, 101, 78, 0.22) 58%, rgba(0, 101, 78, 0.78) 100%);
  z-index: 1;
}

.layout-container.layout-hero-content {
  position: relative;
  z-index: 2;
  width: 92%;
  margin: 0 auto;
}

.layout-hero-text {
  max-width: 760px;
  padding: 2rem 0;
}

.layout-hero .component-tag {
  display: inline-block;
  margin-bottom: 1.2rem;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #d9a321;
}

.layout-hero h1 {
  margin: 0 0 1.5rem;
  font-size: clamp(2.2rem, 3.8vw, 3.6rem);
  line-height: 1.05;
  font-weight: 800;
  color: #ffffff;
  max-width: 900px;
}

.layout-hero h1 span {
  color: #d9a321;
}

.component-benefits-list {
  list-style: none;
  margin: 0 0 2rem;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.component-benefits-list li {
  position: relative;
  padding-left: 2.1rem;
  font-size: clamp(1.1rem, 1.5vw, 1.45rem);
  line-height: 1.35;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.92);
}

.component-benefits-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0.02rem;
  width: 1.35rem;
  height: 1.35rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #18323e;
  border-radius: 50%;
  font-size: 0.9rem;
  font-weight: 800;
  color: #18323e;
  background: transparent;
}

.layout-hero-buttons {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.layout-hero-buttons .button-primary {
  min-height: 44px;
  height: 44px;
  padding: 0 1.45rem;
  border-radius: 12px;
  background: #1b2736;
  color: #ffffff;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  line-height: 1;
  transition: background 0.2s ease, transform 0.2s ease;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.16);
}

.layout-hero-buttons .button-primary i,
.layout-hero-buttons .button-primary svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.layout-hero-buttons .button-primary:hover {
  background: #16212f;
  transform: translateY(-1px);
}

/* ========================================================= SERVICES ========================================================= */

.layout-section-services {
  padding: 7rem 0 7.5rem;
  background: #f4f6f8;
}

.layout-section-services .layout-container {
  width: 92%;
  margin: 0 auto;
}

.layout-section-services .component-section-header {
  max-width: 760px;
  margin: 0 auto 3rem;
  text-align: center;
}

.layout-section-services .component-section-header span {
  display: inline-block;
  margin-bottom: 0.8rem;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: #1B2A3A;
}

.layout-section-services .component-section-header h2 {
  margin: 0 0 0.85rem;
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  line-height: 1.12;
  font-weight: 800;
  color: #1B2A3A;
}

.layout-section-services .component-section-header p {
  margin: 0 auto;
  max-width: 700px;
  font-size: clamp(0.95rem, 1.05vw, 1.08rem);
  line-height: 1.55;
  color: #6f8098;
}

.layout-services-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.8rem;
}

.component-service-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 2rem 2rem 1.9rem;
  box-shadow: 0 8px 24px rgba(15, 35, 66, 0.05);
  border: 1px solid #e8edf2;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.component-service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 32px rgba(15, 35, 66, 0.09);
}

.component-service-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: #e9f1ee;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.7rem;
  margin-bottom: 1.5rem;
}

.component-service-card h3 {
  margin: 0 0 1rem;
  font-size: 1.15rem;
  line-height: 1.3;
  font-weight: 800;
  color: #1B2A3A;
}

.component-service-card p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.7;
  color: #6f8098;
}

/* ========================================================= ABOUT ========================================================= */

.layout-section-about {
  padding: 6rem 0;
  background: #ffffff;
}

.layout-about-container {
  width: min(88%, 1240px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 500px 1fr;
  align-items: center;
  justify-content: center;
  gap: 4.5rem;
}

.component-about-image {
  width: 100%;
}

.component-about-image img {
  width: 100%;
  max-width: 500px;
  height: 385px;
  object-fit: cover;
  display: block;
  border-radius: 0;
  box-shadow: 0 18px 34px rgba(15, 35, 66, 0.08);
}

.component-about-text {
  max-width: 620px;
}

.component-about-text .component-tag {
  display: inline-block;
  margin-bottom: 0.9rem;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #1B2A3A;
}

.component-about-text h2 {
  margin: 0 0 1.25rem;
  font-size: clamp(1.9rem, 3.2vw, 2.8rem);
  line-height: 1.12;
  font-weight: 800;
  color: #1B2A3A;
  max-width: 620px;
}

.component-about-text p {
  margin: 0 0 1.45rem;
  font-size: 0.98rem;
  line-height: 1.65;
  color: #6f8098;
}

.layout-about-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  margin-top: 1.6rem;
  max-width: 520px;
}

.component-stat-item h3 {
  margin: 0 0 0.25rem;
  font-size: 1.1rem;
  line-height: 1;
  font-weight: 800;
  color: #006b5b;
}

.component-stat-item span {
  font-size: 0.82rem;
  line-height: 1.4;
  color: #6f8098;
}

/* ========================================================= HOW IT WORKS ========================================================= */

.layout-section-how-it-works {
  padding: 6.5rem 0 6.5rem;
  background: #f4f6f8;
}

.layout-how-container {
  width: min(88%, 1240px);
  margin: 0 auto;
}

.layout-section-how-it-works .component-section-header {
  max-width: 760px;
  margin: 0 auto 4rem;
  text-align: center;
}

.layout-section-how-it-works .component-section-header span {
  display: inline-block;
  margin-bottom: 0.9rem;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #1B2A3A;
}

.layout-section-how-it-works .component-section-header h2 {
  margin: 0 0 1rem;
  font-size: clamp(2rem, 3.4vw, 2.9rem);
  line-height: 1.12;
  font-weight: 800;
  color: #1B2A3A;
}

.layout-section-how-it-works .component-section-header p {
  margin: 0 auto;
  max-width: 720px;
  font-size: 1rem;
  line-height: 1.6;
  color: #6f8098;
}

.layout-steps-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 3rem;
  align-items: start;
}

.component-step-card {
  text-align: center;
}

.component-step-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.4rem;
  border-radius: 50%;
  border: 2px solid #b9ddd2;
  background: #eef7f3;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
}

.component-step-number {
  margin-bottom: 0.7rem;
  font-size: 1.75rem;
  line-height: 1;
  font-weight: 800;
  color: #aab3bf;
}

.component-step-card h3 {
  margin: 0 0 0.9rem;
  font-size: 1.15rem;
  line-height: 1.2;
  font-weight: 800;
  color: #1B2A3A;
}

.component-step-card p {
  margin: 0 auto;
  max-width: 290px;
  font-size: 0.98rem;
  line-height: 1.65;
  color: #6f8098;
}

/* ========================================================= CTA ========================================================= */

.layout-section-cta {
  padding: 6rem 0 6.5rem;
  background: #f4f6f8;
}

.layout-cta-container {
  width: 88%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.4rem;
}

.component-cta-card {
  background: #ffffff;
  border: 1px solid #dfe7ea;
  border-radius: 16px;
  padding: 2.6rem 2.4rem 2.4rem;
  text-align: center;
  box-shadow: 0 6px 18px rgba(15, 35, 66, 0.04);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.component-cta-card .component-tag {
  display: inline-block;
  margin-bottom: 0.8rem;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #006b5b;
}

.component-cta-card h2 {
  margin: 0 0 1rem;
  font-size: clamp(1.8rem, 2.4vw, 2.35rem);
  line-height: 1.16;
  font-weight: 800;
  color: #1B2A3A;
}

.component-cta-card p {
  max-width: 540px;
  margin: 0 auto 1.7rem;
  font-size: 0.95rem;
  line-height: 1.6;
  color: #6f8098;
  flex-grow: 1;
}

.component-cta-card .button-primary {
  min-height: 44px;
  height: 44px;
  padding: 0 1.45rem;
  border-radius: 12px;
  background: #1b2736;
  color: #ffffff;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  font-size: 0.92rem;
  font-weight: 700;
  white-space: nowrap;
  transition: background 0.2s ease, transform 0.2s ease;
  box-shadow: 0 7px 16px rgba(15, 35, 66, 0.1);
  margin-top: auto;
}

.component-cta-card .button-primary:hover {
  background: #16212f;
  transform: translateY(-1px);
}

.component-cta-card .button-primary span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.92rem;
  line-height: 1;
}

/* ========================================================= FOOTER ========================================================= */

.layout-footer {
  background: #1B2A3A;
  color: #d7e0ea;
  padding: 4.5rem 0 1.8rem;
}

.layout-footer-container {
  width: 88%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr 1fr;
  gap: 3rem;
}

.component-footer-col h3,
.component-footer-col h4 {
  margin: 0 0 1.25rem;
  font-size: 1.05rem;
  line-height: 1.2;
  font-weight: 800;
  color: #ffffff;
}

.component-footer-col p {
  margin: 0;
  max-width: 320px;
  font-size: 0.98rem;
  line-height: 1.7;
  color: #b8c5d4;
}

.component-footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.component-footer-col ul li {
  margin-bottom: 0.9rem;
  font-size: 0.98rem;
  line-height: 1.6;
  color: #b8c5d4;
}

.component-footer-col ul li:last-child {
  margin-bottom: 0;
}

.component-footer-col a {
  text-decoration: none;
  color: #b8c5d4;
  transition: color 0.2s ease;
}

.component-footer-col a:hover {
  color: #ffffff;
}

.layout-footer-bottom {
  width: 88%;
  margin: 3rem auto 0;
  padding-top: 1.8rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  font-size: 0.95rem;
  line-height: 1.5;
  color: #93a4b8;
}

/* ========================================================= BOTÃO PRIMARY GLOBAL ========================================================= */

.button-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

/* ========================================================= RESPONSIVO ========================================================= */

@media (max-width: 1200px) {
  .component-menu {
    gap: 2rem;
  }

  .layout-header-actions {
    gap: 1.2rem;
    margin-left: 1.4rem;
  }

  .layout-services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 1100px) {
  .layout-about-container {
    width: min(92%, 1240px);
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }

  .component-about-image img {
    max-width: 100%;
    height: 340px;
  }

  .component-about-text h2 {
    font-size: clamp(1.8rem, 4vw, 2.3rem);
  }
}

@media (max-width: 992px) {
  .layout-container.layout-nav {
    width: min(94%, 1440px);
    min-height: 88px;
  }

  .component-logo img {
    width: 132px;
  }

  .component-menu {
    gap: 1.4rem;
  }

  .component-menu a,
  .button-club,
  .button-secondary {
    font-size: 0.93rem;
  }

  .button-secondary {
    min-height: 38px;
    padding: 0 1.2rem;
    border-radius: 11px;
  }

  .layout-hero {
    min-height: 540px;
    background-position: 62% center;
  }

  .layout-hero-text {
    max-width: 620px;
  }

  .layout-hero h1 {
    font-size: clamp(2.3rem, 5vw, 3.6rem);
  }

  .component-benefits-list li {
    font-size: 1.05rem;
  }

  .layout-section-services {
    padding: 5rem 0 5.5rem;
  }

  .layout-section-services .component-section-header {
    margin-bottom: 2.6rem;
  }

  .layout-section-services .component-section-header h2 {
    font-size: clamp(1.6rem, 4vw, 2.2rem);
  }

  .layout-section-services .component-section-header p {
    font-size: 1rem;
  }

  .component-service-card {
    padding: 1.7rem 1.5rem;
  }

  .layout-section-how-it-works {
    padding: 5rem 0;
  }

  .layout-section-how-it-works .component-section-header {
    margin-bottom: 3rem;
  }

  .layout-section-how-it-works .component-section-header h2 {
    font-size: clamp(1.8rem, 4vw, 2.4rem);
  }

  .layout-steps-grid {
    gap: 2rem;
  }

  .component-step-icon {
    width: 74px;
    height: 74px;
    font-size: 1.8rem;
  }

  .layout-section-cta {
    padding: 5rem 0;
  }

  .layout-cta-container {
    width: min(92%, 1360px);
    gap: 1.2rem;
  }

  .component-cta-card {
    padding: 2.2rem 1.8rem 2rem;
  }

  .component-cta-card h2 {
    font-size: clamp(1.6rem, 4vw, 2rem);
  }

  .layout-footer {
    padding: 4rem 0 1.6rem;
  }

  .layout-footer-container {
    width: min(92%, 1360px);
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2.5rem 2rem;
  }

  .layout-footer-bottom {
    width: min(92%, 1360px);
    margin-top: 2.4rem;
    padding-top: 1.5rem;
  }
}

@media (max-width: 900px) {
  .layout-nav-menu {
    display: none;
  }

  .layout-container.layout-nav {
    justify-content: space-between;
  }

  .layout-header-actions {
    margin-left: auto;
  }

  .layout-section-about {
    padding: 4.8rem 0;
  }

  .layout-about-container {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .component-about-image {
    order: 1;
  }

  .component-about-text {
    order: 2;
    max-width: 100%;
  }

  .component-about-image img {
    height: 320px;
    margin: 0 auto;
  }

  .layout-about-stats {
    max-width: 100%;
  }
}

@media (max-width: 820px) {
  .button-club {
    display: none;
  }

  .layout-header-actions {
    gap: 1rem;
  }
}

@media (max-width: 767px) {
  .layout-container {
    width: min(calc(100% - 1rem), var(--container-width));
  }

  .layout-hero {
    min-height: auto;
    padding: 3.4rem 0 3.8rem;
    background-position: 68% center;
  }

  .layout-hero-overlay {
    background:
      linear-gradient(180deg, rgba(0, 101, 78, 0.88) 0%, rgba(0, 101, 78, 0.72) 45%, rgba(0, 101, 78, 0.86) 100%);
  }

  .layout-container.layout-hero-content {
    width: 92%;
  }

  .layout-hero-text {
    max-width: 100%;
    padding: 0;
  }

  .layout-hero .component-tag {
    font-size: 0.78rem;
    margin-bottom: 0.8rem;
  }

  .layout-hero h1 {
    font-size: clamp(1.8rem, 7.2vw, 2.45rem);
    margin-bottom: 1.05rem;
  }

  .component-benefits-list {
    margin-bottom: 1.35rem;
    gap: 0.7rem;
  }

  .component-benefits-list li {
    padding-left: 1.75rem;
    font-size: 0.95rem;
  }

  .component-benefits-list li::before {
    width: 1.1rem;
    height: 1.1rem;
    font-size: 0.72rem;
  }

  .layout-hero-buttons .button-primary {
    width: auto;
    min-height: 42px;
    height: 42px;
    padding: 0 1.25rem;
    border-radius: 11px;
    font-size: 0.9rem;
    gap: 7px;
  }

  .layout-hero-buttons .button-primary i,
  .layout-hero-buttons .button-primary svg {
    width: 17px;
    height: 17px;
  }

  .layout-section-services {
    padding: 4rem 0 4.5rem;
  }

  .layout-section-services .layout-container {
    width: 92%;
  }

  .layout-section-services .component-section-header {
    margin-bottom: 2.2rem;
  }

  .layout-section-services .component-section-header span {
    font-size: 0.82rem;
    margin-bottom: 0.75rem;
  }

  .layout-section-services .component-section-header h2 {
    font-size: clamp(1.45rem, 6vw, 1.95rem);
    margin-bottom: 0.8rem;
  }

  .layout-section-services .component-section-header p {
    font-size: 0.95rem;
    line-height: 1.5;
  }

  .layout-services-grid {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }

  .component-service-card {
    border-radius: 18px;
    padding: 1.5rem 1.25rem;
  }

  .component-service-icon {
    width: 52px;
    height: 52px;
    font-size: 1.45rem;
    margin-bottom: 1.2rem;
  }

  .component-service-card h3 {
    font-size: 1.05rem;
    margin-bottom: 0.8rem;
  }

  .component-service-card p {
    font-size: 0.95rem;
    line-height: 1.6;
  }

  .layout-section-about {
    padding: 4rem 0;
  }

  .layout-about-container {
    width: min(92%, 1240px);
    gap: 2rem;
  }

  .component-about-image img {
    height: 250px;
  }

  .component-about-text .component-tag {
    font-size: 0.8rem;
    margin-bottom: 0.75rem;
  }

  .component-about-text h2 {
    font-size: clamp(1.5rem, 7vw, 2rem);
    margin-bottom: 1rem;
  }

  .component-about-text p {
    font-size: 0.94rem;
    line-height: 1.6;
    margin-bottom: 1.15rem;
  }

  .layout-about-stats {
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-top: 1.3rem;
  }

  .component-stat-item h3 {
    font-size: 1.35rem;
  }

  .component-stat-item span {
    font-size: 0.9rem;
  }

  .layout-section-how-it-works {
    padding: 4rem 0;
  }

  .layout-how-container {
    width: min(92%, 1240px);
  }

  .layout-section-how-it-works .component-section-header {
    margin-bottom: 2.4rem;
  }

  .layout-section-how-it-works .component-section-header span {
    font-size: 0.8rem;
    margin-bottom: 0.75rem;
  }

  .layout-section-how-it-works .component-section-header h2 {
    font-size: clamp(1.5rem, 6vw, 2rem);
    margin-bottom: 0.8rem;
  }

  .layout-section-how-it-works .component-section-header p {
    font-size: 0.94rem;
    line-height: 1.5;
  }

  .layout-steps-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .component-step-icon {
    width: 68px;
    height: 68px;
    margin-bottom: 1.1rem;
    font-size: 1.6rem;
  }

  .component-step-number {
    font-size: 1.55rem;
    margin-bottom: 0.55rem;
  }

  .component-step-card h3 {
    font-size: 1.05rem;
    margin-bottom: 0.7rem;
  }

  .component-step-card p {
    max-width: 100%;
    font-size: 0.92rem;
    line-height: 1.6;
  }

  .layout-section-cta {
    padding: 4rem 0;
  }

  .layout-cta-container {
    width: min(92%, 1360px);
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }

  .component-cta-card {
    padding: 1.9rem 1.2rem 1.8rem;
    border-radius: 14px;
  }

  .component-cta-card .component-tag {
    font-size: 0.8rem;
    margin-bottom: 0.7rem;
  }

  .component-cta-card h2 {
    font-size: clamp(1.4rem, 6vw, 1.8rem);
    margin-bottom: 0.9rem;
  }

  .component-cta-card p {
    font-size: 0.92rem;
    line-height: 1.55;
    margin-bottom: 1.4rem;
  }

  .component-cta-card .button-primary {
    width: auto;
    min-height: 42px;
    height: 42px;
    font-size: 0.9rem;
    padding: 0 1.25rem;
    border-radius: 11px;
  }

  .layout-footer {
    padding: 3.2rem 0 1.4rem;
  }

  .layout-footer-container {
    width: min(92%, 1360px);
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .component-footer-col h3,
  .component-footer-col h4 {
    margin-bottom: 1rem;
    font-size: 1rem;
  }

  .component-footer-col p,
  .component-footer-col ul li {
    font-size: 0.94rem;
    line-height: 1.6;
  }

  .layout-footer-bottom {
    width: min(92%, 1360px);
    margin-top: 2rem;
    padding-top: 1.3rem;
    font-size: 0.9rem;
  }
}

@media (max-width: 640px) {
  .header-user-button {
    min-height: 42px;
    max-width: 48px;
    padding: 0.25rem;
    gap: 0;
    box-shadow: none;
  }

  .header-user-button:hover {
    box-shadow: none;
  }

  .header-user-avatar {
    width: 34px;
    height: 34px;
    background: transparent;
    color: #13294b;
  }

  .header-user-avatar i,
  .header-user-avatar svg {
    width: 21px;
    height: 21px;
    color: #13294b;
    stroke: #13294b;
  }

  .header-user-text {
    display: none;
  }
}

@media (max-width: 480px) {
  .layout-container.layout-nav {
    width: min(94%, 1440px);
    min-height: 78px;
  }

  .component-logo img {
    width: 118px;
  }

  .button-secondary {
    min-height: 36px;
    padding: 0 1rem;
    font-size: 0.9rem;
    border-radius: 10px;
    gap: 0.45rem;
  }

  .button-secondary i,
  .button-secondary svg {
    width: 15px;
    height: 15px;
  }
}

@media (max-width: 420px) {
  .layout-hero {
    padding: 2.8rem 0 3.2rem;
  }

  .layout-hero h1 {
    font-size: 1.65rem;
  }

  .component-benefits-list li {
    font-size: 0.9rem;
  }

  .layout-hero-buttons .button-primary {
    min-height: 40px;
    height: 40px;
    padding: 0 1.15rem;
    font-size: 0.86rem;
    border-radius: 10px;
  }

  .layout-hero-buttons .button-primary i,
  .layout-hero-buttons .button-primary svg {
    width: 16px;
    height: 16px;
  }

  .layout-section-services .component-section-header h2 {
    font-size: 1.35rem;
  }

  .layout-section-services .component-section-header p {
    font-size: 0.9rem;
  }

  .component-service-card {
    padding: 1.35rem 1.1rem;
  }

  .component-service-card p {
    font-size: 0.92rem;
  }

  .component-about-image img {
    height: 220px;
  }

  .component-about-text h2 {
    font-size: 1.35rem;
  }

  .component-about-text p {
    font-size: 0.9rem;
  }

  .component-stat-item h3 {
    font-size: 1.25rem;
  }

  .component-stat-item span {
    font-size: 0.86rem;
  }

  .layout-section-how-it-works .component-section-header h2 {
    font-size: 1.35rem;
  }

  .layout-section-how-it-works .component-section-header p {
    font-size: 0.9rem;
  }

  .component-step-number {
    font-size: 1.4rem;
  }

  .component-step-card p {
    font-size: 0.9rem;
  }

  .component-cta-card h2 {
    font-size: 1.25rem;
  }

  .component-cta-card p {
    font-size: 0.88rem;
  }

  .component-cta-card .button-primary {
    font-size: 0.86rem;
    min-height: 40px;
    height: 40px;
    padding: 0 1.15rem;
    border-radius: 10px;
  }

  .component-footer-col p,
  .component-footer-col ul li {
    font-size: 0.9rem;
  }

  .layout-footer-bottom {
    font-size: 0.86rem;
  }
}