:root {
  --bg: #1a1715;
  --bg-alt: #f5f0eb;
  --text: #f5f0eb;
  --text-muted: #a09890;
  --accent: #c4956a;
  --accent-hover: #d6a87d;
  --font-display: 'Cormorant Garamond', serif;
  --font-body: 'DM Sans', sans-serif;
  --font-mono: 'DM Mono', monospace;
  --fs-hero: clamp(3.5rem, 10vw, 8rem);
  --fs-section: clamp(2rem, 5vw, 4rem);
  --fs-body: 17px;
  --fs-small: 13px;
  --fs-label: 11px;
  --lh-hero: 0.95;
  --lh-section: 1.05;
  --lh-body: 1.7;
  --ls-hero: -0.03em;
  --ls-section: -0.02em;
  --ls-label: 0.2em;
  --panel-1-bg: #1a1715;
  --panel-1-text: #f5f0eb;
  --panel-2-bg: #f5f0eb;
  --panel-2-text: #1a1715;
  --panel-3-bg: #ede4db;
  --panel-3-text: #2d2424;
  --panel-4-bg: #e0cfc2;
  --panel-4-text: #2d2424;
  --panel-5-bg: #3d1f2e;
  --panel-5-text: #f5f0eb;
  --transition-smooth: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  font-size: var(--fs-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  line-height: var(--lh-body);
  color: var(--text);
  background-color: var(--bg);
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

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

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

button {
  background: none;
  border: none;
  cursor: pointer;
  color: inherit;
  font: inherit;
}

/* ========================================
   NAV
   ======================================== */

.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 24px 40px;
  transition: color 0.6s ease;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1400px;
  margin: 0 auto;
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.nav-logo-light {
  font-weight: 400;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  font-family: var(--font-body);
  font-size: var(--fs-small);
  font-weight: 500;
  position: relative;
  padding-bottom: 2px;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: currentColor;
  transition: width 0.35s ease;
}

.nav-link:hover::after {
  width: 100%;
}

.nav-phone {
  font-family: var(--font-mono);
  font-size: var(--fs-small);
}

/* Nav theme variants */
.nav--dark {
  color: var(--panel-1-text);
}

.nav--light {
  color: var(--panel-2-text);
}

/* Nav toggle (mobile hamburger) */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 24px;
  height: 24px;
  padding: 0;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 1.5px;
  background: currentColor;
  transition: transform 0.35s ease, opacity 0.35s ease;
  transform-origin: center;
}

.nav-toggle.open span:first-child {
  transform: translateY(3.75px) rotate(45deg);
}

.nav-toggle.open span:last-child {
  transform: translateY(-3.75px) rotate(-45deg);
}

/* ========================================
   DOT NAV
   ======================================== */

.dot-nav {
  position: fixed;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 100;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: color 0.6s ease;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 1px solid currentColor;
  background: transparent;
  padding: 0;
  transition: background 0.35s ease, border-color 0.35s ease;
  cursor: pointer;
}

.dot.active {
  background: var(--accent);
  border-color: var(--accent);
}

.dots--dark {
  color: rgba(245, 240, 235, 0.3);
}

.dots--light {
  color: rgba(26, 23, 21, 0.2);
}

/* ========================================
   MOBILE MENU
   ======================================== */

.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 99;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translateY(-100%);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-menu.open {
  transform: translateY(0);
}

.mobile-menu-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.mobile-menu-link {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--text);
}

/* ========================================
   PANELS CONTAINER (INDEX)
   ======================================== */

.panels-container {
  height: 100vh;
  overflow-y: auto;
  scroll-snap-type: y mandatory;
}

.panel {
  height: 100vh;
  scroll-snap-align: start;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
}

/* ========================================
   PANEL 1: HERO
   ======================================== */

.panel-hero {
  background-color: var(--panel-1-bg);
  justify-content: flex-start;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  will-change: transform;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(26, 23, 21, 0.4), rgba(26, 23, 21, 0.6));
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-left: 8%;
  max-width: 900px;
}

.hero-heading {
  font-family: var(--font-display);
  font-size: var(--fs-hero);
  font-weight: 600;
  line-height: var(--lh-hero);
  letter-spacing: var(--ls-hero);
  color: var(--panel-1-text);
}

.hero-line {
  width: 0;
  height: 1px;
  background: var(--accent);
  margin: 24px 0;
}

.hero-tagline {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  color: rgba(245, 240, 235, 0.7);
  max-width: 480px;
  opacity: 0;
}

.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 2;
}

.scroll-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(245, 240, 235, 0.5);
  animation: scrollPulse 2s ease-in-out infinite;
}

.scroll-line {
  width: 1px;
  height: 48px;
  background: rgba(245, 240, 235, 0.2);
  margin-top: 4px;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 1; transform: translateY(0); }
  50% { opacity: 0.3; transform: translateY(20px); }
}

/* ========================================
   PANEL 2: STORY
   ======================================== */

.panel-story {
  background-color: var(--panel-2-bg);
  color: var(--panel-2-text);
}

.story-inner {
  display: flex;
  align-items: center;
  gap: 5%;
  width: 100%;
  padding: 0 8%;
  max-width: 1400px;
  margin: 0 auto;
}

.story-image {
  width: 55%;
  flex-shrink: 0;
}

.story-image img {
  width: 100%;
  height: auto;
  border-radius: 4px;
  object-fit: cover;
}

.story-text {
  width: 40%;
}

.label {
  display: block;
  font-family: var(--font-mono);
  font-size: var(--fs-label);
  text-transform: uppercase;
  letter-spacing: var(--ls-label);
  color: var(--accent);
  margin-bottom: 24px;
}

.section-heading {
  font-family: var(--font-display);
  font-size: var(--fs-section);
  font-weight: 600;
  line-height: var(--lh-section);
  letter-spacing: var(--ls-section);
}

.story-text p {
  font-size: var(--fs-body);
  color: rgba(26, 23, 21, 0.65);
  line-height: var(--lh-body);
  margin-top: 24px;
}

/* ========================================
   PANEL 3: SERVICES PREVIEW
   ======================================== */

.panel-services-preview {
  background-color: var(--panel-3-bg);
  color: var(--panel-3-text);
  justify-content: center;
}

.services-preview-inner {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 24px;
  text-align: center;
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.service-card {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 2px;
  display: block;
}

.service-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.service-card:hover img {
  transform: scale(1.05);
}

.service-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 50%, rgba(0, 0, 0, 0.5));
  transition: background 0.35s ease;
}

.service-card:hover .service-card-overlay {
  background: linear-gradient(to bottom, transparent 40%, rgba(0, 0, 0, 0.6));
}

.service-card-label {
  position: absolute;
  bottom: 24px;
  left: 24px;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 500;
  color: #fff;
  z-index: 2;
}

.view-all-link {
  display: inline-block;
  margin-top: 32px;
  font-family: var(--font-mono);
  font-size: var(--fs-small);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--panel-3-text);
}

.view-all-link .arrow {
  display: inline-block;
  transition: transform 0.35s ease;
}

.view-all-link:hover .arrow {
  transform: translateX(4px);
}

/* ========================================
   PANEL 4: EXPERIENCE
   ======================================== */

.panel-experience {
  background-color: var(--panel-4-bg);
  color: var(--panel-4-text);
  justify-content: center;
}

.experience-inner {
  text-align: center;
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 24px;
}

.experience-inner .label {
  text-align: center;
  margin-bottom: 20px;
}

.experience-inner .section-heading {
  margin-bottom: 56px;
}

.pillars {
  display: flex;
  align-items: center;
  justify-content: center;
}

.pillar {
  padding: 0 40px;
  text-align: center;
}

.pillar-num {
  display: block;
  font-family: var(--font-mono);
  font-size: var(--fs-label);
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

.pillar-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 500;
  margin-bottom: 12px;
}

.pillar-desc {
  font-size: 15px;
  color: rgba(45, 36, 36, 0.6);
  max-width: 220px;
  margin: 0 auto;
}

.pillar-divider {
  width: 1px;
  height: 80px;
  background: rgba(45, 36, 36, 0.15);
  flex-shrink: 0;
  transform-origin: center;
}

/* ========================================
   PANEL 5: CTA
   ======================================== */

.panel-cta {
  background-color: var(--panel-5-bg);
  color: var(--panel-5-text);
  justify-content: center;
}

.cta-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(196, 149, 106, 0.06) 0%, transparent 70%);
}

.cta-inner {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
  padding: 0 24px;
}

.cta-inner .section-heading {
  margin-bottom: 20px;
}

.cta-subtext {
  font-size: var(--fs-body);
  color: rgba(245, 240, 235, 0.6);
  margin-bottom: 40px;
}

.cta-btn {
  display: inline-block;
  background: var(--accent);
  color: #1a1715;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 15px;
  padding: 16px 40px;
  border-radius: 2px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: background 0.35s ease, transform 0.35s ease, box-shadow 0.35s ease;
}

.cta-btn:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(196, 149, 106, 0.3);
}

.cta-contact {
  margin-top: 48px;
}

.cta-contact p {
  font-family: var(--font-mono);
  font-size: var(--fs-small);
  color: rgba(245, 240, 235, 0.4);
  margin-bottom: 6px;
}

/* ========================================
   FOOTER
   ======================================== */

.site-footer {
  background: var(--bg);
  color: var(--text);
  padding: 64px 40px 32px;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(245, 240, 235, 0.1);
}

.footer-brand {
  flex: 1;
}

.footer-contact-col,
.footer-address-col {
  flex: 1;
}

.footer-contact-col a,
.footer-address-col a {
  font-size: var(--fs-small);
  color: var(--text-muted);
  transition: color 0.3s ease;
}

.footer-contact-col a:hover,
.footer-address-col a:hover {
  color: var(--accent);
}

.footer-address-col p {
  font-size: var(--fs-small);
  color: var(--text-muted);
}

.footer-bottom {
  padding-top: 24px;
}

/* ========================================
   WHATSAPP FLOAT
   ======================================== */

.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 90;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.3);
  animation: waPulse 2s ease-in-out infinite;
  transition: transform 0.3s ease;
}

.whatsapp-float:hover {
  transform: scale(1.08);
}

@keyframes waPulse {
  0%, 100% { box-shadow: 0 4px 16px rgba(37, 211, 102, 0.3); }
  50% { box-shadow: 0 4px 24px rgba(37, 211, 102, 0.5); }
}

/* ========================================
   SERVICES PAGE
   ======================================== */

.page-services {
  background-color: var(--panel-2-bg);
  color: var(--panel-2-text);
}

.services-hero {
  height: 50vh;
  display: flex;
  align-items: center;
  background: var(--panel-2-bg);
  padding-left: 8%;
}

.services-hero-content {
  max-width: 600px;
}

.page-heading {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 600;
  line-height: var(--lh-section);
  letter-spacing: var(--ls-section);
  color: var(--panel-2-text);
}

.page-subtext {
  font-size: var(--fs-body);
  color: rgba(26, 23, 21, 0.6);
  max-width: 500px;
  margin-top: 16px;
}

.services-list-section {
  background: var(--panel-2-bg);
  padding: 0 24px 80px;
}

.services-list-inner {
  max-width: 960px;
  margin: 0 auto;
}

.service-category {
  margin-bottom: 48px;
}

.category-label {
  display: block;
  font-family: var(--font-mono);
  font-size: var(--fs-label);
  text-transform: uppercase;
  letter-spacing: var(--ls-label);
  color: var(--accent);
  margin-bottom: 20px;
  padding-top: 24px;
}

.service-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 28px 0;
  border-bottom: 1px solid rgba(26, 23, 21, 0.1);
  transition: background 0.3s ease;
}

.service-row:hover {
  background: rgba(196, 149, 106, 0.06);
}

.service-row:hover .service-name {
  color: var(--accent);
}

.service-name {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 500;
  transition: color 0.3s ease;
}

.service-desc {
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--text-muted);
}

.services-cta-section {
  background: var(--panel-3-bg);
  padding: 120px 24px;
  text-align: center;
}

.services-cta-inner .section-heading {
  color: var(--panel-3-text);
  margin-bottom: 24px;
}

.services-cta-inner .cta-btn {
  margin-bottom: 16px;
}

.cta-call-text {
  font-size: 14px;
  color: rgba(45, 36, 36, 0.5);
}

.cta-call-text a {
  color: rgba(45, 36, 36, 0.5);
  transition: color 0.3s ease;
}

.cta-call-text a:hover {
  color: var(--accent);
}

/* ========================================
   CONTACT PAGE
   ======================================== */

.page-contact {
  background-color: var(--panel-2-bg);
  color: var(--panel-2-text);
}

.contact-hero {
  height: 50vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--panel-5-bg);
  color: var(--panel-5-text);
}

.contact-hero .label {
  color: var(--accent);
  margin-bottom: 20px;
}

.contact-hero .page-heading {
  color: var(--panel-5-text);
}

.contact-hero .page-subtext {
  color: rgba(245, 240, 235, 0.6);
  margin-top: 16px;
}

.contact-form-section {
  background: var(--panel-2-bg);
  padding: 80px 24px;
}

.contact-form-inner {
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  gap: 64px;
}

.contact-form-col {
  flex: 1;
}

.contact-details-col {
  flex: 1;
}

.form-group {
  margin-bottom: 28px;
}

.form-group label {
  display: block;
  font-family: var(--font-mono);
  font-size: var(--fs-label);
  text-transform: uppercase;
  letter-spacing: var(--ls-label);
  color: var(--text-muted);
  margin-bottom: 8px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  border: none;
  border-bottom: 1px solid rgba(26, 23, 21, 0.15);
  background: transparent;
  font-family: var(--font-body);
  font-size: 16px;
  padding: 12px 0;
  color: var(--panel-2-text);
  outline: none;
  transition: border-color 0.3s ease;
  border-radius: 0;
}

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

.form-group textarea {
  resize: vertical;
}

.select-wrapper {
  position: relative;
}

.select-wrapper::after {
  content: '';
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 5px solid var(--text-muted);
  pointer-events: none;
}

.select-wrapper select {
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
}

.contact-block {
  margin-bottom: 32px;
}

.contact-block-label {
  display: block;
  font-family: var(--font-mono);
  font-size: var(--fs-label);
  text-transform: uppercase;
  letter-spacing: var(--ls-label);
  color: var(--text-muted);
  margin-bottom: 8px;
}

.contact-block a,
.contact-block p {
  font-size: var(--fs-body);
  color: var(--panel-2-text);
  line-height: var(--lh-body);
}

.contact-block a {
  transition: color 0.3s ease;
}

.contact-block a:hover {
  color: var(--accent);
}

.contact-map {
  margin-top: 16px;
}

/* ========================================
   RESPONSIVE
   ======================================== */

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .site-nav {
    padding: 16px 20px;
  }

  /* Dot nav horizontal at bottom on mobile */
  .dot-nav {
    top: auto;
    bottom: 20px;
    right: auto;
    left: 50%;
    transform: translateX(-50%);
    flex-direction: row;
  }

  /* Hero */
  .hero-content {
    padding-left: 6%;
    padding-right: 6%;
  }

  /* Story */
  .story-inner {
    flex-direction: column;
    gap: 32px;
    padding: 60px 6% 40px;
  }

  .story-image {
    width: 100%;
  }

  .story-image img {
    aspect-ratio: 16 / 12;
    object-fit: cover;
  }

  .story-text {
    width: 100%;
  }

  /* Services grid */
  .services-grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  /* Experience pillars */
  .pillars {
    flex-direction: column;
    gap: 32px;
  }

  .pillar {
    padding: 0;
  }

  .pillar-divider {
    width: 60px;
    height: 1px;
  }

  /* Footer */
  .site-footer {
    padding: 40px 20px 24px;
  }

  .footer-top {
    flex-direction: column;
    gap: 32px;
  }

  /* Services page */
  .services-hero {
    padding-left: 6%;
    padding-right: 6%;
  }

  .service-row {
    flex-direction: column;
    gap: 4px;
  }

  .service-name {
    font-size: 1.25rem;
  }

  /* Contact page */
  .contact-form-inner {
    flex-direction: column;
    gap: 48px;
  }

  .whatsapp-float {
    bottom: 16px;
    right: 16px;
    width: 48px;
    height: 48px;
  }

  .whatsapp-float svg {
    width: 24px;
    height: 24px;
  }
}

@media (max-width: 480px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
}

/* ========================================
   REDUCED MOTION
   ======================================== */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .hero-bg {
    transform: none !important;
  }

  .service-card img {
    transition: none;
  }

  .scroll-dot {
    animation: none;
  }
}
