:root {
  --primary: #00a8c6;
  --primary-dark: #0086a0;
  --accent: #00c1a6;
  --bg-soft: #dff7ff;
  --bg-light: #f5f7fb;
  --text-main: #222831;
  --text-muted: #6b7280;
  --white: #ffffff;
  --radius-lg: 20px;
  --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.08);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text-main);
  background-color: #f0f4f8;
}

/* ===== UTILIDADES ===== */

.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding-inline: 1.5rem;
}

.section {
  padding: 4rem 0;
}

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

.section--pad {
  padding: 4.5rem 0 4rem;
}

.section__header {
  text-align: center;
  max-width: 700px;
}

.section__tagline {
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.08em;
  font-size: 0.8rem;
  color: var(--primary-dark);
  margin-bottom: 0.5rem;
}

.section__title {
  font-size: 2rem;
  margin: 0 0 0.75rem;
}

.section__subtitle {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* ===== BOTONES ===== */

.btn {
  border: none;
  outline: none;
  border-radius: 999px;
  padding: 0.6rem 1.5rem;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease,
    background-color 0.15s ease;
}

.btn--primary {
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 6px 15px rgba(0, 168, 198, 0.45);
}

.btn--primary:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 9px 22px rgba(0, 134, 160, 0.55);
}

.btn--full {
  width: 100%;
  background: var(--accent);
  color: var(--white);
  box-shadow: 0 6px 15px rgba(0, 193, 166, 0.4);
}

.btn--full:hover {
  background: #00aa8f;
}

/* ===== HEADER ===== */

.header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06);
}

.header__content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 0.8rem;
  gap: 1rem;
}

.logo-img {
  height: 60px;
  width: auto;
  display: block;
}

.header__nav {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

.nav-link {
  font-size: 0.9rem;
  text-decoration: none;
  color: var(--text-main);
  position: relative;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width 0.2s ease;
}

.nav-link:hover::after {
  width: 100%;
}

/* ===== HERO con Banner.png ===== */

.hero {
  width: 100%;
  background: url("assets/Banner.png") no-repeat center/cover;
  padding: 10rem 0 15rem;   /* ajusta estos valores si querés el texto más arriba/abajo */
  position: relative;
  color: #0f2c38; /* azul gris del diseño original */
}

.hero__content {
  max-width: 700px;
  margin-left: 5%;
}

.hero__tagline {
  font-size: 0.9rem;
  text-transform: uppercase;
  font-weight: 600;
  color: #007b91; /* azul petróleo suave */
  letter-spacing: 0.08em;
  margin-bottom: 0.6rem;
}

.hero__title {
  font-size: 3rem;
  font-weight: 700;
  margin: 0 0 1rem 0;
}

.hero__description {
  font-size: 1rem;
  max-width: 450px;
  color: #2b3a42;
  line-height: 1.5rem;
}
/* ===== SERVICIOS / ICONOS ===== */

.services-wrapper {
  margin-top: 2.5rem;
}

.services__icons-card {
  background: var(--white);
  border-radius: 26px;
  box-shadow: var(--shadow-soft);
  padding: 1.8rem 2rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

/* Card “ligera”: el protagonismo lo tiene el icono */
.service-card {
  text-align: center;
  cursor: pointer;
  padding: 0.6rem 0.4rem 0.3rem;
  border-radius: 18px;
  transition: transform 0.15s ease;
  border: 0;
  background: transparent;
}

.service-card__icon {
  width: 200px;
  height: 200px;
  margin: 0 auto 0.95rem;
  border-radius: 24px;
  overflow: hidden;
  background: #0c8ba0;
  box-shadow: 0 12px 22px rgba(0, 0, 0, 0.2);
  transition: box-shadow 0.15s ease, transform 0.15s ease;
}


.service-card__icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.service-card__title {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 600;
}

/* Efectos */

.service-card:hover .service-card__icon {
  transform: translateY(-2px);
  box-shadow: 0 16px 28px rgba(0, 0, 0, 0.18);
}

.service-card--active .service-card__icon {
  box-shadow: 0 20px 40px rgba(0, 168, 198, 0.45);
}

/* ===== DETALLE SERVICIO ===== */

.therapy-card {
  background: var(--white);
  border-radius: 26px;
  box-shadow: var(--shadow-soft);
  padding: 2.2rem 2.2rem 2rem;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.2fr);
  gap: 2.5rem;
  align-items: center;
}

.therapy__image img {
  width: 100%;
  border-radius: 18px;
  object-fit: cover;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.18);
}

.therapy__title {
  color: var(--primary-dark);
  font-size: 1.4rem;
  margin-top: 0;
  margin-bottom: 0.75rem;
  text-transform: uppercase;
}

.therapy__intro {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.therapy__list {
  padding-left: 1.2rem;
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-main);
}

.therapy__list li {
  margin-bottom: 0.35rem;
}

/* ===== CONTACTO ===== */

.contact__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.1fr);
  gap: 2.5rem;
  align-items: center;
}

.contact__info p {
  font-size: 0.95rem;
  color: var(--text-main);
  margin-top: 0;
  max-width: 420px;
}

/* Card usando Formulario.png como fondo */

.contact-card {
  position: relative;
  border-radius: 26px;
  background: transparent;
  box-shadow: none;
  padding: 3.5rem 2.5rem 3rem 4.5rem;
  overflow: visible;
}

/* hoja con clip detrás del contenido */
.contact-img-container {
  position: absolute;
  top: -80px;             /* la subimos más para que cubra todo */
  left: 50%;
  transform: translateX(-50%);
  z-index: 0;
  pointer-events: none;
}

.contact-img {
  height: 600px;           /* más grande */
  width: 500px;           /* más grande */

}

/* contenido por encima de la hoja */
.contact-card__header,
.contact-form {
  position: relative;
  z-index: 1;
  background: transparent;
}

.contact-card__header {
  margin-top: 0.4rem;
  text-align: center;
  margin-bottom: 1.4rem;
}

.contact-card__header h3 {
  margin: 0 0 0.3rem;
  font-size: 1.1rem;
}

.contact-card__header p {
  margin: 0;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* FORM */

.contact-form {
  display: grid;
  gap: 0.9rem;

}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.form-group label {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.form-group input {
  border-radius: 999px;
  border: 1px solid #d1d5db;
  padding: 0.55rem 0.9rem;
  font-size: 0.9rem;
  font-family: inherit;
}

.form-group input:focus {
  outline: 2px solid var(--primary);
  outline-offset: 1px;
  border-color: transparent;
}

.form-message {
  font-size: 0.8rem;
  margin-top: 0.4rem;
  min-height: 1.1rem;
}

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

.footer {
  background: radial-gradient(circle at top left, #00c1a6, #007b91);
  color: var(--white);
  padding-top: 2.5rem;
}

.footer__grid {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  padding-bottom: 1.5rem;
}

.footer__info p {
  margin: 0.15rem 0;
  font-size: 0.9rem;
}

.footer-logo {
  height: 70px;
  width: auto;
  display: block;
  box-shadow: none;
  filter: none;
  background: transparent;
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.35);
  text-align: center;
  padding: 0.8rem 1rem 1.3rem;
  font-size: 0.8rem;
}

/* ===== ANIMACIONES / REVEAL ===== */

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.reveal--visible {
  opacity: 1;
  transform: translateY(0);
}

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

@media (max-width: 980px) {
  .hero__grid,
  .therapy-card,
  .contact__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero__grid {
    text-align: center;
  }

  .hero__image {
    text-align: center;
  }

  .hero__image img {
    margin-inline: auto;
  }

  .contact-img-container {
    top: -50px;
  }

  .therapy-card {
    padding-inline: 1.4rem;
  }
}

@media (max-width: 760px) {
  .header__nav {
    display: none;
  }

  .hero {
    padding-top: 3.2rem;
  }

  .hero__grid {
    gap: 1.8rem;
  }

  .services__icons-card {
    grid-template-columns: minmax(0, 1fr);
  }

  .footer__grid {
    flex-direction: column;
    align-items: flex-start;
  }
}
