:root {
  --ink: #0c1411;
  --accent: #cfae70;
  --accent-hover: #b89553;
  --cream: #fcfaf7;
  --sand: #f3ede2;
  --white: #ffffff;
  --muted: #506158;
  --line: rgba(12, 20, 17, 0.08);
  --line-light: rgba(12, 20, 17, 0.04);
  
  /* Shadows */
  --shadow-sm: 0 4px 12px rgba(12, 20, 17, 0.02);
  --shadow-md: 0 16px 40px rgba(12, 20, 17, 0.04);
  --shadow-lg: 0 30px 70px rgba(12, 20, 17, 0.07);
  
  /* Transitions */
  --transition-smooth: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: all 0.25s ease;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--cream);
}
::-webkit-scrollbar-thumb {
  background: var(--sand);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--accent);
}

body {
  color: var(--ink);
  background: var(--cream);
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-fast);
}

/* Typography */
h1, h2, h3, h4 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(38px, 6vw, 68px);
  line-height: 1.1;
}

h2 {
  font-size: clamp(28px, 4.5vw, 48px);
  line-height: 1.2;
}

h3 {
  font-size: 24px;
  font-weight: 600;
}

p {
  color: var(--muted);
  font-size: 16px;
}

/* Utilities */
.section-pad {
  padding: 100px 8vw;
}

.eyebrow {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--accent);
  margin-bottom: 16px;
  display: block;
}

/* Scroll Reveal classes */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* Buttons */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 12px 28px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: var(--transition-smooth);
  border: 1px solid transparent;
}

.button.primary {
  background: var(--ink);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(12, 20, 17, 0.1);
}

.button.primary:hover {
  background: var(--accent);
  color: var(--ink);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(207, 174, 112, 0.25);
}

.button.ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}

.button.ghost:hover {
  background: var(--sand);
  border-color: transparent;
  transform: translateY(-2px);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 20px 8vw;
  background: rgba(252, 250, 247, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--line);
  transition: var(--transition-fast);
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-logo {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  object-fit: contain;
  transition: var(--transition-smooth);
}

.brand:hover .brand-logo {
  transform: scale(1.05);
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink);
  line-height: 1.2;
}

.brand-subtitle {
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
}

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

.nav-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  position: relative;
  padding: 6px 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: var(--transition-smooth);
}

.nav-link:hover {
  color: var(--ink);
}

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

.header-cta {
  display: inline-flex;
  align-items: center;
  padding: 10px 22px;
  border-radius: 999px;
  background: var(--white);
  border: 1px solid var(--line);
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  box-shadow: var(--shadow-sm);
}

.header-cta:hover {
  background: var(--ink);
  color: var(--white);
  border-color: var(--ink);
  transform: translateY(-1px);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 26px;
  height: 18px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 110;
}

.menu-toggle span {
  width: 100%;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: var(--transition-fast);
}

/* Hamburger Active State */
.menu-toggle.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}
.menu-toggle.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* Mobile Drawer Nav */
.mobile-menu-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 320px;
  height: 100vh;
  background: var(--white);
  z-index: 95;
  padding: 120px 40px 40px;
  box-shadow: -10px 0 40px rgba(12, 20, 17, 0.05);
  transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
}

.mobile-menu-drawer.active {
  right: 0;
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.mobile-nav-link {
  font-size: 18px;
  font-weight: 500;
  color: var(--muted);
  border-bottom: 1px solid var(--line-light);
  padding-bottom: 12px;
}

.mobile-nav-link:hover {
  color: var(--accent);
  padding-left: 6px;
}

.mobile-cta {
  margin-top: 20px;
}

/* Hero Section */
.hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 80px;
  align-items: center;
  min-height: calc(100vh - 82px);
  border-bottom: 1px solid var(--line);
}

.hero-copy {
  max-width: 620px;
}

.hero h1 {
  margin-top: 8px;
}

.hero-text {
  font-size: 19px;
  font-weight: 300;
  margin: 28px 0 36px;
}

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

.hero-card {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 520px;
}

.photo {
  background-size: cover;
  background-position: center;
}

.photo-large {
  width: 100%;
  height: 520px;
  border-radius: 28px;
  background-image: linear-gradient(rgba(12, 20, 17, 0.02), rgba(12, 20, 17, 0.12)), url('https://images.unsplash.com/photo-1600607687939-ce8a6c25118c?auto=format&fit=crop&w=1400&q=80');
  box-shadow: var(--shadow-lg);
  transition: var(--transition-smooth);
}

.photo-large:hover {
  transform: scale(1.01);
}

.hero-note {
  position: absolute;
  left: -40px;
  bottom: 40px;
  max-width: 320px;
  padding: 26px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255, 255, 255, 0.6);
}

.hero-note strong {
  display: block;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 18px;
  color: var(--ink);
  margin-bottom: 6px;
}

.hero-note span {
  display: block;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
}

/* Intro Section */
.intro {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 80px;
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.intro h2 {
  max-width: 480px;
}

.intro p {
  font-size: 18px;
  font-weight: 300;
  line-height: 1.8;
  color: var(--muted);
}

/* Cards (How It Works) */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  background: var(--cream);
  border-bottom: 1px solid var(--line);
}

.card {
  padding: 44px 38px;
  border-radius: 24px;
  background: var(--white);
  border: 1px solid var(--line-light);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(207, 174, 112, 0.3);
}

.card-icon-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--sand);
  margin-bottom: 34px;
  transition: var(--transition-smooth);
}

.card:hover .card-icon-wrapper {
  background: var(--accent);
  color: var(--white);
}

.icon {
  font-size: 14px;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: 0.05em;
}

.card:hover .icon {
  color: var(--white);
}

.card h3 {
  font-size: 21px;
  margin-bottom: 16px;
}

.card p {
  font-size: 14px;
  line-height: 1.6;
}

/* Dynamic Yield Estimator */
.estimator-section {
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.estimator-container {
  max-width: 1100px;
  margin: 0 auto;
}

.estimator-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 56px;
}

.estimator-header h2 {
  margin-top: 8px;
}

.estimator-subtitle {
  font-size: 16px;
  margin-top: 14px;
}

.estimator-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 64px;
  align-items: center;
}

.control-group {
  margin-bottom: 40px;
}

.control-label {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 14px;
}

.control-val {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 20px;
  color: var(--accent);
}

/* Slider Custom Styling */
.slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 3px;
  background: var(--sand);
  outline: none;
  margin-bottom: 10px;
}

.slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--accent);
  cursor: pointer;
  border: 4px solid var(--white);
  box-shadow: 0 2px 8px rgba(12, 20, 17, 0.25);
  transition: var(--transition-fast);
}

.slider::-webkit-slider-thumb:hover {
  background: var(--accent-hover);
  transform: scale(1.1);
}

.slider-labels {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.tier-buttons {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.tier-btn {
  padding: 14px 10px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--cream);
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-fast);
  color: var(--muted);
}

.tier-btn:hover {
  border-color: var(--accent);
  color: var(--ink);
}

.tier-btn.active {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--white);
  box-shadow: var(--shadow-sm);
}

.estimator-assumptions {
  border-top: 1px solid var(--line);
  padding-top: 30px;
  margin-top: 10px;
}

.assumption-title {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink);
  margin-bottom: 12px;
}

.assumption-list {
  list-style-type: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.assumption-list li {
  font-size: 13px;
  color: var(--muted);
  position: relative;
  padding-left: 18px;
}

.assumption-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: bold;
}

/* Outputs Panel */
.estimator-outputs {
  background: var(--cream);
  border-radius: 28px;
  padding: 44px;
  border: 1px solid var(--line-light);
  box-shadow: var(--shadow-md);
}

.output-card {
  margin-bottom: 30px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
  position: relative;
}

.output-badge {
  position: absolute;
  top: 0;
  right: 0;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 4px 12px;
  border-radius: 12px;
}

.pcs-output .output-badge {
  background: rgba(207, 174, 112, 0.15);
  color: var(--accent-hover);
}

.trad-output .output-badge {
  background: var(--sand);
  color: var(--muted);
}

.output-label {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
  margin-bottom: 4px;
}

.output-value {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 44px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.1;
  margin-bottom: 8px;
}

.pcs-output .output-value {
  color: var(--ink);
}

.output-description {
  font-size: 12px;
  line-height: 1.5;
}

.output-comparison {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  background: var(--white);
  border-radius: 18px;
  padding: 20px 24px;
  border: 1px solid var(--line);
}

.comp-stat {
  display: flex;
  flex-direction: column;
}

.comp-label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
}

.comp-value {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 21px;
  font-weight: 600;
  color: var(--accent-hover);
}

/* Feature/Standards Section */
.feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  background: var(--cream);
  border-bottom: 1px solid var(--line);
}

.image-panel {
  width: 100%;
  height: 560px;
  border-radius: 28px;
  background-image: url('https://images.unsplash.com/photo-1600566753190-17f0baa2a6c3?auto=format&fit=crop&w=1400&q=80');
  box-shadow: var(--shadow-lg);
  background-size: cover;
  background-position: center;
  transition: var(--transition-smooth);
}

.image-panel:hover {
  transform: scale(1.005);
}

.feature-copy p:not(.eyebrow) {
  margin: 24px 0 30px;
  font-size: 17px;
  line-height: 1.7;
}

.features-list {
  list-style-type: none;
  display: grid;
  gap: 16px;
}

.features-list li {
  font-size: 15px;
  color: var(--muted);
  position: relative;
  padding-left: 28px;
}

.features-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 12px;
  height: 1px;
  background: var(--accent);
}

.features-list li strong {
  color: var(--ink);
  display: inline-block;
  margin-right: 4px;
}

/* Testimonials Section */
.testimonials-section {
  background: var(--white);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}

.testimonials-section .section-heading {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 48px;
}

.testimonials-container {
  max-width: 860px;
  margin: 0 auto;
  position: relative;
}

.testimonials-wrapper {
  position: relative;
  min-height: 220px;
}

.testimonial-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  visibility: hidden;
  transform: translateX(30px);
  transition: opacity 0.6s ease, transform 0.6s ease, visibility 0.6s;
}

.testimonial-slide.active {
  position: relative;
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

.stars {
  font-size: 15px;
  color: var(--accent);
  letter-spacing: 0.15em;
  margin-bottom: 18px;
  display: block;
}

.testimonial-slide blockquote {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(20px, 3.2vw, 28px);
  line-height: 1.5;
  color: var(--ink);
  margin-bottom: 24px;
  font-style: italic;
}

.author-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.author-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  font-style: normal;
}

.author-desc {
  font-size: 13px;
  color: var(--muted);
}

.testimonials-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  padding-top: 24px;
  margin-top: 30px;
}

.nav-btn {
  background: transparent;
  border: 1px solid var(--line);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  cursor: pointer;
  color: var(--muted);
  transition: var(--transition-fast);
}

.nav-btn:hover {
  border-color: var(--accent);
  color: var(--ink);
  background: var(--cream);
}

.testimonials-dots {
  display: flex;
  gap: 8px;
}

.dot-btn {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--sand);
  border: none;
  cursor: pointer;
  transition: var(--transition-fast);
}

.dot-btn:hover {
  background: var(--accent);
}

.dot-btn.active {
  background: var(--accent);
  width: 20px;
  border-radius: 4px;
}

/* Gallery Section */
.gallery {
  background: var(--cream);
  border-bottom: 1px solid var(--line);
}

.gallery .section-heading {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 56px;
}

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

.tile {
  min-height: 280px;
  border-radius: 20px;
  transition: var(--transition-smooth);
}

.tile:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: var(--shadow-lg);
}

.tile-1 { background-image: url('https://images.unsplash.com/photo-1616046229478-9901c5536a45?auto=format&fit=crop&w=900&q=80'); }
.tile-2 { background-image: url('https://images.unsplash.com/photo-1600607687920-4e2a09cf159d?auto=format&fit=crop&w=900&q=80'); }
.tile-3 { background-image: url('https://images.unsplash.com/photo-1600607687644-aac4c3eac7f4?auto=format&fit=crop&w=900&q=80'); }
.tile-4 { background-image: url('https://images.unsplash.com/photo-1600566752355-35792bedcfea?auto=format&fit=crop&w=900&q=80'); }
.tile-5 { background-image: url('https://images.unsplash.com/photo-1600607688969-a5bfcd646154?auto=format&fit=crop&w=900&q=80'); }
.tile-6 { background-image: url('https://images.unsplash.com/photo-1600566753151-384129cf4e3e?auto=format&fit=crop&w=900&q=80'); }

/* FAQ Accordion Section */
.faq-section {
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.faq-container {
  max-width: 860px;
  margin: 0 auto;
}

.faq-section .section-heading {
  text-align: center;
  margin-bottom: 48px;
}

.faq-accordion {
  display: flex;
  flex-direction: column;
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-item:first-child {
  border-top: 1px solid var(--line);
}

.faq-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 26px 8px;
  background: transparent;
  border: none;
  font-family: inherit;
  font-size: 17px;
  font-weight: 600;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
  transition: var(--transition-fast);
}

.faq-trigger:hover {
  color: var(--accent-hover);
}

.faq-icon {
  flex-shrink: 0;
  color: var(--accent);
  transition: var(--transition-smooth);
}

.faq-trigger[aria-expanded="true"] .faq-icon {
  transform: rotate(45deg);
  color: var(--ink);
}

.faq-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-content {
  padding: 0 8px 26px;
}

.faq-content p {
  font-size: 15px;
  line-height: 1.7;
}

/* Trust indicators section */
.trust {
  background: var(--ink);
  color: var(--white);
}

.trust .eyebrow {
  color: var(--accent);
}

.trust h2 {
  color: var(--white);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 48px;
}

.trust-grid div {
  padding: 34px 30px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.02);
  transition: var(--transition-smooth);
}

.trust-grid div:hover {
  border-color: var(--accent);
  background: rgba(255, 255, 255, 0.04);
  transform: translateY(-4px);
}

.trust-grid strong {
  display: block;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 19px;
  color: var(--white);
  margin-bottom: 12px;
}

.trust-grid span {
  display: block;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.6;
}

/* Contact & Form Section */
.contact {
  background: var(--cream);
}

.contact-box {
  max-width: 800px;
  margin: 0 auto;
  padding: 60px;
  border-radius: 28px;
  background: var(--white);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--line-light);
  position: relative;
  overflow: hidden;
}

.contact-box h2 {
  margin: 6px 0 12px;
}

.contact-box > p {
  font-size: 15px;
  margin-bottom: 34px;
}

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

.form-group {
  position: relative;
  margin-bottom: 24px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px;
  font-family: inherit;
  font-size: 14px;
  color: var(--ink);
  background: var(--cream);
  outline: none;
  transition: var(--transition-fast);
}

.form-group input:hover,
.form-group textarea:hover,
.form-group select:hover {
  border-color: rgba(12, 20, 17, 0.2);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--accent);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(207, 174, 112, 0.15);
}

/* Float labels */
.form-group label {
  position: absolute;
  left: 16px;
  top: 17px;
  font-size: 14px;
  color: var(--muted);
  pointer-events: none;
  transition: var(--transition-fast);
}

.form-group input:focus ~ label,
.form-group input:not(:placeholder-shown) ~ label,
.form-group textarea:focus ~ label,
.form-group textarea:not(:placeholder-shown) ~ label {
  top: -8px;
  left: 12px;
  font-size: 11px;
  font-weight: 700;
  color: var(--accent-hover);
  background: var(--white);
  padding: 0 6px;
  border-radius: 4px;
}

.form-group select {
  height: 52px;
  color: var(--muted);
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
}

.form-group select:focus,
.form-group select:valid {
  color: var(--ink);
}

.form-submit {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.submit-arrow {
  transition: transform 0.3s ease;
}

.button.primary:hover .submit-arrow {
  transform: translateX(4px);
}

.form-submit .spinner {
  display: none;
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255,255,255,0.3);
  border-radius: 50%;
  border-top-color: var(--white);
  animation: spin 0.8s infinite linear;
}

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

.form-submit.loading span,
.form-submit.loading svg {
  display: none;
}

.form-submit.loading .spinner {
  display: block;
}

.form-note {
  font-size: 12px;
  color: var(--muted);
  text-align: center;
  margin-top: 20px;
}

/* Form Success State Overlay */
.form-success-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--white);
  z-index: 10;
  opacity: 0;
  visibility: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  transition: var(--transition-smooth);
}

.form-success-overlay.active {
  opacity: 1;
  visibility: visible;
}

.success-card {
  text-align: center;
  max-width: 480px;
  transform: translateY(20px);
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.form-success-overlay.active .success-card {
  transform: translateY(0);
}

.success-icon-wrapper {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--sand);
  margin-bottom: 24px;
  color: var(--accent);
}

.success-card h3 {
  font-size: 28px;
  margin-bottom: 12px;
}

.success-card p {
  font-size: 15px;
  margin-bottom: 30px;
}

.close-success-btn {
  min-width: 180px;
}

/* Footer */
.footer {
  background: var(--white);
  border-top: 1px solid var(--line);
  padding: 60px 8vw;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 40px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
}

.footer-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 22px;
  font-weight: 600;
  color: var(--ink);
}

.footer-motto {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin-top: 4px;
}

.footer-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-align: right;
  gap: 6px;
}

.footer-meta span {
  font-size: 13px;
  color: var(--muted);
}

/* Responsiveness */
@media (max-width: 1024px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 60px;
    padding-top: 60px;
    padding-bottom: 80px;
    text-align: center;
  }
  
  .hero-copy {
    max-width: 100%;
    margin: 0 auto;
  }
  
  .hero-actions {
    justify-content: center;
  }
  
  .hero-card {
    min-height: auto;
    height: 480px;
    max-width: 680px;
    margin: 0 auto;
  }
  
  .photo-large {
    height: 100%;
  }
  
  .hero-note {
    left: 30px;
    right: 30px;
    bottom: 30px;
    max-width: none;
  }
  
  .estimator-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  
  .feature {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  
  .image-panel {
    height: 440px;
    order: 2;
  }
  
  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 860px) {
  .site-header {
    padding: 16px 6vw;
  }
  
  .section-pad {
    padding: 80px 6vw;
  }
  
  .nav,
  .header-cta {
    display: none;
  }
  
  .menu-toggle {
    display: flex;
  }
  
  .intro {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  
  .intro h2 {
    max-width: 100%;
  }
  
  .cards {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .contact-box {
    padding: 40px 24px;
  }
  
  .form-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }
}

@media (max-width: 640px) {
  .trust-grid {
    grid-template-columns: 1fr;
  }
  
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  
  .estimator-outputs {
    padding: 24px;
  }
  
  .output-value {
    font-size: 36px;
  }
  
  .output-comparison {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .footer {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 48px 6vw;
  }
  
  .footer-meta {
    align-items: center;
    text-align: center;
  }
}
