@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;1,300;1,400&family=Montserrat:wght@300;400;500;600&display=swap');

:root {
  --verde-oscuro: #2c3e2d;
  --vino: #6b2737;
  --vino-claro: #8b3a4a;
  --crema: #f5f0e8;
  --crema-oscuro: #ede5d5;
  --dorado: #c9a84c;
  --gris-texto: #3a3530;
  --blanco: #fdfaf5;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Montserrat', sans-serif;
  background-color: var(--blanco);
  color: var(--gris-texto);
  font-weight: 300;
}

/* ===== HEADER / NAV ===== */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background-color: rgba(253, 250, 245, 0.97);
  border-bottom: 1px solid var(--crema-oscuro);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 40px;
  box-shadow: 0 2px 20px rgba(0,0,0,0.06);
}

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

.header-logo img {
  height: 60px;
  width: 60px;
  object-fit: cover;
  border-radius: 50%;
}

.header-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.header-logo-text span:first-child {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--verde-oscuro);
  letter-spacing: 0.05em;
}

.header-logo-text span:last-child {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--dorado);
}

nav {
  display: flex;
  align-items: center;
  gap: 30px;
}

nav a {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--gris-texto);
  transition: color 0.3s;
  position: relative;
  padding-bottom: 4px;
}

nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--dorado);
  transition: width 0.3s;
}

nav a:hover,
nav a.active {
  color: var(--vino);
}

nav a:hover::after,
nav a.active::after {
  width: 100%;
}

.nav-contacto-link {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--dorado);
  border: 1px solid var(--dorado);
  padding: 8px 16px;
  transition: all 0.3s;
}

.nav-contacto-link:hover {
  background: var(--dorado);
  color: var(--blanco);
}

/* ===== HERO ===== */
.hero {
  margin-top: 82px;
  position: relative;
  width: 100%;
  height: 90vh;
  min-height: 500px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.15) 0%, rgba(44,62,45,0.45) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: white;
  padding: 0 20px;
  animation: fadeUp 1.2s ease both;
}

.hero-content h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 300;
  letter-spacing: 0.08em;
  text-shadow: 0 2px 30px rgba(0,0,0,0.3);
  margin-bottom: 16px;
}

.hero-content p {
  font-size: 0.75rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  opacity: 0.85;
}

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

/* ===== PAGE HEADER (páginas internas) ===== */
.page-header {
  margin-top: 82px;
  background-color: var(--verde-oscuro);
  padding: 80px 40px 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('https://static.wixstatic.com/media/008b2f_a760c9b0bef14e2ca4d2375a7c2a081c~mv2.png') center/cover;
  opacity: 0.08;
}

.page-header h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 300;
  color: var(--crema);
  letter-spacing: 0.1em;
  position: relative;
}

.page-header .subtitulo {
  font-size: 0.65rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--dorado);
  margin-top: 10px;
  position: relative;
}

/* ===== SECTIONS ===== */
section {
  padding: 80px 40px;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
}

/* ===== CITA / QUOTE ===== */
.quote-section {
  background-color: var(--crema);
  padding: 90px 40px;
}

.quote-section blockquote {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.2rem, 2.5vw, 1.7rem);
  font-weight: 400;
  font-style: italic;
  color: var(--verde-oscuro);
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
  line-height: 1.7;
  position: relative;
  padding: 0 40px;
}

.quote-section blockquote::before {
  content: '"';
  font-size: 6rem;
  line-height: 0;
  color: var(--dorado);
  opacity: 0.3;
  position: absolute;
  top: 20px;
  left: 0;
  font-family: 'Cormorant Garamond', serif;
}

/* ===== TWO COL ===== */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}

.two-col.reverse {
  direction: rtl;
}

.two-col.reverse > * {
  direction: ltr;
}

.two-col img {
  width: 100%;
  height: 500px;
  object-fit: cover;
}

.two-col-text h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 400;
  color: var(--verde-oscuro);
  margin-bottom: 20px;
  line-height: 1.2;
}

.two-col-text h2 .accent {
  color: var(--dorado);
}

.two-col-text p {
  font-size: 0.85rem;
  line-height: 1.9;
  color: #5a5550;
  margin-bottom: 16px;
}

.two-col-text .divider {
  width: 50px;
  height: 1px;
  background: var(--dorado);
  margin-bottom: 24px;
}

/* ===== STATS BAR ===== */
.stats-bar {
  background-color: var(--verde-oscuro);
  padding: 50px 40px;
}

.stats-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  text-align: center;
}

.stat-item {
  padding: 20px;
  border-right: 1px solid rgba(255,255,255,0.1);
}

.stat-item:last-child {
  border-right: none;
}

.stat-item .num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 3rem;
  font-weight: 300;
  color: var(--dorado);
  line-height: 1;
}

.stat-item .label {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  margin-top: 8px;
}

/* ===== CONTACTO ===== */
.contact-section {
  background-color: var(--crema);
}

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

.contact-info h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.2rem;
  font-weight: 400;
  color: var(--verde-oscuro);
  margin-bottom: 30px;
}

.contact-info p {
  font-size: 0.85rem;
  color: #5a5550;
  line-height: 1.9;
  margin-bottom: 10px;
}

.contact-info a {
  color: var(--vino);
  text-decoration: none;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-form input,
.contact-form textarea {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.8rem;
  font-weight: 300;
  padding: 14px 16px;
  border: 1px solid var(--crema-oscuro);
  background: white;
  color: var(--gris-texto);
  outline: none;
  transition: border-color 0.3s;
  width: 100%;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--dorado);
}

.contact-form textarea {
  resize: vertical;
  min-height: 120px;
}

.btn-submit {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 14px 32px;
  background: var(--verde-oscuro);
  color: var(--crema);
  border: none;
  cursor: pointer;
  transition: background 0.3s;
  align-self: flex-start;
}

.btn-submit:hover {
  background: var(--vino);
}

.form-success {
  display: none;
  font-size: 0.8rem;
  color: var(--verde-oscuro);
  font-weight: 500;
  margin-top: 8px;
}

/* ===== FOOTER ===== */
footer {
  background-color: var(--gris-texto);
  padding: 50px 40px 30px;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
}

.footer-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.6rem;
  font-weight: 300;
  color: var(--crema);
  letter-spacing: 0.1em;
}

.footer-info {
  font-size: 0.75rem;
  color: rgba(245,240,232,0.55);
  line-height: 1.8;
}

.footer-info a {
  color: var(--dorado);
  text-decoration: none;
}

.footer-social {
  display: flex;
  gap: 16px;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 50%;
  transition: all 0.3s;
}

.footer-social a:hover {
  border-color: var(--dorado);
  background: var(--dorado);
}

.footer-social img {
  width: 16px;
  height: 16px;
  filter: invert(1);
}

.footer-copy {
  font-size: 0.65rem;
  color: rgba(245,240,232,0.3);
  letter-spacing: 0.1em;
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 20px;
  width: 100%;
  text-align: center;
}

/* ===== HAMBURGER (mobile) ===== */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--gris-texto);
  transition: all 0.3s;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  nav {
    display: none;
    position: fixed;
    top: 82px;
    left: 0;
    right: 0;
    background: var(--blanco);
    flex-direction: column;
    padding: 30px;
    gap: 20px;
    border-bottom: 1px solid var(--crema-oscuro);
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  }

  nav.open {
    display: flex;
  }

  .hamburger {
    display: flex;
  }

  .nav-contacto-link {
    display: none;
  }

  .two-col,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .two-col.reverse {
    direction: ltr;
  }

  .two-col img {
    height: 300px;
  }

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

  .stat-item {
    border-right: none;
    border-bottom: 1px solid rgba(255,255,255,0.1);
  }

  section {
    padding: 60px 24px;
  }

  header {
    padding: 10px 24px;
  }
}

@media (max-width: 500px) {
  .stats-grid {
    grid-template-columns: 1fr;
  }
}
