/* ==========================================================================
   ESTILOS - SITIO WEB PROFESIONAL LAURA TUNDENO
   Paleta: Teal (#2A9D8F), Azul Profundo (#264653), Dorado (#E9C46A), Coral (#E76F51)
   ========================================================================== */

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

:root {
  --primary: #2A9D8F;
  --primary-dark: #264653;
  --accent: #E9C46A;
  --coral: #E76F51;
  --bg-light: #F8FAFC;
  --text-dark: #1E293B;
  --text-muted: #64748B;
  --white: #FFFFFF;
  --border: #E2E8F0;
  --shadow-sm: 0 2px 6px rgba(0,0,0,0.06);
  --shadow-md: 0 8px 24px rgba(38,70,83,0.08);
  --shadow-lg: 0 16px 36px rgba(38,70,83,0.12);
  --transition: all 0.3s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Open Sans', sans-serif;
  color: var(--text-dark);
  background-color: var(--white);
  line-height: 1.65;
  overflow-x: hidden;
}

/* CONTENEDOR */
.container {
  width: 90%;
  max-width: 1180px;
  margin: 0 auto;
}

/* TIPOGRAFÍA */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', sans-serif;
  color: var(--primary-dark);
  font-weight: 700;
  line-height: 1.25;
}

/* NAVBAR */
.navbar {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  z-index: 1000;
  box-shadow: var(--shadow-sm);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
}

.brand-logo {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--primary-dark);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
}

.brand-logo span {
  color: var(--primary);
}

.nav-links {
  display: flex;
  list-style: none;
  align-items: center;
  gap: 28px;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-dark);
  font-size: 0.95rem;
  font-weight: 500;
  transition: var(--transition);
}

.nav-links a:hover {
  color: var(--primary);
}

.nav-cta {
  background: var(--primary);
  color: var(--white) !important;
  padding: 9px 20px;
  border-radius: 50px;
  font-weight: 600 !important;
  box-shadow: 0 4px 12px rgba(42, 157, 143, 0.25);
}

.nav-cta:hover {
  background: #238276;
  transform: translateY(-2px);
}

/* HERO SECTION */
.hero {
  padding: 80px 0 60px;
  background: linear-gradient(135deg, #F8FAFC 0%, #E8F4F2 100%);
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 50px;
}

.hero-tagline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(42, 157, 143, 0.12);
  color: var(--primary);
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 20px;
}

.hero-title {
  font-size: 2.8rem;
  font-weight: 800;
  margin-bottom: 16px;
  color: var(--primary-dark);
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 30px;
  max-width: 580px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
  padding: 14px 28px;
  border-radius: 8px;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: var(--transition);
  box-shadow: 0 6px 16px rgba(42, 157, 143, 0.3);
}

.btn-primary:hover {
  background: #238276;
  transform: translateY(-2px);
}

.btn-outline {
  border: 2px solid var(--primary-dark);
  color: var(--primary-dark);
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
}

.btn-outline:hover {
  background: var(--primary-dark);
  color: var(--white);
}

.hero-image-wrap {
  position: relative;
  text-align: center;
}

.hero-avatar {
  width: 320px;
  height: 320px;
  border-radius: 50%;
  object-fit: cover;
  border: 8px solid var(--white);
  box-shadow: var(--shadow-lg);
  position: relative;
  z-index: 2;
}

.hero-badge-floating {
  position: absolute;
  bottom: 15px;
  right: 15px;
  background: var(--white);
  padding: 12px 18px;
  border-radius: 12px;
  box-shadow: var(--shadow-md);
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 10px;
  border-left: 4px solid var(--accent);
}

.hero-badge-floating span {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary-dark);
}

/* SECCIONES COMUNES */
.section {
  padding: 90px 0;
}

.section-header {
  text-align: center;
  max-width: 650px;
  margin: 0 auto 50px;
}

.section-label {
  color: var(--primary);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.section-heading {
  font-size: 2.1rem;
  margin-bottom: 14px;
}

.section-desc {
  color: var(--text-muted);
  font-size: 1rem;
}

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

.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 32px 24px;
  transition: var(--transition);
  position: relative;
  box-shadow: var(--shadow-sm);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}

.service-icon {
  width: 58px;
  height: 58px;
  border-radius: 12px;
  background: rgba(42, 157, 143, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 20px;
  color: var(--primary);
}

.service-title {
  font-size: 1.25rem;
  margin-bottom: 12px;
}

.service-text {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* SOBRE MÍ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-bullets {
  list-style: none;
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.about-bullet-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.95rem;
}

.about-bullet-icon {
  color: var(--primary);
  font-weight: 800;
  font-size: 1.1rem;
  line-height: 1;
}

.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.stat-box {
  background: var(--bg-light);
  border-left: 4px solid var(--primary);
  padding: 24px 20px;
  border-radius: 8px;
}

.stat-number {
  font-family: 'Montserrat', sans-serif;
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--primary-dark);
}

.stat-label {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 600;
}

/* CREDENCIALES */
.creds-section {
  background: var(--bg-light);
}

.creds-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.cred-card {
  background: var(--white);
  padding: 20px;
  border-radius: 10px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.cred-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 4px;
}

.cred-issuer {
  font-size: 0.85rem;
  color: var(--primary);
  font-weight: 600;
}

/* CONTACTO */
.contact-section {
  background: var(--primary-dark);
  color: var(--white);
}

.contact-section .section-label {
  color: var(--accent);
}

.contact-section .section-heading {
  color: var(--white);
}

.contact-section .section-desc {
  color: #CBD5E1;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-info-item {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 1.05rem;
}

.contact-icon-box {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--accent);
}

.contact-card-box {
  background: var(--white);
  color: var(--text-dark);
  padding: 40px;
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  text-align: center;
}

.btn-whatsapp-large {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: #25D366;
  color: var(--white);
  padding: 16px 32px;
  border-radius: 10px;
  font-size: 1.1rem;
  font-weight: 700;
  text-decoration: none;
  width: 100%;
  margin-top: 20px;
  transition: var(--transition);
  box-shadow: 0 6px 18px rgba(37, 211, 102, 0.35);
}

.btn-whatsapp-large:hover {
  background: #20BA5A;
  transform: translateY(-2px);
}

/* FOOTER */
footer {
  background: #1B323C;
  color: #94A3B8;
  padding: 30px 0;
  text-align: center;
  font-size: 0.9rem;
}

/* BOTÓN FLOTANTE WHATSAPP */
.whatsapp-float {
  position: fixed;
  bottom: 25px;
  right: 25px;
  background-color: #25D366;
  color: var(--white);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  text-align: center;
  font-size: 32px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.25);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: var(--transition);
}

.whatsapp-float:hover {
  transform: scale(1.1);
}

/* AJUSTES: ANCHO MÓVIL, MENÚ Y BOTÓN CV */
.about-grid > *,
.contact-grid > *,
.hero-grid > * {
  min-width: 0;
}

.stats-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.stat-number {
  overflow-wrap: anywhere;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: none;
  border: none;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 3px;
  border-radius: 2px;
  background: var(--primary-dark);
  transition: var(--transition);
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.btn-cv {
  margin-top: 28px;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .hero-grid, .about-grid, .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hero {
    text-align: center;
  }
  .hero-subtitle {
    margin: 0 auto 30px;
  }
  .hero-actions {
    justify-content: center;
  }
  .hero-avatar {
    width: 250px;
    height: 250px;
  }
  .nav-toggle {
    display: flex;
  }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    padding: 8px 5% 16px;
  }
  .nav-links.open {
    display: flex;
  }
  .nav-links li {
    width: 100%;
    text-align: center;
  }
  .nav-links a {
    display: block;
    padding: 12px 0;
  }
  .nav-links .nav-cta {
    margin-top: 8px;
  }
}

@media (max-width: 480px) {
  .stats-grid {
    gap: 12px;
  }
  .stat-box {
    padding: 18px 14px;
  }
  .stat-number {
    font-size: 1.6rem;
  }
  .btn-cv {
    width: 100%;
    justify-content: center;
  }
}
