/* ============================================
   WINDSURFING CHIA — Stylesheet condiviso
   ============================================ */

:root {
  --cream: #F7F2E8;
  --cream-light: #FBF8F1;
  --sand: #E5DBC7;
  --sand-warm: #D4C5A9;
  --olive: #5C5F3E;
  --olive-deep: #3D4029;
  --terracotta: #B0664A;
  --ink: #2A2520;
  --stone: #6F6A60;
  --line: rgba(42, 37, 32, 0.12);
  --whatsapp: #25D366;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--cream);
  color: var(--ink);
  font-weight: 300;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; }
img { max-width: 100%; display: block; }

/* ========== NAVBAR ========== */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 24px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: white;
  transition: padding 0.3s, background 0.3s;
}
nav.scrolled {
  padding: 12px 40px;
  background: rgba(42, 37, 32, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.logo {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  font-size: 22px;
  letter-spacing: 0.02em;
  text-decoration: none;
  display: inline-block;
}
.logo em { font-style: italic; font-weight: 300; }

/* SVG logo image variant */
.logo-img {
  display: block;
  height: 38px;
  width: auto;
}
.logo.logo-as-image {
  font-size: 0; /* hides any text fallback */
  line-height: 0;
}
@media (max-width: 900px) {
  .logo-img { height: 30px; }
}
.nav-links {
  display: flex;
  gap: 36px;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 400;
}
.nav-links a { text-decoration: none; opacity: 0.9; transition: opacity 0.3s; }
.nav-links a:hover, .nav-links a.active { opacity: 1; }
.nav-right { display: flex; align-items: center; gap: 24px; }
.lang-switch {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  text-decoration: none;
  opacity: 0.7;
  transition: opacity 0.3s;
}
.lang-switch:hover { opacity: 1; }
.nav-cta {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid currentColor;
  padding: 10px 18px;
  border-radius: 100px;
  transition: background 0.3s, color 0.3s;
}
.nav-cta:hover { background: white; color: var(--ink); mix-blend-mode: normal; }

.menu-toggle { display: none; background: none; border: none; color: white; font-size: 22px; cursor: pointer; padding: 4px 8px; }

@media (max-width: 900px) {
  nav { padding: 16px 18px; }
  .logo { font-size: 18px; }
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .menu-toggle { display: block; }
  .lang-switch { font-size: 10px; letter-spacing: 0.18em; }
}

/* Mobile menu drawer */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: var(--olive-deep);
  z-index: 200;
  padding: 80px 32px 40px;
  transform: translateX(100%);
  transition: transform 0.4s ease;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.mobile-menu.open { transform: translateX(0); }
.mobile-menu a {
  font-family: 'Cormorant Garamond', serif;
  font-size: 32px;
  font-weight: 300;
  color: var(--cream);
  text-decoration: none;
  padding: 16px 0;
  border-bottom: 1px solid rgba(247,242,232,0.1);
}
.mobile-menu a em { font-style: italic; color: var(--sand); }
.mobile-menu-close {
  position: absolute;
  top: 24px; right: 24px;
  background: none;
  border: none;
  color: var(--cream);
  font-size: 28px;
  cursor: pointer;
}
.mobile-menu-cta {
  margin-top: 40px;
  background: var(--sand);
  color: var(--olive-deep) !important;
  text-align: center;
  border-radius: 100px;
  padding: 18px !important;
  font-family: 'Inter', sans-serif !important;
  font-size: 12px !important;
  letter-spacing: 0.22em !important;
  text-transform: uppercase;
  border: none !important;
}

/* ========== TYPOGRAPHY UTILITIES ========== */
.display { font-family: 'Cormorant Garamond', serif; font-weight: 300; letter-spacing: -0.01em; }
.eyebrow {
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--stone);
}
.signature {
  font-family: 'Caveat', cursive;
  color: var(--terracotta);
}

/* ========== BUTTONS ========== */
.btn {
  display: inline-block;
  padding: 18px 36px;
  font-size: 11px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 100px;
  cursor: pointer;
  transition: all 0.3s;
  border: none;
  font-family: inherit;
}
.btn-primary {
  background: var(--olive-deep);
  color: var(--cream);
}
.btn-primary:hover { background: var(--ink); transform: translateY(-1px); }
.btn-outline {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--ink);
}
.btn-outline:hover { background: var(--ink); color: var(--cream); }
.btn-light {
  background: var(--cream);
  color: var(--olive-deep);
}
.btn-light:hover { background: white; }

/* ========== FOOTER ========== */
footer {
  background: var(--ink);
  color: rgba(247, 242, 232, 0.6);
  padding: 80px 40px 32px;
}
.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(247, 242, 232, 0.1);
}
.footer-brand {
  font-family: 'Cormorant Garamond', serif;
  font-size: 32px;
  font-weight: 400;
  color: var(--cream);
  margin-bottom: 20px;
}
.footer-brand em { font-style: italic; font-weight: 300; }
.footer-brand-img {
  display: block;
  height: 48px;
  width: auto;
  margin-bottom: 20px;
}
.footer-brand-tag { font-size: 14px; line-height: 1.6; max-width: 340px; }
.footer-col h4 {
  font-size: 10px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--cream);
  margin-bottom: 20px;
  font-weight: 500;
}
.footer-col a { display: block; text-decoration: none; font-size: 14px; margin-bottom: 10px; transition: color 0.3s; }
.footer-col a:hover { color: var(--cream); }
.footer-bottom {
  max-width: 1280px;
  margin: 0 auto;
  padding-top: 32px;
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-bottom a { text-decoration: none; }
@media (max-width: 700px) {
  footer { padding: 60px 20px 24px; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-bottom { font-size: 11px; }
}

/* ========== WHATSAPP FLOATING ========== */
.whatsapp-float {
  position: fixed;
  bottom: 24px; right: 24px;
  width: 56px; height: 56px;
  background: var(--whatsapp);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
  z-index: 90;
  text-decoration: none;
  transition: transform 0.3s;
}
.whatsapp-float:hover { transform: scale(1.08); }
.whatsapp-float svg { width: 28px; height: 28px; fill: white; }

/* ========== MOBILE STICKY CTA ========== */
.sticky-cta-mobile {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: var(--olive-deep);
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  z-index: 80;
  text-align: center;
}
.sticky-cta-mobile a {
  display: block;
  background: var(--sand);
  color: var(--olive-deep);
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 14px;
  border-radius: 100px;
  font-weight: 500;
}
@media (max-width: 700px) {
  .sticky-cta-mobile { display: block; }
  body { padding-bottom: 60px; }
  .whatsapp-float { bottom: 80px; }
}

/* ========== PAGE HEADER (for inner pages) ========== */
.page-header {
  background: var(--olive-deep);
  color: var(--cream);
  padding: 200px 40px 100px;
  text-align: center;
}
.page-header .eyebrow { color: var(--sand); opacity: 0.85; margin-bottom: 24px; }
.page-header h1 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: clamp(40px, 6vw, 80px);
  line-height: 1.05;
  letter-spacing: -0.01em;
  max-width: 900px;
  margin: 0 auto 24px;
}
.page-header h1 em { font-style: italic; color: var(--sand); }
.page-header p {
  font-size: 17px;
  line-height: 1.7;
  opacity: 0.85;
  max-width: 580px;
  margin: 0 auto;
}
@media (max-width: 700px) {
  .page-header { padding: 130px 20px 70px; }
}

/* ========== SECTION COMMON ========== */
.section { padding: 120px 40px; }
.section-narrow { padding: 100px 40px; }
.container { max-width: 1280px; margin: 0 auto; }
.container-narrow { max-width: 900px; margin: 0 auto; }
@media (max-width: 700px) {
  .section { padding: 70px 20px; }
  .section-narrow { padding: 60px 20px; }
}

/* ========== FORM ========== */
.form-group { margin-bottom: 24px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; gap: 0; } }
.form-label {
  display: block;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--stone);
  margin-bottom: 8px;
  font-weight: 500;
}
.form-input, .form-textarea, .form-select {
  width: 100%;
  padding: 14px 16px;
  background: var(--cream-light);
  border: 1px solid var(--line);
  font-family: inherit;
  font-size: 15px;
  color: var(--ink);
  transition: border-color 0.3s;
  border-radius: 2px;
}
.form-input:focus, .form-textarea:focus, .form-select:focus {
  outline: none;
  border-color: var(--olive);
}
.form-textarea { min-height: 120px; resize: vertical; }
.form-select { cursor: pointer; appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%236F6A60' d='M6 8L0 0h12z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 40px; }

/* ========== UTILITIES ========== */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 12px; }
.mt-2 { margin-top: 24px; }
.mt-3 { margin-top: 40px; }
.mt-4 { margin-top: 60px; }
