body {
  margin: 0;
  font-family: 'Clear Sans', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  background-color: #000;
  color: #fff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
/* Asegurar herencia de fuente en controles y enlaces */
button, input, textarea, select, a { font-family: inherit; }
/* Asegurar tipografía coherente en CTA y footer */
.cta-button,
footer p,
footer a { font-family: 'Clear Sans', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif; }
/* Titulares usan la misma fuente Clear Sans */
h1, h2, h3 {
  font-family: 'Clear Sans', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  letter-spacing: 0; /* sin tracking extra para limpieza */
}
a { text-decoration: none; }

.hero {
  background-color: #FFD700;
  color: #000;
  text-align: center;
  padding: 48px 20px; /* antes 60px */
}
.hero .logo-link {
  display: inline-block;
  margin: 0 auto 24px;
}
.hero .logo-wrapper {
  width: clamp(120px, 18vw, 180px);
  height: clamp(120px, 18vw, 180px);
  border-radius: 50%;
  margin: 0;
  border: 3px solid rgba(0,0,0,0.6);
  box-shadow: 0 16px 36px rgba(0,0,0,0.22);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.hero .logo {
  width: 135%;
  height: 135%;
  object-fit: cover;
}
.hero-subcta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  padding: 10px 20px;
  border-radius: 999px;
  border: 2px solid #000;
  color: #000;
  font-weight: 700;
  font-size: clamp(14px, 3.2vw, 16px);
  background: rgba(0,0,0,0.06);
  transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease;
  text-align: center;
}
.hero-subcta:hover {
  transform: translateY(-1px);
  background: rgba(0,0,0,0.1);
  box-shadow: 0 8px 18px rgba(0,0,0,0.18);
}
.cta-button {
  display: inline-block;
  margin-top: 20px;
  background: #000;
  color: #FFD700;
  padding: 12px 24px;
  border-radius: 30px;
  font-weight: bold;
  transition: transform .15s ease, background-color .15s ease, box-shadow .15s ease;
}
.cta-button:hover { background: #111; transform: translateY(-1px); box-shadow: 0 4px 12px rgba(0,0,0,0.25); }

section {
  padding: 28px 20px; /* antes 40px */
  max-width: 1100px;
  margin: auto;
}
/* Reducir márgenes de titulares dentro de secciones */
section > h2 { margin: 0 0 12px; }
/* Evitar espacio extra por último hijo con margen inferior */
section > *:last-child { margin-bottom: 0; }
.about {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  align-items: center;
}
.about .text { flex: 1 1 30%; }
.about .about-photos { flex: 1 1 70%; }
/* Evita afectar imágenes internas del collage */
.about > img {
  width: 100%;
  max-width: 520px; /* limita tamaño en escritorio */
  border-radius: 12px;
}
/* Collage circular moderno en sección About */
.about-photos {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
  justify-items: center;
  align-items: center;
  width: 100%;
}
.about-photos .photo {
  position: relative;
  width: 100%; /* llenar la columna */
  aspect-ratio: 1 / 1; /* cuadrado 1:1 */
  border-radius: 12px; /* esquinas sutiles */
  background: transparent; /* sin relleno, estética minimal */
  border: 2px solid #FFD700; /* borde dorado sutil */
  overflow: hidden;
  box-shadow: 0 1px 4px rgba(0,0,0,0.08); /* sombra muy ligera */
}
/* Fallback para navegadores que no soportan aspect-ratio */
.about-photos .photo::before {
  content: "";
  display: block;
  padding-bottom: 100%;
}
.about-photos .photo img {
  position: absolute;
  inset: 0; /* ocupar todo el contenedor */
  width: 100%;
  height: 100%;
  object-fit: cover; /* recorte centrado */
  object-position: center;
  display: block;
  transition: transform .25s ease; /* efecto suave al hacer hover */
}
.about-photos .photo:hover img { transform: scale(1.04); }
@media (max-width: 768px) {
  .about .text, .about .about-photos { flex: 1 1 100%; }
  .about-photos {
    display: grid;
    grid-template-columns: 1fr; /* una debajo de otra */
    gap: 16px;
  }
  .about-photos .photo {
    width: min(92vw, 480px); /* ocupa ancho visible sin desbordar */
    margin: 0 auto;
  }
}
.cards, .testi-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}
.card, .testi-card {
  background: #fff;
  color: #000;
  border-radius: 12px;
  padding: 20px;
  max-width: 300px;
  flex: 1 1 260px;
  transition: transform .15s ease, box-shadow .15s ease;
}
.card:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0,0,0,0.15); }
/* Precios destacados en tarjetas de clases */
.classes .card strong {
  color: #FFD700;
  font-weight: 800;
}
.testi-card {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.testi-card p {
  font-style: italic;
  margin: 0;
}
.testi-card span {
  display: block;
  margin-top: 8px;
  font-weight: bold;
}
.testi-card .avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  flex: 0 0 48px;
  border: 2px solid #FFD700;
}
.testi-card .testi-content { flex: 1; }
footer {
  text-align: center;
  padding: 40px 20px;
  background: #000;
  color: #FFD700;
}
footer .social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  margin-left: 10px;
  border-radius: 6px;
  background: rgba(255,255,255,0.12);
  transition: transform .15s ease, box-shadow .15s ease;
}
footer .social-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(255,255,255,0.18);
}
footer .social-link svg { width: 16px; height: 16px; display: block; }
.footer-tag {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  border-radius: 999px;
  font-weight: 700;
  border: 2px solid currentColor;
}
footer .footer-tag {
  margin-left: 8px;
  background: rgba(255,215,0,0.15);
  color: #FFD700;
  border-color: rgba(255,215,0,0.45);
}
.page-footer .footer-tag {
  background: #000;
  color: #FFD700;
  border-color: #000;
}

/* CTA flotante hacia contacto */
.floating-cta {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 1000;
  background: #FFD700;
  color: #000;
  padding: 12px 18px;
  border-radius: 999px;
  font-weight: 800;
  box-shadow: 0 8px 22px rgba(0,0,0,0.35);
  transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease;
}
.floating-cta:hover { transform: translateY(-2px); background: #e6c200; box-shadow: 0 12px 26px rgba(0,0,0,0.4); }
@media (max-width: 480px) {
  .floating-cta { right: 12px; bottom: 12px; padding: 10px 14px; }
}

.scroll-top {
  position: fixed;
  right: 20px;
  bottom: 90px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: none;
  background: rgba(0,0,0,0.85);
  color: #FFD700;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 26px rgba(0,0,0,0.35);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity .2s ease, transform .2s ease, visibility .2s;
  z-index: 900;
}
.scroll-top svg { width: 24px; height: 24px; }
.scroll-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.scroll-top:hover { background: #111; }
@media (max-width: 480px) {
  .scroll-top {
    right: 12px;
    bottom: 80px;
    width: 44px;
    height: 44px;
  }
  .scroll-top svg { width: 22px; height: 22px; }
}

.contact {
  padding: 28px 20px; /* antes 40px */
  background-color: #111;
  text-align: center;
  border-radius: 12px; /* esquinas redondeadas sección */
  box-shadow: 0 2px 10px rgba(0,0,0,0.18);
}
/* Mapa con esquinas redondeadas y alineado */
.map-embed {
  display: block;
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,0.18);
}
.contact h2 {
  color: #FFD700;
  font-size: 32px;
  margin-bottom: 10px;
}
.contact p {
  color: #ccc;
  margin-bottom: 30px;
}
.contact-email { margin-top: 10px; color: #ccc; }
.contact-email a { color: #FFD700; font-weight: 600; }
form {
  max-width: 500px;
  margin: auto;
  display: flex;
  flex-direction: column;
  gap: 15px;
}
form label { text-align: left; font-weight: 600; color: #FFD700; }
form input, form textarea {
  padding: 12px;
  border: none;
  border-radius: 8px;
  font-size: 16px;
}
form textarea {
  resize: vertical;
  min-height: 120px;
}
form button {
  background-color: #FFD700;
  color: #000;
  padding: 12px;
  font-size: 16px;
  font-weight: bold;
  border: none;
  border-radius: 30px;
  cursor: pointer;
}
form button:hover {
  background-color: #e6c200;
}

form fieldset {
  border: none;
  padding: 0;
  margin: 0;
  text-align: left;
}

form fieldset legend {
  font-weight: 600;
  color: #FFD700;
  margin-bottom: 8px;
}

.contact-preference-help {
  margin: -6px 0 10px;
  color: #ccc;
  font-size: 0.95rem;
  text-align: left;
}

.contact-options {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.contact-option {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
  color: #f7f7f7;
}

.contact-option input {
  accent-color: #FFD700;
}

.contact-extra {
  text-align: left;
}

/* Accesibilidad: foco visible en elementos interactivos */
:focus-visible {
  outline: 3px solid #FFD700;
  outline-offset: 2px;
}

.map-link { color: #FFD700; text-decoration: underline; }
.service-areas { color: #ccc; margin-top: 12px; }

.support-links {
  background: #FFD700;
  color: #000;
  padding: 48px 20px;
}
.support-content {
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}
.support-content h2 {
  margin: 0 0 12px;
  font-size: clamp(28px, 4vw, 36px);
}
.support-content p {
  margin: 0 auto 28px;
  max-width: 640px;
  font-weight: 500;
}
.support-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 18px;
}
.support-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: #000;
  color: #FFD700;
  padding: 18px;
  border-radius: 12px;
  text-align: left;
  box-shadow: 0 12px 28px rgba(0,0,0,0.35);
  transition: transform .15s ease, box-shadow .15s ease;
}
.support-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 36px rgba(0,0,0,0.4);
}
.support-card span {
  font-weight: 700;
  font-size: 18px;
}
.support-card small {
  color: #f4d46d;
}

/* Respeto a usuarios con reduce motion */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition-duration: 0.01ms !important; }
}

/* --------- Páginas internas --------- */
.page-hero {
  text-align: center;
  padding: 56px 20px;
  background: linear-gradient(135deg, #0b0b0b 0%, #161616 60%, #0b0b0b 100%);
  border-bottom: 1px solid rgba(255,215,0,0.25);
}
.page-hero h1 {
  margin-bottom: 12px;
  font-size: clamp(36px, 5vw, 48px);
  color: #FFD700;
}
.page-hero p {
  margin: 0 auto;
  max-width: 760px;
  font-size: 18px;
  color: #f0f0f0;
}

.page-main {
  padding: 40px 20px 60px;
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 28px;
  align-items: stretch;
}

.page-card {
  background: #101010;
  border: 1px solid rgba(255,215,0,0.18);
  border-radius: 16px;
  padding: 32px;
  box-shadow: 0 18px 45px rgba(0,0,0,0.4);
  width: 100%;
  box-sizing: border-box;
}
.page-card h2 {
  margin-top: 0;
  color: #FFD700;
}
.page-card p,
.page-card li {
  line-height: 1.7;
  color: #ededed;
}
.page-card ul { padding-left: 20px; }
.page-card li { margin-bottom: 10px; }

.vision-mission {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  grid-auto-rows: 1fr;
}
.vision-mission .vm-card {
  background: #181818;
  border-radius: 12px;
  padding: 22px;
  border: 1px solid rgba(255,215,0,0.15);
  box-shadow: inset 0 0 0 1px rgba(255,215,0,0.05);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.vision-mission .vm-card h3 { color: #FFD700; margin-top: 0; }

.team {
  text-align: center;
}
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  margin-top: 24px;
  align-items: stretch;
}
.team-card {
  background: #181818;
  border-radius: 16px;
  padding: 28px 20px;
  border: 1px solid rgba(255,215,0,0.18);
  box-shadow: 0 14px 28px rgba(0,0,0,0.35);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.team-photo {
  width: 120px;
  height: 120px;
  margin: 0 auto 16px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid rgba(255,215,0,0.6);
  display: block;
  box-shadow: 0 8px 20px rgba(0,0,0,0.25);
}
.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.team-card .role { color: #FFD700; font-weight: 700; margin: 8px 0; }

.discovery-report blockquote {
  margin: 20px 0;
  padding: 20px;
  border-left: 4px solid #FFD700;
  background: rgba(255,215,0,0.08);
  border-radius: 12px;
}
.discovery-report blockquote p { margin: 0 0 12px; }
.discovery-report blockquote p:last-child { margin-bottom: 0; }

.page-footer {
  background: #FFD700;
  color: #000;
  text-align: center;
  padding: 48px 20px;
}
.page-footer .home-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #000;
  color: #FFD700;
  padding: 12px 28px;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 12px 28px rgba(0,0,0,0.35);
  transition: transform .15s ease, box-shadow .15s ease;
}
.page-footer .home-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 36px rgba(0,0,0,0.4);
}
.page-footer .footer-meta {
  margin-top: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}
.page-footer .footer-meta span { font-weight: 600; }
.page-footer .footer-instagram {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #000;
  transition: transform .15s ease, box-shadow .15s ease;
}
.page-footer .footer-instagram:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(0,0,0,0.35);
}
.page-footer .footer-instagram svg {
  width: 20px;
  height: 20px;
  display: block;
}
.page-footer .footer-facebook {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #000;
  transition: transform .15s ease, box-shadow .15s ease;
}
.page-footer .footer-facebook:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(0,0,0,0.35);
}
.page-footer .footer-facebook svg {
  width: 20px;
  height: 20px;
  display: block;
}


@media (max-width: 768px) {
  .page-hero { padding: 48px 16px; }
  .page-main { padding: 32px 16px 48px; }
  .page-card { padding: 24px; }
  .team-card { padding: 24px 18px; }
}

/* FAQ page */
.faq-card h3 { color: #FFD700; margin-top: 0; }
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin: 20px 0 0;
}
.faq-item {
  background: #181818;
  border: 1px solid rgba(255,215,0,0.12);
  border-radius: 12px;
  padding: 18px 20px;
  box-shadow: 0 10px 24px rgba(0,0,0,0.28);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.faq-question {
  margin: 0 0 8px;
  font-weight: 700;
  color: #FFD700;
}
.faq-answer { margin: 0; color: #ededed; line-height: 1.6; }

/* Testimonials page */
.testimonials-page .page-card { text-align: center; }
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-top: 24px;
  grid-auto-rows: 1fr;
}
.testimonial-card {
  background: #181818;
  border-radius: 16px;
  padding: 26px 22px;
  border: 1px solid rgba(255,215,0,0.18);
  box-shadow: 0 16px 32px rgba(0,0,0,0.38);
  display: flex;
  flex-direction: column;
  gap: 14px;
  text-align: left;
}
.testimonial-photo {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, #FFD700, #b48c00);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #000;
  font-weight: 800;
  font-size: 22px;
  border: 2px solid rgba(255,215,0,0.4);
  box-shadow: 0 8px 20px rgba(0,0,0,0.25);
}
.testimonial-photo.has-image {
  background: transparent;
  overflow: hidden;
  padding: 0;
}
.testimonial-photo.has-image picture,
.testimonial-photo.has-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}
.testimonial-quote { font-style: italic; color: #f5f5f5; margin: 0; }
.testimonial-name { font-weight: 700; color: #FFD700; }
.testimonial-location { color: #ccc; font-size: 14px; }
.testimonial-note { margin-top: 20px; color: #bbb; font-size: 14px; }

.faq-cta {
  text-align: center;
  background: linear-gradient(135deg, #181818 0%, #0f0f0f 100%);
  border: 1px solid rgba(255,215,0,0.2);
  box-shadow: 0 18px 36px rgba(0,0,0,0.45);
}
.faq-cta p { color: #e8e8e8; margin-bottom: 20px; }


@media (min-width: 992px) {
  .faq-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    grid-auto-rows: 1fr;
  }
}

.about-gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1rem;
  justify-content: center;
}

.about-gallery img {
  max-width: 250px;      /* ancho máximo controlado */
  width: 100%;           /* el resto adaptativo */
  border-radius: 8px;
  object-fit: cover;
}
@media (max-width: 768px) {
  section { padding: 24px 16px; }
  .about-gallery img {
    max-width: 90%;      /* en móvil apilan al 90% */
  }
}
.support-card span {
  font-weight: 700;
  font-size: 18px;
}
.support-card small {
  color: #f4d46d;
}
