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

/* ---- i18n ---- */
html[data-lang='es'] [data-i18n='en'] { display: none; }
html[data-lang='en'] [data-i18n='es'] { display: none; }

/* skip link */
.skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.skip-link:focus {
  left: 8px;
  top: 8px;
  width: auto;
  height: auto;
  overflow: visible;
  padding: 8px 16px;
  background: #1a1a1a;
  color: #fff;
  z-index: 999;
  border-radius: 3px;
}

html {
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: #1a1a1a;
  background-color: #ffffff;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ---- NAV ---- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  border-bottom: 1px solid #e8e8e8;
  padding: 0 5%;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 96px;
}

.nav-logo img {
  height: 82px;
  width: auto;
}

.nav-main {
  display: flex;
  align-items: center;
  gap: 36px;
}

.lang-switcher {
  display: flex;
  gap: 2px;
}

.lang-btn {
  background: none;
  border: 1px solid transparent;
  padding: 4px 9px;
  font-size: 11px;
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #999;
  cursor: pointer;
  border-radius: 3px;
  transition: color 0.2s, border-color 0.2s;
}

.lang-btn:hover,
.lang-btn[aria-pressed='true'] {
  color: #1a1a1a;
  border-color: #c8b89a;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  font-family: 'Manrope', sans-serif;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.03em;
}

.nav-links a {
  color: #1a1a1a;
  transition: color 0.2s;
}
.nav-links a:hover,
.nav-links a.active { color: #8a7a6a; }

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #1a1a1a;
  transition: all 0.3s;
}

.mobile-menu {
  display: none;
  flex-direction: column;
  background: #fff;
  border-top: 1px solid #e8e8e8;
  padding: 20px 5%;
  gap: 16px;
  font-family: 'Manrope', sans-serif;
  font-size: 15px;
  font-weight: 500;
}
.mobile-menu.open { display: flex; }
.mobile-menu a { padding: 6px 0; color: #1a1a1a; }
.mobile-menu a:hover { color: #8a7a6a; }

/* ---- MAIN ---- */
main { flex: 1; }

/* ---- HERO (index) ---- */
.hero {
  background: #ebebeb;
  padding: 80px 5%;
  text-align: center;
  border-bottom: 1px solid #ddd;
}

.hero-text {
  max-width: 780px;
  margin: 0 auto;
}

.hero-text h1 {
  font-family: 'Manrope', sans-serif;
  font-size: clamp(32px, 4vw, 54px);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 28px;
  color: #1a1a1a;
  text-decoration: underline;
  text-underline-offset: 8px;
}

.hero-text p {
  font-size: 16px;
  color: #555;
  line-height: 1.75;
  max-width: 62ch;
  margin: 0 auto;
}

/* ---- CONTENT SPLIT (index) ---- */
.content-split {
  padding: 72px 7%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8%;
  align-items: center;
}

.content-mfo h2 {
  font-family: 'Manrope', sans-serif;
  font-size: clamp(26px, 2.8vw, 38px);
  font-weight: 700;
  margin-bottom: 20px;
  color: #1a1a1a;
}

.content-mfo p {
  font-size: 15px;
  color: #555;
  line-height: 1.8;
  margin-bottom: 14px;
}

.content-mfo p:last-child { margin-bottom: 0; }

.content-image img {
  width: 100%;
  border-radius: 4px;
}

/* ---- INFO BAND ---- */
.info-band {
  background: #f7f5f2;
  padding: 56px 7%;
}

.info-band h2 {
  font-family: 'Manrope', sans-serif;
  font-size: clamp(22px, 2.5vw, 30px);
  font-weight: 700;
  margin-bottom: 24px;
  color: #1a1a1a;
}

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

.info-item {
  border-left: 3px solid #c8b89a;
  padding-left: 16px;
}

.info-item .label {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #888;
  font-weight: 600;
  margin-bottom: 4px;
}

.info-item .value {
  font-size: 15px;
  font-weight: 600;
  color: #1a1a1a;
}

/* ---- PAGE HEADER (contacto) ---- */
.page-header {
  padding: 64px 7% 40px;
}

.page-header h1 {
  font-family: 'Manrope', sans-serif;
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 8px;
}

/* ---- CAPACIDADES ---- */
.caps-header {
  padding: 56px 7% 36px;
  text-align: center;
  border-bottom: 1px solid #e0e0e0;
}

.caps-header h1 {
  font-family: 'Manrope', sans-serif;
  font-size: clamp(32px, 4vw, 54px);
  font-weight: 700;
  line-height: 1.2;
  color: #1a1a1a;
  text-decoration: underline;
  text-underline-offset: 8px;
}

.cap-row {
  padding: 60px 7%;
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: 8%;
  align-items: start;
  border-bottom: 1px solid #e0e0e0;
}

.cap-row-text h2 {
  font-family: 'Manrope', sans-serif;
  font-size: clamp(22px, 2.5vw, 34px);
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 32px;
  line-height: 1.2;
}

.cap-row-text p {
  font-size: 15px;
  color: #555;
  line-height: 1.8;
}

.cap-row-image img {
  width: 100%;
  display: block;
  border-radius: 2px;
}

.cap-img-ph {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #f0ede8;
  border-radius: 4px;
  border: 1px dashed #ccc;
}

/* ---- CONTACTO ---- */
.contact-section {
  padding: 20px 7% 80px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7%;
  align-items: start;
}

.contact-info h2 {
  font-family: 'Manrope', sans-serif;
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 20px;
}

.contact-info p {
  font-size: 15px;
  color: #444;
  line-height: 1.8;
  margin-bottom: 8px;
}

.contact-info a { color: #8a7a6a; }
.contact-info a:hover { text-decoration: underline; }

.contact-map {
  background: #f0ede8;
  border-radius: 6px;
  overflow: hidden;
  height: 320px;
}

.contact-map iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* ---- COOKIE BANNER ---- */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #fff;
  border-top: 1px solid #e8e8e8;
  padding: 20px 5%;
  z-index: 200;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.08);
}

.cookie-banner[hidden] { display: none; }

.cookie-banner-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.cookie-text {
  font-size: 13px;
  color: #555;
  line-height: 1.7;
  flex: 1;
  min-width: 200px;
}

.cookie-text a {
  color: #8a7a6a;
  text-decoration: underline;
}

.cookie-actions {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}

.cookie-btn {
  padding: 8px 22px;
  font-family: 'Manrope', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  border-radius: 3px;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}

.cookie-btn-primary {
  background: #1a1a1a;
  color: #fff;
  border: 1px solid #1a1a1a;
}

.cookie-btn-primary:hover { background: #333; border-color: #333; }

.cookie-btn-secondary {
  background: transparent;
  color: #1a1a1a;
  border: 1px solid #ccc;
}

.cookie-btn-secondary:hover { border-color: #1a1a1a; }

/* ---- FOOTER ---- */
.site-footer {
  background: #1a1a1a;
  color: #ccc;
  padding: 40px 5%;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 13px;
}

.footer-links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}
