/* =============================================
   ISI Asesores — Hero (CSS puro, sin frameworks)
   ============================================= */

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.5;
  color: #405263;
  background: #fff;
  -webkit-font-smoothing: antialiased;
}

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

ul {
  list-style: none;
}

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

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

/* Altura del header fijo (para scroll-margin) */
:root {
  --header-height: 96px;
}

#home,
#services,
#somos,
#contacto-form {
  scroll-margin-top: var(--header-height);
}

/* =============================================
   CABECERA
   ============================================= */

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: #fff;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  padding-top: 12px;
  padding-bottom: 12px;
  gap: 24px;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  line-height: 0;
}

.logo__img {
  display: block;
  width: auto;
  height: auto;
  max-height: 60px;
  max-width: min(180px, 42vw);
}

/* Navegación desktop */
.nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav__list {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav__link {
  display: block;
  padding: 10px 14px;
  font-size: 15px;
  font-weight: 500;
  color: #405263;
  transition: color 0.2s ease;
  white-space: nowrap;
}

.nav__link:hover {
  color: #24A14A;
}

.nav__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-left: 8px;
  padding: 10px 18px;
  font-size: 15px;
  font-weight: 500;
  color: #24A14A;
  border: 1.5px solid #24A14A;
  border-radius: 8px;
  transition: background 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}

.nav__btn:hover {
  background: #24A14A;
  color: #fff;
}

.nav__btn-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

/* Hamburguesa (solo móvil) */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 8px;
  background: none;
  border: 1.5px solid #24A14A;
  border-radius: 6px;
  cursor: pointer;
}

.nav-toggle__bar {
  display: block;
  width: 100%;
  height: 2px;
  background: #24A14A;
  border-radius: 1px;
}

/* =============================================
   HERO
   ============================================= */

.hero {
  position: relative;
  overflow: hidden;
  padding-top: 72px;
  background-color: #0a0e23;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='900' height='700' viewBox='0 0 900 700'%3E%3Crect fill='%230a0e23' width='900' height='700'/%3E%3Cg stroke='rgba(255,255,255,0.06)' stroke-width='1' fill='none'%3E%3Cline x1='70' y1='100' x2='200' y2='150'/%3E%3Cline x1='200' y1='150' x2='350' y2='80'/%3E%3Cline x1='350' y1='80' x2='520' y2='130'/%3E%3Cline x1='520' y1='130' x2='680' y2='70'/%3E%3Cline x1='680' y1='70' x2='830' y2='120'/%3E%3Cline x1='120' y1='280' x2='250' y2='230'/%3E%3Cline x1='250' y1='230' x2='400' y2='300'/%3E%3Cline x1='400' y1='300' x2='550' y2='240'/%3E%3Cline x1='550' y1='240' x2='720' y2='290'/%3E%3Cline x1='720' y1='290' x2='850' y2='220'/%3E%3Cline x1='50' y1='450' x2='180' y2='410'/%3E%3Cline x1='180' y1='410' x2='330' y2='470'/%3E%3Cline x1='330' y1='470' x2='480' y2='420'/%3E%3Cline x1='480' y1='420' x2='630' y2='480'/%3E%3Cline x1='630' y1='480' x2='780' y2='430'/%3E%3Cline x1='200' y1='150' x2='250' y2='230'/%3E%3Cline x1='350' y1='80' x2='400' y2='300'/%3E%3Cline x1='520' y1='130' x2='550' y2='240'/%3E%3Cline x1='180' y1='410' x2='250' y2='230'/%3E%3C/g%3E%3Cg fill='rgba(255,255,255,0.1)'%3E%3Ccircle cx='70' cy='100' r='2'/%3E%3Ccircle cx='830' cy='120' r='2'/%3E%3Ccircle cx='850' cy='220' r='2'/%3E%3Ccircle cx='780' cy='430' r='2'/%3E%3C/g%3E%3Cg fill='rgba(36,161,74,0.45)'%3E%3Ccircle cx='200' cy='150' r='3'/%3E%3Ccircle cx='350' cy='80' r='2.5'/%3E%3Ccircle cx='520' cy='130' r='3'/%3E%3Ccircle cx='680' cy='70' r='2.5'/%3E%3Ccircle cx='250' cy='230' r='3'/%3E%3Ccircle cx='400' cy='300' r='3.5'/%3E%3Ccircle cx='550' cy='240' r='3'/%3E%3Ccircle cx='720' cy='290' r='3'/%3E%3Ccircle cx='180' cy='410' r='2.5'/%3E%3Ccircle cx='330' cy='470' r='3'/%3E%3Ccircle cx='480' cy='420' r='3.5'/%3E%3Ccircle cx='630' cy='480' r='3'/%3E%3C/g%3E%3C/svg%3E");
  background-size: cover;
  background-position: center;
}

.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 480px);
  gap: 40px;
  align-items: center;
  padding: 80px 0 72px;
}

/* Columna izquierda */
.hero__content {
  max-width: 540px;
}

.hero__title {
  font-size: clamp(40px, 5vw, 54px);
  font-weight: 900;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 20px;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.hero__subtitle {
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 700;
  color: #68B54B;
  line-height: 1.25;
  margin-bottom: 24px;
}

.hero__text {
  font-size: 19px;
  font-weight: 400;
  color: #fff;
  line-height: 1.55;
  margin-bottom: 0;
  max-width: 480px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

/* Columna derecha — tarjeta formulario */
.hero__form-wrap {
  display: flex;
  justify-content: flex-end;
}

.form-card {
  width: 100%;
  max-width: 480px;
  background: #fff;
  border-radius: 6px;
  padding: 44px 44px 36px;
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.35);
}

.form-card__title {
  font-size: 23px;
  font-weight: 700;
  color: #0F3D22;
  margin-bottom: 22px;
}

.form-card__field {
  position: relative;
  margin-bottom: 14px;
}

.form-card__field-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  pointer-events: none;
  color: #24A14A;
}

.form-card__input {
  width: 100%;
  height: 50px;
  padding: 0 16px 0 46px;
  font-family: 'Montserrat', sans-serif;
  font-size: 15px;
  color: #555;
  background: #f9f9f9;
  border: 1px solid #eee;
  border-radius: 5px;
  outline: none;
  transition: border-color 0.2s ease;
}

.form-card__input:focus {
  border-color: #aaa;
}

.form-card__tipo {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 14px;
}

.form-card__pill {
  flex: 1;
  position: relative;
  cursor: pointer;
}

.form-card__pill input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.form-card__pill span {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 50px;
  font-family: 'Montserrat', sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: #555;
  background: #f9f9f9;
  border: 1px solid #eee;
  border-radius: 5px;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.form-card__pill input:checked + span {
  color: #fff;
  background: #24A14A;
  border-color: #24A14A;
}

.form-card__pill input:focus-visible + span {
  outline: 2px solid #24A14A;
  outline-offset: 2px;
}

.form-card__error {
  font-size: 13px;
  color: #d32f2f;
  margin-top: 4px;
  font-weight: 400;
}

.form-card__tipo .form-card__error {
  flex-basis: 100%;
}

.form-card__success {
  text-align: center;
  margin: 28px 0;
}

.form-card__terms {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 16px 0 14px;
  font-size: 13px;
  line-height: 1.45;
  color: #7c8595;
}

.form-card__terms input[type="checkbox"] {
  margin-top: 3px;
  flex-shrink: 0;
  width: 14px;
  height: 14px;
  accent-color: #24A14A;
}

.form-card__link {
  color: #24A14A;
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.form-card__link:hover {
  color: #1D8A48;
}

.form-card__submit {
  width: 100%;
  padding: 18px 14px;
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: #fff;
  background: #24A14A;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.2s ease;
}

.form-card__submit:hover {
  background: #3DC873;
}

.form-card__divider {
  border: none;
  border-top: 1px solid #eee;
  margin: 18px 0 14px;
}

.form-card__footnote {
  font-size: 12px;
  line-height: 1.45;
  color: #7c8595;
}

/* =============================================
   FRANJA DE CONTACTO
   ============================================= */

.contact-bar {
  background: #24A14A;
  padding: 44px 0 40px;
}

.contact-bar__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(220px, 280px));
  justify-content: center;
  gap: 80px;
  max-width: 720px;
  margin: 0 auto;
}

.contact-bar__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 4px;
}

.contact-bar__icon {
  width: 44px;
  height: 44px;
  margin-bottom: 6px;
  color: #fff;
}

.contact-bar__icon svg {
  width: 100%;
  height: 100%;
}

.contact-bar__label {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 2px;
}

.contact-bar__value {
  font-size: 15px;
  font-weight: 400;
  font-style: italic;
  color: rgba(255, 255, 255, 0.92);
  line-height: 1.4;
}

/* =============================================
   NUESTROS SERVICIOS
   ============================================= */

.services {
  background: #fff;
  padding: 90px 0 100px;
}

.services__header {
  text-align: center;
  margin-bottom: 56px;
}

.services__title {
  font-size: clamp(30px, 4vw, 38px);
  font-weight: 700;
  color: #24A14A;
  line-height: 1.2;
  margin-bottom: 10px;
}

.services__subtitle {
  font-size: 18px;
  font-weight: 400;
  color: #7c8595;
  line-height: 1.4;
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: 32px;
  row-gap: 56px;
}

.services__card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.services__icon {
  width: 68px;
  height: 68px;
  margin-bottom: 18px;
  color: #68B54B;
  flex-shrink: 0;
}

.services__icon svg {
  width: 100%;
  height: 100%;
}

.services__icon--solid {
  color: #68B54B;
}

.services__card-title {
  font-size: 20px;
  font-weight: 700;
  color: #24A14A;
  line-height: 1.3;
  margin-bottom: 12px;
}

.services__card-text {
  font-size: 16px;
  font-weight: 400;
  color: #7c8595;
  line-height: 1.6;
  max-width: 300px;
}

/* =============================================
   ¿QUIÉNES SOMOS?
   ============================================= */

.somos {
  position: relative;
  overflow: hidden;
  background-color: #0a0e23;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='900' height='700' viewBox='0 0 900 700'%3E%3Crect fill='%230a0e23' width='900' height='700'/%3E%3Cg stroke='rgba(255,255,255,0.08)' stroke-width='1' fill='none'%3E%3Cline x1='40' y1='60' x2='120' y2='100'/%3E%3Cline x1='120' y1='100' x2='200' y2='50'/%3E%3Cline x1='200' y1='50' x2='80' y2='180'/%3E%3Cline x1='80' y1='180' x2='160' y2='220'/%3E%3Cline x1='160' y1='220' x2='60' y2='320'/%3E%3Cline x1='60' y1='320' x2='140' y2='380'/%3E%3Cline x1='140' y1='380' x2='30' y2='480'/%3E%3Cline x1='30' y1='480' x2='110' y2='540'/%3E%3Cline x1='110' y1='540' x2='180' y2='620'/%3E%3Cline x1='760' y1='70' x2='840' y2='110'/%3E%3Cline x1='840' y1='110' x2='870' y2='200'/%3E%3Cline x1='870' y1='200' x2='780' y2='260'/%3E%3Cline x1='780' y1='260' x2='860' y2='340'/%3E%3Cline x1='860' y1='340' x2='750' y2='400'/%3E%3Cline x1='750' y1='400' x2='830' y2='480'/%3E%3Cline x1='830' y1='480' x2='790' y2='580'/%3E%3Cline x1='790' y1='580' x2='870' y2='650'/%3E%3Cline x1='350' y1='120' x2='420' y2='160'/%3E%3Cline x1='480' y1='500' x2='550' y2='540'/%3E%3Cline x1='120' y1='100' x2='160' y2='220'/%3E%3Cline x1='840' y1='110' x2='780' y2='260'/%3E%3C/g%3E%3Cg fill='rgba(255,255,255,0.12)'%3E%3Ccircle cx='40' cy='60' r='2'/%3E%3Ccircle cx='30' cy='480' r='2'/%3E%3Ccircle cx='870' cy='200' r='2'/%3E%3Ccircle cx='870' cy='650' r='2'/%3E%3C/g%3E%3Cg fill='rgba(36,161,74,0.55)'%3E%3Ccircle cx='120' cy='100' r='3'/%3E%3Ccircle cx='200' cy='50' r='3.5'/%3E%3Ccircle cx='80' cy='180' r='3'/%3E%3Ccircle cx='160' cy='220' r='3.5'/%3E%3Ccircle cx='60' cy='320' r='3'/%3E%3Ccircle cx='140' cy='380' r='3.5'/%3E%3Ccircle cx='110' cy='540' r='3'/%3E%3Ccircle cx='180' cy='620' r='3'/%3E%3Ccircle cx='760' cy='70' r='3.5'/%3E%3Ccircle cx='840' cy='110' r='3'/%3E%3Ccircle cx='780' cy='260' r='3.5'/%3E%3Ccircle cx='860' cy='340' r='3'/%3E%3Ccircle cx='750' cy='400' r='3.5'/%3E%3Ccircle cx='830' cy='480' r='3'/%3E%3Ccircle cx='790' cy='580' r='3.5'/%3E%3C/g%3E%3C/svg%3E");
  background-size: cover;
  background-position: center;
  padding: 100px 0;
}

.somos::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 55% 65% at 38% 50%, rgba(10, 14, 35, 0.82) 0%, rgba(10, 14, 35, 0.35) 50%, transparent 78%);
  pointer-events: none;
}

.somos__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 40px;
  align-items: center;
}

.somos__label {
  font-size: 22px;
  font-weight: 700;
  color: #68B54B;
  line-height: 1.3;
  margin-bottom: 18px;
}

.somos__title {
  font-size: clamp(32px, 3.5vw, 42px);
  font-weight: 900;
  color: #ffffff;
  line-height: 1.22;
  margin-bottom: 26px;
  max-width: 520px;
}

.somos__text {
  font-size: 17px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.92);
  line-height: 1.65;
  max-width: 560px;
}

.somos__illustration {
  display: flex;
  justify-content: center;
  align-items: flex-end;
}

.somos__svg {
  width: 100%;
  max-width: 420px;
  height: auto;
}

/* =============================================
   CTA BANNER — "Quiero ahorrar"
   ============================================= */

.cta-banner {
  padding: 45px 0;
}

.cta-banner--in-somos {
  position: relative;
  z-index: 1;
}

.cta-banner__inner {
  display: flex;
  justify-content: center;
  align-items: center;
}

.cta-banner__btn {
  display: inline-block;
  padding: 16px 28px;
  font-family: 'Montserrat', sans-serif;
  font-size: 17px;
  font-weight: 700;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  text-align: center;
  transition: background 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.cta-banner__btn--blue {
  color: #ffffff;
  background: #24A14A;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.27);
}

.cta-banner__btn--blue:hover {
  background: #1B7A38;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
  transform: translateY(-1px);
}

.cta-banner__btn--white {
  color: #24A14A;
  background-color: #ffffff;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
}

.cta-banner__btn--white:hover {
  color: #24A14A;
  background-color: #ffffff;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.45);
  transform: translateY(-1px);
}

/* =============================================
   FOOTER
   ============================================= */

.footer {
  position: relative;
}

.footer__main {
  position: relative;
  overflow: hidden;
  background-color: #24A14A;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 70px 0;
}

.footer__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 60px;
  align-items: start;
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

.footer__col {
  min-width: 0;
}

.footer__heading {
  font-size: 18px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 14px;
  line-height: 1.3;
}

.footer__line {
  font-size: 15px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.92);
  line-height: 1.65;
  margin-bottom: 4px;
}

.footer__link {
  color: #ffffff;
  transition: color 0.2s ease;
}

.footer__link:hover {
  color: rgba(255, 255, 255, 0.85);
}

.footer__legal-link {
  display: block;
  font-size: 15px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.92);
  line-height: 1.65;
  margin-bottom: 4px;
  text-decoration: none;
  transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

.footer__legal-link:hover {
  color: #ffffff;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Logo footer (versión fondo oscuro) */
.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.footer-logo__icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  object-fit: contain;
  background: #ffffff;
  border-radius: 6px;
  padding: 3px;
}

.footer-logo__text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.footer-logo__name {
  font-size: 24px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.3px;
}

.footer-logo__tagline {
  font-size: 8.5px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.92);
  text-transform: uppercase;
  letter-spacing: 1.6px;
}

.footer__social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  margin-top: 6px;
  color: #7FCB5C;
  transition: color 0.2s ease, transform 0.2s ease;
}

.footer__social:hover {
  color: #3DC873;
  transform: translateY(-1px);
}

.footer__social svg {
  width: 32px;
  height: 32px;
}

/* =============================================
   PÁGINAS LEGALES
   ============================================= */

.legal-page {
  padding-top: var(--header-height);
  background: #ffffff;
}

.legal-page__inner {
  max-width: 860px;
  margin: 0 auto;
  padding: 60px 24px 80px;
}

.legal-page__title {
  font-size: clamp(28px, 4vw, 36px);
  font-weight: 700;
  color: #24A14A;
  line-height: 1.2;
  margin-bottom: 40px;
}

.legal-page__section {
  margin-bottom: 32px;
}

.legal-page__section h2 {
  font-size: 22px;
  font-weight: 700;
  color: #0F3D22;
  line-height: 1.3;
  margin-bottom: 16px;
}

.legal-page__section p {
  font-size: 16px;
  font-weight: 400;
  color: #7c8595;
  line-height: 1.7;
  margin-bottom: 14px;
}

.legal-page__section ul {
  list-style: disc;
  padding-left: 24px;
  margin-bottom: 14px;
}

.legal-page__section li {
  font-size: 16px;
  font-weight: 400;
  color: #7c8595;
  line-height: 1.7;
  margin-bottom: 8px;
}

.legal-page__section a {
  color: #24A14A;
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 0.2s ease;
}

.legal-page__section a:hover {
  color: #1D8A48;
}

.legal-page__cookies-list {
  list-style: none;
  padding-left: 0;
  margin-bottom: 14px;
}

.legal-page__cookies-list li {
  margin-bottom: 10px;
  padding-left: 0;
}

.legal-page__updated {
  font-size: 13px;
  color: #8a96a8;
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid #eeeeee;
}

/* =============================================
   RESPONSIVE
   ============================================= */

@media (max-width: 900px) {
  .services__grid {
    grid-template-columns: repeat(2, 1fr);
    column-gap: 28px;
    row-gap: 48px;
  }

  .somos__inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .somos__title,
  .somos__text {
    max-width: none;
  }

  .somos__illustration {
    order: 2;
  }

  .somos__svg {
    max-width: 340px;
  }

  .footer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 40px 32px;
  }
}

@media (max-width: 991px) {
  .nav__list {
    gap: 0;
  }

  .nav__link {
    padding: 10px 10px;
    font-size: 14px;
  }

  .nav__btn {
    padding: 9px 14px;
    font-size: 14px;
  }
}

@media (max-width: 768px) {
  .nav {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .hero__inner {
    grid-template-columns: 1fr;
    gap: 36px;
    padding: 48px 0 56px;
  }

  .hero__content {
    max-width: none;
    text-align: left;
  }

  .hero__form-wrap {
    justify-content: stretch;
  }

  .form-card {
    max-width: none;
    padding: 36px 32px 32px;
  }

  .contact-bar__grid {
    grid-template-columns: repeat(2, minmax(180px, 1fr));
    gap: 48px 32px;
    max-width: 560px;
  }
}

@media (max-width: 600px) {
  .services {
    padding: 70px 0 80px;
  }

  .services__header {
    margin-bottom: 40px;
  }

  .services__grid {
    grid-template-columns: 1fr;
    row-gap: 44px;
  }

  .services__card-text {
    max-width: 320px;
  }

  .footer__grid {
    grid-template-columns: 1fr;
    gap: 36px;
    text-align: center;
  }

  .footer-logo {
    justify-content: center;
  }

  .footer__social {
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  .footer__grid {
    padding: 0 16px;
  }

  .logo__img {
    max-height: 48px;
    max-width: min(150px, 38vw);
  }

  .hero__title {
    font-size: 38px;
  }

  .hero__subtitle {
    font-size: 22px;
  }

  .hero__text {
    font-size: 17px;
  }

  .form-card {
    padding: 32px 24px 28px;
  }

  .contact-bar__grid {
    grid-template-columns: 1fr;
    gap: 32px;
    max-width: 280px;
  }

  .contact-bar__item {
    align-items: center;
  }
}
