/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy: #1a2744;
  --navy-light: #243557;
  --navy-dark: #111c33;
  --gold: #d4a04a;
  --gold-light: #e8c078;
  --gold-dark: #b8862e;
  --cream: #faf6f0;
  --cream-dark: #f0e9dc;
  --white: #ffffff;
  --text: #2c3e50;
  --text-light: #6b7f94;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 4px 24px rgba(26, 39, 68, 0.08);
  --shadow-lg: 0 12px 48px rgba(26, 39, 68, 0.12);
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
  font-family: 'Nunito', sans-serif;
  color: var(--text);
  background: var(--cream);
  line-height: 1.7;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: 'Playfair Display', serif;
  color: var(--navy);
  line-height: 1.25;
  font-weight: 700;
}

em {
  font-style: italic;
  color: var(--gold-dark);
}

a { color: var(--gold-dark); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--gold); }

img { max-width: 100%; height: auto; display: block; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 50px;
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
}

.btn-gold {
  background: var(--gold);
  color: var(--navy-dark);
  border-color: var(--gold);
}
.btn-gold:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
  color: var(--navy-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(212, 160, 74, 0.35);
}

.btn-outline-light {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.5);
}
.btn-outline-light:hover {
  background: var(--white);
  color: var(--navy);
  border-color: var(--white);
}

.btn-full { width: 100%; justify-content: center; }

/* ── Section tags & titles ── */
.section-tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--gold-dark);
  margin-bottom: 12px;
}
.section-tag.light { color: var(--gold-light); }

.section-title {
  font-size: clamp(2rem, 5vw, 3rem);
  margin-bottom: 24px;
}
.section-title.light { color: var(--white); }
.section-title.center { text-align: center; }
.section-tag.center { text-align: center; display: block; }

/* ── Header ── */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(26, 39, 68, 0.0);
  backdrop-filter: blur(0px);
  transition: all var(--transition);
  padding: 16px 0;
}
.site-header.scrolled {
  background: rgba(26, 39, 68, 0.95);
  backdrop-filter: blur(12px);
  padding: 10px 0;
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  font-weight: 800;
  font-size: 1.2rem;
  text-decoration: none;
}
.logo:hover { color: var(--gold-light); }

.logo-icon {
  width: 36px;
  height: 36px;
}

.nav {
  display: flex;
  gap: 8px;
}
.nav a {
  color: rgba(255,255,255,0.85);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 8px 16px;
  border-radius: 50px;
  transition: all var(--transition);
}
.nav a:hover {
  color: var(--white);
  background: rgba(255,255,255,0.1);
}

.menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.menu-btn span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--transition);
}
.menu-btn.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.menu-btn.active span:nth-child(2) { opacity: 0; }
.menu-btn.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ── Mobile Nav ── */
.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: var(--navy);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.mobile-nav.open { transform: translateX(0); }
.mobile-nav nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.mobile-nav a {
  color: var(--white);
  font-size: 1.4rem;
  font-weight: 700;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}
.mobile-nav a:hover { color: var(--gold); background: rgba(255,255,255,0.05); }
.mobile-close {
  position: absolute;
  top: 20px; right: 24px;
  background: none; border: none;
  cursor: pointer;
  color: var(--white);
  padding: 8px;
}
.mobile-close svg { width: 28px; height: 28px; }

/* ── Hero ── */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(17, 28, 51, 0.55) 0%,
    rgba(26, 39, 68, 0.7) 50%,
    rgba(26, 39, 68, 0.85) 100%
  );
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 720px;
  padding-top: 80px;
}
.hero-tag {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--gold-light);
  margin-bottom: 20px;
}
.hero-title {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  color: var(--white);
  margin-bottom: 24px;
  line-height: 1.1;
}
.hero-title em { color: var(--gold-light); }
.hero-sub {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.8);
  margin-bottom: 40px;
  max-width: 560px;
  line-height: 1.8;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  color: rgba(255,255,255,0.5);
  animation: bounce 2s infinite;
}
.hero-scroll svg { width: 28px; height: 28px; }

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* ── Sections ── */
.section {
  padding: 100px 0;
}

/* ── Sobre ── */
.sobre-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.sobre-img-wrap {
  position: relative;
}
.sobre-img-wrap img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}
.sobre-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: var(--gold);
  color: var(--navy-dark);
  padding: 20px 24px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  box-shadow: var(--shadow);
}
.sobre-badge svg { width: 24px; height: 24px; }
.sobre-text p {
  margin-bottom: 16px;
  color: var(--text-light);
  font-size: 1.05rem;
}
.sobre-text strong { color: var(--navy); }
.sobre-stats {
  display: flex;
  gap: 40px;
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--cream-dark);
}
.stat-num {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1;
}
.stat-label {
  font-size: 0.85rem;
  color: var(--text-light);
  margin-top: 4px;
}

/* ── Servicios ── */
.servicios { background: var(--white); }
.servicios-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 56px;
}
.servicio-card {
  background: var(--cream);
  border-radius: var(--radius);
  padding: 40px 32px;
  transition: all var(--transition);
  border: 1px solid transparent;
}
.servicio-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--gold-light);
  background: var(--white);
}
.servicio-icon {
  width: 56px;
  height: 56px;
  background: var(--navy);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.servicio-icon svg {
  width: 28px;
  height: 28px;
  color: var(--gold);
}
.servicio-card h3 {
  font-size: 1.2rem;
  margin-bottom: 12px;
}
.servicio-card p {
  color: var(--text-light);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ── Camino ── */
.camino { padding: 0; position: relative; }
.camino-bg {
  position: relative;
  height: 500px;
}
.camino-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.camino-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(17, 28, 51, 0.88) 0%, rgba(17, 28, 51, 0.5) 60%, transparent 100%);
}
.camino-content {
  position: relative;
  z-index: 1;
  max-width: 640px;
  padding: 80px 0;
}
.camino-content .section-title { margin-bottom: 20px; }
.camino-desc {
  color: rgba(255,255,255,0.85);
  font-size: 1.05rem;
  margin-bottom: 16px;
  line-height: 1.8;
}
.camino-desc strong { color: var(--gold-light); }
.camino-features {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 40px;
}
.camino-feature {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,0.9);
  font-weight: 600;
  font-size: 0.95rem;
}
.camino-feature svg { width: 20px; height: 20px; color: var(--gold-light); flex-shrink: 0; }

/* ── Galería ── */
.galeria-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 56px;
}
.galeria-item {
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  aspect-ratio: 5/4;
  cursor: pointer;
}
.galeria-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.galeria-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(26, 39, 68, 0.4) 0%, transparent 50%);
  opacity: 0;
  transition: opacity var(--transition);
}
.galeria-item:hover img { transform: scale(1.08); }
.galeria-item:hover::after { opacity: 1; }

/* ── Contacto ── */
.contacto { background: var(--white); }
.contacto-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.contacto-lista {
  list-style: none;
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.contacto-lista li {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  color: var(--text-light);
  font-size: 0.95rem;
  line-height: 1.6;
}
.contacto-lista svg {
  width: 22px;
  height: 22px;
  color: var(--gold-dark);
  flex-shrink: 0;
  margin-top: 2px;
}
.contacto-lista a {
  color: var(--text);
  display: block;
  margin-top: 4px;
  font-weight: 600;
}
.contacto-lista a:hover { color: var(--gold-dark); }
.contacto-map {
  margin-top: 32px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

/* ── Form ── */
.contacto-form-wrap {
  background: var(--cream);
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: var(--shadow);
}
.contacto-form-wrap h3 {
  font-size: 1.5rem;
  margin-bottom: 24px;
}
.form-group {
  margin-bottom: 20px;
}
.form-group label {
  display: block;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--navy);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 14px 18px;
  border: 2px solid var(--cream-dark);
  border-radius: var(--radius-sm);
  font-family: 'Nunito', sans-serif;
  font-size: 1rem;
  color: var(--text);
  background: var(--white);
  transition: border-color var(--transition);
  outline: none;
}
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--gold);
}
.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-light);
}
.form-group textarea { resize: vertical; min-height: 120px; }

.form-success {
  text-align: center;
  padding: 40px 20px;
}
.form-success svg {
  width: 56px;
  height: 56px;
  color: #27ae60;
  margin: 0 auto 16px;
}
.form-success p {
  color: var(--text);
  font-size: 1.1rem;
  font-weight: 600;
}

/* ── CTA ── */
.cta {
  position: relative;
  padding: 100px 0;
  text-align: center;
  overflow: hidden;
}
.cta-bg {
  position: absolute;
  inset: 0;
}
.cta-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cta-overlay {
  position: absolute;
  inset: 0;
  background: rgba(17, 28, 51, 0.82);
}
.cta-content {
  position: relative;
  z-index: 1;
}
.cta h2 {
  font-size: clamp(2rem, 5vw, 3rem);
  color: var(--white);
  margin-bottom: 20px;
}
.cta h2 em { color: var(--gold-light); }
.cta p {
  color: rgba(255,255,255,0.8);
  font-size: 1.1rem;
  margin-bottom: 36px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

/* ── Footer ── */
.site-footer {
  background: var(--navy-dark);
  color: rgba(255,255,255,0.7);
  padding: 64px 0 0;
}
.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr;
  gap: 48px;
  padding-bottom: 48px;
}
.footer-brand p {
  margin-top: 16px;
  font-size: 0.95rem;
  line-height: 1.7;
}
.footer-links h4,
.footer-contact h4 {
  color: var(--white);
  font-family: 'Nunito', sans-serif;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 20px;
  font-weight: 800;
}
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-links a {
  color: rgba(255,255,255,0.6);
  font-size: 0.95rem;
  transition: all var(--transition);
}
.footer-links a:hover { color: var(--gold); }
.footer-contact p {
  font-size: 0.9rem;
  margin-bottom: 6px;
}
.footer-contact a { color: rgba(255,255,255,0.6); }
.footer-contact a:hover { color: var(--gold); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 24px 0;
  text-align: center;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.4);
}

/* ── Animations ── */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .sobre-grid { gap: 40px; }
  .servicios-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .menu-btn { display: flex; }
  .nav { display: none; }

  .hero-title { font-size: clamp(2rem, 8vw, 3rem); }
  .hero-sub { font-size: 1rem; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { justify-content: center; }

  .section { padding: 72px 0; }

  .sobre-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .sobre-img-wrap img { height: 360px; }
  .sobre-badge { right: 10px; bottom: -16px; }
  .sobre-stats { gap: 24px; flex-wrap: wrap; }

  .servicios-grid { grid-template-columns: 1fr; }

  .camino-bg { height: 360px; }
  .camino-content { padding: 48px 0; }
  .camino-features { flex-direction: column; gap: 16px; }

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

  .contacto-grid { grid-template-columns: 1fr; gap: 40px; }
  .contacto-form-wrap { padding: 28px; }

  .cta { padding: 72px 0; }

  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .galeria-grid { grid-template-columns: 1fr; }
  .hero-scroll { display: none; }
}
