/* ============================================
   RESTAURACIÓN BETHEL — HOJA DE ESTILOS
   ============================================ */

/* RESET */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* VARIABLES */
:root {
  --sky: #5bafd6;
  --sky-light: #a8d8ee;
  --sky-dark: #2e6b9e;
  --sky-darker: #1b3a5c;
  --bg: #f4f9fd;
  --bg-alt: #e8f0f7;
  --white: #ffffff;
  --text: #1b3a5c;
  --text-soft: #4a6f8a;
  --gold: #c9a96e;
  --gold-dark: #a07840;
  --shadow: 0 4px 24px rgba(46, 107, 158, 0.08);
  --shadow-lg: 0 12px 40px rgba(46, 107, 158, 0.12);
  --radius: 16px;
  --radius-lg: 24px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html { scroll-behavior: smooth; font-size: 16px; }

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

h1, h2, h3, h4 { font-family: 'Cormorant Garamond', serif; }

/* ============================================
   PALOMAS DE FONDO
   ============================================ */
.dove-bg {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;  pointer-events: none;
  z-index: 0;
  opacity: 0.04;
}

.dove-bg svg {
  position: absolute;
  fill: var(--sky);
}

/* ============================================
   NAVBAR
   ============================================ */
nav {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 20px rgba(27, 58, 92, 0.06);
  transition: var(--transition);
}

nav.scrolled {
  box-shadow: 0 2px 30px rgba(27, 58, 92, 0.1);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.nav-brand-icon {
  width: 44px; height: 44px;
  background: linear-gradient(135deg, var(--sky), var(--sky-dark));
  border-radius: 50%;  display: flex;
  align-items: center;
  justify-content: center;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--sky-darker);
  line-height: 1.2;
}

.brand-sub {
  font-size: 0.65rem;
  color: var(--text-soft);
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 500;
}

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

.nav-links a {
  text-decoration: none;
  color: var(--text-soft);
  font-size: 0.85rem;
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: 10px;
  transition: var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--sky-dark);
  background: var(--bg);
}

.nav-cta {  background: linear-gradient(135deg, var(--sky), var(--sky-dark)) !important;
  color: white !important;
  padding: 0.55rem 1.5rem !important;
  border-radius: 25px !important;
  font-weight: 600 !important;
}

.nav-cta:hover { transform: translateY(-2px); box-shadow: 0 4px 15px rgba(91,175,214,0.4); }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 5px;
  z-index: 1001;
}

.hamburger span {
  width: 26px; height: 2.5px;
  background: var(--sky-darker);
  border-radius: 3px;
  transition: var(--transition);
}

.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

.nav-overlay {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(27, 58, 92, 0.2);
  backdrop-filter: blur(4px);
  z-index: 999;
}

.nav-overlay.active { display: block; }

/* ============================================
   HERO
   ============================================ */
#inicio {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;  overflow: hidden;
  background: linear-gradient(160deg, var(--white) 0%, var(--bg) 40%, var(--bg-alt) 70%);
  padding: 120px 2rem 80px;
}

.hero-circle {
  position: absolute;
  top: -200px; right: -200px;
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(91,175,214,0.06) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero-doves svg {
  position: absolute;
  pointer-events: none;
  fill: var(--sky-light);
  opacity: 0.3;
}

.hero-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 1;
  width: 100%;
}

.hero-text { max-width: 580px; }

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--sky);
  margin-bottom: 1.5rem;
}

.hero-eyebrow-line {
  width: 30px; height: 1px;
  background: var(--sky);  opacity: 0.5;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1.1;
  color: var(--sky-darker);
  margin-bottom: 1.5rem;
}

.hero-title em {
  font-style: italic;
  color: var(--sky);
}

.hero-verse {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 1.1rem;
  color: var(--sky);
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
  border-left: 3px solid var(--sky-light);
}

.hero-desc {
  font-size: 1rem;
  color: var(--text-soft);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.hero-tag {
  background: var(--bg);
  color: var(--sky-dark);
  padding: 0.4rem 1rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  border: 1px solid var(--bg-alt);
}
.hero-btns {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--sky), var(--sky-dark));
  color: white;
  padding: 0.9rem 2rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  transition: var(--transition);
}

.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 8px 25px rgba(91,175,214,0.4); }

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--sky-dark);
  padding: 0.9rem 2rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  border: 2px solid var(--sky-light);
  transition: var(--transition);
}

.btn-outline:hover { background: var(--bg); transform: translateY(-3px); }

/* Emblem */
.hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-emblem {
  position: relative;
  width: 280px; height: 280px;}

.emblem-ring {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  border: 2px solid var(--sky-light);
  border-radius: 50%;
  opacity: 0.3;
  animation: spin 20s linear infinite;
}

.emblem-ring-2 {
  width: 85%; height: 85%;
  top: 7.5%; left: 7.5%;
  animation-duration: 15s;
  animation-direction: reverse;
  border-color: var(--sky);
  opacity: 0.15;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.emblem-core {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  width: 200px;
}

.emblem-dove-svg {
  width: 100px; height: 65px;
  margin-bottom: 0.5rem;
}

.emblem-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--sky-darker);
  line-height: 1.2;
}

.emblem-sub {
  font-size: 0.65rem;
  color: var(--text-soft);
  letter-spacing: 2px;  text-transform: uppercase;
  margin-top: 0.25rem;
}

.emblem-dots {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 110px; height: 110px;
}

.emblem-dot {
  position: absolute;
  top: 50%; left: 50%;
  width: 6px; height: 6px;
  background: var(--sky);
  border-radius: 50%;
  opacity: 0.4;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 0.2; transform: rotate(var(--r, 0deg)) translateX(55px) scale(1); }
  50% { opacity: 0.6; transform: rotate(var(--r, 0deg)) translateX(55px) scale(1.5); }
}

/* ============================================
   SECCIONES GENERALES
   ============================================ */
.section-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 5rem 2rem;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--sky);
  margin-bottom: 1rem;
}

.section-label::before,
.section-label::after {
  content: '';  width: 25px; height: 1px;
  background: var(--sky);
  opacity: 0.4;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--sky-darker);
  margin-bottom: 0.75rem;
  line-height: 1.2;
}

.section-desc {
  font-size: 1rem;
  color: var(--text-soft);
  max-width: 550px;
  line-height: 1.7;
}

/* ============================================
   SERVICIOS
   ============================================ */
#servicios { background: var(--white); }

.services-header { text-align: center; margin-bottom: 3rem; }
.services-header .section-desc { margin: 0 auto; }

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--bg-alt);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  text-align: center;
  transition: var(--transition);
}

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

.service-icon {  width: 60px; height: 60px;
  margin: 0 auto 1rem;
  background: var(--bg);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.service-icon svg {
  width: 28px; height: 28px;
  stroke: var(--sky-dark);
  transition: var(--transition);
}

.service-card:hover .service-icon {
  background: linear-gradient(135deg, var(--sky), var(--sky-dark));
}

.service-card:hover .service-icon svg {
  stroke: white;
}

.service-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--sky-darker);
  margin-bottom: 0.5rem;
}

.service-text {
  font-size: 0.85rem;
  color: var(--text-soft);
  line-height: 1.6;
}

/* ============================================
   HORARIOS
   ============================================ */
#horarios {
  background: linear-gradient(180deg, var(--bg), var(--bg-alt), var(--bg));
}

.schedule-wrap {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 3rem;
  align-items: start;
}
.schedule-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 2rem;
}

.schedule-item {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1rem 1.25rem;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.schedule-item:hover {
  transform: translateX(5px);
  box-shadow: var(--shadow-lg);
}

.schedule-badge {
  width: 60px; height: 60px;
  min-width: 60px;
  background: linear-gradient(135deg, var(--sky), var(--sky-dark));
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: white;
}

.badge-day {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1;
}

.badge-time {
  font-size: 0.65rem;
  font-weight: 600;
  opacity: 0.9;
}

.schedule-name {  font-weight: 600;
  color: var(--sky-darker);
  font-size: 0.95rem;
}

.schedule-note {
  font-size: 0.8rem;
  color: var(--text-soft);
  margin-top: 0.15rem;
}

.schedule-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.clock-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 3rem 2rem;
  text-align: center;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--bg-alt);
  max-width: 350px;
  width: 100%;
}

.clock-icon-wrap {
  margin-bottom: 1.5rem;
}

.clock-quote {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 1.15rem;
  color: var(--sky-dark);
  margin-bottom: 0.5rem;
}

.clock-ref {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-soft);
  letter-spacing: 1px;
}

/* ============================================
   CONTACTO
   ============================================ */#contacto { background: var(--white); }

.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

/* 🟢 NUEVO: Mover formulario a la derecha */
.contact-form-box {
  order: 2;
}
.contact-wrap > div:not(.contact-form-box) {
  order: 1;
}

.pastores-intro {
  color: var(--text-soft);
  line-height: 1.7;
  margin-bottom: 2rem;
  font-size: 0.95rem;
}

.pastor-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: var(--bg);
  border-radius: var(--radius);
  margin-bottom: 0.75rem;
  border: 1px solid var(--bg-alt);
}

.pastor-avatar {
  width: 44px; height: 44px;
  min-width: 44px;
  background: linear-gradient(135deg, var(--sky), var(--sky-dark));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 1rem;
}

.pastor-name {
  font-weight: 600;
  color: var(--sky-darker);
  font-size: 0.9rem;
}

.pastor-role {
  font-size: 0.78rem;
  color: var(--text-soft);
}
.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 2rem;
}

.contact-method {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.85rem;
  color: var(--text-soft);
}

.contact-method svg {
  width: 20px; height: 20px;
  stroke: var(--sky);
  min-width: 20px;
}

/* Formulario */
.contact-form-box {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--bg-alt);
}

.form-group {
  margin-bottom: 1rem;
}

.form-group label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.35rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;  border: 2px solid var(--bg-alt);
  border-radius: 12px;
  font-family: 'Jost', sans-serif;
  font-size: 0.9rem;
  color: var(--text);
  background: var(--bg);
  transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--sky);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(91,175,214,0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.form-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.form-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0.85rem 1.5rem;
  background: linear-gradient(135deg, var(--sky), var(--sky-dark));
  color: white;
  border: none;
  border-radius: 12px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  font-family: 'Jost', sans-serif;
}

.form-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(91,175,214,0.4);}

.form-whatsapp {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0.85rem 1.5rem;
  background: linear-gradient(135deg, #25D366, #128C7E);
  color: white;
  border: none;
  border-radius: 12px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  font-family: 'Jost', sans-serif;
}

.form-whatsapp:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(37,211,102,0.4);
}

.form-note {
  text-align: center;
  margin-top: 0.75rem;
  color: var(--text-soft);
  font-size: 0.75rem;
}

/* ============================================
UBICACIÓN - ACTUALIZADO (MAPA AL FINAL)
============================================ */
#ubicacion {
  background: linear-gradient(180deg, var(--bg), var(--bg-alt));
}

.location-wrap-single {
  max-width: 700px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.location-details {
  padding: 1rem 0;
}

.location-detail-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: var(--white);
  border-radius: var(--radius);
  margin-bottom: 0.75rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--bg-alt);
  transition: var(--transition);
}

.location-detail-item:hover {
  transform: translateX(5px);
  box-shadow: var(--shadow-lg);
}

.location-detail-icon {
  width: 44px; height: 44px;
  min-width: 44px;
  background: var(--bg);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.location-detail-icon svg {
  width: 22px; height: 22px;
  stroke: var(--sky);
}

.location-detail-title {
  font-weight: 600;
  color: var(--sky-darker);
  font-size: 0.85rem;
  margin-bottom: 0.15rem;
}

.location-detail-text {
  font-size: 0.85rem;
  color: var(--text-soft);
  line-height: 1.5;
}

/* Mapa al final */
.location-map-placeholder {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 3rem 2rem;
  text-align: center;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--bg-alt);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 300px;
}

.map-icon-bg {
  width: 80px; height: 80px;
  background: var(--bg);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.map-icon-bg svg {
  width: 36px; height: 36px;
  stroke: var(--sky);
}

.map-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--sky), var(--sky-dark));
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.85rem;
  transition: var(--transition);
  margin-top: 1rem;
}

.map-btn:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(91,175,214,0.4); }

/* ============================================
   FOOTER
   ============================================ */
footer {
  background: var(--sky-darker);
  color: white;
  padding: 3rem 2rem 1.5rem;
  text-align: center;
}

.footer-brand {  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--sky-light);
  margin-bottom: 0.5rem;
}

.footer-verse {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  color: rgba(255,255,255,0.5);
  font-size: 0.9rem;
  margin-bottom: 2rem;
}

.footer-links {
  list-style: none;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-links a {
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  font-size: 0.85rem;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--sky-light);
}

.footer-copy {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.35);
}

/* ============================================
   NOTIFICACIONES
   ============================================ */
.notif {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  padding: 1rem 1.5rem;  border-radius: 12px;
  font-size: 0.85rem;
  font-weight: 500;
  color: white;
  background: var(--sky-dark);
  box-shadow: 0 8px 30px rgba(27,58,92,0.3);
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transform: translateX(150%);
  transition: transform 0.3s cubic-bezier(0.4,0,0.2,1);
  max-width: 350px;
  opacity: 0;
  pointer-events: none;
}

.notif.show {
  transform: translateX(0);
  opacity: 1;
}

.notif.success { background: linear-gradient(135deg, #2ecc71, #27ae60); }
.notif.error { background: linear-gradient(135deg, #e74c3c, #c0392b); }

/* ============================================
   REVEAL ANIMATIONS
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s cubic-bezier(0.4,0,0.2,1);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .hero-content { grid-template-columns: 1fr; gap: 2rem; }
  .hero-visual { order: -1; }
  .hero-text { max-width: 100%; }
  .hero-emblem { width: 220px; height: 220px; }
  .hero-title { font-size: 2.8rem; }
  .schedule-wrap { grid-template-columns: 1fr; }
  .contact-wrap { grid-template-columns: 1fr; gap: 3rem; }
  .contact-form-box { order: 2; }
  .contact-wrap > div:not(.contact-form-box) { order: 1; }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 0; right: -100%;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    background: white;
    flex-direction: column;
    padding: 100px 2rem 2rem;
    box-shadow: -10px 0 30px rgba(0,0,0,0.1);
    transition: var(--transition);
    gap: 0.5rem;
  }


  .nav-links.active { right: 0; }
  .nav-links a { padding: 0.75rem 1rem; font-size: 1rem; }
  .hamburger { display: flex; }
  .hero-title { font-size: 2.2rem; }
  .section-title { font-size: 2rem; }
  .section-inner { padding: 3rem 1.5rem; }
  .contact-form-box { padding: 1.5rem; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 1.8rem; }
  .hero-btns { flex-direction: column; }
  .btn-primary, .btn-outline { width: 100%; justify-content: center; }
  .form-actions { gap: 0.5rem; }
}

/* ===== LOGO NAVBAR CON ANIMACIÓN ===== */
.nav-logo-img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  animation: pulseLogo 2s ease-in-out infinite;
  position: relative;
  z-index: 1;
}

@keyframes pulseLogo {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.15); }
}

.nav-logo-img:hover {
  animation: pulseLogoHover 0.6s ease-in-out;
  box-shadow: 0 4px 15px rgba(91,175,214,0.4);
}

@keyframes pulseLogoHover {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.25); }
}
/* ===== LOGO EN HERO - FORMA DE CORAZÓN ===== */
.hero-logo-img {
  max-width: 400px;
  width: 100%;
  aspect-ratio: 1 / 1; /* Mantiene el cuadro cuadrado */
  height: auto;
  object-fit: cover; /* Ajusta la imagen para que no se deforme */
  
  /* --- CAMBIO DE FORMA A CORAZÓN --- */
  border-radius: 0; /* Aseguramos que no tenga esquinas redondas */
  
  /* Máscara en forma de corazón */
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 21.35l-1.45-1.32C5.4 15.36 2 12.28 2 8.5 2 5.42 4.42 3 7.5 3c1.74 0 3.41.81 4.5 2.09C13.09 3.81 14.76 3 16.5 3 19.58 3 22 5.42 22 8.5c0 3.78-3.4 6.86-8.55 11.54L12 21.35z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 21.35l-1.45-1.32C5.4 15.36 2 12.28 2 8.5 2 5.42 4.42 3 7.5 3c1.74 0 3.41.81 4.5 2.09C13.09 3.81 14.76 3 16.5 3 19.58 3 22 5.42 22 8.5c0 3.78-3.4 6.86-8.55 11.54L12 21.35z'/%3E%3C/svg%3E");
  
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  /* ------------------------------- */

  /* Animación de pulso (igual que el logo del menú) */
  animation: pulseLogo 2s ease-in-out infinite; 
  
  filter: drop-shadow(0 10px 30px rgba(91, 175, 214, 0.15));
}

/* Responsive */
@media (max-width: 1024px) {
  .hero-logo-img {
    max-width: 320px;
  }
}

@media (max-width: 768px) {
  .hero-logo-img {
    max-width: 280px;
    margin: 0 auto;
    display: block;
  }
}

@media (max-width: 480px) {
  .hero-logo-img {
    max-width: 220px;
  }
}
