/* ===== VARIABLES — Paleta K-NINA ===== */
:root {
  --cream: #f0f4ff;
  --warm-white: #f7f9ff;
  --caramel: #1a56db;
  --caramel-light: #3a7bff;
  --caramel-dark: #0d3a9e;
  --brown: #0a1a3a;
  --soft-brown: #2d5a9e;
  --green: #ffd700;
  --green-light: #fff9e0;
  --text: #0a1520;
  --text-muted: #4a6080;
  --border: #c5d5f5;
  --shadow: 0 4px 24px rgba(10, 26, 58, 0.12);
  --radius: 18px;
}

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--cream);
  color: var(--text);
  overflow-x: hidden;
  position: relative;
}

/* ===== MARCA DE AGUA ===== */
body::before {
  content: '';
  position: fixed;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 600px; height: 600px;
  background-image: url('images/Llogo.jpeg');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  opacity: 0.05;
  z-index: -1;
  pointer-events: none;
}

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 40px;
  background: rgba(240, 244, 255, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  gap: 16px;
}

.nav-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--caramel-dark);
  letter-spacing: -0.5px;
  white-space: nowrap;
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  gap: 24px;
  list-style: none;
  flex-wrap: nowrap;
}

.nav-links a {
  text-decoration: none;
  color: var(--soft-brown);
  font-size: 0.88rem;
  font-weight: 500;
  transition: color 0.2s;
  white-space: nowrap;
}
.nav-links a:hover { color: var(--caramel); }

.nav-wa { flex-shrink: 0; }

/* Hamburger button */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 28px; height: 20px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
}
.hamburger span {
  display: block;
  width: 100%; height: 3px;
  background: var(--caramel-dark);
  border-radius: 2px;
  transition: all 0.3s;
}
.hamburger.active span:nth-child(1) { transform: translateY(8.5px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-8.5px) rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: 60px; left: 0; right: 0;
  background: rgba(240, 244, 255, 0.98);
  backdrop-filter: blur(12px);
  z-index: 999;
  padding: 20px 24px 28px;
  border-bottom: 1px solid var(--border);
  box-shadow: 0 8px 24px rgba(10,26,58,0.12);
}
.mobile-menu.open { display: block; }
.mobile-menu ul { list-style: none; display: flex; flex-direction: column; gap: 0; }
.mobile-menu ul li { border-bottom: 1px solid var(--border); }
.mobile-menu ul li:last-child { border-bottom: none; margin-top: 12px; }
.mobile-menu a.mobile-link {
  display: block;
  padding: 14px 0;
  color: var(--soft-brown);
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
}
.mobile-menu a.btn-primary { display: block; text-align: center; }

/* ===== BOTONES ===== */
.btn-primary {
  background: var(--caramel);
  color: #fff;
  padding: 12px 26px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: background 0.2s, transform 0.2s;
  display: inline-block;
  border: none;
  cursor: pointer;
  font-family: 'DM Sans', sans-serif;
}
.btn-primary:hover { background: var(--caramel-dark); transform: translateY(-2px); }

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 100px 60px 80px;
  gap: 60px;
  position: relative;
  overflow: hidden;
  background: var(--warm-white);
}

.hero-bg-circles .circle {
  position: absolute;
  border-radius: 50%;
  opacity: 0.18;
  pointer-events: none;
}
.c1 { width: 420px; height: 420px; background: var(--caramel-light); top: -80px; right: -60px; }
.c2 { width: 280px; height: 280px; background: var(--green); bottom: 60px; right: 200px; }
.c3 { width: 160px; height: 160px; background: var(--caramel); top: 200px; left: -40px; }

.hero-content {
  flex: 1;
  max-width: 560px;
  animation: fadeUp 0.8s ease both;
}

.hero-tag {
  display: inline-block;
  background: var(--green-light);
  color: var(--caramel-dark);
  font-size: 0.82rem;
  font-weight: 500;
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 20px;
  letter-spacing: 0.5px;
}

.hero-content h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  line-height: 1.15;
  color: var(--brown);
  margin-bottom: 20px;
}
.hero-content h1 em { font-style: italic; color: var(--caramel); }

.hero-content p {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 420px;
}

.hero-buttons { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-image-area {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  animation: fadeUp 0.8s 0.2s ease both;
}

.hero-img-placeholder {
  width: 340px; height: 380px;
  background: linear-gradient(135deg, #d0deff 0%, #a8c0ff 100%);
  border-radius: 40% 60% 55% 45% / 45% 40% 60% 55%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.hero-img-placeholder img {
  width: 100%; height: 100%;
  object-fit: contain;
  padding: 20px;
}

.hero-badge {
  position: absolute;
  bottom: 20px; left: 0;
  background: var(--green);
  color: var(--brown);
  border-radius: 16px;
  padding: 12px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: var(--shadow);
  animation: fadeUp 0.8s 0.4s ease both;
}
.hero-badge strong { font-size: 1.5rem; font-family: 'Playfair Display', serif; }
.hero-badge span { font-size: 0.75rem; opacity: 0.85; }

/* ===== SECCIONES ===== */
.section { padding: 80px 60px; }

.section-header { text-align: center; margin-bottom: 48px; }
.section-tag {
  display: inline-block;
  background: var(--green-light);
  color: var(--caramel-dark);
  font-size: 0.82rem;
  font-weight: 500;
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 12px;
  letter-spacing: 0.5px;
}
.section-header h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 4vw, 3rem);
  color: var(--brown);
}

/* ===== ORIGEN / NOVEDADES ===== */
.origen {
  padding: 80px 60px;
  max-width: 1200px;
  margin: 0 auto;
}

.novedades {
  padding: 80px 60px;
  max-width: 1200px;
  margin: 0 auto;
}

.novedad-segunda { margin-top: 60px; }

.quienes-grid {
  display: flex;
  align-items: stretch;
  gap: 48px;
}

.texto-col { flex: 0 0 58%; }
.imagen-col { flex: 1; display: flex; align-items: center; }

.imagen-col img {
  width: 100%; height: 100%;
  max-height: 550px;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
  display: block;
}

.texto-col h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.4rem, 3vw, 2rem);
  margin-bottom: 20px;
  color: var(--brown);
}
.texto-col h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  margin: 24px 0 12px;
  color: var(--brown);
}
.texto-col p { font-size: 1rem; line-height: 1.7; margin-bottom: 14px; color: var(--text-muted); }

.lista-diferenciales { list-style: none; padding-left: 0; margin-top: 24px; }
.lista-diferenciales li {
  margin-bottom: 14px;
  padding-left: 14px;
  border-left: 3px solid var(--caramel-light);
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Galería pequeña de Portela dentro de novedades */
.gallery-portela {
  grid-template-columns: 1fr 1fr;
  max-width: none;
  flex: 1;
  align-self: center;
}

/* ===== SERVICIOS ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto;
}

.service-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 26px;
  position: relative;
  transition: transform 0.25s, box-shadow 0.25s;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }

.service-card.featured {
  background: var(--brown);
  border-color: var(--brown);
  color: #fff;
}
.service-card.featured h3 { color: #fff; }
.service-card.featured p { color: #c5d5f5; }

.service-icon { font-size: 2.2rem; }
.service-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  color: var(--brown);
}
.service-card > p { font-size: 0.92rem; color: var(--text-muted); line-height: 1.6; }

.lista-servicio, .pasos-baño, .extras-servicio {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
  padding-left: 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.service-card.featured .lista-servicio,
.service-card.featured .pasos-baño,
.service-card.featured .extras-servicio { color: #a8c0e8; }

.destacado {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--caramel-dark);
  margin-top: 4px;
}

/* ===== GALERÍA ===== */
.galeria-section { background: var(--warm-white); }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  max-width: 1000px;
  margin: 0 auto;
}

.gallery-4 { grid-template-columns: repeat(4, 1fr); }

.gallery-item {
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 180px;
  background: linear-gradient(135deg, #d0deff, #a8c0ff);
}
.gallery-item img {
  width: 100%; height: 100%;
  min-height: 180px;
  object-fit: cover;
  display: block;
  transition: transform 0.4s;
}
.gallery-item:hover img { transform: scale(1.04); }

/* ===== MEDIOS DE PAGO ===== */
.pagos-grid {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  padding: 10px;
}

.pago-item {
  background: white;
  border-radius: 16px;
  padding: 28px 22px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
  min-width: 130px;
  transition: transform 0.2s;
}
.pago-item:hover { transform: translateY(-5px); }
.pago-icon { font-size: 2.5rem; display: block; margin-bottom: 10px; }
.pago-item p { font-weight: 600; color: #333; margin: 0; font-size: 0.95rem; }

/* ===== TESTIMONIOS ===== */
.testimonios-section { background: var(--cream); }
.testimonios-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  max-width: 1000px;
  margin: 0 auto;
}
.testimonio {
  background: #fff;
  border-radius: var(--radius);
  padding: 28px 24px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}
.stars { color: var(--green); font-size: 1.1rem; margin-bottom: 12px; }
.testimonio > p { font-size: 0.93rem; color: var(--text-muted); line-height: 1.7; font-style: italic; margin-bottom: 18px; }
.testimonio-autor { display: flex; align-items: center; gap: 12px; }
.autor-avatar { font-size: 2rem; }
.testimonio-autor strong { font-size: 0.93rem; color: var(--brown); }
.testimonio-autor small { font-size: 0.8rem; color: var(--text-muted); }

/* ===== CONTACTO ===== */
.contacto-section { background: var(--brown); padding: 80px 60px; }
.contacto-section .section-tag { background: rgba(255,255,255,0.1); color: var(--green); }
.contacto-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  max-width: 1000px;
  margin: 0 auto;
}
.contacto-info h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem;
  color: #fff;
  margin: 12px 0 16px;
}
.contacto-info > p { color: #a8c0e8; line-height: 1.7; margin-bottom: 28px; }
.contacto-datos { display: flex; flex-direction: column; gap: 14px; }
.dato { display: flex; gap: 12px; color: #c5d5f5; font-size: 0.95rem; align-items: flex-start; }
.dato span { color: #fff; }
.contacto-mapa { border-radius: var(--radius); overflow: hidden; min-height: 350px; box-shadow: 0 8px 30px rgba(0,0,0,0.2); }

/* ===== FOOTER ===== */
.footer { background: #050d1a; padding: 40px 24px; }
.footer-content { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; }
.footer-content p { color: #4a6080; font-size: 0.85rem; }
.footer-copy { color: #2d3f60 !important; font-size: 0.78rem !important; margin-top: 8px; }

/* ===== ANIMACIONES ===== */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ===== RESPONSIVE — Tablet ===== */
@media (max-width: 1024px) {
  .navbar { padding: 14px 24px; }
  .nav-links { gap: 16px; }
  .hero { padding: 100px 40px 60px; gap: 40px; }
  .origen, .novedades { padding: 60px 40px; }
  .section { padding: 60px 40px; }
  .contacto-section { padding: 60px 40px; }
}

/* ===== RESPONSIVE — Mobile ===== */
@media (max-width: 768px) {
  /* Navbar */
  .navbar { padding: 12px 18px; }
  .nav-links { display: none; }
  .nav-wa { display: none; }
  .hamburger { display: flex; }

  body::before { width: 280px; height: 280px; }

  /* Hero */
  .hero {
    flex-direction: column;
    padding: 80px 20px 50px;
    text-align: center;
    min-height: auto;
    gap: 32px;
  }
  .hero-content { max-width: 100%; }
  .hero-content p { max-width: 100%; }
  .hero-buttons { justify-content: center; }
  .hero-image-area { order: -1; width: 100%; }
  .hero-img-placeholder { width: 220px; height: 240px; margin: 0 auto; }
  .hero-badge { position: relative; bottom: auto; left: auto; display: inline-flex; margin: 0 auto; }

  /* Secciones */
  .origen, .novedades { padding: 50px 20px; }
  .section { padding: 50px 20px; }
  .contacto-section { padding: 50px 20px; }

  /* Grillas de dos columnas → una columna */
  .quienes-grid {
    flex-direction: column;
    gap: 24px;
  }
  .texto-col, .imagen-col { flex: none; width: 100%; }
  .imagen-col img { max-height: 300px; margin: 0 auto; max-width: 320px; display: block; }

  .novedad-segunda { margin-top: 40px; }

  /* Galería Portela dentro de novedades */
  .gallery-portela { grid-template-columns: 1fr 1fr; max-width: 100%; }

  /* Galería principal: 2 columnas en mobile */
  .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .gallery-4 { grid-template-columns: repeat(2, 1fr); }
  .gallery-item, .gallery-item img { min-height: 140px; }

  /* Servicios: 1 columna */
  .services-grid { grid-template-columns: 1fr; }

  /* Contacto: 1 columna */
  .contacto-grid { grid-template-columns: 1fr; gap: 32px; }
  .contacto-mapa { min-height: 260px; }

  /* Testimonios */
  .testimonios-grid { grid-template-columns: 1fr; }

  /* Secciones header */
  .section-header h2 { font-size: 1.6rem; }
}

/* ===== RESPONSIVE — Muy pequeño ===== */
@media (max-width: 400px) {
  .hero-img-placeholder { width: 180px; height: 200px; }
  .btn-primary { padding: 11px 20px; font-size: 0.9rem; }
  .gallery-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
  .gallery-4 { grid-template-columns: 1fr 1fr; }
}
 
