/* ============================================================
   MAPACHE DETAILING — styles.css
   Luxury Editorial Design System
   Version: 2.0
   ============================================================ */

/* --- FONTS --- */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,700;1,400&family=Inter:wght@300;400;500&display=swap');

/* --- RESET & BASE --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --black:     #0A0A0A;
  --white:     #FFFFFF;
  --alabaster: #F9F8F6;
  --muted-bg:  #E8E8E8;
  --mid:       #555555;
  --charcoal:  #1A1A1A;
  --cyan:      #00C8C8;         /* accent — use sparingly */
  --border:    rgba(26, 26, 26, 0.12);
  --border-strong: rgba(26, 26, 26, 0.3);
}

html {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  background: var(--white);
  color: var(--black);
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
}

/* ============================================================
   NOISE TEXTURE OVERLAY
   ============================================================ */
.noise {
  position: fixed;
  inset: 0;
  z-index: 50;
  pointer-events: none;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 128px 128px;
}

/* ============================================================
   GRID LINES
   ============================================================ */
.gridlines {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  display: flex;
  justify-content: space-between;
  padding: 0 4%;
}

.gridlines span {
  display: block;
  width: 1px;
  height: 100%;
  background: rgba(26, 26, 26, 0.06);
}

/* ============================================================
   NAVIGATION
   ============================================================ */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 5%;
  border-bottom: 1px solid var(--border);
  background: var(--white);
}

.nav-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  letter-spacing: 0.05em;
  color: var(--black);
}

.nav-logo span {
  color: var(--cyan);
  font-style: italic;
}

.nav-logo img {
  height: 55px;
  top: 10px;
  left: 0;
  right: 0;
  width: auto;
  display: block;
  object-fit: contain;
}

.nav-links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
}

.nav-links a {
  font-size: 0.65rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--mid);
  transition: color 0.5s;
}

.nav-links a:hover {
  color: var(--cyan);
}

.nav-cta {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 0.7rem 1.5rem;
  border: 1px solid var(--charcoal);
  background: transparent;
  color: var(--charcoal);
  transition: background 0.5s, color 0.5s;
  display: inline-block;
}

.nav-cta:hover {
  background: var(--charcoal);
  color: var(--white);
}

.nav-mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
  background: none;
  border: none;
}

.nav-mobile-toggle span {
  display: block;
  width: 22px;
  height: 1px;
  background: var(--charcoal);
  transition: all 0.3s;
}

/* Mobile nav open state */
.nav-mobile-toggle.is-open span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}
.nav-mobile-toggle.is-open span:nth-child(2) {
  opacity: 0;
}
.nav-mobile-toggle.is-open span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding-top: 5rem;
  position: relative;
  overflow: hidden;
}

.hero-left {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 6rem 5% 6rem 5%;
  position: relative;
  z-index: 2;
}

.hero-overline {
  font-size: 0.65rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--mid);
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.hero-overline::before {
  content: '';
  display: block;
  width: 2rem;
  height: 1px;
  background: var(--cyan);
  flex-shrink: 0;
}

.hero-headline {
  font-family: 'Playfair Display', serif;
  font-size: clamp(3rem, 6vw, 6.5rem);
  line-height: 0.93;
  letter-spacing: -0.01em;
  margin-bottom: 2.5rem;
  font-weight: 400;
}

.hero-headline em {
  font-style: italic;
  color: var(--cyan);
}

.hero-sub {
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--mid);
  max-width: 380px;
  margin-bottom: 3rem;
}

.hero-actions {
  display: flex;
  gap: 1.2rem;
  align-items: center;
  flex-wrap: wrap;
}

.hero-right {
  position: relative;
  overflow: hidden;
  background: var(--alabaster);
}

.hero-img-wrap {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.hero-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1);
  transition: filter 2000ms ease-out, transform 2000ms ease-out;
}

.hero-img-wrap:hover img {
  filter: grayscale(0);
  transform: scale(1.04);
}

.hero-placeholder {
  width: 100%;
  height: 100%;
  min-height: 400px;
  background: linear-gradient(160deg, #c8c6be 0%, #9e9c96 30%, #7c7a74 60%, #5a5856 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.raccoon-svg {
  width: 55%;
  max-width: 260px;
  opacity: 0.22;
}

.hero-socials {
  position: absolute;
  bottom: 2rem;
  left: 2rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  z-index: 10;
}

.social-link {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 50%;
  color: var(--charcoal);
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.social-link:hover {
  background: var(--cyan);
  border-color: var(--cyan);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0, 200, 200, 0.3);
}

.social-link svg {
  width: 20px;
  height: 20px;
}

.phone-reveal,
.email-reveal {
  display: flex;
  align-items: center;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 26px;
  padding: 0;
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  width: 44px;
  height: 44px;
  flex-shrink: 0;
}

.phone-reveal:hover,
.email-reveal:hover {
  border-color: var(--cyan);
  box-shadow: 0 4px 16px rgba(0, 200, 200, 0.3);
  transform: translateY(-2px);
}

.phone-reveal svg,
.email-reveal svg {
  width: 20px;
  height: 20px;
  color: var(--charcoal);
  flex-shrink: 0;
  margin: 12px;
  transition: color 0.3s ease;
}

.phone-reveal:hover svg,
.email-reveal:hover svg {
  color: var(--cyan);
}

.phone-number,
.email-address {
  white-space: nowrap;
  width: 0;
  overflow: hidden;
  opacity: 0;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--charcoal);
  padding-right: 0;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.phone-reveal.is-open,
.email-reveal.is-open {
  width: auto;
  border-radius: 26px;
  background: var(--white);
}

.phone-reveal.is-open .phone-number,
.email-reveal.is-open .email-address {
  width: auto;
  opacity: 1;
  padding-right: 18px;
}

.phone-reveal.is-open svg,
.email-reveal.is-open svg {
  color: var(--cyan);
}

.hero-badge {
  position: absolute;
  bottom: 2rem;
  left: 2rem;
  background: var(--white);
  border: 1px solid var(--border);
  padding: 1rem 1.4rem;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
}

.hero-badge-label {
  font-size: 0.6rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--mid);
  margin-bottom: 0.3rem;
}

.hero-badge-val {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  color: var(--black);
  line-height: 1;
}

.hero-vert {
  position: absolute;
  right: 1.5rem;
  top: 50%;
  transform: translateY(-50%) rotate(90deg);
  font-size: 0.6rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(26, 26, 26, 0.25);
  white-space: nowrap;
  writing-mode: vertical-rl;
  transform: none;
  top: auto;
  bottom: 8rem;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn-primary {
  position: relative;
  overflow: hidden;
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 1rem 2rem;
  background: var(--charcoal);
  color: var(--white);
  border: none;
  display: inline-block;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
  transition: box-shadow 0.5s, color 0.3s;
}

.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--cyan);
  transform: translateX(-100%);
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  z-index: 0;
}

.btn-primary:hover::before {
  transform: translateX(0);
}

.btn-primary:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  color: var(--charcoal);
}

.btn-primary span {
  position: relative;
  z-index: 1;
}

.btn-primary.btn-large {
  padding: 1.1rem 2.5rem;
  font-size: 0.7rem;
}

.btn-ghost {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 1rem 2rem;
  background: transparent;
  color: var(--charcoal);
  border: 1px solid var(--charcoal);
  display: inline-block;
  transition: background 0.5s, color 0.5s;
}

.btn-ghost:hover {
  background: var(--charcoal);
  color: var(--white);
}

/* ============================================================
   SECTIONS — BASE
   ============================================================ */
.section {
  padding: 7rem 5%;
  position: relative;
}

.section-alt {
  background: var(--alabaster);
}

.section-dark {
  background: var(--charcoal);
  color: var(--white);
}

.section-label {
  font-size: 0.6rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--mid);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.section-label::before {
  content: '';
  display: block;
  width: 2rem;
  height: 1px;
  background: var(--cyan);
  flex-shrink: 0;
}

.section-dark .section-label {
  color: rgba(255, 255, 255, 0.45);
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.2rem, 4vw, 4rem);
  line-height: 1.05;
  font-weight: 400;
  margin-bottom: 1rem;
}

.section-title em {
  font-style: italic;
  color: var(--cyan);
}

.section-dark .section-title {
  color: var(--white);
}

.section-intro {
  font-size: 0.95rem;
  color: var(--mid);
  line-height: 1.75;
  max-width: 520px;
  margin-bottom: 3.5rem;
}

.section-dark .section-intro {
  color: rgba(255, 255, 255, 0.55);
}

/* ============================================================
   SERVICES CATEGORY BUTTONS
   ============================================================ */
.service-categories {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 3rem;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.category-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  padding: 1.5rem 1rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.category-btn:hover {
  border-color: var(--cyan);
  background: rgba(0, 200, 200, 0.03);
}

.category-btn.active {
  border-color: var(--cyan);
  background: var(--cyan);
  color: var(--white);
}

.category-icon {
  width: 32px;
  height: 32px;
  color: var(--charcoal);
  transition: color 0.3s ease;
}

.category-btn:hover .category-icon {
  color: var(--cyan);
}

.category-btn.active .category-icon {
  color: var(--white);
}

.category-btn span {
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 500;
  text-align: center;
}

/* Services Content Sections */
.services-content {
  display: none;
  margin-top: 2rem;
}

.services-content.active {
  display: block;
  animation: fadeIn 0.4s ease-out;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.size-disclaimer {
  text-align: center;
  font-size: 0.75rem;
  color: var(--mid);
  margin-bottom: 1.5rem;
  padding: 0.75rem 1rem;
  background: rgba(0, 200, 200, 0.08);
  border-radius: 8px;
  border: 1px solid rgba(0, 200, 200, 0.2);
}

/* ============================================================
   SERVICES ACCORDION
   ============================================================ */
.services-grid {
  border-top: 1px solid var(--border);
}

.service-item {
  border-bottom: 1px solid var(--border);
}

.service-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.6rem 0;
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  gap: 1rem;
  cursor: pointer;
}

.service-header:hover .service-name {
  color: var(--cyan);
}

.service-left {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.service-right {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.service-num {
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  color: var(--mid);
  min-width: 28px;
  font-family: 'Inter', sans-serif;
}

.service-name {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1rem, 2vw, 1.5rem);
  font-weight: 400;
  transition: color 0.5s;
  color: var(--black);
}

.service-price {
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  color: var(--mid);
  white-space: nowrap;
  font-family: 'Inter', sans-serif;
}

.service-toggle {
  width: 28px;
  height: 28px;
  border: 1px solid rgba(26, 26, 26, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: border-color 0.5s, transform 0.5s, color 0.5s;
  font-size: 16px;
  color: var(--mid);
  line-height: 1;
}

.service-item.is-open .service-toggle {
  border-color: var(--cyan);
  transform: rotate(45deg);
  color: var(--cyan);
}

.service-item.is-open .service-name {
  color: var(--cyan);
}

.service-body {
  padding: 0 0 2rem 3.5rem;
  animation: fadeSlide 0.4s ease-out;
}

.service-body[hidden] {
  display: none;
}

@keyframes fadeSlide {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.service-desc {
  font-size: 0.9rem;
  line-height: 1.75;
  color: var(--mid);
  max-width: 600px;
  margin-bottom: 1.2rem;
}

/* Drop cap */
.drop-cap::first-letter {
  font-family: 'Playfair Display', serif;
  font-size: 4rem;
  font-weight: 400;
  float: left;
  line-height: 0.82;
  margin-right: 0.12em;
  margin-top: 0.08em;
  color: var(--black);
}

.service-features {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.service-tag {
  font-size: 0.6rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.4rem 0.8rem;
  border: 1px solid var(--border-strong);
  color: var(--mid);
  font-family: 'Inter', sans-serif;
}

/* ============================================================
   BEFORE / AFTER SLIDER
   ============================================================ */
.sliders-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  max-width: 1400px;
  margin: 0 auto;
}

.slider-column {
  display: flex;
  flex-direction: column;
}

.slider-label-top {
  text-align: center;
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-style: italic;
  color: var(--cyan);
  margin-bottom: 1rem;
}

.slider-wrap {
  flex: 1;
}

.slider-container {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.08);
  cursor: ew-resize;
  user-select: none;
  -webkit-user-select: none;
}

.slider-before,
.slider-after {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.slider-before img,
.slider-after img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.slider-after {
  clip-path: inset(0 50% 0 0);
  transition: none;
}

/* Fallback when no image is provided */
.img-fallback {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  gap: 0.5rem;
  text-align: center;
  padding: 2rem;
}

.img-fallback span {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  opacity: 0.5;
  color: var(--white);
}

.img-fallback small {
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  opacity: 0.4;
  color: var(--white);
}

.img-fallback--before {
  background: linear-gradient(145deg, #6b6762 0%, #4e4c49 50%, #3a3936 100%);
}

.img-fallback--after {
  background: linear-gradient(145deg, #d4d2cc 0%, #e8e6e0 40%, #f0ede8 100%);
}

.img-fallback--after span,
.img-fallback--after small {
  color: var(--charcoal);
}

.slider-label {
  position: absolute;
  top: 1rem;
  font-size: 0.6rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  padding: 0.4rem 0.8rem;
  background: rgba(0, 0, 0, 0.45);
  color: white;
  z-index: 5;
  pointer-events: none;
  font-family: 'Inter', sans-serif;
}

.slider-label--before { left: 1rem; }
.slider-label--after  { right: 1rem; }

.slider-divider {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  background: var(--white);
  z-index: 10;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.slider-handle {
  width: 44px;
  height: 44px;
  background: var(--white);
  border: 2px solid rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
  flex-shrink: 0;
  cursor: ew-resize;
}

.slider-handle svg {
  width: 18px;
  height: 18px;
  color: var(--charcoal);
}

.slider-note {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.4);
  text-align: center;
  margin-top: 1rem;
  letter-spacing: 0.05em;
  font-family: 'Inter', sans-serif;
}

/* ============================================================
   STATS
   ============================================================ */
.stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  margin-top: 5rem;
}

.stat-item {
  padding: 2.5rem 2rem;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
}

.stat-item:last-child {
  border-right: none;
}

.stat-num {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.5rem, 4vw, 4rem);
  line-height: 1;
  margin-bottom: 0.5rem;
  color: var(--white);
}

.section-dark .stat-num {
  color: var(--white);
}

.stat-num em {
  font-style: italic;
  color: var(--cyan);
}

.stat-label {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  font-family: 'Inter', sans-serif;
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2.5rem;
  margin-top: 3.5rem;
}

.testimonial-card {
  padding: 2rem;
  border-top: 3px solid rgba(26, 26, 26, 0.1);
  transition: border-color 0.5s, padding-left 0.5s;
}

.testimonial-card:hover {
  border-top-color: var(--cyan);
  padding-left: 0.5rem;
}

.t-stars {
  color: var(--cyan);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
}

.t-quote {
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--black);
  margin-bottom: 1.5rem;
  font-style: italic;
  font-weight: 400;
}

.t-author {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--mid);
  font-family: 'Inter', sans-serif;
}

/* ============================================================
   CONTACT FORM / CTA SECTION
   ============================================================ */
.cta-section {
  text-align: center;
  overflow: hidden;
}

.contact-layout {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  grid-template-areas:
    "preform preform"
    "form contact";
  gap: 3.25rem;
  align-items: start;
}

.contact-preform {
  grid-area: preform;
}

.contact-form-wrap {
  grid-area: form;
  min-width: 0;
}

.contact-right {
  grid-area: contact;
  text-align: left;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(6px);
}

.contact-right-title {
  font-size: 0.65rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 1rem;
  font-family: 'Inter', sans-serif;
  text-align: center;
}

.cta-label {
  justify-content: center;
  color: rgba(255, 255, 255, 0.4) !important;
}

.cta-label::before {
  background: rgba(255, 255, 255, 0.3) !important;
}

.cta-title {
  margin: 0 auto 1.5rem;
  max-width: 700px;
}

.cta-intro {
  margin: 0 auto 3rem;
}

.cta-raccoon {
  position: absolute;
  right: 4%;
  bottom: 0;
  font-size: clamp(8rem, 15vw, 18rem);
  line-height: 1;
  pointer-events: none;
  opacity: 0.06;
  user-select: none;
}

/* Contact Form */
.contact-form {
  max-width: 680px;
  margin: 0 auto;
  text-align: left;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group--full {
  grid-column: 1 / -1;
}

.form-group label {
  font-size: 0.6rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  font-family: 'Inter', sans-serif;
}

.form-group input,
.form-group select,
.form-group textarea {
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
  color: var(--white);
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  padding: 0.7rem 0;
  outline: none;
  transition: border-color 0.4s;
  width: 100%;
  -webkit-appearance: none;
  appearance: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  color: rgba(255, 255, 255, 0.3);
  font-size: 0.9rem;
}

.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='rgba(255,255,255,0.4)' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.5rem center;
  padding-right: 2rem;
  cursor: pointer;
  color: rgba(255, 255, 255, 0.6);
}

.form-group select option {
  background: var(--charcoal);
  color: var(--white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-bottom-color: var(--cyan);
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
  line-height: 1.6;
}

.form-submit-row {
  margin-top: 2.5rem;
  display: flex;
  justify-content: center;
}

.form-note {
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-align: center;
  color: rgba(255, 255, 255, 0.3);
  margin-top: 1.2rem;
  font-family: 'Inter', sans-serif;
}

/* Form success message */
.form-success {
  text-align: center;
  padding: 3rem;
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  color: var(--white);
  font-style: italic;
  opacity: 0;
  animation: fadeSlide 0.6s ease-out forwards;
}

/* ============================================================
   GALLERY
   ============================================================ */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 3rem;
  max-width: 100%;
}

.gallery-item {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--muted-bg);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease, filter 0.4s ease;
  filter: grayscale(30%);
}

.gallery-item:hover img {
  transform: scale(1.05);
  filter: grayscale(0%);
}

.gallery-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  color: var(--mid);
  background: linear-gradient(135deg, var(--alabaster) 0%, var(--muted-bg) 100%);
}

.gallery-placeholder span {
  font-size: 2rem;
  opacity: 0.4;
}

.gallery-placeholder small {
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  opacity: 0.5;
}

.gallery-note {
  text-align: center;
  margin-top: 2rem;
  font-size: 0.85rem;
  color: var(--mid);
}

.gallery-note a {
  color: var(--cyan);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s;
}

.gallery-note a:hover {
  border-bottom-color: var(--cyan);
}

@media (max-width: 768px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   BOOKING CTA
   ============================================================ */
.booking-cta {
  text-align: center;
  max-width: 500px;
  margin: 0 auto;
}

/* Booking button - cyan primary, white on hover */
.booking-cta .btn-primary {
  background: var(--cyan) !important;
  color: var(--charcoal) !important;
  transition: background 0.4s ease, box-shadow 0.5s, color 0.3s;
}

.booking-cta .btn-primary::before {
  content: none !important;
  display: none !important;
}

.booking-cta .btn-primary:hover {
  background: var(--white) !important;
  color: var(--charcoal) !important;
  box-shadow: 0 8px 24px rgba(0, 200, 200, 0.3);
}

/* Cyan button class - for Send Message button */
.btn-cyan {
  background: var(--cyan) !important;
  color: var(--charcoal) !important;
  transition: background 0.4s ease, box-shadow 0.5s, color 0.3s;
}

.btn-cyan::before {
  content: none !important;
  display: none !important;
}

.btn-cyan:hover {
  background: var(--white) !important;
  color: var(--charcoal) !important;
  box-shadow: 0 8px 24px rgba(0, 200, 200, 0.3);
}

/* Form success/error messages */
.form-success {
  text-align: center;
  padding: 2rem;
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  color: var(--cyan);
  font-style: italic;
}

.form-error {
  text-align: center;
  padding: 1rem;
  font-size: 0.9rem;
  color: #ff6b6b;
}

.contact-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 6rem auto 7rem;
  max-width: 680px;
}

.contact-divider::before,
.contact-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(255, 255, 255, 0.15);
}

.contact-divider span {
  padding: 0 1.5rem;
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.35);
  font-family: 'Inter', sans-serif;
}

.booking-note {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.4);
  margin: 2rem 0 1rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: center;
}

.contact-right .contact-methods {
  width: 100%;
  gap: 0;
  align-items: stretch;
}

.contact-right .contact-link {
  width: 100%;
  min-width: 0;
  justify-content: center;
  border: none;
  border-radius: 0;
  padding: 1rem 0.75rem;
}

.contact-right .contact-link + .contact-link {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.contact-right .contact-link:hover {
  border-color: transparent;
}

.contact-link {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: all 0.3s ease;
  min-width: 250px;
}

.contact-link:hover {
  border-color: var(--cyan);
  color: var(--white);
  background: rgba(0, 200, 200, 0.1);
}

.contact-link svg {
  flex-shrink: 0;
  opacity: 0.6;
  width: 18px;
  height: 18px;
}

.contact-link:hover svg {
  opacity: 1;
}

@media (max-width: 980px) {
  .contact-layout {
    grid-template-columns: 1fr;
    grid-template-areas:
      "preform"
      "form"
      "contact";
    gap: 2.25rem;
  }

  .contact-right {
    max-width: 680px;
    margin: 0 auto;
  }
}

/* ============================================================
   FOOTER
   ============================================================ */
footer {
  padding: 2.5rem 5%;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
  background: var(--white);
}

.footer-links {
  display: flex;
  gap: 2rem;
}

.footer-links a {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--mid);
  transition: color 0.4s;
}

.footer-links a:hover {
  color: var(--cyan);
}

.footer-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.25rem;
}

.footer-meta span {
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--mid);
  font-family: 'Inter', sans-serif;
}

/* ============================================================
   RESPONSIVE — TABLET
   ============================================================ */
@media (max-width: 1024px) {
  .hero-vert {
    display: none;
  }
}

/* ============================================================
   RESPONSIVE — MOBILE
   ============================================================ */
@media (max-width: 768px) {
  /* Service Categories */
  .service-categories {
    grid-template-columns: repeat(2, 1fr);
  }

  .category-btn {
    padding: 1.25rem 0.75rem;
  }

  .category-icon {
    width: 28px;
    height: 28px;
  }

  .category-btn span {
    font-size: 0.6rem;
  }

  /* Sliders Grid */
  .sliders-grid {
    grid-template-columns: 1fr;
  }

  /* Nav */
  .nav-links,
  .nav-cta {
    display: none;
  }

  .nav-mobile-toggle {
    display: flex;
  }

  .nav-links.is-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.97);
    padding: 1.5rem 5%;
    gap: 1.5rem;
    border-bottom: 1px solid var(--border);
    z-index: 99;
  }

  /* Hero */
  .hero {
    grid-template-columns: 1fr;
  }

  .hero-left {
    padding: 3rem 5% 3rem;
  }

  .hero-right {
    min-height: 55vw;
  }

  .hero-vert {
    display: none;
  }

  /* Sections */
  .section {
    padding: 5rem 5%;
  }

  /* Stats */
  .stats-row {
    grid-template-columns: 1fr 1fr;
  }

  .stats-row .stat-item:nth-child(3) {
    grid-column: 1 / -1;
    border-right: none;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
  }

  /* Services */
  .service-body {
    padding-left: 0;
  }

  .service-left {
    gap: 1rem;
  }

  /* Form */
  .form-row {
    grid-template-columns: 1fr;
  }

  .form-group--full {
    grid-column: 1;
  }

  /* Footer */
  footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-meta {
    align-items: flex-start;
  }

  .footer-links {
    flex-wrap: wrap;
    gap: 1rem;
  }

  /* Grid lines — hide on small screens */
  .gridlines {
    display: none;
  }
}

/* ============================================================
   REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
