/* ==========================================================================
   'Ike Loa Consulting — style.css
   Paleta y tipografías: ver IkeLoa_Web_Content_Brief.md
   Breakpoints: móvil <768px · tablet 768–1023px · desktop ≥1024px
   ========================================================================== */

:root {
  --teal-dark: #003D4F;
  --teal-mid: #0B5C64;
  --teal-light: #157E7F;
  --gold: #BFA06A;
  --sand: #D9C4A0;
  --ivory: #FCFCF7;
  --black: #1C1C1C;

  --header-h: 84px;
  --header-h-mobile: 64px;

  --font-display: 'Playfair Display', serif;
  --font-body: 'Montserrat', sans-serif;
  --font-accent: 'Corinthia', 'Playfair Display', serif;

  --container-max: 1180px;
  --gutter: clamp(24px, 5vw, 64px);
}

/* -------------------- Reset -------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h-mobile); }
body {
  margin: 0;
  background: var(--ivory);
  color: var(--black);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
button { font-family: inherit; cursor: pointer; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 600; margin: 0; color: var(--teal-dark); }
p { margin: 0; }

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}

/* ==========================================================================
   HEADER
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h-mobile);
  background: rgba(252, 252, 247, 0.92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(28, 28, 28, 0.08);
  display: flex;
  align-items: center;
}

@media (min-width: 768px) {
  .site-header { height: var(--header-h); }
  html { scroll-padding-top: var(--header-h); }
}

.site-header .container {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
}
.logo-img {
  height: clamp(32px, 5vw, 44px);
  width: auto;
  display: block;
}

.main-nav ul {
  display: flex;
  gap: clamp(20px, 3vw, 44px);
}
.main-nav a {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.5px;
  color: var(--teal-dark);
  position: relative;
  padding: 4px 0;
}
.main-nav a::after {
  content: '';
  position: absolute;
  left: 0; bottom: -2px;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width 0.25s ease;
}
.main-nav a:hover::after { width: 100%; }

/* -------------------- Language switcher -------------------- */
.lang-switch {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.5px;
}
.lang-switch a { color: var(--teal-mid); }
.lang-switch a.is-active {
  color: var(--teal-dark);
  border-bottom: 1px solid var(--gold);
  pointer-events: none;
}
.lang-switch a:hover:not(.is-active) { color: var(--teal-dark); }
.lang-switch .lang-sep { color: rgba(28, 28, 28, 0.3); font-size: 11px; }

.main-nav .lang-switch-item { display: flex; align-items: center; }

@media (max-width: 767px) {
  .main-nav .lang-switch-item { padding: 14px var(--gutter) 6px; }
}

/* Simplified header (legal pages): logo + switcher only, no nav */
.site-header.legal-header .container { justify-content: space-between; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  width: 44px; height: 44px;
  position: relative;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  content: '';
  position: absolute;
  width: 32px; left: 50%;
  height: 2px;
  background: var(--teal-dark);
  transform: translateX(-50%);
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.nav-toggle span { top: 21px; }
.nav-toggle span::before { top: -8px; }
.nav-toggle span::after { top: 8px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateX(-50%) translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { transform: translateX(-50%) translateY(-8px) rotate(-45deg); }

@media (max-width: 767px) {
  .nav-toggle { display: block; }
  .main-nav {
    position: fixed;
    top: var(--header-h-mobile);
    left: 0; right: 0;
    background: var(--ivory);
    border-bottom: 1px solid rgba(28,28,28,0.08);
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
  }
  .main-nav.is-open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }
  .main-nav ul {
    flex-direction: column;
    gap: 0;
    padding: 8px 0 16px;
  }
  .main-nav a {
    display: block;
    padding: 14px var(--gutter);
  }
}

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  min-height: calc(100vh - var(--header-h-mobile));
  display: flex;
  align-items: center;
  background: var(--ivory);
  position: relative;
}
@media (min-width: 768px) {
  .hero { min-height: calc(100vh - var(--header-h)); }
}

.hero .container {
  width: 100%;
  padding-top: clamp(24px, 6vh, 56px);
  padding-bottom: clamp(24px, 6vh, 56px);
}

.hero-rule {
  width: 48px;
  height: 2px;
  background: var(--gold);
  margin-bottom: clamp(20px, 4vh, 36px);
}

.hero h1 {
  font-size: clamp(32px, 5.4vw, 62px);
  line-height: 1.12;
  color: var(--teal-dark);
  max-width: 18ch;
}

/* Spanish H1 is longer; widen the break point so it lands on the comma
   (two clean lines) instead of the English 18ch value, which would
   fragment it into three-plus lines. */
html[lang="es"] .hero h1 {
  max-width: 20ch;
}

.hero-subhead {
  margin-top: clamp(18px, 3vh, 28px);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: clamp(15px, 1.6vw, 19px);
  line-height: 1.6;
  color: var(--teal-mid);
  max-width: 42ch;
}

/* ==========================================================================
   ABOUT — 'Ike Loa band
   ========================================================================== */
.ikeloa-band {
  background: var(--teal-dark);
  padding: clamp(64px, 10vh, 120px) 0;
  text-align: center;
}
.ikeloa-band .container { max-width: 760px; }
.ikeloa-logo {
  display: block;
  width: clamp(140px, 20vw, 220px);
  height: auto;
  margin: 0 auto;
}
.ikeloa-rule {
  width: 40px;
  height: 1px;
  background: var(--gold);
  margin: 24px auto;
}
.ikeloa-tagline {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(18px, 2.2vw, 24px);
  color: var(--ivory);
  letter-spacing: 0.2px;
  margin-bottom: 24px;
}
.ikeloa-body {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: clamp(14px, 1.5vw, 16px);
  line-height: 1.9;
  color: rgba(252, 252, 247, 0.85);
}
.ikeloa-body em { font-style: italic; color: var(--sand); }

/* ==========================================================================
   ABOUT — two-column content
   ========================================================================== */
.about-content {
  padding: clamp(64px, 10vh, 120px) 0;
  background: var(--sand);
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}
@media (min-width: 768px) {
  .about-grid {
    grid-template-columns: 0.85fr 1fr;
    gap: 56px;
    align-items: start;
  }
}
@media (min-width: 1024px) {
  .about-grid { grid-template-columns: 0.8fr 1fr; gap: 72px; }
}

.about-photo-wrap { width: 100%; }

.about-photo {
  width: 100%;
  aspect-ratio: 4 / 5;
  background: linear-gradient(135deg, var(--ivory) 0%, var(--sand) 100%);
  border: 1px solid rgba(191, 160, 106, 0.55);
  position: relative;
  overflow: hidden;
}
.about-photo picture {
  display: block;
  width: 100%;
  height: 100%;
}
.about-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center top;
}

@media (min-width: 768px) and (max-width: 1023px) {
  .about-photo { aspect-ratio: 3 / 4; }
}
@media (min-width: 1024px) {
  .about-photo { aspect-ratio: 4 / 5; }
}

.photo-caption {
  margin-top: 14px;
  text-align: left;
}
.photo-caption a { border-bottom: 1px solid transparent; transition: border-color 0.2s ease; }
.photo-caption a:hover { border-bottom-color: currentColor; }
.signature {
  font-family: var(--font-accent);
  font-size: clamp(19px, 2.2vw, 23px);
  color: var(--teal-dark);
  word-spacing: 0.35em;
}

/* Okina real (U+02BB): tomado de Playfair Display, con glifo más nítido que Montserrat a tamaños pequeños */
.okina { font-family: var(--font-display); }

.about-text p {
  font-size: clamp(14px, 1.5vw, 16px);
  line-height: 1.85;
  color: var(--teal-mid);
  margin-bottom: 20px;
}
.about-text p:last-child { margin-bottom: 0; }
.about-text .lede {
  font-weight: 400;
  font-size: clamp(16px, 1.7vw, 18px);
  color: var(--teal-dark);
}

/* ==========================================================================
   ENGAGEMENT MODELS
   ========================================================================== */
.engagement {
  background: var(--teal-mid);
  padding: clamp(64px, 10vh, 120px) 0;
}
.engagement .section-head { max-width: 640px; margin-bottom: clamp(40px, 6vh, 64px); }
.engagement .section-tag {
  display: block;
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--ivory);
  opacity: 0.75;
  margin-bottom: 14px;
}
.engagement h2 { color: var(--ivory); font-size: clamp(28px, 4vw, 42px); }

.engagement-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}
@media (min-width: 768px) {
  .engagement-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
}

.engagement-card {
  background: rgba(252, 252, 247, 0.06);
  border: 1px solid rgba(252, 252, 247, 0.2);
  padding: clamp(32px, 4vw, 48px);
}
.engagement-card h3 {
  color: var(--ivory);
  font-size: clamp(20px, 2.6vw, 26px);
  margin-bottom: 16px;
}
.engagement-card p {
  color: rgba(252, 252, 247, 0.85);
  font-size: 14px;
  line-height: 1.85;
  margin-bottom: 20px;
}
.engagement-card p:last-of-type { margin-bottom: 0; }

.hours-row {
  display: flex;
  align-items: baseline;
  gap: 20px;
  margin-top: 28px;
  flex-wrap: wrap;
}
.hours-row .h-item {
  font-family: var(--font-display);
  font-size: clamp(22px, 3vw, 30px);
  /* #C6AB7B en vez de --gold: ajuste mínimo para cumplir WCAG (3:1, texto grande en negrita) sobre el fondo de la tarjeta */
  /* font-weight debe ser 700 exacto: axe-core/WCAG solo considera "bold" a partir de 700, 600 no cuenta */
  color: #C6AB7B;
  font-weight: 700;
}
.hours-row .h-sep {
  color: rgba(252, 252, 247, 0.4);
  font-size: 16px;
}

/* ==========================================================================
   CONTACT
   ========================================================================== */
.contact {
  padding: clamp(64px, 10vh, 120px) 0;
  background: var(--ivory);
  text-align: center;
}
.contact .container { max-width: 640px; }
.contact-lede {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(24px, 3.4vw, 34px);
  color: var(--teal-dark);
  margin-bottom: clamp(32px, 5vh, 48px);
}

.btn-primary {
  display: inline-block;
  background: var(--teal-dark);
  color: var(--ivory);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.5px;
  padding: 16px 40px;
  border: 1px solid var(--teal-dark);
  transition: background 0.25s ease, color 0.25s ease;
}
.btn-primary:hover { background: var(--teal-light); border-color: var(--teal-light); }

.contact-or {
  margin: clamp(28px, 4vh, 40px) 0 clamp(20px, 3vh, 28px);
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--teal-mid);
}

.contact-form { text-align: left; }
.form-field { margin-bottom: 20px; }
.form-field label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--teal-dark);
  margin-bottom: 8px;
}
.form-field input,
.form-field textarea {
  width: 100%;
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 15px;
  color: var(--black);
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(28, 28, 28, 0.25);
  padding: 10px 2px;
  transition: border-color 0.2s ease;
}
.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-bottom-color: var(--teal-dark);
}
.form-field textarea { resize: vertical; min-height: 110px; }

.form-submit {
  margin-top: 8px;
  background: var(--teal-mid);
  color: var(--ivory);
  border: none;
  padding: 14px 36px;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.5px;
}
.form-submit:hover { background: var(--teal-light); }

.form-success {
  display: none;
  padding: 24px;
  border: 1px solid var(--gold);
  background: rgba(191, 160, 106, 0.08);
  color: var(--teal-dark);
  font-size: 14px;
  text-align: center;
}
.form-success.is-visible { display: block; }
.contact-form.is-hidden { display: none; }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  background: var(--teal-dark);
  padding: 32px 0;
  text-align: center;
}
.footer-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 12px;
}
.footer-mark {
  width: 30px;
  height: auto;
}
.footer-copyright {
  font-size: 12px;
  font-weight: 400;
  color: var(--gold);
  letter-spacing: 0.3px;
}
.footer-links {
  font-size: 12px;
  font-weight: 300;
  color: var(--sand);
  letter-spacing: 0.3px;
}
.footer-links a { border-bottom: 1px solid transparent; }
.footer-links a:hover { border-bottom-color: var(--sand); }
.footer-sep { margin: 0 8px; color: rgba(217, 196, 160, 0.5); }

/* ==========================================================================
   LEGAL PAGES (Privacy Policy / Legal Notice / Cookie Policy)
   ========================================================================== */
.legal-page {
  padding: clamp(48px, 8vh, 96px) 0 clamp(64px, 10vh, 120px);
  background: var(--ivory);
}
.legal-container {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.legal-back {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.3px;
  color: var(--teal-mid);
  margin-bottom: 40px;
}
.legal-back:hover { color: var(--teal-dark); }

.legal-page h1 {
  font-size: clamp(30px, 4vw, 42px);
  color: var(--teal-dark);
  margin-bottom: 14px;
}
.legal-meta {
  font-family: var(--font-body);
  font-size: 14px;
  font-style: italic;
  color: var(--teal-mid);
  opacity: 0.85;
  line-height: 1.7;
  margin-bottom: 40px;
}
.legal-meta strong { font-style: normal; font-weight: 600; }

.legal-rule {
  border: none;
  border-top: 1px solid rgba(191, 160, 106, 0.3);
  margin: 32px 0;
}

.legal-page h2 {
  font-size: clamp(19px, 2.2vw, 24px);
  color: var(--teal-dark);
  margin-bottom: 16px;
}
.legal-page p {
  font-size: 15px;
  line-height: 1.85;
  margin-bottom: 16px;
}
.legal-page p:last-child { margin-bottom: 0; }
.legal-page ul {
  list-style: disc;
  padding-left: 20px;
  margin: 0 0 16px 0;
}
.legal-page li {
  font-size: 15px;
  line-height: 1.85;
  margin-bottom: 6px;
}
.legal-page a:not(.legal-back) {
  color: var(--teal-mid);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.legal-page a:not(.legal-back):hover { color: var(--teal-dark); }
