/* =========================================
   Audionet — styles.css
   Colores de marca:
   Azul corporativo #0A2A6B | Naranja logo #E65C27
   Naranja íconos #C96A3A | Naranja claro (ondas) #D58B63
   Naranja esquinas #B66A46 | Línea divisoria #C9CDD3
   Texto secundario #4A4A4A
   Tipografía: Montserrat
   ========================================= */

:root {
  --navy: #0A2A6B;
  --navy-dark: #071d4d;
  --orange: #E65C27;
  --orange-2: #C96A3A;
  --orange-light: #D58B63;
  --orange-corner: #B66A46;
  --line: #C9CDD3;
  --text: #1f2430;
  --text-secondary: #4A4A4A;
  --bg: #FFFFFF;
  --bg-alt: #F7F8FA;
  --radius: 16px;
  --shadow: 0 10px 30px rgba(10, 42, 107, 0.10);
  --shadow-sm: 0 4px 14px rgba(10, 42, 107, 0.08);
  --max-width: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4 { font-weight: 700; line-height: 1.2; margin: 0 0 .5em; color: var(--navy); }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--navy);
  color: #fff;
  padding: 10px 16px;
  z-index: 1000;
}
.skip-link:focus { left: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: var(--orange);
  color: #fff;
  box-shadow: 0 8px 20px rgba(230, 92, 39, 0.35);
}
.btn-primary:hover { background: #d34f1c; }

.btn-secondary {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn-secondary:hover { background: var(--navy); color: #fff; }

.btn-whatsapp-nav {
  background: #25D366;
  color: #fff;
  padding: 10px 20px;
  font-size: 0.9rem;
}
.btn-whatsapp-nav:hover { background: #1ebc59; color:#fff; }
.btn-whatsapp-nav .icon { width: 18px; height: 18px; fill: #fff; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 500;
  background: rgba(255,255,255,0.92);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  padding-bottom: 12px;
}

.brand-logo { height: 40px; width: auto; }

.main-nav {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-panel {
  display: flex;
  align-items: center;
  gap: 28px;
}

.main-nav ul {
  display: flex;
  gap: 26px;
}

.main-nav ul a {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text);
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
  transition: color .15s ease, border-color .15s ease;
}
.main-nav ul a:hover { color: var(--orange); border-color: var(--orange); }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: transparent;
  border: none;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 2.5px;
  width: 100%;
  background: var(--navy);
  border-radius: 2px;
  transition: transform .2s ease, opacity .2s ease;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #F9FAFC 0%, #FFFFFF 100%);
  padding-top: 64px;
}

.hero-waves {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(1200px 600px at 105% 10%, rgba(213,139,99,0.18), transparent 60%),
    radial-gradient(900px 500px at 100% 100%, rgba(230,92,39,0.12), transparent 55%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
  padding-top: 56px;
  padding-bottom: 64px;
}

.eyebrow {
  color: var(--orange-2);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.8rem;
  margin-bottom: 14px;
}
.eyebrow.center { text-align: center; }

.hero h1 {
  font-size: clamp(2rem, 4vw, 2.9rem);
  margin-bottom: 20px;
}
.hero h1 span { color: var(--orange); }

.hero-lead {
  color: var(--text-secondary);
  font-size: 1.05rem;
  max-width: 52ch;
  margin-bottom: 28px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
}
.hero-trust li {
  font-size: 0.88rem;
  color: var(--text-secondary);
  padding-left: 22px;
  position: relative;
}
.hero-trust li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--orange);
}

.hero-media img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  width: 100%;
  height: auto;
  object-fit: cover;
  aspect-ratio: 4/3;
}

/* ---------- Sections ---------- */
.section { padding: 88px 0; }
.section-alt { background: var(--bg-alt); }

.section-title {
  font-size: clamp(1.6rem, 3vw, 2.1rem);
}
.section-title.center { text-align: center; }

.section-lead {
  color: var(--text-secondary);
  max-width: 62ch;
  margin: 0 auto 48px;
}
.section-lead.center { text-align: center; }

/* ---------- Services ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
}

.service-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-sm);
  border-color: transparent;
}

.service-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--orange), var(--orange-light));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.service-icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: #fff;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-card h3 {
  font-size: 1.05rem;
  margin-bottom: 8px;
  color: var(--navy);
}
.service-card p {
  font-size: 0.92rem;
  color: var(--text-secondary);
  margin: 0;
}

.services-note {
  text-align: center;
  margin-top: 40px;
  color: var(--text-secondary);
  font-size: 0.95rem;
}

/* ---------- About ---------- */
.about-inner {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: center;
}

.about-media img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  aspect-ratio: 4/3;
  object-fit: cover;
}

.about-copy p {
  color: var(--text-secondary);
}

.about-list { margin-top: 20px; }
.about-list li {
  padding-left: 26px;
  position: relative;
  margin-bottom: 12px;
  color: var(--text-secondary);
}
.about-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--orange);
  font-weight: 800;
}

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 32px;
  align-items: stretch;
}

.contact-cards {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr 1fr;
}

.contact-card {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  transition: box-shadow .18s ease, transform .18s ease;
}
.contact-card:hover { box-shadow: var(--shadow-sm); transform: translateY(-2px); }

.contact-card h3 {
  font-size: 0.98rem;
  margin-bottom: 4px;
  color: var(--navy);
}
.contact-card p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  margin: 0;
}

.contact-icon {
  width: 40px;
  height: 40px;
  min-width: 40px;
  border-radius: 10px;
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
}
.contact-icon svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: #fff;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact-map {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  min-height: 320px;
}
.contact-map iframe {
  width: 100%;
  height: 100%;
  min-height: 320px;
  border: 0;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy);
  color: #dfe6f5;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 48px;
  padding: 64px 24px 40px;
}

.footer-logo { height: 34px; margin-bottom: 14px; }
.footer-brand p { color: #b9c4de; font-size: 0.9rem; max-width: 30ch; }

.footer-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.footer-cols h4 {
  color: #fff;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 14px;
}
.footer-cols p { margin: 0 0 8px; font-size: 0.9rem; color: #b9c4de; }
.footer-cols a:hover { color: var(--orange-light); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding: 18px 0;
}
.footer-bottom p {
  margin: 0;
  font-size: 0.82rem;
  color: #93a1c4;
  text-align: center;
}

/* ---------- WhatsApp Floating Button ---------- */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 58px;
  height: 58px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 22px rgba(37, 211, 102, 0.45);
  z-index: 600;
  transition: transform .18s ease;
}
.whatsapp-float:hover { transform: scale(1.08); }
.whatsapp-float svg { width: 30px; height: 30px; fill: #fff; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-media { order: -1; }
  .about-inner { grid-template-columns: 1fr; }
  .about-media { order: -1; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 720px) {
  .nav-panel {
    position: fixed;
    top: 68px;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    padding: 20px 24px 28px;
    gap: 18px;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 12px 24px rgba(10,42,107,0.08);
    transform: translateY(-130%);
    opacity: 0;
    pointer-events: none;
    transition: transform .25s ease, opacity .25s ease;
    z-index: 400;
  }
  .nav-panel.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav-panel ul {
    flex-direction: column;
    gap: 14px;
  }
  .btn-whatsapp-nav { justify-content: center; }
  .nav-toggle { display: flex; z-index: 410; }

  .contact-cards { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .section { padding: 64px 0; }
}

@media (max-width: 480px) {
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { justify-content: center; }
}

/* Nav open state: hamburger -> X */
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }
