/* ============================================
   SEW GIFTED LLC - Styles
   Fonts: Lora (headings) + Nunito (body) + Caveat (accent)
   Palette: Cream bg, Dusty Rose, Jewel Plum, Sage Green, Golden Thread
   ============================================ */

/* ---------- CSS Custom Properties ---------- */
:root {
  /* Colors */
  --cream: #FDF8F3;
  --cream-dark: #F5EDE4;
  --rose: #C4727E;
  --rose-light: #E8B4B8;
  --rose-pale: #F5E6E8;
  --rose-bg: rgba(196, 114, 126, 0.08);
  --plum: #7B4B6A;
  --plum-dark: #5C3750;
  --sage: #8BA888;
  --sage-light: #D5E4D0;
  --sage-dark: #6B8A66;
  --gold: #D4A843;
  --gold-light: #E8D5A0;
  --warm: #E8D5C4;
  --cocoa: #3B2A2E;
  --cocoa-light: #5C4548;
  --text: #3B2A2E;
  --text-light: #6B5558;
  --text-muted: #8B7578;
  --white: #FFFFFF;
  --border: rgba(196, 114, 126, 0.15);

  /* Typography */
  --font-display: 'Lora', Georgia, 'Times New Roman', serif;
  --font-body: 'Nunito', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-accent: 'Caveat', cursive;

  /* Spacing */
  --section-py: 100px;
  --container-px: 24px;
  --container-max: 1200px;

  /* Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 30px;
  --radius-full: 9999px;

  /* Transitions */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --duration: 0.3s;

  /* Nav */
  --nav-height: 72px;
  --nav-height-scrolled: 64px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: var(--nav-height);
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background-color: var(--cream);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

a {
  color: var(--rose);
  text-decoration: none;
  transition: color var(--duration) var(--ease);
}

a:hover {
  color: var(--plum);
}

/* Focus styles */
:focus-visible {
  outline: 2px solid var(--rose);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Selection */
::selection {
  background: var(--rose-light);
  color: var(--cocoa);
}

/* ---------- Utility ---------- */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-px);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* ---------- Scroll Animations ---------- */
.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .fade-up {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .hero__scroll,
  .floating-btn,
  .sewing-needle,
  .stitch-line,
  .thread-heart,
  .thread-path,
  .hero__swatch,
  .hero__orb {
    animation: none !important;
  }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1;
  border-radius: var(--radius-full);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--duration) var(--ease);
  white-space: nowrap;
  text-decoration: none;
}

.btn--primary {
  background: var(--rose);
  color: var(--white);
  border-color: var(--rose);
}

.btn--primary:hover {
  background: var(--plum);
  border-color: var(--plum);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(196, 114, 126, 0.3);
}

.btn--outline {
  background: transparent;
  color: var(--rose);
  border-color: var(--rose);
}

.btn--outline:hover {
  background: var(--rose);
  color: var(--white);
  transform: translateY(-2px);
}

.btn--white {
  background: var(--white);
  color: var(--plum);
  border-color: var(--white);
}

.btn--white:hover {
  background: var(--cream);
  border-color: var(--cream);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255, 255, 255, 0.2);
}

.btn--outline-white {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.4);
}

.btn--outline-white:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: var(--white);
  color: var(--white);
  transform: translateY(-2px);
}

.btn--full {
  width: 100%;
}

/* ---------- Section Shared ---------- */
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: var(--rose-bg);
  color: var(--rose);
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  border-radius: var(--radius-full);
  border: 1px dashed var(--rose-light);
  margin-bottom: 16px;
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 60px;
}

.section-heading {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 600;
  line-height: 1.2;
  color: var(--cocoa);
  margin-bottom: 16px;
}

.section-heading em {
  font-family: var(--font-accent);
  font-style: normal;
  color: var(--rose);
  font-size: 1.1em;
}

.section-description {
  font-size: 1.05rem;
  color: var(--text-light);
  line-height: 1.7;
}

.section-description--left {
  text-align: left;
}

/* ============================================
   NAVIGATION
   ============================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  background: rgba(253, 248, 243, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: all var(--duration) var(--ease);
}

.nav--scrolled {
  height: var(--nav-height-scrolled);
  background: rgba(253, 248, 243, 0.95);
  border-bottom-color: var(--border);
  box-shadow: 0 2px 20px rgba(59, 42, 46, 0.06);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--cocoa);
  flex-shrink: 0;
}

.nav__logo:hover {
  color: var(--cocoa);
}

.nav__logo-text {
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.nav__logo-name {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--cocoa);
  letter-spacing: -0.01em;
}

.nav__logo-sub {
  font-family: var(--font-accent);
  font-size: 1rem;
  color: var(--rose);
  font-weight: 500;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}

.nav__link {
  padding: 8px 16px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-light);
  text-decoration: none;
  border-radius: var(--radius-full);
  transition: all var(--duration) var(--ease);
}

.nav__link:hover {
  color: var(--rose);
  background: var(--rose-bg);
}

.nav__link--cta {
  background: var(--rose);
  color: var(--white) !important;
  margin-left: 8px;
  padding: 10px 24px;
}

.nav__link--cta:hover {
  background: var(--plum);
}

/* Hamburger */
.nav__hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  border-radius: var(--radius-sm);
  transition: background var(--duration) var(--ease);
}

.nav__hamburger:hover {
  background: var(--rose-bg);
}

.nav__hamburger-line {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--cocoa);
  border-radius: 2px;
  transition: all var(--duration) var(--ease);
}

.nav__hamburger[aria-expanded="true"] .nav__hamburger-line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav__hamburger[aria-expanded="true"] .nav__hamburger-line:nth-child(2) {
  opacity: 0;
}

.nav__hamburger[aria-expanded="true"] .nav__hamburger-line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: calc(var(--nav-height) + 40px);
  padding-bottom: 80px;
  overflow: hidden;
  background: linear-gradient(180deg, var(--cream) 0%, var(--rose-pale) 40%, var(--cream-dark) 100%);
}

.hero__bg-orbs {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.35;
}

.hero__orb--1 {
  width: 400px;
  height: 400px;
  background: var(--rose-light);
  top: 10%;
  left: -5%;
  animation: float 8s ease-in-out infinite;
}

.hero__orb--2 {
  width: 300px;
  height: 300px;
  background: var(--sage-light);
  top: 40%;
  right: -3%;
  animation: float 10s ease-in-out infinite 2s;
}

.hero__orb--3 {
  width: 250px;
  height: 250px;
  background: var(--gold-light);
  bottom: 10%;
  left: 30%;
  animation: float 7s ease-in-out infinite 1s;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0); }
  33% { transform: translate(15px, -20px); }
  66% { transform: translate(-10px, 15px); }
}

.hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(8px);
  color: var(--rose);
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  border: 1px dashed var(--rose-light);
  margin-bottom: 20px;
}

.hero__heading {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--cocoa);
  margin-bottom: 20px;
}

.hero__heading em {
  font-family: var(--font-accent);
  font-style: normal;
  color: var(--rose);
  font-size: 1.1em;
}

.hero__description {
  font-size: 1.1rem;
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 32px;
  max-width: 520px;
}

.hero__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* Hero Visual */
.hero__visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero__illustration {
  width: 100%;
  max-width: 400px;
  height: auto;
}

/* Sewing machine animation */
.sewing-needle {
  animation: needleBounce 0.6s ease-in-out infinite;
  transform-origin: center top;
}

@keyframes needleBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}

.stitch-line {
  animation: stitchGrow 2s linear infinite;
}

@keyframes stitchGrow {
  0% { stroke-dashoffset: 0; }
  100% { stroke-dashoffset: -28; }
}

.thread-heart {
  stroke-dasharray: 200;
  stroke-dashoffset: 200;
  animation: drawStroke 3s ease forwards;
}

.thread-path {
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
  animation: drawStroke 2s ease forwards 0.5s;
}

@keyframes drawStroke {
  to { stroke-dashoffset: 0; }
}

.floating-btn {
  animation: gentleBounce var(--dur, 4s) ease-in-out infinite;
  animation-delay: var(--delay, 0s);
}

@keyframes gentleBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* Floating Swatches */
.hero__swatch {
  position: absolute;
  z-index: 2;
}

.hero__swatch--1 {
  top: -5%;
  right: 5%;
  animation: swatchFloat 6s ease-in-out infinite;
}

.hero__swatch--2 {
  bottom: 15%;
  right: -5%;
  animation: swatchFloat 7s ease-in-out infinite 1s;
}

.hero__swatch--3 {
  bottom: 5%;
  left: -8%;
  animation: swatchFloat 5s ease-in-out infinite 2s;
}

@keyframes swatchFloat {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-12px) rotate(3deg); }
}

.swatch-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 6px;
  box-shadow: 0 8px 30px rgba(59, 42, 46, 0.1);
  width: 110px;
}

.swatch-card__img {
  width: 100%;
  height: 70px;
  border-radius: var(--radius-sm);
}

.swatch-card__label {
  display: block;
  text-align: center;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--text-light);
  padding: 6px 0 2px;
}

/* Stats Bar */
.hero__stats {
  position: relative;
  z-index: 1;
  margin-top: 60px;
}

.hero__stats-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding: 20px 32px;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(12px);
  border-radius: var(--radius-lg);
  border: 1px dashed var(--rose-light);
}

.hero__stat {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 28px;
}

.hero__stat-icon {
  color: var(--rose);
  display: flex;
  flex-shrink: 0;
}

.hero__stat-text {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--cocoa);
  white-space: nowrap;
}

.hero__stat-divider {
  width: 1px;
  height: 32px;
  background: var(--border);
  flex-shrink: 0;
}

/* Scroll Indicator */
.hero__scroll {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

.hero__scroll-line {
  width: 2px;
  height: 40px;
  background: var(--rose-light);
  border-radius: 2px;
  position: relative;
  overflow: hidden;
}

.hero__scroll-dot {
  width: 6px;
  height: 6px;
  background: var(--rose);
  border-radius: 50%;
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  animation: scrollDot 2s ease-in-out infinite;
}

@keyframes scrollDot {
  0% { top: 0; opacity: 0; }
  20% { opacity: 1; }
  80% { opacity: 1; }
  100% { top: 100%; opacity: 0; }
}

/* ============================================
   ABOUT
   ============================================ */
.about {
  padding: var(--section-py) 0;
  background: var(--white);
}

.about__grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: center;
}

.about__heading {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.6rem);
  font-weight: 600;
  line-height: 1.2;
  color: var(--cocoa);
  margin-bottom: 20px;
}

.about__heading em {
  font-family: var(--font-accent);
  font-style: normal;
  color: var(--rose);
  font-size: 1.1em;
}

.about__quote {
  font-family: var(--font-accent);
  font-size: 1.3rem;
  color: var(--plum);
  line-height: 1.5;
  padding-left: 20px;
  border-left: 3px dashed var(--rose-light);
  margin-bottom: 24px;
}

.about__text {
  font-size: 1rem;
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 16px;
}

.about__values {
  display: flex;
  gap: 20px;
  margin-top: 28px;
}

.about__value {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  background: var(--rose-bg);
  border-radius: var(--radius-full);
  border: 1px dashed var(--rose-light);
}

.about__value-icon {
  color: var(--rose);
  display: flex;
  flex-shrink: 0;
}

.about__value span {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--cocoa);
}

/* Owner Card */
.about__visual {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.about__owner-card {
  background: var(--cream);
  border-radius: var(--radius-lg);
  padding: 36px;
  text-align: center;
  border: 1px dashed var(--rose-light);
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 340px;
}

.about__owner-photo {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: var(--rose-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  border: 2px dashed var(--rose-light);
}

.about__owner-name {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--cocoa);
  margin-bottom: 4px;
}

.about__owner-title {
  font-family: var(--font-accent);
  font-size: 1rem;
  color: var(--rose);
  display: block;
  margin-bottom: 12px;
}

.about__owner-bio {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.6;
}

/* Emblem */
.about__emblem {
  position: absolute;
  bottom: -40px;
  right: -20px;
  opacity: 0.15;
  z-index: 0;
  pointer-events: none;
}

/* ============================================
   SERVICES
   ============================================ */
.services {
  padding: var(--section-py) 0;
  background: var(--cream);
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 32px;
  border: 1px solid var(--border);
  transition: all var(--duration) var(--ease);
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(196, 114, 126, 0.12);
  border-color: var(--rose-light);
}

.service-card__icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--rose-pale);
  color: var(--rose);
  border-radius: var(--radius-md);
  margin-bottom: 20px;
  transition: all var(--duration) var(--ease);
}

.service-card:hover .service-card__icon {
  background: var(--rose);
  color: var(--white);
}

.service-card__title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--cocoa);
  margin-bottom: 10px;
}

.service-card__description {
  font-size: 0.92rem;
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 16px;
}

.service-card__features {
  list-style: none;
  margin-bottom: 20px;
  flex-grow: 1;
}

.service-card__features li {
  font-size: 0.85rem;
  color: var(--text-muted);
  padding: 4px 0;
  padding-left: 20px;
  position: relative;
}

.service-card__features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 2px;
  background: var(--rose-light);
  border-radius: 1px;
}

.service-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--rose);
  transition: all var(--duration) var(--ease);
  margin-top: auto;
}

.service-card__cta:hover {
  gap: 10px;
  color: var(--plum);
}

/* ============================================
   GALLERY
   ============================================ */
.gallery {
  padding: var(--section-py) 0;
  background: var(--white);
}

.gallery__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 220px;
  gap: 16px;
}

.gallery__item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
}

.gallery__item--tall {
  grid-row: span 2;
}

.gallery__item--wide {
  grid-column: span 2;
}

.gallery__img {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.5s var(--ease);
}

.gallery__placeholder-icon {
  color: rgba(255, 255, 255, 0.6);
}

.gallery__item:hover .gallery__img {
  transform: scale(1.05);
}

.gallery__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(59, 42, 46, 0.8) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
  opacity: 0;
  transition: opacity var(--duration) var(--ease);
}

.gallery__item:hover .gallery__overlay {
  opacity: 1;
}

.gallery__tag {
  display: inline-block;
  padding: 4px 12px;
  background: var(--rose);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: var(--radius-full);
  margin-bottom: 6px;
  width: fit-content;
}

.gallery__caption {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--white);
}

/* ============================================
   PROCESS
   ============================================ */
.process {
  padding: var(--section-py) 0;
  background: var(--cream);
}

.process__timeline {
  position: relative;
  max-width: 640px;
  margin: 0 auto;
}

.process__line {
  position: absolute;
  left: 32px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--rose-light);
  border-radius: 2px;
}

.process__step {
  position: relative;
  padding-left: 84px;
  padding-bottom: 48px;
}

.process__step:last-child {
  padding-bottom: 0;
}

.process__number {
  position: absolute;
  left: 10px;
  top: 0;
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--rose-pale);
  color: var(--rose);
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 700;
  border-radius: 50%;
  border: 2px dashed var(--rose-light);
  z-index: 1;
  transition: all var(--duration) var(--ease);
}

.process__step:hover .process__number {
  background: var(--rose);
  color: var(--white);
  border-style: solid;
  border-color: var(--rose);
}

.process__card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 28px;
  border: 1px solid var(--border);
  transition: all var(--duration) var(--ease);
}

.process__step:hover .process__card {
  border-color: var(--rose-light);
  box-shadow: 0 8px 30px rgba(196, 114, 126, 0.08);
}

.process__title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--cocoa);
  margin-bottom: 8px;
}

.process__text {
  font-size: 0.92rem;
  color: var(--text-light);
  line-height: 1.7;
}

/* ============================================
   FEATURES / WHY US
   ============================================ */
.features {
  padding: var(--section-py) 0;
  background: var(--white);
}

.features__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.features__content {
  position: sticky;
  top: calc(var(--nav-height) + 24px);
}

.features__cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.feature-card {
  background: var(--cream);
  border-radius: var(--radius-md);
  padding: 28px;
  border: 1px dashed var(--rose-light);
  transition: all var(--duration) var(--ease);
}

.feature-card:hover {
  border-style: solid;
  border-color: var(--rose);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(196, 114, 126, 0.1);
}

.feature-card__number {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--rose-light);
  display: block;
  margin-bottom: 12px;
}

.feature-card:hover .feature-card__number {
  color: var(--rose);
}

.feature-card__title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--cocoa);
  margin-bottom: 8px;
}

.feature-card__text {
  font-size: 0.88rem;
  color: var(--text-light);
  line-height: 1.6;
}

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonials {
  padding: var(--section-py) 0;
  background: var(--cream);
}

.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 32px;
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  transition: all var(--duration) var(--ease);
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(196, 114, 126, 0.1);
}

.testimonial-card--featured {
  background: var(--cocoa);
  border-color: var(--cocoa);
}

.testimonial-card--featured .testimonial-card__quote {
  color: var(--cream);
}

.testimonial-card--featured .testimonial-card__name {
  color: var(--white);
}

.testimonial-card--featured .testimonial-card__location {
  color: var(--rose-light);
}

.testimonial-card__stars {
  display: flex;
  gap: 2px;
  margin-bottom: 16px;
}

.testimonial-card__quote {
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 20px;
  flex-grow: 1;
}

.testimonial-card__author {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
}

.testimonial-card__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--rose-pale);
  color: var(--rose);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.testimonial-card--featured .testimonial-card__avatar {
  background: var(--plum);
  color: var(--white);
}

.testimonial-card__name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--cocoa);
  display: block;
}

.testimonial-card__location {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ============================================
   CTA BANNER
   ============================================ */
.cta-banner {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--plum-dark) 0%, var(--rose) 50%, var(--plum) 100%);
  position: relative;
  overflow: hidden;
}

.cta-banner__pattern {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 20 L20 0 L40 20 L20 40Z' fill='none' stroke='rgba(255,255,255,0.06)' stroke-width='1'/%3E%3C/svg%3E");
  pointer-events: none;
}

.cta-banner__inner {
  text-align: center;
  position: relative;
  z-index: 1;
  max-width: 640px;
  margin: 0 auto;
}

.cta-banner__heading {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 16px;
  line-height: 1.2;
}

.cta-banner__heading em {
  font-family: var(--font-accent);
  font-style: normal;
  color: var(--gold-light);
  font-size: 1.1em;
}

.cta-banner__text {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.7;
  margin-bottom: 32px;
}

.cta-banner__actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================================
   CONTACT
   ============================================ */
.contact {
  padding: var(--section-py) 0;
  background: var(--white);
}

.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 40px;
  align-items: start;
}

.contact__info {
  position: sticky;
  top: calc(var(--nav-height) + 24px);
}

.contact__info-inner {
  background: var(--cocoa);
  border-radius: var(--radius-lg);
  padding: 36px;
  color: var(--cream);
}

.contact__info-heading {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 28px;
}

.contact__detail {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
}

.contact__detail-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(196, 114, 126, 0.15);
  color: var(--rose-light);
  border-radius: var(--radius-sm);
  flex-shrink: 0;
}

.contact__detail strong {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 2px;
}

.contact__detail p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.5;
}

.contact__detail a {
  color: var(--rose-light);
}

.contact__detail a:hover {
  color: var(--white);
}

/* Service Areas */
.contact__areas {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.contact__areas strong {
  display: block;
  font-size: 0.85rem;
  color: var(--white);
  margin-bottom: 12px;
}

.contact__area-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.area-tag {
  padding: 6px 14px;
  background: rgba(196, 114, 126, 0.12);
  color: var(--rose-light);
  font-size: 0.78rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  transition: all var(--duration) var(--ease);
  border: 1px solid rgba(196, 114, 126, 0.2);
}

.area-tag:hover {
  background: var(--rose);
  color: var(--white);
  border-color: var(--rose);
}

/* Map Placeholder */
.contact__map {
  margin-top: 24px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-md);
  border: 1px dashed rgba(255, 255, 255, 0.15);
  padding: 32px;
}

.contact__map-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.85rem;
}

/* Contact Form */
.contact__form-wrap {
  background: var(--cream);
  border-radius: var(--radius-lg);
  padding: 36px;
  border: 1px solid var(--border);
}

.contact__form-heading {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--cocoa);
  margin-bottom: 28px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

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

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--cocoa);
  margin-bottom: 6px;
}

.form-optional {
  font-weight: 400;
  color: var(--text-muted);
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 12px 16px;
  font-family: var(--font-body);
  font-size: 0.92rem;
  color: var(--text);
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  transition: all var(--duration) var(--ease);
  -webkit-appearance: none;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--rose);
  box-shadow: 0 0 0 3px rgba(196, 114, 126, 0.12);
}

.form-input.error,
.form-select.error,
.form-textarea.error {
  border-color: #e53e3e;
}

.form-error {
  display: block;
  font-size: 0.78rem;
  color: #e53e3e;
  margin-top: 4px;
  min-height: 0;
}

.form-select {
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236B5558' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' xmlns='http://www.w3.org/2000/svg'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
  cursor: pointer;
}

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

/* Submit Button Loading */
.btn__loading {
  display: none;
}

.btn--loading .btn__text {
  display: none;
}

.btn--loading .btn__loading {
  display: flex;
}

.spinner {
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Success Message */
.form-success {
  display: none;
  text-align: center;
  padding: 32px;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  color: var(--sage-dark);
}

.form-success.show {
  display: flex;
}

.form-success svg {
  color: var(--sage);
}

.form-success strong {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--cocoa);
}

.form-success p {
  font-size: 0.92rem;
  color: var(--text-light);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--cocoa);
  color: var(--cream);
  padding: 64px 0 0;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  margin-bottom: 16px;
}

.footer__logo-text {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--white);
}

.footer__logo-text span {
  font-family: var(--font-accent);
  font-size: 0.9rem;
  color: var(--rose-light);
  margin-left: 4px;
}

.footer__tagline {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.6;
  margin-bottom: 20px;
}

.footer__social {
  display: flex;
  gap: 12px;
}

.footer__social-link {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.6);
  border-radius: var(--radius-sm);
  transition: all var(--duration) var(--ease);
}

.footer__social-link:hover {
  background: var(--rose);
  color: var(--white);
}

.footer__heading {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 20px;
}

.footer__links {
  list-style: none;
}

.footer__links li {
  margin-bottom: 10px;
}

.footer__links a {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.6);
  transition: color var(--duration) var(--ease);
}

.footer__links a:hover {
  color: var(--rose-light);
}

.footer__links--contact li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.5;
}

.footer__links--contact svg {
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--rose-light);
}

.footer__bottom {
  padding: 24px 0;
}

.footer__bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer__copyright {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.5);
}

.footer__registration {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.4);
  font-style: italic;
}

.footer__legal {
  display: flex;
  gap: 20px;
}

.footer__legal a {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.5);
}

.footer__legal a:hover {
  color: var(--rose-light);
}

/* ============================================
   BACK TO TOP
   ============================================ */
.back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--rose);
  color: var(--white);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: all var(--duration) var(--ease);
  z-index: 900;
  box-shadow: 0 4px 16px rgba(196, 114, 126, 0.3);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--plum);
  transform: translateY(-4px);
}

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

/* Tablet */
@media (max-width: 1024px) {
  :root {
    --section-py: 80px;
  }

  .hero__inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }

  .hero__description {
    max-width: 100%;
  }

  .hero__actions {
    justify-content: center;
  }

  .hero__visual {
    order: -1;
  }

  .hero__illustration {
    max-width: 300px;
  }

  .hero__swatch--1 {
    top: 0%;
    right: 0%;
  }

  .hero__swatch--2 {
    bottom: 5%;
    right: 0%;
  }

  .hero__swatch--3 {
    display: none;
  }

  .hero__stats-inner {
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
  }

  .hero__stat {
    padding: 8px 16px;
  }

  .hero__stat-divider {
    display: none;
  }

  .about__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about__visual {
    order: -1;
  }

  .about__values {
    flex-wrap: wrap;
  }

  .services__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery__grid {
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 200px;
  }

  .gallery__item--wide {
    grid-column: span 2;
  }

  .features__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .features__content {
    position: static;
    text-align: center;
  }

  .features__cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .section-description--left {
    text-align: center;
  }

  .testimonials__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .testimonials__grid .testimonial-card:last-child {
    grid-column: span 2;
  }

  .contact__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .contact__info {
    position: static;
  }

  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .footer__brand {
    grid-column: span 2;
  }
}

/* Mobile */
@media (max-width: 640px) {
  :root {
    --section-py: 64px;
    --container-px: 20px;
    --nav-height: 64px;
    --nav-height-scrolled: 58px;
  }

  .nav__hamburger {
    display: flex;
  }

  .nav__links {
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(253, 248, 243, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all var(--duration) var(--ease);
  }

  .nav__links.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .nav__link {
    font-size: 1.1rem;
    padding: 14px 24px;
  }

  .nav__link--cta {
    margin-left: 0;
    margin-top: 8px;
  }

  .hero {
    padding-top: calc(var(--nav-height) + 24px);
    padding-bottom: 60px;
  }

  .hero__heading {
    font-size: clamp(2rem, 7vw, 2.8rem);
  }

  .hero__illustration {
    max-width: 260px;
  }

  .hero__swatch {
    display: none;
  }

  .hero__stats-inner {
    padding: 16px 20px;
    flex-direction: column;
    gap: 12px;
  }

  .services__grid {
    grid-template-columns: 1fr;
  }

  .gallery__grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 180px;
  }

  .gallery__item--tall {
    grid-row: span 2;
  }

  .gallery__item--wide {
    grid-column: span 2;
  }

  .process__step {
    padding-left: 70px;
  }

  .process__line {
    left: 26px;
  }

  .process__number {
    left: 4px;
    width: 42px;
    height: 42px;
    font-size: 0.85rem;
  }

  .features__cards {
    grid-template-columns: 1fr;
  }

  .testimonials__grid {
    grid-template-columns: 1fr;
  }

  .testimonials__grid .testimonial-card:last-child {
    grid-column: span 1;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .contact__form-wrap {
    padding: 24px;
  }

  .contact__info-inner {
    padding: 28px;
  }

  .footer__grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer__brand {
    grid-column: span 1;
  }

  .footer__bottom-inner {
    flex-direction: column;
    text-align: center;
  }

  .cta-banner__actions {
    flex-direction: column;
    align-items: center;
  }

  .about__quote {
    font-size: 1.1rem;
  }

  .about__values {
    flex-direction: column;
    gap: 12px;
  }

  .back-to-top {
    bottom: 20px;
    right: 20px;
    width: 44px;
    height: 44px;
  }
}

/* ---------- Print Styles ---------- */
@media print {
  .nav,
  .hero__scroll,
  .cta-banner,
  .back-to-top,
  .hero__bg-orbs,
  .hero__swatch,
  .about__emblem,
  .contact__form-wrap {
    display: none !important;
  }

  body {
    background: white;
    color: black;
    font-size: 12pt;
  }

  .hero {
    min-height: auto;
    padding: 40px 0;
  }

  a {
    color: black;
    text-decoration: underline;
  }
}
