@import url('https://fonts.googleapis.com/css2?family=Google+Sans:wght@400;600;700&display=swap');

:root {
  --blue-dark: #0B3C5D;
  --blue-main: #1C6EA4;
  --blue-light: #4FA3D1;
  --orange-accent: #ff6a00;
  --gray-bg: #f4f6f8;
  --gray-text: #555;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Google Sans", sans-serif;
  background: var(--gray-bg);
}

/* HEADER */
.main-header {
  background: #fff;
  border-bottom: 1px solid #e6e6e6;
}

.nav {
  max-width: 1200px;
  margin: auto;
  padding: 14px 30px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
}

.nav-logo img {
  height: 48px;
}

.nav-menu {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 35px;
  padding: 0;
}

.nav-menu a {
  text-decoration: none;
  font-weight: 600;
  color: var(--blue-dark);
}

.nav-search input {
  padding: 8px 16px;
  border-radius: 20px;
}

/* HERO */
.hero {
  position: relative;
  min-height: 100vh;
  background-image: url("../360_F_1106679822_Y5eOEDpfvKnn3ex82e9BeprDJkWao2DI.png");
  background-size: cover;
  background-position: center;
  display: grid;
  grid-template-columns: 1fr 420px;
  padding: 80px 6%;
  color: #fff;
}

.hero-services {
  max-width: 900px;
  margin: auto;
}

.service-item {
  border-bottom: 1px solid rgba(255,255,255,0.3);
}

.hero-btn {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px;
  cursor: pointer;
  font-weight: 600;
  font-size: 18px;
  transition: 0.3s ease;

  color: #111; /* 🔥 texto oscuro */
  background: rgba(255, 255, 255, 0.85); /* fondo blanco suave */
  border-radius: 8px;
  margin-bottom: 6px;
}

.hero-btn:hover {
  background: rgba(255, 255, 255, 1);
}

.plus {
  font-size: 22px;
  transition: 0.3s ease;
  color: #c1121f; /* rojo elegante */
}

.service-detail {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
  padding: 0 18px;
  background: rgba(255, 255, 255, 0.92);
  border-radius: 0 0 8px 8px;
}

.service-detail p {
  margin: 15px 0;
  color: #333;
}


/* SERVICE CARD */
.service-card {
  max-width: 420px;
  margin: 40px auto;
  background: #fff;
  padding: 28px;
  border-radius: 16px;
}

.accordion-item {
  background: #f7f9fb;
  padding: 16px;
  border-radius: 10px;
  margin-bottom: 8px;
  cursor: pointer;
}

.accordion-content {
  display: none;
  padding: 12px;
  font-size: 14px;
}

/* =========================
   CONTACT SECTION
========================= */
.contact-section {
  max-width: 1100px;
  margin: 60px auto;
  display: flex;
  border-radius: 20px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--blue-dark), var(--blue-main));
  color: white;
}

.contact-left,
.contact-right {
  padding: 50px;
}

.contact-left {
  flex: 1;
}

.contact-right {
  flex: 0.8;
  background: #0a2233;
}

.call-number {
  font-size: 34px;
  font-weight: 800;
  color: var(--blue-light);
}

/* =========================
   ABOUT – QUIÉNES SOMOS
========================= */
.about-pro {
  padding: 100px 10%;
  background: #f1f4f7;
  text-align: center;
}

.about-pro h2 {
  font-size: 36px;
  color: var(--blue-dark);
}

.about-intro {
  max-width: 700px;
  margin: 0 auto 50px;
  font-size: 18px;
  color: #444;
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.about-box {
  background: white;
  padding: 30px;
  border-radius: 16px;
  box-shadow: 0 15px 30px rgba(0,0,0,0.07);
}

.about-box h3 {
  color: var(--blue-main);
}

/* =========================
   EXTINCIÓN
========================= */
.extinction-section,
.extinction-hero {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 60px;
  padding: 100px 8%;
  background: #ededed;
}

.extinction-left h2 span,
.extinction-item .plus {
  color: #ff6a00;
}

.extinction-item {
  background: white;
  padding: 20px 26px;
  border-radius: 10px;
  display: flex;
  justify-content: space-between;
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

/* =========================
   PANEL LATERAL INFO (SIN JS)
========================= */

.info-panel {
  background: transparent;
  padding-left: 10px;
}

.info-content {
  display: none;
  background: #ffffff;
  padding: 24px;
  border-radius: 12px;
  border-left: 4px solid #ff6a00;
  box-shadow: 0 15px 35px rgba(0,0,0,0.15);
  animation: fadeIn .3s ease;
}

.info-content h3 {
  margin-top: 0;
  color: #0B3C5D;
}

.info-content p {
  color: #555;
  line-height: 1.6;
}

/* MUESTRA SOLO EL BLOQUE ACTIVO */
.info-content:target {
  display: block;
}

/* Animación suave */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateX(15px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}


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

@media (max-width: 900px) {

  /* HEADER */
  .nav {
    grid-template-columns: 1fr;
    gap: 15px;
    text-align: center;
  }

  .nav-menu {
    justify-content: center;
    flex-wrap: wrap;
  }

  .nav-search {
    justify-self: center;
  }

  /* SECCIONES */
  .contact-section {
    flex-direction: column;
  }

  .extinction-section,
  .extinction-hero {
    grid-template-columns: 1fr;
  }
}

/* =========================
   FOOTER PROFESIONAL – METALFIRE
========================= */

.footer {
  background: #111;
  color: #fff;
  padding: 60px 6% 20px;
}

.footer-container {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  max-width: 1200px;
  margin: auto;
}

.footer-brand img {
  width: 140px;
  margin-bottom: 15px;
}

.footer-brand p {
  color: #ccc;
  font-size: 14px;
  line-height: 1.6;
}

.footer-column h4 {
  margin-bottom: 15px;
  color: #fff;
}

.footer-column a {
  display: block;
  color: #bbb;
  text-decoration: none;
  margin-bottom: 8px;
  font-size: 14px;
  transition: 0.3s;
}

.footer-column a:hover {
  color: #c1121f;
}

.footer-column p {
  font-size: 14px;
  color: #bbb;
  margin-bottom: 8px;
}

.footer-bottom {
  text-align: center;
  margin-top: 40px;
  font-size: 13px;
  color: #888;
}

@media (max-width: 900px) {
  .footer-container {
    grid-template-columns: 1fr;
  }
}
