/* ============================================
   ClearView Grills — Design System & Styles
   Aesthetic: Warm & Organic
   ============================================ */

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500&family=Inter:wght@300;400;500;600;700&display=swap');

/* --- CSS Custom Properties --- */
:root {
  /* Colors */
  --clr-primary: #8B7D6B;
  --clr-primary-dark: #6B5D4B;
  --clr-primary-light: #A89888;
  --clr-sage: #A3B18A;
  --clr-sage-dark: #7A8E65;
  --clr-sage-light: #DAD7CD;
  --clr-charcoal: #2D2D2D;
  --clr-charcoal-light: #3D3D3D;
  --clr-sienna: #C67B5C;
  --clr-gold: #D4A574;
  --clr-gold-light: #E8CBA8;
  --clr-bg: #FAF8F5;
  --clr-bg-warm: #F5F0E8;
  --clr-bg-dark: #1A1A1A;
  --clr-white: #FFFFFF;
  --clr-text: #2D2D2D;
  --clr-text-light: #6B6B6B;
  --clr-text-muted: #999999;
  --clr-border: #E8E2D8;
  --clr-overlay: rgba(45, 45, 45, 0.7);
  --clr-overlay-light: rgba(45, 45, 45, 0.4);

  /* Typography */
  --ff-heading: 'Playfair Display', Georgia, serif;
  --ff-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  --fs-xs: 0.75rem;
  --fs-sm: 0.875rem;
  --fs-base: 1rem;
  --fs-md: 1.125rem;
  --fs-lg: 1.25rem;
  --fs-xl: 1.5rem;
  --fs-2xl: 2rem;
  --fs-3xl: 2.5rem;
  --fs-4xl: 3.25rem;
  --fs-5xl: 4rem;

  --fw-light: 300;
  --fw-regular: 400;
  --fw-medium: 500;
  --fw-semibold: 600;
  --fw-bold: 700;

  --lh-tight: 1.2;
  --lh-snug: 1.35;
  --lh-normal: 1.6;
  --lh-relaxed: 1.8;

  --ls-tight: -0.02em;
  --ls-normal: 0;
  --ls-wide: 0.05em;
  --ls-wider: 0.1em;
  --ls-widest: 0.2em;

  /* Spacing */
  --sp-xs: 0.25rem;
  --sp-sm: 0.5rem;
  --sp-md: 1rem;
  --sp-lg: 1.5rem;
  --sp-xl: 2rem;
  --sp-2xl: 3rem;
  --sp-3xl: 4rem;
  --sp-4xl: 6rem;
  --sp-5xl: 8rem;

  /* Borders & Radii */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 20px;
  --radius-2xl: 32px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 30px rgba(0,0,0,0.1);
  --shadow-xl: 0 16px 50px rgba(0,0,0,0.14);
  --shadow-card: 0 4px 20px rgba(139,125,107,0.12);
  --shadow-card-hover: 0 12px 40px rgba(139,125,107,0.2);

  /* Transitions */
  --tr-fast: 150ms ease;
  --tr-base: 300ms ease;
  --tr-slow: 500ms ease;
  --tr-spring: 500ms cubic-bezier(0.175, 0.885, 0.32, 1.275);

  /* Layout */
  --max-width: 1200px;
  --max-width-narrow: 800px;
  --nav-height: 80px;
}

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

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

body {
  font-family: var(--ff-body);
  font-size: var(--fs-base);
  font-weight: var(--fw-regular);
  line-height: var(--lh-normal);
  color: var(--clr-text);
  background-color: var(--clr-bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

ul, ol {
  list-style: none;
}

button, input, textarea, select {
  font: inherit;
  color: inherit;
  border: none;
  outline: none;
  background: none;
}

button {
  cursor: pointer;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--ff-heading);
  font-weight: var(--fw-semibold);
  line-height: var(--lh-tight);
  letter-spacing: var(--ls-tight);
}

/* --- Utility Classes --- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--sp-xl);
}

.container--narrow {
  max-width: var(--max-width-narrow);
}

.section {
  padding: var(--sp-5xl) 0;
  position: relative;
}

.section-label {
  font-family: var(--ff-body);
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  letter-spacing: var(--ls-widest);
  text-transform: uppercase;
  color: var(--clr-sage-dark);
  margin-bottom: var(--sp-md);
  display: flex;
  align-items: center;
  gap: var(--sp-sm);
}

.section-label::before {
  content: '';
  width: 30px;
  height: 2px;
  background: var(--clr-sage);
  display: inline-block;
}

.section-title {
  font-size: var(--fs-4xl);
  color: var(--clr-charcoal);
  margin-bottom: var(--sp-lg);
}

.section-subtitle {
  font-size: var(--fs-lg);
  color: var(--clr-text-light);
  max-width: 600px;
  line-height: var(--lh-relaxed);
}

.text-center {
  text-align: center;
}

.text-center .section-subtitle {
  margin: 0 auto;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-sm);
  padding: 14px 32px;
  border-radius: var(--radius-full);
  font-family: var(--ff-body);
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  letter-spacing: var(--ls-wide);
  text-transform: uppercase;
  transition: all var(--tr-base);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}

.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.15);
  transform: translateX(-100%);
  transition: transform var(--tr-base);
}

.btn:hover::after {
  transform: translateX(0);
}

.btn--primary {
  background: var(--clr-charcoal);
  color: var(--clr-white);
}

.btn--primary:hover {
  background: var(--clr-charcoal-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn--outline {
  border: 2px solid var(--clr-charcoal);
  color: var(--clr-charcoal);
}

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

.btn--gold {
  background: linear-gradient(135deg, var(--clr-gold), var(--clr-sienna));
  color: var(--clr-white);
}

.btn--gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(212, 165, 116, 0.4);
}

.btn--white {
  background: var(--clr-white);
  color: var(--clr-charcoal);
}

.btn--white:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn--sm {
  padding: 10px 22px;
  font-size: var(--fs-xs);
}

/* ============================================
   NAVBAR
   ============================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  z-index: 1000;
  transition: all var(--tr-base);
  display: flex;
  align-items: center;
}

.navbar.scrolled {
  background: rgba(250, 248, 245, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 2px 20px rgba(0,0,0,0.06);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-family: var(--ff-heading);
  font-size: var(--fs-xl);
  font-weight: var(--fw-bold);
  color: var(--clr-white);
  transition: color var(--tr-base);
  display: flex;
  align-items: center;
  gap: var(--sp-sm);
}

.nav-logo .logo-accent {
  color: var(--clr-gold);
}

.navbar.scrolled .nav-logo {
  color: var(--clr-charcoal);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--sp-2xl);
}

.nav-link {
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
  color: rgba(255,255,255,0.85);
  letter-spacing: var(--ls-wide);
  text-transform: uppercase;
  transition: color var(--tr-base);
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--clr-gold);
  transition: width var(--tr-base);
}

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

.navbar.scrolled .nav-link {
  color: var(--clr-text-light);
}

.navbar.scrolled .nav-link:hover {
  color: var(--clr-charcoal);
}

.nav-cta {
  padding: 10px 24px;
  border: 2px solid rgba(255,255,255,0.6);
  border-radius: var(--radius-full);
  color: var(--clr-white);
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  letter-spacing: var(--ls-wide);
  text-transform: uppercase;
  transition: all var(--tr-base);
}

.nav-cta:hover {
  background: var(--clr-white);
  color: var(--clr-charcoal);
  border-color: var(--clr-white);
}

.navbar.scrolled .nav-cta {
  border-color: var(--clr-charcoal);
  color: var(--clr-charcoal);
}

.navbar.scrolled .nav-cta:hover {
  background: var(--clr-charcoal);
  color: var(--clr-white);
}

/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  z-index: 1001;
  padding: 4px;
}

.nav-hamburger span {
  display: block;
  width: 28px;
  height: 2px;
  background: var(--clr-white);
  transition: all var(--tr-base);
  border-radius: 2px;
}

.navbar.scrolled .nav-hamburger span {
  background: var(--clr-charcoal);
}

.nav-hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.nav-hamburger.active span:nth-child(2) {
  opacity: 0;
}

.nav-hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  position: relative;
  height: 100vh;
  min-height: 700px;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #2D2D2D 0%, #4A3F35 30%, #6B5D4B 60%, #8B7D6B 100%);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--clr-overlay-light);
  z-index: 1;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Decorative organic shapes */
.hero-shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.06;
  z-index: 0;
}

.hero-shape--1 {
  width: 600px;
  height: 600px;
  background: var(--clr-gold);
  top: -200px;
  right: -150px;
}

.hero-shape--2 {
  width: 400px;
  height: 400px;
  background: var(--clr-sage);
  bottom: -100px;
  left: -100px;
}

.hero-shape--3 {
  width: 200px;
  height: 200px;
  background: var(--clr-sienna);
  top: 40%;
  left: 20%;
}

.hero-content {
  position: relative;
  z-index: 2;
  color: var(--clr-white);
  max-width: 700px;
}

.hero-label {
  font-family: var(--ff-body);
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  letter-spacing: var(--ls-widest);
  text-transform: uppercase;
  color: var(--clr-gold-light);
  margin-bottom: var(--sp-lg);
  display: flex;
  align-items: center;
  gap: var(--sp-sm);
}

.hero-label::before {
  content: '';
  width: 40px;
  height: 1px;
  background: var(--clr-gold);
}

.hero-title {
  font-size: var(--fs-5xl);
  font-weight: var(--fw-bold);
  line-height: 1.1;
  margin-bottom: var(--sp-xl);
  letter-spacing: -0.03em;
}

.hero-title .highlight {
  color: var(--clr-gold-light);
  font-style: italic;
}

.hero-description {
  font-size: var(--fs-lg);
  color: rgba(255,255,255,0.8);
  line-height: var(--lh-relaxed);
  margin-bottom: var(--sp-2xl);
  max-width: 520px;
}

.hero-buttons {
  display: flex;
  gap: var(--sp-lg);
  flex-wrap: wrap;
}

.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-sm);
  color: rgba(255,255,255,0.5);
  font-size: var(--fs-xs);
  letter-spacing: var(--ls-wider);
  text-transform: uppercase;
  animation: float 3s ease-in-out infinite;
}

.hero-scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.5), transparent);
}

@keyframes float {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(-10px); }
}

/* ============================================
   ABOUT SECTION
   ============================================ */
.about {
  background: var(--clr-bg);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-4xl);
  align-items: center;
}

.about-image {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 4/5;
  background: linear-gradient(135deg, var(--clr-sage-light) 0%, var(--clr-primary-light) 100%);
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-image-accent {
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 120px;
  height: 120px;
  background: var(--clr-gold);
  border-radius: 50%;
  opacity: 0.2;
  z-index: -1;
}

.about-text p {
  color: var(--clr-text-light);
  margin-bottom: var(--sp-lg);
  line-height: var(--lh-relaxed);
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-xl);
  margin-top: var(--sp-2xl);
  padding-top: var(--sp-2xl);
  border-top: 1px solid var(--clr-border);
}

.stat {
  text-align: center;
}

.stat-number {
  font-family: var(--ff-heading);
  font-size: var(--fs-3xl);
  font-weight: var(--fw-bold);
  color: var(--clr-charcoal);
  line-height: 1;
  margin-bottom: var(--sp-xs);
}

.stat-number .stat-suffix {
  color: var(--clr-gold);
}

.stat-label {
  font-size: var(--fs-sm);
  color: var(--clr-text-muted);
  letter-spacing: var(--ls-wide);
  text-transform: uppercase;
}

/* ============================================
   SERVICES SECTION
   ============================================ */
.services {
  background: var(--clr-bg-warm);
  position: relative;
}

.services::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--clr-border), transparent);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-xl);
  margin-top: var(--sp-3xl);
}

.service-card {
  background: var(--clr-white);
  border-radius: var(--radius-lg);
  padding: var(--sp-2xl);
  transition: all var(--tr-slow);
  position: relative;
  overflow: hidden;
  border: 1px solid var(--clr-border);
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(to right, var(--clr-gold), var(--clr-sienna));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--tr-slow);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-card-hover);
  border-color: transparent;
}

.service-icon {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-lg);
  background: var(--clr-bg-warm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin-bottom: var(--sp-lg);
  transition: all var(--tr-base);
}

.service-card:hover .service-icon {
  background: linear-gradient(135deg, var(--clr-gold), var(--clr-sienna));
  transform: scale(1.1);
}

.service-card:hover .service-icon svg {
  stroke: white;
}

.service-icon svg {
  width: 28px;
  height: 28px;
  stroke: var(--clr-primary);
  stroke-width: 1.5;
  fill: none;
  transition: stroke var(--tr-base);
}

.service-card h3 {
  font-size: var(--fs-xl);
  color: var(--clr-charcoal);
  margin-bottom: var(--sp-md);
}

.service-card p {
  color: var(--clr-text-light);
  font-size: var(--fs-sm);
  line-height: var(--lh-relaxed);
  margin-bottom: var(--sp-lg);
}

.service-link {
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  color: var(--clr-primary);
  display: inline-flex;
  align-items: center;
  gap: var(--sp-xs);
  transition: all var(--tr-base);
}

.service-link:hover {
  color: var(--clr-sienna);
  gap: var(--sp-sm);
}

.service-link svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
  transition: transform var(--tr-base);
}

.service-link:hover svg {
  transform: translateX(4px);
}

/* ============================================
   PORTFOLIO SECTION
   ============================================ */
.portfolio {
  background: var(--clr-bg);
}

.portfolio-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: var(--sp-3xl);
  flex-wrap: wrap;
  gap: var(--sp-xl);
}

.portfolio-filters {
  display: flex;
  gap: var(--sp-sm);
  flex-wrap: wrap;
}

.filter-btn {
  padding: 8px 20px;
  border-radius: var(--radius-full);
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
  color: var(--clr-text-light);
  border: 1px solid var(--clr-border);
  transition: all var(--tr-base);
  cursor: pointer;
}

.filter-btn:hover {
  border-color: var(--clr-primary);
  color: var(--clr-primary);
}

.filter-btn.active {
  background: var(--clr-charcoal);
  color: var(--clr-white);
  border-color: var(--clr-charcoal);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-xl);
}

.portfolio-item {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, var(--clr-sage-light) 0%, var(--clr-bg-warm) 100%);
  cursor: pointer;
  transition: all var(--tr-slow);
}

.portfolio-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--tr-slow);
}

.portfolio-item:hover img {
  transform: scale(1.05);
}

.portfolio-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(45,45,45,0.9) 0%, transparent 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: var(--sp-xl);
  opacity: 0;
  transition: opacity var(--tr-base);
}

.portfolio-item:hover .portfolio-overlay {
  opacity: 1;
}

.portfolio-overlay h4 {
  color: var(--clr-white);
  font-size: var(--fs-lg);
  margin-bottom: var(--sp-xs);
}

.portfolio-overlay span {
  color: var(--clr-gold-light);
  font-size: var(--fs-sm);
}

/* Before/After Slider */
.ba-section {
  margin-top: var(--sp-4xl);
}

.ba-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-2xl);
  margin-top: var(--sp-2xl);
}

.ba-slider {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 16/10;
  cursor: ew-resize;
  background: var(--clr-bg-warm);
  user-select: none;
  -webkit-user-select: none;
}

.ba-slider img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ba-slider .ba-before {
  z-index: 1;
  clip-path: inset(0 50% 0 0);
}

.ba-slider .ba-after {
  z-index: 0;
}

.ba-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 4px;
  background: var(--clr-white);
  z-index: 3;
  transform: translateX(-50%);
  box-shadow: 0 0 10px rgba(0,0,0,0.3);
}

.ba-handle::before {
  content: '⟨ ⟩';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
  background: var(--clr-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: var(--clr-charcoal);
  box-shadow: var(--shadow-lg);
  letter-spacing: 4px;
}

.ba-label {
  position: absolute;
  top: var(--sp-md);
  z-index: 4;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  letter-spacing: var(--ls-wide);
  text-transform: uppercase;
}

.ba-label--before {
  left: var(--sp-md);
  background: rgba(45,45,45,0.8);
  color: var(--clr-white);
}

.ba-label--after {
  right: var(--sp-md);
  background: rgba(163,177,138,0.9);
  color: var(--clr-white);
}

/* ============================================
   TESTIMONIALS SECTION
   ============================================ */
.testimonials {
  background: var(--clr-charcoal);
  color: var(--clr-white);
  position: relative;
  overflow: hidden;
}

.testimonials::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: var(--clr-gold);
  opacity: 0.04;
}

.testimonials .section-label {
  color: var(--clr-gold-light);
}

.testimonials .section-label::before {
  background: var(--clr-gold);
}

.testimonials .section-title {
  color: var(--clr-white);
}

.testimonials .section-subtitle {
  color: rgba(255,255,255,0.6);
}

.testimonial-carousel {
  margin-top: var(--sp-3xl);
  position: relative;
}

.testimonial-track {
  display: flex;
  transition: transform var(--tr-slow);
}

.testimonial-card {
  min-width: 100%;
  padding: 0 var(--sp-xl);
}

.testimonial-card-inner {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-xl);
  padding: var(--sp-3xl);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--sp-2xl);
  align-items: start;
  max-width: 800px;
  margin: 0 auto;
}

.testimonial-quote-icon {
  font-size: 48px;
  color: var(--clr-gold);
  font-family: var(--ff-heading);
  line-height: 1;
  opacity: 0.6;
}

.testimonial-stars {
  display: flex;
  gap: 4px;
  margin-bottom: var(--sp-lg);
}

.testimonial-stars span {
  color: var(--clr-gold);
  font-size: 18px;
}

.testimonial-text {
  font-size: var(--fs-lg);
  line-height: var(--lh-relaxed);
  color: rgba(255,255,255,0.85);
  margin-bottom: var(--sp-xl);
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: var(--sp-md);
}

.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--clr-gold), var(--clr-sienna));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: var(--fw-bold);
  font-size: var(--fs-lg);
}

.testimonial-author-info h4 {
  font-family: var(--ff-body);
  font-size: var(--fs-base);
  font-weight: var(--fw-semibold);
  margin-bottom: 2px;
}

.testimonial-author-info span {
  font-size: var(--fs-sm);
  color: rgba(255,255,255,0.5);
}

.testimonial-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-xl);
  margin-top: var(--sp-2xl);
}

.testimonial-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--tr-base);
  color: var(--clr-white);
}

.testimonial-btn:hover {
  background: var(--clr-gold);
  border-color: var(--clr-gold);
}

.testimonial-btn svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
}

.testimonial-dots {
  display: flex;
  gap: var(--sp-sm);
}

.testimonial-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  cursor: pointer;
  transition: all var(--tr-base);
}

.testimonial-dot.active {
  background: var(--clr-gold);
  width: 24px;
  border-radius: 4px;
}

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact {
  background: var(--clr-bg);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-3xl);
  margin-top: var(--sp-3xl);
}

.contact-tabs {
  display: flex;
  gap: var(--sp-sm);
  margin-bottom: var(--sp-xl);
}

.contact-tab {
  padding: 12px 24px;
  border-radius: var(--radius-full);
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  color: var(--clr-text-light);
  border: 1px solid var(--clr-border);
  transition: all var(--tr-base);
  cursor: pointer;
}

.contact-tab.active {
  background: var(--clr-charcoal);
  color: var(--clr-white);
  border-color: var(--clr-charcoal);
}

.contact-tab:hover:not(.active) {
  border-color: var(--clr-primary);
  color: var(--clr-primary);
}

.contact-panel {
  display: none;
}

.contact-panel.active {
  display: block;
  animation: fadeIn 0.4s ease;
}

/* Booking Form */
.form-group {
  margin-bottom: var(--sp-lg);
}

.form-group label {
  display: block;
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
  color: var(--clr-charcoal);
  margin-bottom: var(--sp-sm);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-md);
  font-size: var(--fs-base);
  transition: all var(--tr-base);
  background: var(--clr-white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--clr-primary);
  box-shadow: 0 0 0 3px rgba(139,125,107,0.15);
}

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

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-lg);
}

.form-error {
  font-size: var(--fs-xs);
  color: var(--clr-sienna);
  margin-top: var(--sp-xs);
  display: none;
}

.form-group.error .form-error {
  display: block;
}

.form-group.error input,
.form-group.error select,
.form-group.error textarea {
  border-color: var(--clr-sienna);
}

.form-success {
  background: var(--clr-sage-light);
  border: 1px solid var(--clr-sage);
  border-radius: var(--radius-md);
  padding: var(--sp-lg);
  text-align: center;
  color: var(--clr-sage-dark);
  font-weight: var(--fw-medium);
  display: none;
}

.form-success.show {
  display: block;
  animation: fadeIn 0.4s ease;
}

/* Contact Info Sidebar */
.contact-info {
  background: var(--clr-charcoal);
  border-radius: var(--radius-xl);
  padding: var(--sp-3xl);
  color: var(--clr-white);
  display: flex;
  flex-direction: column;
  gap: var(--sp-2xl);
}

.contact-info h3 {
  font-size: var(--fs-2xl);
  margin-bottom: var(--sp-md);
}

.contact-info p {
  color: rgba(255,255,255,0.6);
  line-height: var(--lh-relaxed);
}

.contact-info-item {
  display: flex;
  gap: var(--sp-lg);
  align-items: flex-start;
}

.contact-info-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-info-icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--clr-gold);
  stroke-width: 1.5;
  fill: none;
}

.contact-info-item h4 {
  font-family: var(--ff-body);
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  letter-spacing: var(--ls-wide);
  text-transform: uppercase;
  color: var(--clr-gold-light);
  margin-bottom: var(--sp-xs);
}

.contact-info-item p {
  font-size: var(--fs-sm);
  color: rgba(255,255,255,0.7);
  line-height: var(--lh-normal);
}

.contact-socials {
  display: flex;
  gap: var(--sp-md);
  margin-top: auto;
  padding-top: var(--sp-xl);
  border-top: 1px solid rgba(255,255,255,0.1);
}

.contact-social-link {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--tr-base);
}

.contact-social-link:hover {
  background: var(--clr-gold);
  border-color: var(--clr-gold);
}

.contact-social-link svg {
  width: 18px;
  height: 18px;
  fill: var(--clr-white);
}

/* ============================================
   CALCULATOR SECTION
   ============================================ */
.calculator-panel {
  min-height: 400px;
}

.calc-progress {
  display: flex;
  align-items: center;
  gap: var(--sp-sm);
  margin-bottom: var(--sp-2xl);
}

.calc-progress-step {
  display: flex;
  align-items: center;
  gap: var(--sp-sm);
}

.calc-progress-num {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid var(--clr-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--fs-xs);
  font-weight: var(--fw-bold);
  color: var(--clr-text-muted);
  transition: all var(--tr-base);
}

.calc-progress-step.active .calc-progress-num {
  background: var(--clr-charcoal);
  color: var(--clr-white);
  border-color: var(--clr-charcoal);
}

.calc-progress-step.done .calc-progress-num {
  background: var(--clr-sage);
  color: var(--clr-white);
  border-color: var(--clr-sage);
}

.calc-progress-label {
  font-size: var(--fs-xs);
  color: var(--clr-text-muted);
  display: none;
}

.calc-progress-step.active .calc-progress-label {
  display: block;
  color: var(--clr-charcoal);
  font-weight: var(--fw-semibold);
}

.calc-progress-line {
  flex: 1;
  height: 2px;
  background: var(--clr-border);
  max-width: 40px;
}

.calc-progress-step.done + .calc-progress-line {
  background: var(--clr-sage);
}

.calc-step {
  display: none;
  animation: fadeSlideUp 0.4s ease;
}

.calc-step.active {
  display: block;
}

.calc-step h3 {
  font-size: var(--fs-xl);
  margin-bottom: var(--sp-sm);
  color: var(--clr-charcoal);
}

.calc-step p {
  font-size: var(--fs-sm);
  color: var(--clr-text-light);
  margin-bottom: var(--sp-xl);
  line-height: var(--lh-relaxed);
}

/* Service Selection */
.calc-services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-md);
}

.calc-service-option {
  padding: var(--sp-lg);
  border: 2px solid var(--clr-border);
  border-radius: var(--radius-lg);
  text-align: center;
  cursor: pointer;
  transition: all var(--tr-base);
}

.calc-service-option:hover {
  border-color: var(--clr-primary);
}

.calc-service-option.selected {
  border-color: var(--clr-charcoal);
  background: var(--clr-charcoal);
  color: var(--clr-white);
}

.calc-service-option .calc-service-icon {
  font-size: 32px;
  margin-bottom: var(--sp-sm);
}

.calc-service-option h4 {
  font-family: var(--ff-body);
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
}

/* Image Upload */
.calc-upload-area {
  border: 2px dashed var(--clr-border);
  border-radius: var(--radius-lg);
  padding: var(--sp-3xl) var(--sp-xl);
  text-align: center;
  cursor: pointer;
  transition: all var(--tr-base);
  background: var(--clr-bg-warm);
}

.calc-upload-area:hover,
.calc-upload-area.dragover {
  border-color: var(--clr-primary);
  background: var(--clr-white);
}

.calc-upload-area svg {
  width: 48px;
  height: 48px;
  stroke: var(--clr-primary-light);
  stroke-width: 1.5;
  fill: none;
  margin-bottom: var(--sp-md);
}

.calc-upload-area h4 {
  font-family: var(--ff-body);
  font-size: var(--fs-base);
  font-weight: var(--fw-semibold);
  color: var(--clr-charcoal);
  margin-bottom: var(--sp-xs);
}

.calc-upload-area span {
  font-size: var(--fs-sm);
  color: var(--clr-text-muted);
}

.calc-upload-area .upload-btn-text {
  color: var(--clr-sienna);
  font-weight: var(--fw-semibold);
  text-decoration: underline;
}

/* Canvas Area */
.calc-canvas-container {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #1a1a1a;
  margin-bottom: var(--sp-lg);
  cursor: crosshair;
}

.calc-canvas-container canvas {
  display: block;
  width: 100%;
  height: auto;
}

.calc-instruction-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--sp-md) var(--sp-lg);
  background: var(--clr-bg-warm);
  border-radius: var(--radius-md);
  margin-bottom: var(--sp-lg);
}

.calc-instruction-bar p {
  margin: 0;
  font-weight: var(--fw-medium);
  color: var(--clr-charcoal);
}

.calc-instruction-bar .point-count {
  font-size: var(--fs-sm);
  color: var(--clr-sage-dark);
  font-weight: var(--fw-semibold);
}

.calc-btn-row {
  display: flex;
  gap: var(--sp-md);
  margin-top: var(--sp-lg);
}

/* Material Selection */
.calc-materials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-md);
  margin-bottom: var(--sp-xl);
}

.calc-material-option {
  padding: var(--sp-lg);
  border: 2px solid var(--clr-border);
  border-radius: var(--radius-lg);
  cursor: pointer;
  transition: all var(--tr-base);
  text-align: center;
}

.calc-material-option:hover {
  border-color: var(--clr-primary);
}

.calc-material-option.selected {
  border-color: var(--clr-gold);
  background: linear-gradient(135deg, rgba(212,165,116,0.08), rgba(198,123,92,0.08));
}

.calc-material-option h4 {
  font-family: var(--ff-body);
  font-size: var(--fs-base);
  font-weight: var(--fw-semibold);
  color: var(--clr-charcoal);
  margin-bottom: var(--sp-xs);
}

.calc-material-option .price-tag {
  font-size: var(--fs-sm);
  color: var(--clr-text-muted);
}

/* Result Card */
.calc-result {
  background: linear-gradient(135deg, var(--clr-charcoal) 0%, #3D3530 100%);
  border-radius: var(--radius-xl);
  padding: var(--sp-2xl);
  color: var(--clr-white);
}

.calc-result h3 {
  color: var(--clr-gold-light);
  margin-bottom: var(--sp-xl);
}

.calc-result-row {
  display: flex;
  justify-content: space-between;
  padding: var(--sp-md) 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  font-size: var(--fs-sm);
}

.calc-result-row:last-of-type {
  border-bottom: none;
}

.calc-result-row .label {
  color: rgba(255,255,255,0.6);
}

.calc-result-row .value {
  font-weight: var(--fw-semibold);
}

.calc-result-total {
  margin-top: var(--sp-lg);
  padding-top: var(--sp-lg);
  border-top: 2px solid rgba(255,255,255,0.2);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.calc-result-total .label {
  font-size: var(--fs-lg);
  font-weight: var(--fw-semibold);
}

.calc-result-total .value {
  font-family: var(--ff-heading);
  font-size: var(--fs-2xl);
  color: var(--clr-gold-light);
  font-weight: var(--fw-bold);
}

.calc-result-note {
  font-size: var(--fs-xs);
  color: rgba(255,255,255,0.4);
  margin-top: var(--sp-md);
  font-style: italic;
}

.calc-result-btns {
  display: flex;
  gap: var(--sp-md);
  margin-top: var(--sp-xl);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--clr-bg-dark);
  color: var(--clr-white);
  padding: var(--sp-4xl) 0 var(--sp-xl);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--sp-3xl);
  margin-bottom: var(--sp-3xl);
}

.footer-brand {
  max-width: 320px;
}

.footer-logo {
  font-family: var(--ff-heading);
  font-size: var(--fs-xl);
  font-weight: var(--fw-bold);
  margin-bottom: var(--sp-lg);
  display: flex;
  align-items: center;
  gap: var(--sp-sm);
}

.footer-logo .logo-accent {
  color: var(--clr-gold);
}

.footer-brand p {
  font-size: var(--fs-sm);
  color: rgba(255,255,255,0.5);
  line-height: var(--lh-relaxed);
}

.footer-column h4 {
  font-family: var(--ff-body);
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  letter-spacing: var(--ls-wider);
  text-transform: uppercase;
  color: var(--clr-gold-light);
  margin-bottom: var(--sp-lg);
}

.footer-column ul li {
  margin-bottom: var(--sp-md);
}

.footer-column ul li a {
  font-size: var(--fs-sm);
  color: rgba(255,255,255,0.5);
  transition: color var(--tr-base);
}

.footer-column ul li a:hover {
  color: var(--clr-white);
}

.footer-bottom {
  padding-top: var(--sp-xl);
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--sp-md);
}

.footer-bottom p {
  font-size: var(--fs-xs);
  color: rgba(255,255,255,0.3);
}

.footer-bottom-links {
  display: flex;
  gap: var(--sp-xl);
}

.footer-bottom-links a {
  font-size: var(--fs-xs);
  color: rgba(255,255,255,0.3);
  transition: color var(--tr-base);
}

.footer-bottom-links a:hover {
  color: var(--clr-white);
}

/* ============================================
   WHATSAPP BUTTON
   ============================================ */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  z-index: 999;
  transition: all var(--tr-base);
  animation: pulse-green 2s infinite;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 30px rgba(37,211,102,0.5);
}

.whatsapp-float svg {
  width: 32px;
  height: 32px;
  fill: var(--clr-white);
}

@keyframes pulse-green {
  0%, 100% { box-shadow: 0 4px 20px rgba(37,211,102,0.4); }
  50% { box-shadow: 0 4px 30px rgba(37,211,102,0.6), 0 0 0 10px rgba(37,211,102,0.1); }
}

/* Back to Top */
.back-to-top {
  position: fixed;
  bottom: 100px;
  right: 34px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--clr-charcoal);
  color: var(--clr-white);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all var(--tr-base);
}

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

.back-to-top:hover {
  background: var(--clr-primary);
}

.back-to-top svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes fadeSlideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

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

.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; }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  :root {
    --fs-5xl: 3rem;
    --fs-4xl: 2.5rem;
    --fs-3xl: 2rem;
  }

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

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

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--sp-2xl);
  }
}

@media (max-width: 768px) {
  :root {
    --fs-5xl: 2.5rem;
    --fs-4xl: 2rem;
    --fs-3xl: 1.75rem;
    --nav-height: 70px;
  }

  .section {
    padding: var(--sp-3xl) 0;
  }

  .container {
    padding: 0 var(--sp-lg);
  }

  /* Mobile Nav */
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 360px;
    height: 100vh;
    background: var(--clr-bg);
    flex-direction: column;
    justify-content: center;
    gap: var(--sp-2xl);
    padding: var(--sp-2xl);
    transition: right var(--tr-slow);
    box-shadow: -10px 0 30px rgba(0,0,0,0.1);
  }

  .nav-links.active {
    right: 0;
  }

  .nav-links .nav-link {
    color: var(--clr-charcoal);
    font-size: var(--fs-lg);
  }

  .nav-links .nav-cta {
    color: var(--clr-charcoal);
    border-color: var(--clr-charcoal);
  }

  .nav-hamburger {
    display: flex;
  }

  .nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 999;
  }

  .nav-overlay.active {
    display: block;
  }

  /* Hero */
  .hero {
    min-height: 600px;
  }

  .hero-buttons {
    flex-direction: column;
    gap: var(--sp-md);
  }

  .hero-buttons .btn {
    width: 100%;
    justify-content: center;
  }

  /* About */
  .about-grid {
    grid-template-columns: 1fr;
    gap: var(--sp-2xl);
  }

  .about-image {
    aspect-ratio: 16/10;
    order: -1;
  }

  .about-stats {
    grid-template-columns: repeat(3, 1fr);
  }

  /* Services */
  .services-grid {
    grid-template-columns: 1fr;
    gap: var(--sp-lg);
  }

  /* Portfolio */
  .portfolio-grid {
    grid-template-columns: 1fr;
  }

  .portfolio-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .portfolio-filters {
    width: 100%;
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: var(--sp-sm);
    -webkit-overflow-scrolling: touch;
  }

  .filter-btn {
    white-space: nowrap;
    flex-shrink: 0;
  }

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

  /* Testimonials */
  .testimonial-card-inner {
    grid-template-columns: 1fr;
    padding: var(--sp-xl);
  }

  .testimonial-quote-icon {
    font-size: 36px;
  }

  /* Contact */
  .contact-grid {
    grid-template-columns: 1fr;
  }

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

  .contact-tabs {
    width: 100%;
  }

  .contact-tab {
    flex: 1;
    text-align: center;
    padding: 10px 16px;
    font-size: var(--fs-xs);
  }

  /* Calculator */
  .calc-services,
  .calc-materials {
    grid-template-columns: 1fr;
  }

  .calc-progress-label {
    display: none !important;
  }

  .calc-result-btns {
    flex-direction: column;
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--sp-2xl);
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  /* WhatsApp & Back to Top */
  .whatsapp-float {
    bottom: 20px;
    right: 20px;
    width: 52px;
    height: 52px;
  }

  .back-to-top {
    bottom: 80px;
    right: 24px;
    width: 40px;
    height: 40px;
  }
}

@media (max-width: 480px) {
  :root {
    --fs-5xl: 2rem;
    --fs-4xl: 1.75rem;
  }

  .about-stats {
    grid-template-columns: 1fr;
    gap: var(--sp-lg);
  }
}
