/* ============================================
   BASALT EXTERIORS - Styles
   Palette: blacks, charcoals, warm whites
   Typography: Outfit (headings), Inter (body)
   ============================================ */

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

:root {
  --black: #0a0a0a;
  --charcoal: #1a1a1a;
  --dark-gray: #2a2a2a;
  --mid-gray: #555;
  --light-gray: #999;
  --off-white: #f5f4f0;
  --warm-white: #faf9f6;
  --white: #ffffff;
  --accent: #c8b88a;
  --accent-hover: #b8a67a;
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
}

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

body {
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--charcoal);
  background: var(--warm-white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

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

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* --- Navigation --- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 20px 0;
  transition: all 0.4s ease;
}

.nav.scrolled {
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(20px);
  padding: 12px 0;
  box-shadow: 0 1px 0 rgba(255,255,255,0.05);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
}

.nav-logo-img {
  height: 32px;
  width: auto;
}

.nav-links {
  display: flex;
  list-style: none;
  align-items: center;
  gap: 36px;
}

.nav-links a {
  color: rgba(255,255,255,0.8);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  transition: color 0.3s;
}

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

.nav-cta {
  background: var(--white);
  color: var(--black) !important;
  padding: 10px 24px;
  border-radius: 6px;
  font-weight: 600 !important;
  transition: all 0.3s !important;
}

.nav-cta:hover {
  background: var(--accent) !important;
  color: var(--black) !important;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: all 0.3s;
}

/* --- Hero --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background: var(--black);
  /* Basalt rock texture background - dark, dramatic */
  background-image:
    radial-gradient(ellipse at 20% 50%, rgba(60,60,65,0.5) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 50%, rgba(50,50,55,0.4) 0%, transparent 50%),
    linear-gradient(180deg, rgba(10,10,10,0.3) 0%, rgba(10,10,10,0.8) 100%),
    /* Simulated basalt rock texture using layered gradients */
    repeating-linear-gradient(
      90deg,
      rgba(40,40,45,0.3) 0px,
      rgba(30,30,35,0.5) 2px,
      rgba(50,50,55,0.2) 4px,
      rgba(35,35,40,0.4) 8px
    ),
    repeating-linear-gradient(
      0deg,
      rgba(45,45,50,0.3) 0px,
      rgba(25,25,30,0.4) 3px,
      rgba(55,55,60,0.2) 6px,
      rgba(30,30,35,0.5) 12px
    );
  background-color: #1a1a1e;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(10,10,10,0.2) 0%,
    rgba(10,10,10,0.4) 50%,
    rgba(10,10,10,0.7) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  padding: 0 24px;
}

.hero-logo {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
}

.hero-logo-img {
  height: 96px;
  width: auto;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 400;
  letter-spacing: 0.35em;
  color: rgba(255,255,255,0.7);
  margin-bottom: 20px;
}

.hero-subtitle {
  font-family: var(--font-heading);
  font-size: 2.6rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 12px;
  line-height: 1.2;
}

.hero-tagline {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.6);
  margin-bottom: 28px;
  font-weight: 300;
}

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

.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  color: rgba(255,255,255,0.4);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.4), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 1; }
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  padding: 14px 32px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  letter-spacing: 0.02em;
}

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

.btn-primary:hover {
  background: var(--accent);
  color: var(--black);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.3);
}

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

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

/* --- Section Labels --- */
.section-label {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 2.6rem;
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 20px;
  line-height: 1.15;
}

.section-description {
  font-size: 1.1rem;
  color: var(--mid-gray);
  max-width: 600px;
  line-height: 1.8;
}

/* --- Services --- */
.services {
  padding: 120px 0;
  background: var(--warm-white);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 60px;
}

.service-card {
  background: var(--white);
  padding: 40px 36px;
  border-radius: 12px;
  border: 1px solid rgba(0,0,0,0.06);
  transition: all 0.5s ease;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    120deg,
    transparent 0%,
    transparent 30%,
    rgba(255,255,255,0.15) 45%,
    rgba(255,255,255,0.3) 50%,
    rgba(255,255,255,0.15) 55%,
    transparent 70%,
    transparent 100%
  );
  transform: translateX(-100%);
  pointer-events: none;
  z-index: 1;
}

.service-card:hover::before {
  transform: translateX(100%);
  transition: transform 1.2s ease;
}

.service-card:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 16px 36px rgba(0,0,0,0.12), 0 0 0 1px rgba(200,184,138,0.2);
}

.service-card--featured {
  background: var(--charcoal);
  border-color: transparent;
  border-top: 2px solid transparent;
  transition: all 0.5s ease, border-color 0.5s ease;
}

.service-card--featured h4 {
  color: var(--white);
  text-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

.service-card--featured p {
  color: rgba(255,255,255,0.75);
  font-size: 1rem;
  line-height: 1.8;
}

.service-card--featured .service-icon {
  color: var(--accent);
}

.service-card--featured:hover {
  background: var(--black);
  border-top-color: var(--accent);
  box-shadow: 0 20px 60px rgba(0,0,0,0.3), 0 0 20px rgba(200,184,138,0.1);
}

.service-card--featured::before {
  background: linear-gradient(
    120deg,
    transparent 0%,
    transparent 30%,
    rgba(200,184,138,0.08) 45%,
    rgba(200,184,138,0.15) 50%,
    rgba(200,184,138,0.08) 55%,
    transparent 70%,
    transparent 100%
  );
}

.service-icon {
  width: 75px;
  height: 75px;
  margin-bottom: 6px;
  color: var(--charcoal);
}

.service-card--featured .service-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 24px;
}

.service-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 6px;
  position: relative;
  z-index: 2;
}

.service-card h4 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--charcoal);
  position: relative;
  z-index: 2;
}

.service-card--featured h4 {
  font-size: 1.5rem;
  color: var(--white);
  text-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

.service-card p {
  font-size: 0.95rem;
  color: var(--mid-gray);
  line-height: 1.7;
  position: relative;
  z-index: 2;
}

.service-card--featured p {
  color: rgba(255,255,255,0.75);
  font-size: 1rem;
  line-height: 1.8;
}

.service-badge {
  position: absolute;
  top: 24px;
  right: 24px;
  padding: 6px 14px;
  background: var(--accent);
  color: var(--black);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 4px;
  z-index: 2;
}

.service-quote-link {
  display: inline-block;
  margin-top: 20px;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--accent);
  transition: color 0.3s, letter-spacing 0.3s;
  position: relative;
  z-index: 2;
}

.service-quote-link:hover {
  color: var(--accent-hover);
  letter-spacing: 0.08em;
}

.service-card--featured .service-quote-link {
  color: var(--accent);
}

.service-card--featured .service-quote-link:hover {
  color: var(--white);
}

/* Dropdown highlight animation */
@keyframes selectPulse {
  0% { box-shadow: 0 0 0 0 rgba(200,184,138,0.4); }
  50% { box-shadow: 0 0 0 6px rgba(200,184,138,0.2); }
  100% { box-shadow: 0 0 0 0 rgba(200,184,138,0); }
}

.select-highlight {
  animation: selectPulse 0.8s ease 2;
  border-color: var(--accent) !important;
}

/* --- Before/After Gallery --- */
.gallery {
  padding: 120px 0;
  background: var(--black);
  color: var(--white);
}

.gallery .section-label {
  color: var(--accent);
}

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

.gallery .section-description {
  color: rgba(255,255,255,0.6);
  margin-bottom: 60px;
}

.gallery-grid {
  max-width: 900px;
  margin: 0 auto;
}

/* --- B/A Slider --- */
.ba-slider {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 2;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
  user-select: none;
  -webkit-user-select: none;
  touch-action: pan-y;
}

.ba-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  display: block;
  -webkit-user-drag: none;
  user-select: none;
  -webkit-user-select: none;
  pointer-events: none;
}

.ba-after {
  position: absolute;
  top: 0;
  left: 0;
}

.ba-before {
  position: absolute;
  top: 0;
  left: 0;
  clip-path: inset(0 50% 0 0);
}

.ba-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 4px;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 10;
  pointer-events: none;
}

.ba-handle-line {
  flex: 1;
  width: 3px;
  background: var(--white);
  box-shadow: 0 0 8px rgba(0,0,0,0.5);
}

.ba-handle-grip {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 12px rgba(0,0,0,0.4);
  flex-shrink: 0;
  color: var(--charcoal);
  cursor: ew-resize;
  touch-action: none;
}

.ba-handle-grip svg {
  width: 20px;
  height: 20px;
}

.ba-label {
  position: absolute;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--white);
  text-shadow: 0 1px 6px rgba(0,0,0,0.5);
  z-index: 5;
  transition: opacity 0.2s ease;
}

.ba-label--before {
  top: 20px;
  left: 24px;
}

.ba-label--after {
  top: 20px;
  right: 24px;
}

.gallery-cta {
  text-align: center;
  margin-top: 60px;
}

/* --- About --- */
.about {
  padding: 120px 0;
  background: var(--warm-white);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-content p {
  font-size: 1.05rem;
  color: var(--mid-gray);
  margin-bottom: 16px;
  line-height: 1.8;
}

.about-stats {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 32px;
}

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

.stat-icon {
  width: 24px;
  height: 24px;
  color: var(--accent);
  flex-shrink: 0;
}

.stat-icon svg {
  width: 100%;
  height: 100%;
}

.stat-text {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--charcoal);
}

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

.about-image-placeholder {
  width: 100%;
  aspect-ratio: 4/5;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.about-texture {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-logo-img {
  width: 55%;
  height: auto;
  position: relative;
  z-index: 2;
  opacity: 0.9;
  filter: drop-shadow(0 2px 12px rgba(0,0,0,0.4));
}

/* --- Contact --- */
.contact {
  padding: 120px 0;
  background: var(--charcoal);
  color: var(--white);
}

.contact .section-label {
  color: var(--accent);
}

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

.contact p {
  color: rgba(255,255,255,0.6);
}

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

.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 40px;
}

.contact-method {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
  border-radius: 8px;
  transition: background 0.3s;
  -webkit-user-drag: none;
  user-select: text;
  -webkit-user-select: text;
}

.contact-method:hover {
  background: rgba(255,255,255,0.05);
}

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

.contact-method-icon svg {
  width: 20px;
  height: 20px;
  color: var(--accent);
}

.contact-method strong {
  display: block;
  color: var(--white);
  font-size: 1rem;
}

.contact-method small {
  color: rgba(255,255,255,0.4);
  font-size: 0.85rem;
}

.contact-social {
  display: flex;
  gap: 12px;
  margin-top: 32px;
}

.contact-social a {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
  color: rgba(255,255,255,0.6);
}

.contact-social a:hover {
  background: var(--accent);
  color: var(--black);
}

.contact-social a svg {
  width: 20px;
  height: 20px;
}

/* --- Contact Form --- */
.contact-form {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  padding: 40px;
}

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

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

.contact-form label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(255,255,255,0.7);
  margin-bottom: 8px;
  letter-spacing: 0.03em;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 14px 16px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: all 0.3s;
  outline: none;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(255,255,255,0.25);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--accent);
  background: rgba(255,255,255,0.08);
}

.contact-form select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='rgba(255,255,255,0.4)' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  cursor: pointer;
}

.contact-form select option {
  background: var(--charcoal);
  color: var(--white);
}

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

.contact-form .btn-primary {
  margin-top: 8px;
  padding: 16px;
  font-size: 1rem;
}

.form-note {
  text-align: center;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.35) !important;
  margin-top: 12px;
}

/* --- SMS Opt-in Checkbox --- */
.form-checkbox {
  margin-bottom: 20px;
}

.checkbox-label {
  display: inline;
  cursor: pointer;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6) !important;
  line-height: 1.8;
  font-weight: 400 !important;
  letter-spacing: 0 !important;
}

.checkbox-label input[type="checkbox"] {
  display: none;
}

.checkbox-label .checkmark {
  width: 16px;
  height: 16px;
  border: 1.5px solid rgba(255,255,255,0.25);
  border-radius: 3px;
  background: rgba(255,255,255,0.06);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  vertical-align: middle;
  margin-right: 6px;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark {
  background: var(--accent);
  border-color: var(--accent);
}

.checkbox-label input[type="checkbox"]:checked + .checkmark::after {
  content: '';
  width: 5px;
  height: 10px;
  border: solid var(--black);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
  margin-top: -2px;
}

.checkbox-label a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.checkbox-label a:hover {
  color: var(--accent-hover);
}

/* --- Privacy Policy Page --- */
.privacy-page {
  padding: 140px 0 80px;
  background: var(--warm-white);
  min-height: 100vh;
}

.privacy-page .section-title {
  margin-bottom: 8px;
}

.privacy-updated {
  font-size: 0.9rem;
  color: var(--light-gray);
  margin-bottom: 48px;
}

.privacy-content {
  max-width: 760px;
}

.privacy-content h2 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--charcoal);
  margin-top: 36px;
  margin-bottom: 12px;
}

.privacy-content p {
  font-size: 0.95rem;
  color: var(--mid-gray);
  line-height: 1.8;
  margin-bottom: 12px;
}

.privacy-content ul,
.privacy-content ol {
  padding-left: 24px;
  margin-bottom: 16px;
}

.privacy-content li {
  font-size: 0.95rem;
  color: var(--mid-gray);
  line-height: 1.8;
  margin-bottom: 6px;
}

.privacy-content a {
  color: var(--accent-hover);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.privacy-content a:hover {
  color: var(--charcoal);
}

.footer-bottom a {
  color: rgba(255,255,255,0.6);
  text-decoration: underline;
  text-underline-offset: 2px;
  margin-left: 8px;
}

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

/* --- Footer --- */
.footer {
  background: var(--black);
  color: rgba(255,255,255,0.6);
  padding: 80px 0 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 60px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-logo {
  margin-bottom: 8px;
}

.footer-logo-img {
  height: 40px;
  width: auto;
}

.footer-tagline {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  color: rgba(255,255,255,0.4);
  margin-bottom: 16px;
}

.footer-brand p:last-child {
  font-size: 0.9rem;
  line-height: 1.7;
}

.footer-links h4,
.footer-contact h4 {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 20px;
}

.footer-links a,
.footer-contact a {
  display: block;
  font-size: 0.9rem;
  margin-bottom: 12px;
  transition: color 0.3s;
}

.footer-links a:hover,
.footer-contact a:hover {
  color: var(--white);
}

.footer-social {
  display: flex;
  gap: 8px;
  margin-top: 16px;
}

.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(255,255,255,0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
  margin-bottom: 0;
}

.footer-social a:hover {
  background: var(--accent);
  color: var(--black);
}

.footer-social a svg {
  width: 16px;
  height: 16px;
}

.footer-bottom {
  text-align: center;
  padding-top: 32px;
  font-size: 0.85rem;
}

/* --- Premium Effects --- */

/* 1. Scroll progress bar */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: var(--accent);
  z-index: 9999;
  width: 0%;
  transition: none;
}

/* 2. Pulsing slider handle */
@keyframes handlePulse {
  0%, 100% { box-shadow: 0 2px 12px rgba(0,0,0,0.4); }
  50% { box-shadow: 0 2px 12px rgba(0,0,0,0.4), 0 0 0 8px rgba(255,255,255,0.15); }
}

.ba-handle-grip {
  animation: handlePulse 2.5s ease-in-out infinite;
}

.ba-slider:active .ba-handle-grip,
.ba-slider:hover .ba-handle-grip {
  animation: none;
}

/* 3. Button hover glow */
.btn-primary:hover {
  box-shadow: 0 4px 20px rgba(200,184,138,0.35);
}

.btn-outline:hover {
  box-shadow: 0 4px 20px rgba(255,255,255,0.1);
}

.nav-cta:hover {
  box-shadow: 0 4px 16px rgba(200,184,138,0.3) !important;
}

/* 4. Hero entrance animation */
@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-content {
  animation: heroFadeUp 1s ease 0.2s both;
}

/* 5. Hero parallax (handled via JS, this ensures smooth rendering) */
.hero {
  background-attachment: fixed;
}

/* --- Responsive --- */
@media (max-width: 968px) {
  .services-grid {
    grid-template-columns: 1fr;
  }

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

  .about-image {
    order: -1;
  }

  .about-image-placeholder {
    aspect-ratio: 16/9;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 60px;
  }

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

  .section-title {
    font-size: 2.2rem;
  }
}

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

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 75%;
    max-width: 320px;
    height: 100vh;
    background: var(--black);
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 40px;
    gap: 28px;
    transition: right 0.4s ease;
  }

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

  .nav-links a {
    font-size: 1.1rem;
  }

  .nav-cta {
    margin-top: 12px;
  }

  .hero-logo-img {
    height: 67px;
  }

  .hero-subtitle {
    font-size: 1.6rem;
  }

  .hero-tagline {
    font-size: 1rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: center;
  }

  .btn {
    width: 100%;
    justify-content: center;
    max-width: 300px;
  }

  .section-title {
    font-size: 1.8rem;
  }

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

  .contact-form {
    padding: 28px;
  }
}

/* --- Mobile nav overlay --- */
.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
}

.nav-overlay.open {
  opacity: 1;
  visibility: visible;
}

/* --- Animations --- */
@media (prefers-reduced-motion: no-preference) {
  .service-card,
  .about-content,
  .about-image-placeholder,
  .contact-info,
  .contact-form {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.5s ease, box-shadow 0.5s ease, border-color 0.5s ease;
  }

  .service-card.visible,
  .about-content.visible,
  .about-image-placeholder.visible,
  .contact-info.visible,
  .contact-form.visible {
    opacity: 1;
    transform: translateY(0);
  }

  .service-card.visible:hover {
    transform: translateY(-5px) scale(1.02);
  }

  .service-card--featured.visible:hover {
    transform: translateY(-5px) scale(1.02);
  }

  .service-card:nth-child(2) { transition-delay: 0.1s; }
  .service-card:nth-child(3) { transition-delay: 0.2s; }
  .service-card:nth-child(4) { transition-delay: 0.3s; }
}
