:root {
  --primary-color: #5d4037;
  --secondary-color: #8d6e63;
  --accent-color: #bcaaa4;
  --text-dark: #3e2723;
  --text-light: #fbe9e7;
  --bg-light: #f5f5f5;
  --container-width: 1200px;
  --header-height: 80px;
  --white: #ffffff;
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 12px rgba(93, 64, 55, 0.1);
  --shadow-lg: 0 10px 30px rgba(93, 64, 55, 0.15);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Montserrat", sans-serif;
  background-color: var(--bg-light);
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
.logo-main {
  font-family: "Playfair Display", serif;
  font-weight: 700;
}

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

header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  display: flex;
  align-items: center;
  z-index: 1000;
  transition: all 0.4s ease;
  background: transparent;
}

header.scrolled {
  background: rgba(255, 255, 255, 0.95);
  height: 70px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  backdrop-filter: blur(10px);
}

header.scrolled .logo-main,
header.scrolled .nav-item {
  color: var(--text-dark);
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.logo {
  display: flex;
  flex-direction: column;
  line-height: 1;
  z-index: 1002;
}

.logo-main {
  font-size: 1.8rem;
  letter-spacing: 2px;
  color: #fff;
  transition: color 0.4s ease;
}

.logo-sub {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 4px;
  color: var(--accent-color);
  margin-top: 4px;
}

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

.nav-item {
  text-decoration: none;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  transition: all 0.3s ease;
  position: relative;
}

header.scrolled .nav-item:hover {
  color: var(--primary-color);
}

.nav-item::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-color);
  transition: width 0.3s ease;
}

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

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.1);
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  margin-bottom: 30px;
  backdrop-filter: blur(5px);
}

.status-badge .dot {
  width: 8px;
  height: 8px;
  background: #4caf50;
  border-radius: 50%;
  box-shadow: 0 0 10px #4caf50;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.5);
    opacity: 0.5;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

.hero {
  position: relative;
  height: 100dvh;
  display: flex;
  align-items: center;
  background: #000;
  color: #fff;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(0, 0, 0, 0.8) 30%,
    transparent 70%
  );
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: 700px;
}

.hero h1 {
  font-size: 3.5rem;
  line-height: 1.1;
  margin-bottom: 25px;
}

.hero h1 .italic {
  font-style: italic;
  color: var(--accent-color);
}

.hero p {
  font-size: 1.1rem;
  margin-bottom: 40px;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 300;
}

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

.btn-primary {
  padding: 16px 35px;
  background: var(--primary-color);
  color: #fff;
  border: none;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.75rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background: var(--secondary-color);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.btn-outline {
  padding: 16px 35px;
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.3);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.75rem;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
}

.btn-outline:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

.hero-slider-wrap {
  position: absolute;
  top: 0;
  right: 0;
  width: 60%;
  height: 100%;
  z-index: 0;
}

.ba-container {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  transition: opacity 0.3s ease;
}

.ba-container.fade-out {
  opacity: 0;
}

.ba-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
}

.ba-img.after {
  clip-path: polygon(25% 0, 100% 0, 100% 100%, 0% 100%);
}

.slider-controls {
  position: absolute;
  bottom: 50px;
  right: 50px;
  z-index: 20;
  display: flex;
  gap: 15px;
}

.slider-tab {
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  padding: 10px 20px;
  font-size: 0.6rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(5px);
}

.slider-tab.active {
  background: var(--primary-color);
  border-color: var(--primary-color);
}

.marquee-section {
  background: #fff;
  padding: 30px 0;
  border-bottom: 1px solid #eee;
}

.marquee {
  width: 100%;
  overflow: hidden;
  white-space: nowrap;
}

.marquee-content {
  display: inline-block;
  animation: marquee 30s linear infinite;
}

.marquee-content span {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 4px;
  margin: 0 30px;
  color: var(--text-dark);
  opacity: 0.3;
}

.marquee-content .separator {
  color: var(--primary-color);
  opacity: 1;
}

@keyframes marquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

section {
  padding: 120px 0;
}

/* --- TRANSFORMATION SLIDER --- */
#transformation {
  background-color: #111;
  padding: 8rem 0;
  overflow: hidden;
}

#transformation h2 {
  text-align: center;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 5px;
  color: var(--secondary-color);
  margin-bottom: 16px;
}

.transformation-title {
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  line-height: 1;
  letter-spacing: -0.03em;
  font-weight: 700;
  color: #fff;
  margin-bottom: 1.5rem;
  text-align: center;
}

.italic-art {
  color: var(--accent-color);
  font-style: italic;
  font-weight: 700;
}

.section-intro {
  text-align: center;
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.85rem;
  letter-spacing: 0.5px;
  margin-bottom: 3rem;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

/* Tab selector */
.transformation-selector {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.transformation-tab {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.45);
  padding: 9px 22px;
  font-family: "Montserrat", sans-serif;
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  cursor: pointer;
  transition: all 0.25s ease;
  border-radius: 2px;
}

.transformation-tab:hover {
  border-color: rgba(255, 255, 255, 0.4);
  color: rgba(255, 255, 255, 0.8);
}

.transformation-tab.active {
  background: var(--primary-color);
  border-color: var(--primary-color);
  color: #fff;
}

/* Comparison slider wrapper */
.comparison-slider {
  position: relative;
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  aspect-ratio: 16 / 7;
  overflow: hidden;
  cursor: ew-resize;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

/* Before image — full width base layer */
.before-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.before-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
  user-select: none;
}

/* After image — clipped top layer */
.after-image {
  position: absolute;
  inset: 0;
  width: 50%;
  height: 100%;
  overflow: hidden;
  z-index: 2;
  transition: width 0s;
}

.after-image img {
  width: 100vw;
  max-width: var(--container-width);
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
  user-select: none;
}

/* Before / After labels */
.label-before,
.label-after {
  position: absolute;
  bottom: 20px;
  z-index: 10;
  font-family: "Montserrat", sans-serif;
  font-size: 0.6rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 3px;
  padding: 7px 14px;
  backdrop-filter: blur(8px);
  border-radius: 2px;
  pointer-events: none;
}

.label-before {
  left: 20px;
  background: rgba(0, 0, 0, 0.55);
  color: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.label-after {
  right: 20px;
  background: rgba(93, 64, 55, 0.75);
  color: #fff;
  border: 1px solid rgba(188, 170, 164, 0.25);
}

/* Invisible range input — covers full slider for drag interaction */
.slider-handle {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: ew-resize;
  z-index: 20;
  margin: 0;
  -webkit-appearance: none;
}

/* Divider line */
.slider-line {
  position: absolute;
  top: 0;
  left: 50%;
  width: 2px;
  height: 100%;
  background: rgba(255, 255, 255, 0.9);
  transform: translateX(-50%);
  z-index: 15;
  pointer-events: none;
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.4);
}

/* Drag handle button */
.slider-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 52px;
  height: 52px;
  background: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
  font-size: 1rem;
  z-index: 16;
  pointer-events: none;
  box-shadow:
    0 4px 20px rgba(0, 0, 0, 0.35),
    0 0 0 4px rgba(255, 255, 255, 0.15);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.comparison-slider:hover .slider-button {
  box-shadow:
    0 6px 28px rgba(0, 0, 0, 0.45),
    0 0 0 6px rgba(255, 255, 255, 0.12);
}

@media (max-width: 768px) {
  .comparison-slider {
    aspect-ratio: 4/3;
  }
  .transformation-tab {
    padding: 8px 14px;
    font-size: 0.58rem;
  }
  .label-before,
  .label-after {
    font-size: 0.5rem;
    padding: 5px 10px;
    bottom: 12px;
  }
  .slider-button {
    width: 40px;
    height: 40px;
    font-size: 0.8rem;
  }
}

@media (max-width: 768px) {
  #hero h1 {
    font-size: 2.5rem;
  }
}

/* --- CALCULATOR SECTION --- */
.calculator-section {
  background-color: var(--text-dark);
  color: var(--text-light);
  padding: 8rem 2rem;
}

.calculator-title {
  color: var(--white);
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.calculator-intro {
  color: var(--accent-color);
  font-size: 1.1rem;
  margin-bottom: 4rem;
  font-weight: 300;
}

.calculator-card {
  background: rgba(255, 255, 255, 0.05);
  padding: 3rem;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
}

.slider-group {
  margin-bottom: 3rem;
}

.slider-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 1rem;
  font-weight: 600;
}

.slider-header .value {
  color: var(--accent-color);
}

.size-slider {
  width: 100%;
  -webkit-appearance: none;
  background: rgba(255, 255, 255, 0.1);
  height: 4px;
  border-radius: 2px;
  outline: none;
}

.size-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  background: var(--accent-color);
  border-radius: 50%;
  cursor: pointer;
  transition: var(--transition);
}

.slider-footer {
  display: flex;
  justify-content: space-between;
  margin-top: 0.5rem;
  font-size: 0.75rem;
  opacity: 0.5;
  font-family: monospace;
}

.scope-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.scope-btn {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  cursor: pointer;
  transition: var(--transition);
  text-align: left;
}

.scope-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--accent-color);
}

.scope-btn.active {
  background: rgba(188, 170, 164, 0.1);
  border-color: var(--accent-color);
}

.btn-title {
  color: var(--white);
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.btn-desc {
  font-size: 0.75rem;
  opacity: 0.6;
  color: var(--text-light);
}

.radio-circle {
  width: 20px;
  height: 20px;
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.scope-btn.active .radio-circle {
  border-color: var(--accent-color);
}

.radio-dot {
  width: 10px;
  height: 10px;
  background: var(--accent-color);
  border-radius: 50%;
  opacity: 0;
  transition: opacity 0.2s;
}

.scope-btn.active .radio-dot {
  opacity: 1;
}

.consult-submit-btn {
  width: 100%;
  padding: 1.2rem;
  background: var(--white);
  color: var(--text-dark);
  border: none;
  border-radius: 12px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  transition: var(--transition);
}

.consult-submit-btn:hover {
  background: var(--cream-color);
  transform: translateY(-2px);
}

.section-title {
  margin-bottom: 60px;
  text-align: center;
}

.subtitle {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 5px;
  color: var(--secondary-color);
  margin-bottom: 10px;
}

.section-title h2 {
  font-size: 2.5rem;
  color: var(--text-dark);
}

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

.service-card {
  background: #fff;
  border: 1px solid #eee;
  cursor: pointer;
  transition: all 0.4s ease;
  height: 100%;
}

.card-img {
  height: 250px;
  background-size: cover;
  background-position: center;
  transition: all 0.6s ease;
}

.service-card:hover .card-img {
  transform: scale(1.05);
}

.card-body {
  padding: 40px;
  text-align: center;
}

.card-body h3 {
  font-size: 1.4rem;
  margin-bottom: 15px;
}

.card-body p {
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 25px;
}

.view-gallery {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--primary-color);
  opacity: 1;
  transition: all 0.3s ease;
}

.service-card:hover .view-gallery {
  gap: 15px;
}

.about {
  background: #fff;
}

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

.about-content h2 {
  font-size: 3rem;
  line-height: 1.1;
  margin-bottom: 30px;
}

.about-content p {
  font-size: 1.1rem;
  color: #555;
  margin-bottom: 25px;
}

.about-stats {
  display: flex;
  gap: 50px;
  margin-top: 40px;
}

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

.stat .number {
  font-family: "Playfair Display", serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-color);
}

.stat .label {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #999;
}

.tony-portrait {
  width: 100%;
  box-shadow: 30px 30px 0 var(--accent-color);
}

.calculator {
  background: var(--text-dark);
  color: #fff;
}

.calc-text h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.calc-text p {
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 40px;
}

.calc-options {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.calc-item {
  display: flex;
  justify-content: space-between;
  padding: 20px 25px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  cursor: pointer;
  transition: all 0.3s ease;
}

.calc-item:hover {
  background: rgba(255, 255, 255, 0.1);
}

.calc-item.active {
  background: var(--primary-color);
  border-color: var(--primary-color);
}

.item-name {
  font-size: 0.85rem;
  font-weight: 600;
}

.item-price {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent-color);
}

.calc-item.active .item-price {
  color: #fff;
}

.calc-result-box {
  background: #fff;
  color: var(--text-dark);
  padding: 60px;
  text-align: center;
  position: relative;
}

.calc-result-box::before {
  content: "";
  position: absolute;
  top: 15px;
  left: 15px;
  right: 15px;
  bottom: 15px;
  border: 1px solid #eee;
}

.result-content {
  position: relative;
  z-index: 1;
}

.result-content h4 {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: #999;
  margin-bottom: 20px;
}

.total-wrap {
  margin-bottom: 30px;
}

.currency {
  font-size: 2rem;
  font-weight: 300;
  vertical-align: top;
  margin-right: 5px;
}

.total {
  font-size: 5rem;
  font-family: "Playfair Display", serif;
  font-weight: 700;
  line-height: 1;
}

.result-content p {
  font-size: 0.8rem;
  color: #888;
  margin-bottom: 40px;
}

/* --- CALCULATOR SECTION --- */
.calculator-section {
  background-color: var(--text-dark);
  color: var(--text-light);
  padding: 8rem 2rem;
}

.container-narrow {
  max-width: 800px;
  margin: 0 auto;
}

.calculator-title {
  color: var(--white);
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.calculator-intro {
  color: var(--accent-color);
  font-size: 1.1rem;
  margin-bottom: 4rem;
  font-weight: 300;
}

.calculator-card {
  background: rgba(255, 255, 255, 0.05);
  padding: 3rem;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
}

.slider-group {
  margin-bottom: 3rem;
}

.slider-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 1rem;
  font-weight: 600;
}

.slider-header .value {
  color: var(--accent-color);
}

.size-slider {
  width: 100%;
  -webkit-appearance: none;
  background: rgba(255, 255, 255, 0.1);
  height: 4px;
  border-radius: 2px;
  outline: none;
}

.size-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  background: var(--accent-color);
  border-radius: 50%;
  cursor: pointer;
  transition: var(--transition);
}

.slider-footer {
  display: flex;
  justify-content: space-between;
  margin-top: 0.5rem;
  font-size: 0.75rem;
  opacity: 0.5;
  font-family: monospace;
}

.btn-dsgn {
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  padding-bottom: 2rem;
}

.scope-btn {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  cursor: pointer;
  transition: var(--transition);
  text-align: left;
}

.scope-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--accent-color);
}

.scope-btn.active {
  background: rgba(188, 170, 164, 0.1);
  border-color: var(--accent-color);
}

.btn-title {
  color: var(--white);
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.btn-desc {
  font-size: 0.75rem;
  opacity: 0.6;
  color: var(--text-light);
}

.radio-circle {
  width: 20px;
  height: 20px;
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.scope-btn.active .radio-circle {
  border-color: var(--accent-color);
}

.radio-dot {
  width: 10px;
  height: 10px;
  background: var(--accent-color);
  border-radius: 50%;
  opacity: 0;
  transition: opacity 0.2s;
}

.scope-btn.active .radio-dot {
  opacity: 1;
}

.consult-submit-btn {
  width: 100%;
  padding: 1.2rem;
  background: var(--white);
  color: var(--text-dark);
  border: none;
  border-radius: 12px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  transition: var(--transition);
}

.consult-submit-btn:hover {
  background: var(--cream-color);
  transform: translateY(-2px);
}

.footer {
  background: #1a1a1a;
  color: #fff;
  padding: 100px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 100px;
  padding-bottom: 80px;
}

.footer-brand .logo-main {
  color: #fff;
  margin-bottom: 10px;
}

.footer-brand p {
  color: #777;
  max-width: 350px;
  margin-top: 20px;
}

.footer-contact h4 {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--accent-color);
  margin-bottom: 25px;
}

.footer-contact p {
  margin-bottom: 15px;
  color: #999;
}

.footer-contact i {
  width: 25px;
  color: var(--secondary-color);
}
.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2.5rem;
}

.footer-bottom {
  display: flex;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2.5rem;
  opacity: 0.4;
}

.footer-links {
  list-style: none;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2.5rem;
  padding: 0;
  margin: 0;
  flex-wrap: wrap;
}

@media (max-width: 480px) {
  .footer-links {
    flex-direction: column;
    gap: 1.5rem;
  }
}

.footer-links a {
  text-decoration: none;
  color: var(--white);
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  opacity: 0.7;
  transition: var(--transition);
  position: relative;
}

.footer-links a::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-color);
  transition: var(--transition);
}

.footer-links a:hover {
  opacity: 1;
  color: var(--white);
}

.footer-links a:hover::after {
  width: 100%;
}

.footer-social a {
  color: var(--white);
  font-size: 2rem;
  opacity: 0.7;
  transition: var(--transition);
}

.footer-social a:hover {
  opacity: 1;
  transform: translateY(-3px);
  color: #1877f2;
}

.copyright {
  font-size: 0.85rem;
  opacity: 0.4;
  margin: 0;
  letter-spacing: 0.5px;
}

footer .contact-btn {
  background-color: transparent;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 0.6rem 1.2rem;
  font-size: 0.85rem;
}

footer .contact-btn:hover {
  background-color: var(--white);
  color: #121212;
  border-color: var(--white);
}

.modal,
.lightbox-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.95);
  z-index: 2000;
  align-items: center;
  justify-content: center;
}

.modal-content {
  background: #fff;
  width: 90%;
  max-width: 500px;
  padding: 60px;
  position: relative;
  animation: modalIn 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
}

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

.modal-content h3 {
  font-size: 2rem;
  margin-bottom: 15px;
}

.modal-content p {
  font-size: 0.9rem;
  color: #777;
  margin-bottom: 40px;
}

.close-btn,
.close-lightbox {
  position: absolute;
  top: 30px;
  right: 30px;
  font-size: 2rem;
  color: var(--text-dark);
  cursor: pointer;
  background: none;
  border: none;
  transition: all 0.3s ease;
}

.close-lightbox {
  color: #fff;
}

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

.form-group label {
  display: block;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #999;
  margin-bottom: 10px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 15px 0;
  border: none;
  border-bottom: 1px solid #eee;
  font-family: inherit;
  outline: none;
  transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--primary-color);
}

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

.success-overlay {
  position: absolute;
  inset: 0;
  background: #fff;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 10;
  padding: 60px;
}

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

.checkmark-circle {
  width: 80px;
  height: 80px;
  border: 2px solid #4caf50;
  border-radius: 50%;
  margin: 0 auto 30px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.checkmark {
  width: 30px;
  height: 15px;
  border-left: 3px solid #4caf50;
  border-bottom: 3px solid #4caf50;
  transform: rotate(-45deg) translateY(-5px);
}

.lightbox-content {
  width: 95%;
  max-width: var(--container-width);
  height: 90vh;
  display: flex;
  flex-direction: column;
}

.gallery-header {
  text-align: center;
  color: #fff;
  margin-bottom: 50px;
}

.gallery-header h2 {
  font-size: 3rem;
  margin-bottom: 10px;
}

.gallery-header p {
  color: var(--accent-color);
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 0.8rem;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  overflow-y: auto;
  padding-right: 15px;
}

.gallery-grid img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  cursor: pointer;
  transition: opacity 0.3s ease;
}

.gallery-grid img:hover {
  opacity: 0.8;
}

.gallery-grid::-webkit-scrollbar {
  width: 5px;
}

.gallery-grid::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.05);
}

.gallery-grid::-webkit-scrollbar-thumb {
  background: var(--primary-color);
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

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

.hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1100;
}

.hamburger span {
  width: 25px;
  height: 2px;
  background: #fff;
  transition: all 0.3s ease;
}

@media (max-width: 1024px) {
  .hero h1 {
    font-size: 2.5rem;
  }
  .hero-slider-wrap {
    width: 50%;
  }
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .about-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }
  .calc-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    height: 100vh;
    background: #fff;
    flex-direction: column;
    justify-content: center;
    transition: all 0.5s ease;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
  }

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

  .nav-item {
    color: var(--text-dark);
    font-size: 1.2rem;
  }

  .hamburger {
    display: flex;
  }
  header.scrolled .hamburger span {
    background: var(--text-dark);
  }

  .hamburger.is-active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
    background: var(--text-dark);
  }
  .hamburger.is-active span:nth-child(2) {
    opacity: 0;
  }
  .hamburger.is-active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -7px);
    background: var(--text-dark);
  }

  .hero-slider-wrap {
    display: none;
  }
  .hero-content {
    text-align: center;
    margin: 0 auto;
  }
  .hero-actions {
    justify-content: center;
  }
  .hero-overlay {
    background: rgba(0, 0, 0, 0.7);
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }
  .services-grid {
    grid-template-columns: 1fr;
  }
}

.fullscreen-viewer {
  display: none;
  position: fixed;
  inset: 0;
  background: #000;
  z-index: 3000;
  align-items: center;
  justify-content: center;
}

.viewer-img-wrap {
  width: 90%;
  height: 90%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.fullscreen-viewer img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.close-viewer {
  position: absolute;
  top: 30px;
  right: 30px;
  font-size: 3rem;
  color: #fff;
  cursor: pointer;
  z-index: 3001;
}

/* --- FOOTER --- */
footer {
  background-color: #121212; /* Darker background */
  background-color: var(--primary-color);
  color: var(--white);
  padding: 4.5rem 2rem;
  text-align: center;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2.5rem;
}

.footer-links {
  list-style: none;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2.5rem;
  padding: 0;
  margin: 0;
  flex-wrap: wrap;
}

@media (max-width: 480px) {
  .footer-links {
    flex-direction: column;
    gap: 1.5rem;
  }
}

.footer-links a {
  text-decoration: none;
  color: var(--white);
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  opacity: 0.7;
  transition: var(--transition);
  position: relative;
}

.footer-links a::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-color);
  transition: var(--transition);
}

.footer-links a:hover {
  opacity: 1;
  color: var(--white);
}

.footer-links a:hover::after {
  width: 100%;
}

.footer-social a {
  color: var(--white);
  font-size: 2rem;
  opacity: 0.7;
  transition: var(--transition);
}

.footer-social a:hover {
  opacity: 1;
  transform: translateY(-3px);
  color: #1877f2;
}

.copyright {
  font-size: 0.85rem;
  opacity: 0.4;
  margin: 0;
  letter-spacing: 0.5px;
}

footer .contact-btn {
  background-color: transparent;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 0.6rem 1.2rem;
  font-size: 0.85rem;
}

footer .contact-btn:hover {
  background-color: var(--white);
  color: #121212;
  border-color: var(--white);
}

/* Success Animation Styles */
.modal__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: none;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px;
  z-index: 100;
  background-color: #ffffff;
  border-radius: 8px;
}

.modal__overlay--visible {
  display: flex !important;
}

#modal-form-content.hidden {
  display: none;
}

.success-checkmark {
  width: 80px;
  height: 115px;
  margin: 0 auto;
}

.check-icon {
  width: 80px;
  height: 80px;
  position: relative;
  border-radius: 50%;
  box-sizing: content-box;
  border: 4px solid #4caf50;
  border: 4px solid var(--primary-color);
}

.check-icon::before {
  top: 3px;
  left: -2px;
  width: 30px;
  transform-origin: 100% 50%;
  border-radius: 100px 0 0 100px;
}

.icon-line {
  height: 5px;
  background-color: #4caf50;
  background-color: var(--primary-color);
  display: block;
  border-radius: 2px;
  position: absolute;
  z-index: 10;
}

.line-tip {
  top: 46px;
  left: 14px;
  width: 25px;
  transform: rotate(45deg);
  animation: icon-line-tip 0.75s;
}

.line-long {
  top: 38px;
  right: 8px;
  width: 47px;
  transform: rotate(-45deg);
  animation: icon-line-long 0.75s;
}

@keyframes icon-line-tip {
  0% {
    width: 0;
    left: 1px;
    top: 19px;
  }
  54% {
    width: 0;
    left: 1px;
    top: 19px;
  }
  70% {
    width: 50px;
    left: -8px;
    top: 37px;
  }
  84% {
    width: 17px;
    left: 21px;
    top: 48px;
  }
  100% {
    width: 25px;
    left: 14px;
    top: 46px;
  }
}

@keyframes icon-line-long {
  0% {
    width: 0;
    right: 46px;
    top: 54px;
  }
  65% {
    width: 0;
    right: 46px;
    top: 54px;
  }
  84% {
    width: 55px;
    right: 0px;
    top: 35px;
  }
  100% {
    width: 47px;
    right: 8px;
    top: 38px;
  }
}

/* --- MODAL STYLES (Contact & Lightbox) --- */
.modal,
.lightbox-gallery {
  display: none;
  position: fixed;
  z-index: 1001;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.3s;
  overflow-y: auto;
}

.modal-content,
.lightbox-content {
  background-color: var(--white);
  color: #216e24;
  padding: 2rem;
  border-radius: 10px;
  width: 90%;
  max-width: 500px;
  position: relative;
  animation: slideIn 0.3s;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.lightbox-gallery .lightbox-content {
  max-width: 90%;
  width: auto;
  max-height: 90vh;
  overflow-y: auto;
  padding: 2rem;
}

.lightbox-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.lightbox-grid img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: 5px;
  transition: transform 0.2s ease;
}

.lightbox-grid img:hover {
  transform: scale(1.03);
}

.close-btn,
.lightbox-close-btn {
  color: #c1fec3;
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  font-size: 2.5rem;
  font-weight: bold;
  cursor: pointer;
  line-height: 1;
  transition: color 0.3s ease;
  background-color: transparent;
  text-shadow: #333 1px 1px 2px;
}

.close-btn:hover,
.lightbox-close-btn:hover {
  color: var(--accent-color);
}

#contactForm label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: bold;
  color: #216e24;
}

#contactForm input,
#contactForm select,
#contactForm textarea {
  width: 100%;
  padding: 0.8rem;
  margin-bottom: 1rem;
  border: 1px solid #ddd;
  border-radius: 5px;
  box-sizing: border-box;
}

#contactForm select {
  background-color: white;
  cursor: pointer;
}

#contactForm button {
  width: 100%;
  padding: 0.8rem;
  border: none;
  border-radius: 50px;
  background-color: var(--primary-color);
  background-color: var(--secondary-color);
  color: var(--white);
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

#contactForm button:hover {
  background-color: white;
  border: solid 2px var(--primary-color);
  color: #216e24;
}

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

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

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

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

@keyframes slideIn {
  from {
    transform: translateY(30px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}
.footer-p {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}
