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

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  color: #111827;
  background: #f4f6fb;
}


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

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

/* Layout */

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

.section {
  padding: 4rem 0;
}

.section-alt {
  background: #ffffff;
}

.section h2 {
  margin-top: 0;
  margin-bottom: 0.75rem;
  font-size: 2rem;
}

.section-intro {
  max-width: 640px;
  margin-bottom: 2rem;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: #ffffff;
  color: #111827;
  box-shadow: 0 1px 0 rgba(15, 23, 42, 0.06);
}


.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0;
  gap: 1rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-mark {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: linear-gradient(135deg, #38bdf8, #6366f1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  color: #f9fafb;
}

.logo-title {
  font-weight: 600;
  font-size: 1rem;
}

.logo-subtitle {
  font-size: 0.8rem;
  color: #9ca3af;
}

.nav {
  display: flex;
  gap: 1rem;
  font-size: 0.9rem;
}

.nav a {
  padding: 0.3rem 0.6rem;
  border-radius: 999px;
  transition: background 0.15s ease, color 0.15s ease;
}

.nav a:hover {
  background: rgba(148, 163, 184, 0.2);
}

/* Hero */

.hero {
  padding-top: 5rem;
  padding-bottom: 4rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  gap: 2.5rem;
 align-items: start;
}

.hero h1 {
  font-size: clamp(2.1rem, 3vw + 1rem, 2.8rem);
  line-height: 1.2;
  margin-bottom: 1rem;
}

.hero-subtitle {
  margin-top: 0;
  margin-bottom: 1.5rem;
  max-width: 640px;
  color: #4b5563;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.hero-note {
  font-size: 0.9rem;
  color: #6b7280;
}

.hero-card {
  background: #ffffff;
  color: #111827;
  padding: 1.5rem;
  border-radius: 1rem;
  border: 1px solid #e5e7eb;
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.10);
}


.hero-card h2 {
  margin-top: 0;
  margin-bottom: 0.75rem;
  font-size: 1.3rem;
}

.hero-card ul {
  padding-left: 1.2rem;
  margin: 0 0 0.75rem;
}

.hero-card li {
  margin-bottom: 0.3rem;
}

.hero-small {
  font-size: 0.9rem;
  color: #6b7280;
}


/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.25rem;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 500;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease, transform 0.05s ease;
}

.btn.primary {
  background: linear-gradient(135deg, #1da1f2, #2563eb);
  color: #f9fafb;
}


.btn.primary:hover {
  transform: translateY(-1px);
  filter: brightness(1.05);
}

.btn.ghost {
  background: transparent;
  border-color: #cbd5e1;
  color: #0f172a;
}

.btn.ghost:hover {
  background: #e5e7eb;
}

.btn.full-width {
  width: 100%;
}

/* Sections */

.two-cols {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2.2fr);
  gap: 2rem;
  align-items: flex-start;
}

.highlight-box {
  background: #ffffff;
  color: #111827;
  padding: 1.5rem;
  border-radius: 1rem;
  border: 1px solid #e5e7eb;
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.08);
}

.highlight-box p,
.highlight-box li {
  color: #374151;
}

.highlight-box h3 {
  margin-top: 0;
}

.highlight-box ul {
  padding-left: 1.1rem;
}

/* Cards */

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.card {
  background: #f9fafb;
  border-radius: 1rem;
  padding: 1.5rem;
  border: 1px solid #e5e7eb;
}

.card h3 {
  margin-top: 0;
  margin-bottom: 0.5rem;
}

.card ul {
  padding-left: 1.1rem;
}

/* Enfoque pills */

.pill-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}

.pill {
  background: #ffffff;
  padding: 1.25rem;
  border-radius: 1rem;
  border: 1px solid #e5e7eb;
}

/* Contacto */

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2.5fr);
  gap: 2rem;
}

.contact-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
}

.contact-list li {
  margin-bottom: 0.4rem;
}

.contact-form {
  background: #ffffff;
  color: #111827;
  padding: 1.5rem;
  border-radius: 1rem;
  border: 1px solid #e5e7eb;
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.08);
}


.contact-form h3 {
  margin-top: 0;
  margin-bottom: 1rem;
}

.contact-form label {
  display: block;
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  margin-top: 0.25rem;
  padding: 0.5rem 0.6rem;
  border-radius: 0.5rem;
  border: 1px solid #d1d5db;
  background: #f9fafb;
  color: #111827;
  font: inherit;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: #38bdf8;
}

.form-note {
  font-size: 0.8rem;
  color: #9ca3af;
  margin-top: 0.5rem;
}

/* Footer */

.site-footer {
  padding: 1.5rem 0;
  background: #020617;
  color: #9ca3af;
  font-size: 0.85rem;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: space-between;
  align-items: center;
}

.footer-tagline {
  color: #e5e7eb;
}

/* Responsive */


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

.hero-logo {
  max-width: 140px;
  margin: 0 auto 1rem;
  display: block;
}

@media (max-width: 900px) {
  .logo-img {
    height: 32px;
  }
}

.contact-location {
  margin-top: 0.75rem;
  font-size: 0.9rem;
  color: #6b7280;
}


@media (max-width: 900px) {
  .hero-grid,
  .two-cols,
  .cards-grid,
  .pill-grid,
  .contact-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .cards-grid {
    gap: 1rem;
  }

  .nav {
    display: none;
  }

  .hero {
    padding-top: 3rem;
    padding-bottom: 3rem;
  }

  .hero-card {
    margin-top: 2rem;
  }

  .section {
    padding: 3rem 0;
  }
}

@media (max-width: 600px) {
  .hero h1 {
    font-size: 1.9rem;
  }

  .hero-subtitle {
    font-size: 0.95rem;
  }

  .card h3,
  .pill h3 {
    font-size: 1.05rem;
  }

  .card p,
  .pill p,
  .section-intro {
    font-size: 0.95rem;
  }
}


.section-image {
  width: 100%;
  border-radius: 1rem;
  display: block;
  object-fit: cover;
  max-height: 320px;
}

.sobre-grid {
  align-items: flex-start;
  gap: 3rem;
}

.sobre-image {
  width: 100%;
  max-height: 380px;
  object-fit: cover;
  border-radius: 1.5rem;
  display: block;
}

.section-image-narrow {
  display: block;
  max-width: 720px;
  width: 100%;
  margin: 2rem auto 2.5rem;
  border-radius: 1.5rem;
  object-fit: cover;
}

.service-image-block {
  margin-top: 2rem;
  text-align: center;
  font-size: 0.9rem;
  color: #6b7280;
}
.service-image-block figcaption {
  margin-top: 0.5rem;
}
.section-image {
  width: 100%;
  max-width: 720px;
  max-height: 380px;
  object-fit: cover;
  border-radius: 1.5rem;
  display: block;
  margin: 0 auto;
}

.services-banner {
  display: block;
  width: 100%;
  max-width: 640px;   /* controla lo “grande” que se ve. Prueba 640, puedes bajar a 580 si la quieres más chica */
  height: auto;       /* mantiene proporción, no recorta */
  border-radius: 1.5rem;
  margin: 1.5rem auto 2rem;  /* centrada */
}
