/* ============================================================
   VISTA VIBES STUDIO — SHARED STYLESHEET
   ============================================================ */

:root {
  --coral:   #D87652;
  --teal:    #3E928F;
  --marine:  #174A58;
  --gold:    #E9B644;
  --linen:   #F5EFEB;
  --linen2:  #EDE7E1;
  --beige:   #C9B39E;
  --white:   #FFFFFF;
  --ink:     #0F2D38;

  --font-display: 'Cormorant Garamond', serif;
  --font-body:    'Inter', sans-serif;

  --max-w: 1080px;
  --section-pad: 7rem 2rem;
  --section-pad-sm: 4rem 1.5rem;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--linen);
  color: var(--marine);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

a { color: inherit; text-decoration: none; }

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

/* ── NAV ─────────────────────────────────────────────────── */

nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(245, 239, 235, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--linen2);
  padding: 0 2rem;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

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

.nav-logo span {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--marine);
  letter-spacing: 0.01em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--marine);
  opacity: 0.75;
  transition: opacity 0.2s;
}

.nav-links a:hover { opacity: 1; }

.nav-cta {
  background: var(--teal);
  color: var(--linen) !important;
  opacity: 1 !important;
  padding: 0.55rem 1.25rem;
  border-radius: 2px;
  font-size: 0.875rem !important;
  transition: background 0.2s !important;
}

.nav-cta:hover { background: var(--marine) !important; }

.nav-mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.nav-mobile-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--marine);
  margin: 4px 0;
  transition: all 0.3s;
}

/* ── BUTTONS ──────────────────────────────────────────────── */

.btn {
  display: inline-block;
  padding: 1rem 2.5rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 500;
  border-radius: 2px;
  border: none;
  cursor: pointer;
  transition: all 0.25s;
  text-align: center;
}

.btn-primary {
  background: var(--teal);
  color: var(--linen);
}

.btn-primary:hover {
  background: var(--marine);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(23,74,88,0.18);
}

.btn-outline {
  background: transparent;
  color: var(--marine);
  border: 1.5px solid var(--marine);
}

.btn-outline:hover {
  background: var(--marine);
  color: var(--linen);
}

/* ── LAYOUT HELPERS ───────────────────────────────────────── */

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

.page-top { padding-top: 64px; }

section { padding: var(--section-pad); }

.eyebrow {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--coral);
  margin-bottom: 1rem;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--marine);
  margin-bottom: 1.25rem;
}

.section-body {
  font-size: 1.1rem;
  color: #3a5f6e;
  max-width: 640px;
  line-height: 1.8;
}

.divider {
  width: 48px;
  height: 3px;
  background: var(--coral);
  margin: 1.5rem 0;
}

/* ── FOOTER ───────────────────────────────────────────────── */

footer {
  background: var(--marine);
  color: var(--linen);
  padding: 3.5rem 2rem;
}

.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.footer-brand img { height: 28px; opacity: 0.85; }

.footer-brand span {
  font-family: var(--font-display);
  font-size: 1rem;
  opacity: 0.85;
}

.footer-links {
  display: flex;
  gap: 1.75rem;
  list-style: none;
  flex-wrap: wrap;
}

.footer-links a {
  font-size: 0.85rem;
  opacity: 0.6;
  transition: opacity 0.2s;
}

.footer-links a:hover { opacity: 1; }

.footer-copy {
  font-size: 0.8rem;
  opacity: 0.45;
  width: 100%;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(245,239,235,0.1);
}

/* ── FORMS ────────────────────────────────────────────────── */

.form-group { margin-bottom: 1.5rem; }

.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--marine);
  margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.875rem 1rem;
  font-family: var(--font-body);
  font-size: 1rem;
  background: var(--linen);
  border: 1px solid var(--beige);
  border-radius: 2px;
  color: var(--marine);
  transition: border-color 0.2s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--teal);
}

.form-group textarea {
  resize: vertical;
  min-height: 110px;
}

/* ── RESPONSIVE ───────────────────────────────────────────── */

@media (max-width: 768px) {
  section { padding: var(--section-pad-sm); }

  .nav-links { display: none; }

  .nav-mobile-toggle { display: block; }

  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 64px; left: 0; right: 0;
    background: var(--linen);
    border-bottom: 1px solid var(--linen2);
    padding: 1.5rem 2rem;
    gap: 1.25rem;
  }

  .footer-inner { flex-direction: column; align-items: flex-start; }
}
