/* ============================================================
   Laguna Aps LLC — Global Stylesheet
   ============================================================ */

:root {
  --orange: #F97316;
  --orange-light: #FDBA74;
  --orange-dark: #EA580C;
  --orange-50: #FFF7ED;
  --black: #111827;
  --white: #FFFFFF;
  --off-white: #FFF7ED;
  --gray-50: #F9FAFB;
  --gray-100: #F3F4F6;
  --gray-200: #E5E7EB;
  --gray-400: #9CA3AF;
  --gray-600: #6B7280;
  --gray-800: #1F2937;
  --transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Inter', sans-serif;
  background-color: var(--white);
  color: var(--black);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--gray-100); }
::-webkit-scrollbar-thumb { background: var(--orange); border-radius: 3px; }

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', serif;
  line-height: 1.2;
}

/* ── Orange text ── */
.orange-text { color: var(--orange); }

/* ── Section badge (pill label) ── */
.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(249,115,22,0.08);
  border: 1px solid rgba(249,115,22,0.25);
  color: var(--orange-dark);
  font-family: 'Inter', sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 100px;
  margin-bottom: 20px;
}
.section-badge::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--orange);
  flex-shrink: 0;
}

/* ── Buttons ── */
.btn-orange {
  background: var(--orange);
  color: var(--white);
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 14px 32px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
  text-decoration: none;
  letter-spacing: 0.01em;
}
.btn-orange:hover { background: var(--orange-dark); transform: translateY(-2px); box-shadow: 0 8px 28px rgba(249,115,22,0.35); }
.btn-orange:active { transform: none; }

.btn-outline-orange {
  background: transparent;
  color: var(--orange);
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 13px 32px;
  border: 1.5px solid var(--orange);
  border-radius: 8px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
  text-decoration: none;
}
.btn-outline-orange:hover { background: rgba(249,115,22,0.06); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(249,115,22,0.1); }

.btn-outline-dark {
  background: transparent;
  color: var(--black);
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 13px 32px;
  border: 1.5px solid rgba(17,24,39,0.2);
  border-radius: 8px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
  text-decoration: none;
}
.btn-outline-dark:hover { border-color: var(--orange); color: var(--orange); transform: translateY(-2px); }

.btn-white {
  background: var(--white);
  color: var(--orange-dark);
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 14px 32px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
  text-decoration: none;
}
.btn-white:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.15); }

.btn-outline-white {
  background: transparent;
  color: var(--white);
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 13px 32px;
  border: 1.5px solid rgba(255,255,255,0.5);
  border-radius: 8px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
  text-decoration: none;
}
.btn-outline-white:hover { border-color: var(--white); background: rgba(255,255,255,0.08); transform: translateY(-2px); }

/* ── Header ── */
#main-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  transition: background 0.4s ease, box-shadow 0.4s ease, padding 0.3s ease;
  background: transparent;
}
#main-header.scrolled {
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 rgba(0,0,0,0.07);
}
#main-header.solid {
  background: rgba(255,255,255,0.97);
  box-shadow: 0 1px 0 rgba(0,0,0,0.07);
}

.header-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo-text {
  font-family: 'Inter', sans-serif;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--white);
  text-decoration: none;
  letter-spacing: -0.02em;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: var(--transition);
}
#main-header.scrolled .logo-text,
#main-header.solid .logo-text { color: var(--black); }
.logo-tagline {
  font-family: 'Inter', sans-serif;
  font-size: 0.58rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  display: block;
  margin-top: -3px;
  font-weight: 500;
}
#main-header.scrolled .logo-tagline,
#main-header.solid .logo-tagline { color: var(--gray-400); }

.desktop-nav { display: flex; align-items: center; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
}
.nav-link {
  font-family: 'Inter', sans-serif;
  font-size: 0.88rem;
  font-weight: 500;
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  transition: color 0.2s;
}
.nav-link:hover { color: var(--orange-light); }
.nav-link.active { color: var(--orange-light); }
#main-header.scrolled .nav-link,
#main-header.solid .nav-link { color: var(--gray-600); }
#main-header.scrolled .nav-link:hover,
#main-header.solid .nav-link:hover { color: var(--orange); }
#main-header.scrolled .nav-link.active,
#main-header.solid .nav-link.active { color: var(--orange); }

/* ── Hamburger ── */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: transparent;
  border: none;
  z-index: 1100;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--white);
  transition: var(--transition);
  transform-origin: center;
}
#main-header.scrolled .hamburger span,
#main-header.solid .hamburger span { background: var(--black); }
.hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ── Mobile menu (light) ── */
.mobile-menu {
  display: none;
  position: fixed;
  top: 0; right: 0; bottom: 0;
  width: min(360px, 100vw);
  background: var(--white);
  z-index: 1050;
  padding: 100px 48px 48px;
  flex-direction: column;
  gap: 8px;
  transform: translateX(100%);
  transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
  border-left: 1px solid var(--gray-200);
}
.mobile-menu.open { transform: translateX(0); }
.mobile-menu-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);
  z-index: 1040;
  opacity: 0;
  transition: opacity 0.3s ease;
  backdrop-filter: blur(4px);
}
.mobile-menu-overlay.open { opacity: 1; }
.mobile-nav-link {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--black);
  text-decoration: none;
  padding: 8px 0;
  border-bottom: 1px solid var(--gray-100);
  transition: color 0.2s;
}
.mobile-nav-link:hover { color: var(--orange); }
.mobile-contact-info {
  margin-top: auto;
  padding-top: 32px;
  border-top: 1px solid var(--gray-200);
}
.mobile-contact-info a {
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  color: var(--gray-600);
  text-decoration: none;
  display: block;
  margin-bottom: 8px;
}
.mobile-contact-info a:hover { color: var(--orange); }

@media (max-width: 1024px) {
  .hamburger { display: flex; }
  .desktop-nav { display: none !important; }
  .mobile-menu { display: flex; }
  .mobile-menu-overlay { display: block; }
}
@media (max-width: 768px) {
  .header-inner { padding: 0 20px; }
}

/* ── Hero (split layout) ── */
.hero-split {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--black);
  position: relative;
  overflow: hidden;
}
.hero-split-bg {
  position: absolute;
  inset: 0;
  background-image: url('https://images.unsplash.com/photo-1600880292203-757bb62b4baf?w=1920&q=80');
  background-size: cover;
  background-position: center;
  z-index: 0;
}
.hero-split-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(17,24,39,0.97) 0%, rgba(17,24,39,0.92) 45%, rgba(249,115,22,0.22) 100%);
  z-index: 1;
}
.hero-split-content {
  position: relative;
  z-index: 2;
  max-width: 1280px;
  margin: 0 auto;
  padding: 120px 32px 80px;
  width: 100%;
}

/* ── Inner hero for sub-pages ── */
.inner-hero {
  background: linear-gradient(135deg, var(--black) 0%, #1F2937 70%, rgba(249,115,22,0.08) 100%);
  padding: 140px 32px 72px;
  position: relative;
  overflow: hidden;
}
.inner-hero::after {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(249,115,22,0.12), transparent 70%);
  pointer-events: none;
}
.inner-hero-content {
  max-width: 1280px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

/* ── Section types ── */
.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.9rem, 3.5vw, 2.8rem);
  font-weight: 700;
  line-height: 1.18;
  color: var(--black);
}
.section-subtitle {
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  color: var(--gray-600);
  line-height: 1.75;
  max-width: 560px;
}

/* ── Service cards ── */
.service-card-la {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 16px;
  padding: 36px;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}
.service-card-la::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--orange), var(--orange-light));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
  border-radius: 3px 3px 0 0;
}
.service-card-la:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.08);
  border-color: rgba(249,115,22,0.2);
}
.service-card-la:hover::before { transform: scaleX(1); }

.icon-wrap-orange {
  width: 52px; height: 52px;
  background: rgba(249,115,22,0.08);
  border: 1px solid rgba(249,115,22,0.2);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

/* ── Pricing cards ── */
.pricing-card-la {
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  border-radius: 20px;
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  transition: all 0.3s;
}
.pricing-card-la:hover { box-shadow: 0 20px 60px rgba(0,0,0,0.08); transform: translateY(-4px); }
.pricing-card-la.featured {
  background: var(--black);
  border-color: var(--orange);
  box-shadow: 0 24px 64px rgba(249,115,22,0.2);
  transform: scale(1.04);
}
.pricing-card-la.featured:hover { transform: scale(1.04) translateY(-4px); }

/* ── Team card ── */
.team-card { text-align: center; }
.team-img-wrap {
  width: 120px; height: 120px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 20px;
  border: 3px solid rgba(249,115,22,0.3);
}
.team-img-wrap img { width: 100%; height: 100%; object-fit: cover; }

/* ── Value card ── */
.value-card {
  padding: 36px;
  background: var(--gray-50);
  border-radius: 16px;
  border: 1px solid var(--gray-100);
  transition: border-color 0.2s;
}
.value-card:hover { border-color: rgba(249,115,22,0.25); }

/* ── Contact ── */
.contact-info-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 20px 0;
  border-bottom: 1px solid var(--gray-100);
}

/* ── Form ── */
.form-label {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--gray-600);
  margin-bottom: 8px;
}
.form-input, .form-select, .form-textarea {
  width: 100%;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  color: var(--black);
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  border-radius: 10px;
  padding: 13px 16px;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(249,115,22,0.1);
}
.form-textarea { min-height: 140px; resize: vertical; }

/* ── Social icon ── */
.social-icon-btn {
  width: 40px; height: 40px;
  border: 1.5px solid var(--gray-200);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: var(--gray-600);
  text-decoration: none;
  transition: all 0.2s;
}
.social-icon-btn:hover { border-color: var(--orange); color: var(--orange); background: rgba(249,115,22,0.05); }

/* ── Footer (LIGHT) ── */
.footer-main {
  background: var(--gray-50);
  border-top: 1px solid var(--gray-200);
}
.footer-link {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 0.88rem;
  color: var(--gray-600);
  text-decoration: none;
  padding: 5px 0;
  transition: color 0.2s;
}
.footer-link:hover { color: var(--orange); }

/* ── CTA banner ── */
.cta-banner-la {
  background: linear-gradient(135deg, var(--orange-dark) 0%, var(--orange) 50%, #FB923C 100%);
  position: relative;
  overflow: hidden;
}
.cta-banner-la::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  pointer-events: none;
}

/* ── Legal pages ── */
.legal-page { padding-top: 120px; padding-bottom: 80px; }
.legal-content { max-width: 760px; margin: 0 auto; padding: 0 24px; }
.legal-title { font-family: 'Playfair Display', serif; font-size: clamp(2rem,4vw,3rem); font-weight: 700; color: var(--black); margin-bottom: 8px; }
.legal-updated { font-family: 'Inter', sans-serif; font-size: 0.88rem; color: var(--gray-400); margin-bottom: 48px; padding-bottom: 32px; border-bottom: 1px solid var(--gray-200); }
.legal-section-heading { font-family: 'Inter', sans-serif; font-size: 1.05rem; font-weight: 700; color: var(--black); margin: 40px 0 16px; }
.legal-text { font-family: 'Inter', sans-serif; font-size: 0.95rem; color: var(--gray-600); line-height: 1.8; margin-bottom: 16px; }
.legal-list { list-style: disc; padding-left: 24px; margin-bottom: 16px; }
.legal-list li { font-family: 'Inter', sans-serif; font-size: 0.95rem; color: var(--gray-600); line-height: 1.8; margin-bottom: 8px; }

/* ── Stat number ── */
.stat-number {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.4rem,4.5vw,3.2rem);
  font-weight: 700;
  line-height: 1;
}

/* ── Star rating ── */
.star-rating { color: var(--orange); font-size: 1rem; letter-spacing: 2px; }

/* ── Orange divider ── */
.orange-divider { width: 48px; height: 3px; background: var(--orange); border-radius: 2px; margin-bottom: 8px; }

/* ── Reveal animations ── */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.65s cubic-bezier(0.4,0,0.2,1), transform 0.65s cubic-bezier(0.4,0,0.2,1); }
.reveal.visible, .reveal.revealed { opacity: 1; transform: none; }
.reveal-left { opacity: 0; transform: translateX(-32px); transition: opacity 0.65s cubic-bezier(0.4,0,0.2,1), transform 0.65s cubic-bezier(0.4,0,0.2,1); }
.reveal-left.visible, .reveal-left.revealed { opacity: 1; transform: none; }
.reveal-right { opacity: 0; transform: translateX(32px); transition: opacity 0.65s cubic-bezier(0.4,0,0.2,1), transform 0.65s cubic-bezier(0.4,0,0.2,1); }
.reveal-right.visible, .reveal-right.revealed { opacity: 1; transform: none; }
.delay-100 { transition-delay: 0.1s; }
.delay-200 { transition-delay: 0.2s; }
.delay-300 { transition-delay: 0.3s; }
.delay-400 { transition-delay: 0.4s; }
.delay-500 { transition-delay: 0.5s; }

.page-transition { animation: fadeIn 0.4s ease; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

@media (max-width: 768px) {
  .header-inner { padding: 0 20px; }
  .inner-hero { padding: 120px 20px 56px; }
  .hero-split-content { padding: 100px 20px 60px; }
}
