/* ===================================
   RESOLVE360 - Main Styles
   A warm, human-centered design system
   =================================== */

/* CSS Custom Properties */
:root {
  /* Color Palette */
  --warm-beige: #F5F2ED;
  --warm-cream: #FFFDF9;
  --terracotta: #C36A4D;
  --terracotta-dark: #A85540;
  --soft-clay: #A68E7D;
  --charcoal-warm: #2D2926;
  --charcoal-light: #4A4542;

  /* Vignette Colors - Warm amber glow */
  --vignette-color: rgba(195, 106, 77, 0.15);
  --vignette-color-strong: rgba(195, 106, 77, 0.25);

  /* Typography */
  --font-display: 'Fraunces', serif;
  --font-sans: 'Plus Jakarta Sans', sans-serif;

  /* Spacing */
  --section-padding: 5rem;
  --nav-height: 80px;

  /* Transitions */
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);

  /* Z-index layers */
  --z-vignette: 100;
  --z-nav: 90;
  --z-nav-dots: 80;
  --z-content: 10;
  --z-grain: 50;
}

/* Reset & Base */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  background-color: var(--warm-beige);
  color: var(--charcoal-warm);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Selection styling */
::selection {
  background-color: rgba(195, 106, 77, 0.2);
  color: var(--terracotta);
}

/* ===================================
   VIGNETTE BORDER - App Container Feel
   =================================== */
.vignette-border {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: var(--z-vignette);
  box-shadow:
    inset 0 0 100px 40px var(--vignette-color),
    inset 0 0 200px 80px rgba(195, 106, 77, 0.08);
  transition: box-shadow 0.8s var(--ease-in-out);
}

.vignette-border::before {
  content: '';
  position: absolute;
  inset: 0;
  border: 3px solid transparent;
  border-radius: 0;
  background: linear-gradient(135deg,
      rgba(195, 106, 77, 0.1) 0%,
      transparent 30%,
      transparent 70%,
      rgba(195, 106, 77, 0.1) 100%) border-box;
  -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}

/* Animated glow corners */
.vignette-border::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at top left, var(--vignette-color-strong) 0%, transparent 40%),
    radial-gradient(ellipse at top right, var(--vignette-color) 0%, transparent 35%),
    radial-gradient(ellipse at bottom left, var(--vignette-color) 0%, transparent 35%),
    radial-gradient(ellipse at bottom right, var(--vignette-color-strong) 0%, transparent 40%);
  animation: vignetteBreath 8s ease-in-out infinite alternate;
}

@keyframes vignetteBreath {
  0% {
    opacity: 0.7;
  }

  100% {
    opacity: 1;
  }
}

/* ===================================
   GRAIN TEXTURE OVERLAY
   =================================== */
.grain-overlay {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: var(--z-grain);
  opacity: 0.06;
}

.grain-overlay::before {
  content: '';
  position: absolute;
  top: -150%;
  left: -150%;
  width: 400%;
  height: 400%;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
  animation: grain 8s steps(10) infinite;
}

@keyframes grain {

  0%,
  100% {
    transform: translate(0, 0);
  }

  10% {
    transform: translate(-5%, -10%);
  }

  20% {
    transform: translate(-15%, 5%);
  }

  30% {
    transform: translate(7%, -25%);
  }

  40% {
    transform: translate(-5%, 25%);
  }

  50% {
    transform: translate(-15%, 10%);
  }

  60% {
    transform: translate(15%, 0%);
  }

  70% {
    transform: translate(0%, 15%);
  }

  80% {
    transform: translate(3%, 35%);
  }

  90% {
    transform: translate(-10%, 10%);
  }
}

/* ===================================
   MAIN CONTAINER
   =================================== */
.snap-container {
  /* Container for main content - no longer snapping */
}

/* ===================================
   SECTIONS - Continuous Flow
   =================================== */
.section {
  min-height: auto;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem 2rem;
  transition: background-color 0.8s var(--ease-in-out);
  overflow: hidden;
}

.section--hero {
  background-color: var(--warm-beige);
}

.section--services {
  background-color: var(--warm-beige);
  padding-top: 0.75rem;
  padding-bottom: 3rem;
}

.section--quote {
  background-color: var(--warm-cream);
}

.section--about {
  background-color: var(--warm-beige);
}

.section--contact {
  background-color: var(--charcoal-warm);
  color: var(--warm-beige);
}

/* Section content wrapper */
.section__content {
  max-width: 1400px;
  width: 100%;
  position: relative;
  z-index: var(--z-content);
}

/* ===================================
   NAVIGATION - Sticky Header
   =================================== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-nav);
  padding: 2rem 3rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  transition: all 0.5s var(--ease-in-out);
  background: transparent;
}

.nav--scrolled {
  padding: 1rem 3rem;
  background: rgba(245, 242, 237, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 rgba(45, 41, 38, 0.05);
}

.nav__logo {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 900;
  color: var(--terracotta);
  text-decoration: none;
  letter-spacing: -0.02em;
  flex-shrink: 0;
}

.nav__logo-subtitle {
  font-size: 0.7rem;
  font-family: var(--font-sans);
  font-style: normal;
  font-weight: 400;
  opacity: 0.7;
  letter-spacing: 0.05em;
  display: block;
}

.nav__links,
.nav__center {
  position: absolute;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: clamp(1rem, 2vw, 2.5rem);
  list-style: none;
  align-items: center;
  padding-left: 240px;
  padding-right: 120px;
  pointer-events: none;
}

.nav__links>*,
.nav__center>* {
  pointer-events: auto;
}

.nav__link {
  font-size: clamp(0.65rem, 0.8vw, 0.8125rem);
  font-weight: 600;
  color: rgba(45, 41, 38, 0.7);
  text-decoration: none;
  position: relative;
  padding: 0.25rem 0;
  transition: color 0.3s ease;
  white-space: nowrap;
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--terracotta);
  border-radius: 2px;
  transition: width 0.4s var(--ease-in-out);
}

.nav__link:hover {
  color: var(--terracotta);
}

.nav__link:hover::after {
  width: 80%;
}

.nav__actions {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav__login {
  font-size: 0.8125rem;
  font-weight: 600;
  color: rgba(45, 41, 38, 0.6);
  background: none;
  border: none;
  cursor: pointer;
  transition: color 0.3s ease;
}

.nav__login:hover {
  color: var(--terracotta);
}

.nav__cta {
  font-size: 0.8125rem;
  font-weight: 700;
  color: white;
  background: var(--terracotta);
  border: none;
  padding: 1rem 2.5rem;
  border-radius: 100px;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 10px 30px -10px rgba(195, 106, 77, 0.4);
  transition: all 0.3s var(--ease-in-out);
}

.nav__cta:hover {
  background: var(--terracotta-dark);
  transform: translateY(-2px);
  box-shadow: 0 15px 40px -10px rgba(195, 106, 77, 0.5);
}

/* ===================================
   NAVIGATION DOTS
   =================================== */
.nav-dots {
  position: fixed;
  right: 2rem;
  top: 50%;
  transform: translateY(-50%);
  z-index: var(--z-nav-dots);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.nav-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(45, 41, 38, 0.2);
  border: none;
  cursor: pointer;
  transition: all 0.4s var(--ease-in-out);
  position: relative;
}

.nav-dot::before {
  content: attr(data-label);
  position: absolute;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--charcoal-warm);
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.nav-dot:hover {
  transform: scale(1.3);
  background: rgba(195, 106, 77, 0.5);
}

.nav-dot:hover::before {
  opacity: 1;
}

.nav-dot--active {
  transform: scale(1.5);
  background: var(--terracotta);
}

.nav-dot--active:hover {
  transform: scale(1.5);
}

/* Light theme dots for dark sections */
.nav-dots--light .nav-dot {
  background: rgba(255, 253, 249, 0.3);
}

.nav-dots--light .nav-dot::before {
  color: var(--warm-beige);
}

.nav-dots--light .nav-dot:hover {
  background: rgba(255, 253, 249, 0.6);
}

.nav-dots--light .nav-dot--active {
  background: var(--warm-cream);
}

/* ===================================
   ENTRANCE ANIMATIONS
   =================================== */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 1s var(--ease-out-expo);
}

.reveal--active {
  opacity: 1;
  transform: translateY(0);
}

.reveal--scale {
  opacity: 0;
  transform: scale(0.95);
  transition: all 1s var(--ease-out-expo);
}

.reveal--scale.reveal--active {
  opacity: 1;
  transform: scale(1);
}

.reveal--left {
  opacity: 0;
  transform: translateX(-40px);
}

.reveal--left.reveal--active {
  opacity: 1;
  transform: translateX(0);
}

.reveal--right {
  opacity: 0;
  transform: translateX(40px);
}

.reveal--right.reveal--active {
  opacity: 1;
  transform: translateX(0);
}

/* Staggered delays */
.reveal-delay-1 {
  transition-delay: 0.1s;
}

.reveal-delay-2 {
  transition-delay: 0.2s;
}

.reveal-delay-3 {
  transition-delay: 0.3s;
}

.reveal-delay-4 {
  transition-delay: 0.4s;
}

.reveal-delay-5 {
  transition-delay: 0.5s;
}

.reveal-delay-6 {
  transition-delay: 0.6s;
}

/* ===================================
   TYPOGRAPHY
   =================================== */
.heading-display {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 0.9;
  letter-spacing: -0.02em;
}

.heading-xl {
  font-size: clamp(3.5rem, 10vw, 8rem);
}

.heading-lg {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
}

.heading-md {
  font-size: clamp(1.75rem, 4vw, 3rem);
}

.text-accent {
  color: var(--terracotta);
  font-style: italic;
  font-weight: 300;
}

.text-muted {
  color: rgba(45, 41, 38, 0.7);
}

.text-body {
  font-size: 1.125rem;
  font-weight: 300;
  line-height: 1.7;
  max-width: 42ch;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: rgba(166, 142, 125, 0.1);
  border-radius: 100px;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--soft-clay);
}

.badge__dot {
  width: 6px;
  height: 6px;
  background: var(--terracotta);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.5;
    transform: scale(0.8);
  }
}

/* ===================================
   HERO SECTION
   =================================== */
.hero {
  text-align: left;
  padding-top: calc(var(--nav-height) + 2rem);
  padding-left: 4rem;
}

.hero__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2rem;
  max-width: 650px;
}

.hero__title {
  margin-top: 1rem;
}

.hero__subtitle {
  max-width: 500px;
}

@media (max-width: 768px) {
  .hero {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

.hero__scroll {
  margin-top: 3rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  color: var(--soft-clay);
  cursor: pointer;
  transition: color 0.3s ease;
}

.hero__scroll:hover {
  color: var(--terracotta);
}

.hero__scroll-text {
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.3em;
}

.hero__scroll-icon {
  font-size: 2.5rem;
  animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(8px);
  }
}

/* ===================================
   SERVICE CARDS
   =================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  padding-top: 1rem;
  max-width: 1400px;
  margin: 0 auto;
}

@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

/* Custom Cursor for Cards */
.custom-cursor {
  position: fixed;
  pointer-events: none;
  z-index: 9999;
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.5);
  transition: opacity 0.3s ease, transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.custom-cursor--visible {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.custom-cursor__inner {
  background: var(--terracotta);
  color: white;
  padding: 0.75rem 1.25rem;
  border-radius: 100px;
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
  box-shadow: 0 10px 30px -5px rgba(195, 106, 77, 0.5);
  animation: cursorPulse 1.5s ease-in-out infinite;
}

@keyframes cursorPulse {

  0%,
  100% {
    transform: scale(1);
    box-shadow: 0 10px 30px -5px rgba(195, 106, 77, 0.5);
  }

  50% {
    transform: scale(1.05);
    box-shadow: 0 15px 40px -5px rgba(195, 106, 77, 0.6);
  }
}

/* Service Card - Split Layout: Image Top, Content Bottom */
.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--warm-cream);
  border-radius: 1.5rem;
  overflow: hidden;
  cursor: none;
  border: 1px solid rgba(166, 142, 125, 0.1);
  transition: all 0.6s var(--ease-in-out);
  text-decoration: none !important;
  color: inherit !important;
  -webkit-tap-highlight-color: transparent;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 30px 50px -20px rgba(195, 106, 77, 0.2);
}

.service-card:active,
.service-card:visited,
.service-card:focus {
  color: inherit;
  text-decoration: none;
  outline: none;
}

/* Image Container - Top Portion - Large Square */
.service-card__image-wrap {
  position: relative;
  width: 100%;
  min-height: 400px;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #f5f2ed;
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-card__image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  filter: grayscale(100%);
  opacity: 0.9;
  transition: all 0.5s var(--ease-in-out);
  display: block;
}

.service-card:hover .service-card__image {
  filter: grayscale(0%);
  opacity: 1;
  transform: scale(1.02);
}

/* Image Swap on Hover */
.service-card__image-wrap--swap {
  position: relative;
}

.service-card__image-wrap--swap .service-card__image--default {
  opacity: 0.9;
  filter: grayscale(100%);
  transition: opacity 0.5s ease, filter 0.5s ease;
}

.service-card__image-wrap--swap .service-card__image--hover {
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  filter: grayscale(0%);
  transition: opacity 0.5s ease;
}

.service-card:hover .service-card__image-wrap--swap .service-card__image--default {
  opacity: 0;
}

.service-card:hover .service-card__image-wrap--swap .service-card__image--hover {
  opacity: 1;
  filter: grayscale(0%);
  transform: scale(1.02);
}

/* Content Container - Bottom Portion with Plain Background - MORE PADDING */
.service-card__content {
  padding: 2rem;
  background: var(--warm-cream);
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 220px;
}

.service-card__title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.5vw, 1.875rem);
  font-weight: 500;
  line-height: 1.2;
  color: var(--charcoal-warm);
  margin-bottom: 1rem;
}

/* Prevent link color inheritance issues */
.service-card:visited .service-card__title,
.service-card:active .service-card__title,
.service-card:focus .service-card__title {
  color: var(--charcoal-warm);
}

.service-card__description {
  color: var(--soft-clay);
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.7;
  margin-bottom: 1.5rem;
  flex: 1;
}

.service-card:visited .service-card__description,
.service-card:active .service-card__description {
  color: var(--soft-clay);
}

.service-card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--terracotta);
  text-decoration: none;
  transition: gap 0.3s var(--ease-in-out);
}

.service-card:visited .service-card__link,
.service-card:active .service-card__link {
  color: var(--terracotta);
}

.service-card:hover .service-card__link {
  gap: 0.75rem;
}

.service-card__link-icon {
  font-size: 1.125rem;
  transition: transform 0.3s var(--ease-in-out);
}

.service-card:hover .service-card__link-icon {
  transform: translateX(4px);
}

/* Hide old header elements */
.service-card__header,
.service-card__number,
.service-card__icon,
.service-card__body {
  display: none;
}

/* ===================================
   QUOTE SECTION
   =================================== */
.quote {
  text-align: center;
  padding: 0 2rem;
}

.quote__icon {
  font-size: 4rem;
  color: rgba(195, 106, 77, 0.2);
  margin-bottom: 2rem;
}

.quote__text {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 3.5rem);
  line-height: 1.3;
  max-width: 900px;
  margin: 0 auto;
}

.quote__attribution {
  margin-top: 2.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.quote__author {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.25rem;
  color: var(--soft-clay);
}

.quote__line {
  width: 80px;
  height: 2px;
  background: rgba(195, 106, 77, 0.2);
}

/* Background blobs */
.quote__blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
}

.quote__blob--1 {
  width: 300px;
  height: 300px;
  background: rgba(195, 106, 77, 0.08);
  bottom: -100px;
  left: -100px;
}

.quote__blob--2 {
  width: 300px;
  height: 300px;
  background: rgba(166, 142, 125, 0.08);
  top: -100px;
  right: -100px;
}

/* ===================================
   FOOTER SECTION
   =================================== */
.footer {
  padding: 6rem 3rem 3rem;
}

.footer__watermark {
  position: absolute;
  top: 2rem;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-display);
  font-size: clamp(4rem, 12vw, 10rem);
  font-weight: 700;
  letter-spacing: -0.05em;
  color: rgba(255, 253, 249, 0.03);
  white-space: nowrap;
  user-select: none;
  pointer-events: none;
}

.footer__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 3rem;
  margin-bottom: 5rem;
}

@media (max-width: 768px) {
  .footer__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.footer__column-title {
  font-size: 0.6875rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: var(--terracotta);
  margin-bottom: 1.5rem;
}

.footer__links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer__link {
  font-size: 1rem;
  font-weight: 300;
  color: rgba(255, 253, 249, 0.7);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer__link:hover {
  color: var(--terracotta);
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 253, 249, 0.1);
}

.footer__brand {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer__logo {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 900;
  color: var(--terracotta);
}

.footer__tagline {
  font-size: 0.875rem;
  font-weight: 300;
  color: rgba(255, 253, 249, 0.5);
  max-width: 300px;
}

.footer__status {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 1rem;
}

.footer__online {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1.5rem;
  background: rgba(255, 253, 249, 0.05);
  border: 1px solid rgba(255, 253, 249, 0.1);
  border-radius: 100px;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
}

.footer__online-dot {
  width: 8px;
  height: 8px;
  background: #4ade80;
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

.footer__copyright {
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.4em;
  color: rgba(255, 253, 249, 0.3);
}

/* ===================================
   BUTTONS
   =================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  font-family: var(--font-sans);
  font-weight: 700;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.3s var(--ease-in-out);
}

.btn--primary {
  font-size: 0.8125rem;
  color: white;
  background: var(--terracotta);
  padding: 1.125rem 2.5rem;
  border-radius: 100px;
  box-shadow: 0 10px 30px -10px rgba(195, 106, 77, 0.4);
}

.btn--primary:hover {
  background: var(--terracotta-dark);
  transform: translateY(-2px);
  box-shadow: 0 15px 40px -10px rgba(195, 106, 77, 0.5);
}

.btn--secondary {
  font-size: 0.8125rem;
  color: var(--charcoal-warm);
  background: transparent;
  padding: 1.125rem 2.5rem;
  border: 2px solid rgba(45, 41, 38, 0.2);
  border-radius: 100px;
}

.btn--secondary:hover {
  border-color: var(--terracotta);
  color: var(--terracotta);
}

/* ===================================
   UTILITIES
   =================================== */
.text-center {
  text-align: center;
}

.mt-4 {
  margin-top: 1rem;
}

.mt-8 {
  margin-top: 2rem;
}

.mb-4 {
  margin-bottom: 1rem;
}

.mb-8 {
  margin-bottom: 2rem;
}

/* Material Icons */
.material-symbols-outlined {
  font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

/* ===================================
   ENHANCED ANIMATIONS
   =================================== */
@keyframes float {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-15px);
  }
}

@keyframes floatSlow {

  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }

  50% {
    transform: translateY(-20px) rotate(3deg);
  }
}

@keyframes floatDelayed {

  0%,
  100% {
    transform: translateY(0) scale(1);
  }

  50% {
    transform: translateY(-12px) scale(1.02);
  }
}

@keyframes shimmer {
  0% {
    background-position: -200% center;
  }

  100% {
    background-position: 200% center;
  }
}

@keyframes rotateGlow {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

@keyframes pulseGlow {

  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(195, 106, 77, 0.4);
    transform: scale(1);
  }

  50% {
    box-shadow: 0 0 30px 10px rgba(195, 106, 77, 0.2);
    transform: scale(1.02);
  }
}

@keyframes gradientShift {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-40px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(40px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Animation Classes */
.animate-float {
  animation: float 6s ease-in-out infinite;
}

.animate-float-slow {
  animation: floatSlow 8s ease-in-out infinite;
}

.animate-float-delayed {
  animation: floatDelayed 5s ease-in-out infinite;
  animation-delay: -2s;
}

.animate-pulse-glow {
  animation: pulseGlow 3s ease-in-out infinite;
}

.animate-rotate {
  animation: rotateGlow 20s linear infinite;
}

.animate-fade-in {
  animation: fadeInUp 0.8s var(--ease-out-expo) forwards;
}

.animate-scale-in {
  animation: scaleIn 0.8s var(--ease-out-expo) forwards;
}

/* Stagger Animation Delays */
.delay-1 {
  animation-delay: 0.1s;
}

.delay-2 {
  animation-delay: 0.2s;
}

.delay-3 {
  animation-delay: 0.3s;
}

.delay-4 {
  animation-delay: 0.4s;
}

.delay-5 {
  animation-delay: 0.5s;
}

.delay-6 {
  animation-delay: 0.6s;
}

/* ===================================
   FLOATING ORBS & DECORATIVE ELEMENTS
   =================================== */
.floating-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
}

.floating-orb--terracotta {
  background: linear-gradient(135deg, var(--terracotta) 0%, #e07a5f 100%);
  box-shadow: 0 15px 40px -10px rgba(195, 106, 77, 0.5);
}

.floating-orb--clay {
  background: linear-gradient(135deg, var(--soft-clay) 0%, #c4a98d 100%);
  box-shadow: 0 15px 40px -10px rgba(166, 142, 125, 0.4);
}

.floating-orb--cream {
  background: linear-gradient(135deg, var(--warm-cream) 0%, #f5ede0 100%);
  box-shadow: 0 15px 40px -10px rgba(255, 253, 249, 0.3);
}

/* Decorative Ring */
.deco-ring {
  position: absolute;
  border: 2px dashed rgba(195, 106, 77, 0.15);
  border-radius: 50%;
  pointer-events: none;
}

.deco-ring::before {
  content: '';
  position: absolute;
  top: -8px;
  left: 50%;
  width: 16px;
  height: 16px;
  background: var(--terracotta);
  border-radius: 50%;
  box-shadow: 0 0 20px rgba(195, 106, 77, 0.5);
}

/* Gradient Backgrounds */
.gradient-bg {
  position: relative;
}

.gradient-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 20%, rgba(195, 106, 77, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse at 70% 80%, rgba(166, 142, 125, 0.06) 0%, transparent 50%);
  pointer-events: none;
}

/* ===================================
   3D CARD EFFECTS
   =================================== */
.card-3d {
  transition: transform 0.6s var(--ease-out-expo), box-shadow 0.6s ease;
  transform-style: preserve-3d;
}

.card-3d:hover {
  transform: translateY(-12px) rotateX(2deg) rotateY(-2deg);
  box-shadow:
    0 40px 80px -30px rgba(45, 41, 38, 0.2),
    0 30px 60px -30px rgba(195, 106, 77, 0.15);
}

/* Icon Container 3D */
.icon-3d {
  width: 80px;
  height: 80px;
  background: var(--warm-cream);
  border-radius: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow:
    0 20px 40px -15px rgba(45, 41, 38, 0.15),
    inset 0 -2px 0 rgba(0, 0, 0, 0.05),
    inset 0 2px 0 rgba(255, 255, 255, 0.8);
  transform: perspective(500px) rotateX(5deg) rotateY(-5deg);
  transition: transform 0.5s var(--ease-out-expo);
}

.icon-3d:hover {
  transform: perspective(500px) rotateX(0deg) rotateY(0deg) translateY(-5px);
}

.icon-3d span {
  font-size: 2rem;
  color: var(--terracotta);
}


/* ===================================
   GRADIENT TEXT
   =================================== */
.gradient-text {
  background: linear-gradient(135deg, var(--terracotta) 0%, #e07a5f 50%, var(--soft-clay) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.gradient-text-animated {
  background: linear-gradient(90deg, var(--terracotta), #e07a5f, var(--soft-clay), var(--terracotta));
  background-size: 300% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientShift 8s ease infinite;
}

/* ===================================
   HERO VISUAL ENHANCEMENTS
   =================================== */
.hero-visual-container {
  position: relative;
  width: 100%;
  max-width: 500px;
  aspect-ratio: 1;
  margin: 0 auto;
}

.hero-main-shape {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 300px;
  height: 300px;
  background: linear-gradient(145deg, var(--terracotta) 0%, #e07a5f 50%, var(--soft-clay) 100%);
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  box-shadow:
    0 40px 80px -20px rgba(195, 106, 77, 0.4),
    inset 0 -10px 30px rgba(0, 0, 0, 0.1),
    inset 0 10px 30px rgba(255, 255, 255, 0.2);
  animation: floatSlow 8s ease-in-out infinite;
}

.hero-accent-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 400px;
  height: 400px;
  border: 2px dashed rgba(195, 106, 77, 0.2);
  border-radius: 50%;
  animation: rotateGlow 30s linear infinite;
}

.hero-accent-ring::before {
  content: '';
  position: absolute;
  top: -8px;
  left: 50%;
  width: 16px;
  height: 16px;
  background: var(--terracotta);
  border-radius: 50%;
  box-shadow: 0 0 20px rgba(195, 106, 77, 0.6);
}

/* ===================================
   RESPONSIVE
   =================================== */
@media (max-width: 1200px) {
  .nav {
    padding: 1.5rem 2rem;
    gap: 1rem;
  }

  .nav__logo {
    font-size: 1.5rem;
  }

  .nav__links,
  .nav__center {
    gap: clamp(0.5rem, 1.5vw, 1.5rem);
  }

  .nav__link {
    font-size: 0.65rem;
  }

  .nav__logo-subtitle {
    font-size: 0.55rem;
  }
}

@media (max-width: 1024px) {
  .nav__logo {
    font-size: 1.25rem;
  }

  .nav__links,
  .nav__center {
    gap: 0.6rem;
    padding-left: 180px;
    padding-right: 80px;
  }

  .nav__link {
    font-size: 0.55rem;
  }

  .nav__logo-subtitle {
    font-size: 0.5rem;
  }
}

@media (max-width: 900px) {

  .nav__links,
  .nav__center {
    display: none;
  }

  .nav__logo {
    font-size: 1.1rem;
  }

  .nav__logo-subtitle {
    font-size: 0.45rem;
  }
}

@media (max-width: 768px) {
  :root {
    --section-padding: 2rem;
    --nav-height: 60px;
  }

  .nav-dots {
    right: 1rem;
  }

  .hero {
    padding-top: calc(var(--nav-height) + 1rem);
  }

  .footer__bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 2rem;
  }

  .footer__status {
    align-items: flex-start;
  }

  .hero-main-shape {
    width: 200px;
    height: 200px;
  }

  .hero-accent-ring {
    width: 280px;
    height: 280px;
  }

  .floating-orb {
    transform: scale(0.7);
  }
}

/* ===================================
   GLOBAL FOOTER
   =================================== */
.footer {
  background: #1a2634;
  color: #faf8f5;
  padding: 4rem 2rem;
}

.footer__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(250, 248, 245, 0.1);
  flex-wrap: wrap;
  gap: 3rem;
  max-width: 1400px;
  margin: 0 auto;
}

.footer__brand {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer__logo {
  font-family: 'Fraunces', serif;
  font-size: 1.75rem;
  font-style: italic;
  color: #faf8f5;
  text-decoration: none;
}

.footer__columns {
  display: flex;
  gap: 4rem;
  flex-wrap: wrap;
}

.footer__column {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer__column-title {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #faf8f5;
  margin-bottom: 0.5rem;
}

.footer__link {
  font-size: 0.75rem;
  font-weight: 400;
  color: rgba(250, 248, 245, 0.7);
  text-decoration: none;
  transition: color 0.3s;
}

.footer__link:hover {
  color: #faf8f5;
}

.footer__tagline {
  text-align: right;
  max-width: 300px;
}

.footer__tagline-title {
  font-size: 0.85rem;
  color: rgba(250, 248, 245, 0.7);
  margin-bottom: 0.25rem;
}

.footer__tagline-text {
  font-size: 0.75rem;
  color: rgba(250, 248, 245, 0.4);
}

.footer__bottom {
  padding-top: 2rem;
  display: flex;
  justify-content: center;
  max-width: 1400px;
  margin: 0 auto;
}

.footer__copyright {
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(250, 248, 245, 0.4);
}

@media (max-width: 768px) {
  .footer__top {
    flex-direction: column;
  }

  .footer__tagline {
    text-align: left;
  }
}