/* Centro de Especialistas Jardón - Página demo responsiva */
:root {
  --azul: #073B7A;
  --azul-logo: #343C97;
  --turquesa: #1599A8;
  --verde: #25D366;
  --texto: #3E5065;
  --fondo: #F4F8FB;
  --borde: #E4EDF3;
  --blanco: #FFFFFF;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--texto);
  background: var(--blanco);
}

.container {
  width: min(100% - 40px, 1300px);
  margin: 0 auto;
}

.site-header {
  background: var(--blanco);
  border-bottom: 1px solid #E9EEF3;
  box-shadow: 0 1px 8px rgba(7, 59, 122, 0.08);
}

.header-inner {
  min-height: 92px;
  display: flex;
  align-items: center;
}

.brand {
  color: var(--azul-logo);
  text-decoration: none;
  font-size: clamp(28px, 3vw, 34px);
  font-weight: 600;
  line-height: 0.95;
  letter-spacing: -0.8px;
}

.brand span {
  display: block;
}

.contact-strip {
  background: var(--fondo);
  padding: 22px 0 26px;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.contact-card {
  background: var(--blanco);
  min-height: 116px;
  padding: 22px 34px;
  display: flex;
  align-items: center;
  gap: 24px;
}

.contact-icon {
  width: 58px;
  height: 58px;
  flex: 0 0 58px;
  display: grid;
  place-items: center;
}

.contact-icon svg {
  width: 100%;
  height: 100%;
  fill: var(--azul);
}

.contact-icon.phone {
  width: 48px;
  height: 48px;
  padding: 10px;
  background: #1955AC;
  border-radius: 7px;
}

.contact-icon.phone svg {
  fill: var(--blanco);
}

.contact-icon.whatsapp svg {
  fill: #16B150;
}

.contact-card h2 {
  margin: 0 0 6px;
  color: var(--azul);
  font-size: 24px;
  line-height: 1.15;
}

.contact-card p {
  margin: 0;
  color: var(--texto);
  font-size: 22px;
  line-height: 1.25;
}

.contact-card a {
  color: #3748A0;
  text-decoration: none;
}

.specialties {
  padding: 68px 0 90px;
}

.section-heading {
  text-align: center;
  margin-bottom: 50px;
}

.section-heading h1 {
  margin: 0 0 12px;
  color: var(--azul);
  font-size: clamp(38px, 4vw, 48px);
  line-height: 1.12;
  font-weight: 500;
}

.section-heading p {
  margin: 0;
  font-size: 21px;
  line-height: 1.5;
}

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

.specialty-card {
  background: var(--blanco);
  border: 3px solid var(--borde);
  border-radius: 6px;
  overflow: hidden;
  min-height: 450px;
}

.specialty-card img {
  width: 100%;
  height: 225px;
  object-fit: cover;
  display: block;
}

.specialty-content {
  padding: 18px 14px 30px;
}

.specialty-content h2 {
  margin: 0 0 12px;
  color: var(--azul);
  font-size: clamp(28px, 2.5vw, 38px);
  line-height: 1.08;
  font-weight: 500;
}

.specialty-content p {
  margin: 0;
  color: var(--texto);
  font-size: 20px;
  line-height: 1.18;
}

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

  .contact-card {
    min-height: auto;
  }

  .specialty-grid {
    gap: 22px;
  }

  .specialty-card img {
    height: 190px;
  }
}

@media (max-width: 767px) {
  .container {
    width: min(100% - 28px, 1300px);
  }

  .header-inner {
    min-height: 74px;
  }

  .brand {
    font-size: 26px;
  }

  .contact-strip {
    padding: 18px 0;
  }

  .contact-card {
    padding: 18px 20px;
    gap: 16px;
  }

  .contact-icon {
    width: 44px;
    height: 44px;
    flex-basis: 44px;
  }

  .contact-icon.phone {
    width: 42px;
    height: 42px;
  }

  .contact-card h2 {
    font-size: 20px;
  }

  .contact-card p {
    font-size: 18px;
  }

  .specialties {
    padding: 45px 0 60px;
  }

  .section-heading {
    margin-bottom: 30px;
  }

  .section-heading p {
    font-size: 17px;
  }

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

  .specialty-card {
    min-height: auto;
  }

  .specialty-card img {
    height: 210px;
  }

  .specialty-content {
    padding: 18px 18px 26px;
  }

  .specialty-content p {
    font-size: 18px;
    line-height: 1.35;
  }
}
