/* ===================================================
   Atlanta Commercial Wallpaper Installation
   Master Stylesheet
   =================================================== */

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

/* --- CSS Variables --- */
:root {
  --clr-primary: #073a3d;
  --clr-secondary: #041f22;
  --clr-sand: #f1e2c9;
  --clr-pale: #f5ecdd;
  --clr-charcoal: #1c2b2b;
  --clr-gold: #b08a4a;
  --clr-gold-light: #c9a96e;
  --clr-gold-dark: #8a6b35;
  --clr-white: #ffffff;
  --clr-overlay: rgba(4, 31, 34, 0.85);
  --clr-error: #ff6b6b;

  --ff-heading: "Playfair Display", "Cormorant Garamond", Georgia, serif;
  --ff-body: "Outfit", "Segoe UI", Tahoma, sans-serif;
  --ff-accent: "Cormorant Garamond", Georgia, serif;

  --shadow-soft: 0 4px 24px rgba(0, 0, 0, 0.1);
  --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.12);
  --shadow-btn: 0 4px 16px rgba(176, 138, 74, 0.25);
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--ff-body);
  color: var(--clr-pale);
  background-color: var(--clr-primary);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

a {
  color: var(--clr-gold);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--clr-gold-light);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--ff-heading);
  line-height: 1.25;
  font-weight: 700;
}

h1 {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  margin-bottom: 0.5em;
}
h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.6rem);
  margin-bottom: 0.5em;
}
h3 {
  font-size: clamp(1.2rem, 2.5vw, 1.8rem);
  margin-bottom: 0.4em;
}
h4 {
  font-size: clamp(1rem, 2vw, 1.4rem);
  margin-bottom: 0.3em;
}

p {
  margin-bottom: 1.2em;
  font-weight: 300;
  letter-spacing: 0.01em;
}

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

/* --- Utility Classes --- */
.text-gold {
  color: var(--clr-gold);
}
.text-sand {
  color: var(--clr-sand);
}
.text-center {
  text-align: center;
}
.bg-primary {
  background-color: var(--clr-primary);
}
.bg-secondary {
  background-color: var(--clr-secondary);
}
.bg-sand {
  background-color: var(--clr-sand);
  color: var(--clr-charcoal);
}

.section-padding {
  padding: 80px 0;
}

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

.section-title h2 {
  position: relative;
  display: inline-block;
  padding-bottom: 16px;
}

.section-title h2::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--clr-gold), transparent);
}

.section-title p {
  font-family: var(--ff-accent);
  font-size: 1.15rem;
  font-style: italic;
  color: var(--clr-gold-light);
  margin-top: 12px;
}

/* --- Accent Divider --- */
.accent-divider {
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--clr-gold), transparent);
  margin: 0;
}

/* ===================================================
   HEADER & NAVIGATION
   =================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: var(--clr-secondary);
  border-bottom: 1px solid rgba(176, 138, 74, 0.15);
  transition:
    background var(--transition),
    box-shadow var(--transition);
}

.site-header.scrolled {
  background: rgba(4, 31, 34, 0.97);
  box-shadow: 0 2px 24px rgba(0, 0, 0, 0.3);
}

/* Top bar */
.header-top {
  background: var(--clr-primary);
  padding: 6px 0;
  font-size: 0.85rem;
  border-bottom: 1px solid rgba(176, 138, 74, 0.1);
}

.header-top .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.header-top a {
  color: var(--clr-sand);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color var(--transition);
}

.header-top a:hover {
  color: var(--clr-gold);
}

.header-top .contact-info {
  display: flex;
  gap: 24px;
  align-items: center;
}

.header-top .contact-info svg {
  width: 14px;
  height: 14px;
  fill: var(--clr-gold);
  flex-shrink: 0;
}

/* Main nav */
.header-main {
  padding: 0;
}

.header-main .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 70px;
}

.logo a {
  font-family: var(--ff-heading);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--clr-pale);
  letter-spacing: 0.02em;
  line-height: 1.2;
}

.logo a span {
  color: var(--clr-gold);
}

/* Desktop Navigation */
.main-nav {
  display: flex;
  align-items: center;
}

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

.nav-list > li {
  position: relative;
}

.nav-list > li > a {
  display: block;
  padding: 24px 16px;
  color: var(--clr-pale);
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: color var(--transition);
  white-space: nowrap;
}

.nav-list > li > a:hover,
.nav-list > li.active > a {
  color: var(--clr-gold);
}

/* Dropdown arrow */
.nav-list > li.has-dropdown > a::after {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  margin-left: 6px;
  vertical-align: middle;
  transition: transform var(--transition);
}

.nav-list > li.has-dropdown:hover > a::after {
  transform: rotate(-135deg);
}

/* --- Dropdown Menu with Stagger Animation --- */
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 280px;
  background: var(--clr-secondary);
  border: 1px solid rgba(176, 138, 74, 0.15);
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  box-shadow: var(--shadow-card);
  opacity: 0;
  visibility: hidden;
  transform: scaleY(0);
  transform-origin: top center;
  transition:
    opacity 0.4s ease,
    visibility 0.4s ease,
    transform 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  list-style: none;
  padding: 8px 0;
  z-index: 100;
}

.nav-list > li.has-dropdown:hover > .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: scaleY(1);
}

.dropdown-menu li {
  opacity: 0;
  transform: translateY(-8px);
  transition:
    opacity 0.3s ease,
    transform 0.3s ease;
}

.nav-list > li.has-dropdown:hover > .dropdown-menu li {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger each item */
.nav-list > li.has-dropdown:hover > .dropdown-menu li:nth-child(1) {
  transition-delay: 0.05s;
}
.nav-list > li.has-dropdown:hover > .dropdown-menu li:nth-child(2) {
  transition-delay: 0.1s;
}
.nav-list > li.has-dropdown:hover > .dropdown-menu li:nth-child(3) {
  transition-delay: 0.12s;
}
.nav-list > li.has-dropdown:hover > .dropdown-menu li:nth-child(4) {
  transition-delay: 0.16s;
}
.nav-list > li.has-dropdown:hover > .dropdown-menu li:nth-child(5) {
  transition-delay: 0.2s;
}
.nav-list > li.has-dropdown:hover > .dropdown-menu li:nth-child(6) {
  transition-delay: 0.24s;
}
.nav-list > li.has-dropdown:hover > .dropdown-menu li:nth-child(7) {
  transition-delay: 0.28s;
}
.nav-list > li.has-dropdown:hover > .dropdown-menu li:nth-child(8) {
  transition-delay: 0.32s;
}
.nav-list > li.has-dropdown:hover > .dropdown-menu li:nth-child(9) {
  transition-delay: 0.36s;
}
.nav-list > li.has-dropdown:hover > .dropdown-menu li:nth-child(10) {
  transition-delay: 0.4s;
}
.nav-list > li.has-dropdown:hover > .dropdown-menu li:nth-child(11) {
  transition-delay: 0.44s;
}

.dropdown-menu li a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  color: var(--clr-sand);
  font-size: 0.88rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  transition:
    background var(--transition),
    color var(--transition),
    padding-left var(--transition);
  border-left: 3px solid transparent;
}

.dropdown-menu li a svg {
  width: 16px;
  height: 16px;
  fill: var(--clr-gold);
  flex-shrink: 0;
  opacity: 0.7;
  transition: opacity var(--transition);
}

.dropdown-menu li a:hover {
  background: rgba(176, 138, 74, 0.08);
  color: var(--clr-gold);
  padding-left: 28px;
  border-left-color: var(--clr-gold);
}

.dropdown-menu li a:hover svg {
  opacity: 1;
}

/* Mobile hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
  z-index: 1001;
}

.hamburger span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--clr-pale);
  transition: var(--transition);
  border-radius: 2px;
}

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

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

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

/* ===================================================
   HERO SECTION
   =================================================== */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  margin-top: 0;
  padding-top: 110px;
}

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

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

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(4, 31, 34, 0.88) 0%,
    rgba(7, 58, 61, 0.7) 50%,
    rgba(4, 31, 34, 0.85) 100%
  );
}

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

.hero-content h1 {
  font-size: clamp(2.4rem, 5.5vw, 4rem);
  color: var(--clr-white);
  margin-bottom: 20px;
  line-height: 1.15;
}

.hero-content h1 span {
  color: var(--clr-gold);
  display: block;
  font-family: var(--ff-accent);
  font-weight: 400;
  font-style: italic;
  font-size: 0.65em;
  margin-top: 8px;
}

.hero-content p {
  font-size: 1.1rem;
  color: var(--clr-sand);
  margin-bottom: 30px;
  max-width: 560px;
}

.hero-form-wrapper {
  display: flex;
  gap: 50px;
  align-items: flex-start;
  margin-top: 30px;
}

/* ===================================================
   BUTTONS
   =================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 36px;
  font-family: var(--ff-body);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  white-space: nowrap;
}

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

.btn-gold:hover {
  background: linear-gradient(135deg, var(--clr-gold-light), var(--clr-gold));
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(176, 138, 74, 0.35);
  color: var(--clr-white);
}

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

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

.btn-sm {
  padding: 12px 24px;
  font-size: 0.85rem;
}

/* ===================================================
   CONTACT FORM
   =================================================== */
.feedback-form-container {
  background: rgba(4, 31, 34, 0.92);
  border: 1px solid rgba(176, 138, 74, 0.2);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  max-width: 480px;
  width: 100%;
  backdrop-filter: blur(10px);
}

.feedback-form-container h3 {
  font-family: var(--ff-heading);
  color: var(--clr-gold);
  font-size: 1.5rem;
  margin-bottom: 24px;
  text-align: center;
}

.contact-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 14px;
}

.contact-form .form-group {
  position: relative;
}

.contact-form .form-group:not(.form-row .form-group) {
  margin-bottom: 14px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 14px 16px;
  background: rgba(241, 226, 201, 0.06);
  border: 1px solid rgba(176, 138, 74, 0.25);
  border-radius: var(--radius-sm);
  color: var(--clr-pale);
  font-family: var(--ff-body);
  font-size: 0.92rem;
  transition:
    border-color var(--transition),
    box-shadow var(--transition);
  outline: none;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(241, 226, 201, 0.45);
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--clr-gold);
  box-shadow: 0 0 0 3px rgba(176, 138, 74, 0.12);
}

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

.form-submit {
  margin-top: 8px;
}

.submit-btn {
  width: 100%;
  padding: 16px;
  background: linear-gradient(135deg, var(--clr-gold), var(--clr-gold-dark));
  color: var(--clr-white);
  border: none;
  border-radius: var(--radius-md);
  font-family: var(--ff-body);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all var(--transition);
  box-shadow: var(--shadow-btn);
}

.submit-btn:hover {
  background: linear-gradient(135deg, var(--clr-gold-light), var(--clr-gold));
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(176, 138, 74, 0.35);
}

#form-success {
  text-align: center;
  padding: 30px 20px;
}

#form-success p {
  color: var(--clr-gold);
  font-family: var(--ff-accent);
  font-size: 1.1rem;
  font-style: italic;
}

.error-message {
  color: var(--clr-error) !important;
  margin-top: 5px;
  font-size: 14px;
}

/* ===================================================
   CARDS & GRID
   =================================================== */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 30px;
}

.card {
  background: var(--clr-secondary);
  border: 1px solid rgba(176, 138, 74, 0.12);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition:
    transform var(--transition),
    box-shadow var(--transition);
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card);
}

.card-img {
  position: relative;
  overflow: hidden;
  height: 220px;
}

.card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

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

.card-body {
  padding: 28px 24px;
}

.card-body h3 {
  color: var(--clr-gold);
  margin-bottom: 12px;
}

.card-body p {
  color: var(--clr-sand);
  font-size: 0.92rem;
  margin-bottom: 18px;
}

.card-body .btn {
  font-size: 0.82rem;
  padding: 10px 22px;
}

/* --- Image Panel (sand frame) --- */
.image-panel {
  background: var(--clr-sand);
  border: 2px solid var(--clr-gold);
  border-radius: var(--radius-lg);
  padding: 8px;
  box-shadow: var(--shadow-soft);
}

.image-panel img {
  border-radius: calc(var(--radius-lg) - 6px);
  width: 100%;
  height: auto;
}

/* ===================================================
   FEATURES / SERVICES GRID
   =================================================== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 30px;
}

.feature-item {
  text-align: center;
  padding: 40px 28px;
  background: var(--clr-secondary);
  border: 1px solid rgba(176, 138, 74, 0.1);
  border-radius: var(--radius-lg);
  transition:
    transform var(--transition),
    border-color var(--transition);
}

.feature-item:hover {
  transform: translateY(-4px);
  border-color: rgba(176, 138, 74, 0.3);
}

.feature-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(176, 138, 74, 0.1);
  border-radius: 50%;
  transition: background var(--transition);
}

.feature-item:hover .feature-icon {
  background: rgba(176, 138, 74, 0.2);
}

.feature-icon svg {
  width: 30px;
  height: 30px;
  fill: var(--clr-gold);
}

.feature-item h3 {
  color: var(--clr-pale);
  font-size: 1.15rem;
  margin-bottom: 12px;
}

.feature-item p {
  color: var(--clr-sand);
  font-size: 0.9rem;
}

/* ===================================================
   TWO-COLUMN LAYOUT
   =================================================== */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.two-col.reverse {
  direction: rtl;
}

.two-col.reverse > * {
  direction: ltr;
}

/* ===================================================
   TESTIMONIALS
   =================================================== */
.testimonial-card {
  background: var(--clr-secondary);
  border: 1px solid rgba(176, 138, 74, 0.12);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  position: relative;
}

.testimonial-card::before {
  content: "\201C";
  font-family: var(--ff-heading);
  font-size: 5rem;
  color: rgba(176, 138, 74, 0.15);
  position: absolute;
  top: 10px;
  left: 20px;
  line-height: 1;
}

.testimonial-card p {
  font-family: var(--ff-accent);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--clr-sand);
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}

.testimonial-author {
  font-weight: 600;
  color: var(--clr-gold);
  font-size: 0.9rem;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 30px;
}

/* ===================================================
   FAQ
   =================================================== */
.faq-item {
  border: 1px solid rgba(176, 138, 74, 0.15);
  border-radius: var(--radius-md);
  margin-bottom: 14px;
  overflow: hidden;
  transition: border-color var(--transition);
}

.faq-item:hover {
  border-color: rgba(176, 138, 74, 0.3);
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  cursor: pointer;
  background: var(--clr-secondary);
  transition: background var(--transition);
}

.faq-question:hover {
  background: rgba(176, 138, 74, 0.05);
}

.faq-question h3 {
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--clr-pale);
  margin: 0;
  font-family: var(--ff-body);
}

.faq-toggle {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(176, 138, 74, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition:
    transform var(--transition),
    background var(--transition);
}

.faq-toggle svg {
  width: 14px;
  height: 14px;
  fill: var(--clr-gold);
  transition: transform var(--transition);
}

.faq-item.active .faq-toggle {
  background: var(--clr-gold);
  transform: rotate(180deg);
}

.faq-item.active .faq-toggle svg {
  fill: var(--clr-white);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition:
    max-height 0.5s cubic-bezier(0.23, 1, 0.32, 1),
    padding 0.4s ease;
  padding: 0 24px;
}

.faq-item.active .faq-answer {
  max-height: 400px;
  padding: 0 24px 24px;
}

.faq-answer p {
  color: var(--clr-sand);
  font-size: 0.95rem;
}

/* ===================================================
   MAP
   =================================================== */
.map-container {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 2px solid rgba(176, 138, 74, 0.2);
  box-shadow: var(--shadow-soft);
}

.map-container iframe {
  width: 100%;
  height: 400px;
  border: none;
  display: block;
}

/* ===================================================
   CONTACT PAGE
   =================================================== */
.contact-info-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-bottom: 40px;
  align-items: stretch;
}

.contact-info-card {
  background: var(--clr-secondary);
  border: 1px solid rgba(176, 138, 74, 0.12);
  border-radius: var(--radius-lg);
  padding: 30px 24px;
  text-align: center;
  transition:
    transform var(--transition),
    border-color var(--transition);
  display: flex;
  flex-direction: column;
}

.contact-info-card:hover {
  transform: translateY(-4px);
  border-color: rgba(176, 138, 74, 0.3);
}

.contact-info-card .icon-wrap {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  background: rgba(176, 138, 74, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-info-card .icon-wrap svg {
  width: 24px;
  height: 24px;
  fill: var(--clr-gold);
}

.contact-info-card h4 {
  color: var(--clr-pale);
  margin-bottom: 8px;
  font-family: var(--ff-body);
  font-weight: 600;
}

.contact-info-card p,
.contact-info-card a {
  color: var(--clr-sand);
  font-size: 0.92rem;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.contact-info-card a {
  display: inline-block;
  max-width: 100%;
}

/* ===================================================
   PAGE BANNER (inner pages)
   =================================================== */
.page-banner {
  position: relative;
  padding: 160px 0 80px;
  text-align: center;
  overflow: hidden;
  background: var(--clr-secondary);
}

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

.page-banner-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.25;
}

.page-banner-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    var(--clr-secondary) 0%,
    rgba(4, 31, 34, 0.7) 50%,
    var(--clr-primary) 100%
  );
}

.page-banner-content {
  position: relative;
  z-index: 2;
}

.page-banner-content h1 {
  color: var(--clr-white);
  margin-bottom: 16px;
}

.page-banner-content p {
  font-family: var(--ff-accent);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--clr-gold-light);
}

.breadcrumb {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
  font-size: 0.85rem;
}

.breadcrumb a {
  color: var(--clr-sand);
}

.breadcrumb span {
  color: rgba(241, 226, 201, 0.4);
}

.breadcrumb .current {
  color: var(--clr-gold);
}

/* ===================================================
   FOOTER
   =================================================== */
.site-footer {
  background: var(--clr-secondary);
  border-top: 1px solid rgba(176, 138, 74, 0.12);
  padding: 60px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-col h4 {
  font-family: var(--ff-body);
  font-weight: 600;
  color: var(--clr-gold);
  font-size: 1rem;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.footer-col p {
  color: var(--clr-sand);
  font-size: 0.9rem;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  color: var(--clr-sand);
  font-size: 0.9rem;
  transition:
    color var(--transition),
    padding-left var(--transition);
  display: inline-block;
}

.footer-col ul li a:hover {
  color: var(--clr-gold);
  padding-left: 6px;
}

.footer-bottom {
  border-top: 1px solid rgba(176, 138, 74, 0.1);
  padding: 20px 0;
  text-align: center;
  font-size: 0.82rem;
  color: rgba(241, 226, 201, 0.5);
}

/* ===================================================
   STICKY QUOTE BUTTON
   =================================================== */
.sticky-quote-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 999;
  padding: 16px 32px;
  background: linear-gradient(135deg, var(--clr-gold), var(--clr-gold-dark));
  color: var(--clr-white);
  font-family: var(--ff-body);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: none;
  border-radius: 60px;
  cursor: pointer;
  box-shadow: 0 6px 30px rgba(176, 138, 74, 0.4);
  transition: all var(--transition);
  animation: pulse-glow 2.5s infinite;
}

.sticky-quote-btn:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 8px 36px rgba(176, 138, 74, 0.5);
}

@keyframes pulse-glow {
  0%,
  100% {
    box-shadow: 0 6px 30px rgba(176, 138, 74, 0.4);
  }
  50% {
    box-shadow: 0 6px 40px rgba(176, 138, 74, 0.6);
  }
}

/* ===================================================
   MODAL
   =================================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  backdrop-filter: blur(4px);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.modal-overlay.active {
  display: flex;
  opacity: 1;
}

.modal-content {
  position: relative;
  max-width: 520px;
  width: 100%;
  transform: translateY(30px) scale(0.95);
  transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.modal-overlay.active .modal-content {
  transform: translateY(0) scale(1);
}

.modal-close {
  position: absolute;
  top: -12px;
  right: -12px;
  width: 36px;
  height: 36px;
  background: var(--clr-gold);
  border: none;
  border-radius: 50%;
  color: var(--clr-white);
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition:
    background var(--transition),
    transform var(--transition);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
}

.modal-close:hover {
  background: var(--clr-gold-light);
  transform: rotate(90deg);
}

/* ===================================================
   SCROLL ANIMATIONS
   =================================================== */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-left {
  opacity: 0;
  transform: translateX(-40px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}

.fade-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.fade-in-right {
  opacity: 0;
  transform: translateX(40px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}

.fade-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* ===================================================
   ABOUT PAGE
   =================================================== */
.about-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin: 50px 0;
}

.stat-item {
  text-align: center;
  padding: 30px 16px;
  background: var(--clr-secondary);
  border: 1px solid rgba(176, 138, 74, 0.12);
  border-radius: var(--radius-lg);
}

.stat-number {
  font-family: var(--ff-heading);
  font-size: 2.8rem;
  color: var(--clr-gold);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 0.88rem;
  color: var(--clr-sand);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ===================================================
   SERVICE AREA PAGE
   =================================================== */
.area-highlights {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 20px;
  margin: 30px 0;
}

.area-highlight {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 20px;
  background: var(--clr-secondary);
  border: 1px solid rgba(176, 138, 74, 0.1);
  border-radius: var(--radius-md);
  transition: border-color var(--transition);
}

.area-highlight:hover {
  border-color: rgba(176, 138, 74, 0.25);
}

.area-highlight svg {
  width: 24px;
  height: 24px;
  fill: var(--clr-gold);
  flex-shrink: 0;
  margin-top: 2px;
}

.area-highlight h4 {
  color: var(--clr-pale);
  font-size: 0.95rem;
  margin-bottom: 6px;
}

.area-highlight p {
  color: var(--clr-sand);
  font-size: 0.85rem;
  margin: 0;
}

/* ===================================================
   CTA SECTION
   =================================================== */
.cta-section {
  background: linear-gradient(135deg, var(--clr-gold-dark), var(--clr-gold));
  padding: 60px 0;
  text-align: center;
}

.cta-section h2 {
  color: var(--clr-white);
  margin-bottom: 16px;
}

.cta-section p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto 30px;
}

.cta-section .btn {
  background: var(--clr-primary);
  color: var(--clr-gold);
}

.cta-section .btn:hover {
  background: var(--clr-secondary);
  color: var(--clr-gold-light);
}

/* ===================================================
   RESPONSIVE
   =================================================== */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .two-col {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .two-col.reverse {
    direction: ltr;
  }
  .hero-form-wrapper {
    flex-direction: column;
  }
  .about-stats {
    grid-template-columns: repeat(2, 1fr);
  }
  .contact-info-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

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

  .main-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 85%;
    max-width: 360px;
    height: 100vh;
    background: var(--clr-secondary);
    flex-direction: column;
    align-items: flex-start;
    padding: 80px 24px 40px;
    transition: right 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    overflow-y: auto;
    box-shadow: -4px 0 30px rgba(0, 0, 0, 0.3);
    z-index: 1000;
  }

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

  .nav-list {
    flex-direction: column;
    width: 100%;
    gap: 0;
  }

  .nav-list > li > a {
    padding: 14px 0;
    border-bottom: 1px solid rgba(176, 138, 74, 0.08);
    text-align: left;
  }

  .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: scaleY(1);
    box-shadow: none;
    border: none;
    background: transparent;
    padding: 0 0 0 16px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease;
  }

  .dropdown-menu li {
    opacity: 1;
    transform: none;
  }

  .nav-list > li.has-dropdown.mobile-open > .dropdown-menu {
    max-height: 600px;
  }

  .dropdown-menu li a {
    padding: 8px 0;
    border-left: none;
    font-size: 0.85rem;
  }

  .dropdown-menu li a:hover {
    padding-left: 8px;
  }

  .header-top .contact-info {
    gap: 14px;
    font-size: 0.78rem;
  }
  .header-top {
    padding: 4px 0;
    font-size: 0.75rem;
  }
  .header-top .container {
    gap: 6px;
  }

  .hero {
    min-height: 80vh;
    padding-top: 120px;
  }

  .hero-content h1 {
    font-size: clamp(1.8rem, 6vw, 2.8rem);
  }

  .hero-form-wrapper {
    margin-bottom: 18px;
  }

  .nav-list > li.has-dropdown > a {
    position: relative;
    display: block;
    padding-right: 26px;
    text-align: left;
  }

  .nav-list > li.has-dropdown > a::after {
    position: absolute;
    right: 4px;
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
  }

  .nav-list > li.has-dropdown:hover > a::after {
    transform: translateY(-50%) rotate(-135deg);
  }

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

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

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

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

  .section-padding {
    padding: 50px 0;
  }

  .page-banner {
    padding: 130px 0 60px;
  }

  .sticky-quote-btn {
    bottom: 16px;
    right: 50%;
    transform: translateX(50%);
    padding: 14px 28px;
    font-size: 0.85rem;
  }

  .sticky-quote-btn:hover {
    transform: translateX(50%) translateY(-3px);
  }

  .about-stats {
    grid-template-columns: 1fr 1fr;
  }

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

  .contact-info-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .hero-content h1 {
    font-size: 1.7rem;
  }

  .feedback-form-container {
    padding: 24px 18px;
  }

  .about-stats {
    grid-template-columns: 1fr;
  }
}

/* ===================================================
   ANIMATIONS
   =================================================== */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Smooth image loading */
img {
  opacity: 0;
  transition: opacity 0.5s ease;
}

img.loaded,
img[src] {
  opacity: 1;
}

/* Ensure images are visible even without JS */
noscript img,
.hero-bg img,
.page-banner-bg img {
  opacity: 1;
}
/* ===================================================
   RESPONSIVE PATCH (append to the end of style.css)
   =================================================== */

/* 1) Make container padding scale down on small screens */
:root {
  --container-pad: 24px;
}

.container {
  padding-left: var(--container-pad);
  padding-right: var(--container-pad);
}

@media (max-width: 640px) {
  :root {
    --container-pad: 16px;
  }
}

@media (max-width: 420px) {
  :root {
    --container-pad: 14px;
  }
}

/* 2) Header: prevent ugly wrapping + better mobile topbar */
.header-top .contact-info {
  flex-wrap: wrap;
  row-gap: 6px;
}

.header-top .contact-info a {
  white-space: nowrap;
}

@media (max-width: 768px) {
  /* Top bar becomes simpler and doesn't push header height too much */
  .header-top .container {
    justify-content: center;
    gap: 10px;
  }

  .header-top .contact-info {
    justify-content: center;
    gap: 14px;
    width: 100%;
  }

  /* Hide email on mobile to avoid header taking 2+ lines */
  .header-top .contact-info a[href^="mailto:"] {
    display: none;
  }

  /* "Free Estimate" button – full width and consistent */
  .header-top .btn {
    width: 100%;
    justify-content: center;
  }

  .logo a {
    font-size: 1.15rem;
  }
}

/* 3) Hero: convert to grid on desktop, stack properly on mobile */
.hero-form-wrapper {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.95fr);
  gap: 48px;
  align-items: start;
}

.hero-content {
  max-width: 720px;
}

.feedback-form-container {
  max-width: 520px;
}

@media (max-width: 1024px) {
  .hero {
    padding-top: 120px; /* safer when topbar wraps */
  }

  .hero-form-wrapper {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .hero-content {
    max-width: 100%;
  }

  .feedback-form-container {
    max-width: 100%;
  }
}

/* 4) Hero CTAs: make buttons wrap nicely, full width on small screens */
.hero-content > div[style*="display:flex"] {
  gap: 12px !important;
}

@media (max-width: 520px) {
  .hero-content > div[style*="display:flex"] {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-content > div[style*="display:flex"] .btn {
    width: 100%;
  }
}

/* 5) Forms: comfortable spacing + prevent tiny hit areas */
@media (max-width: 480px) {
  .feedback-form-container {
    padding: 22px 16px;
    border-radius: 14px;
  }

  .contact-form input,
  .contact-form textarea {
    padding: 14px 14px;
    font-size: 0.95rem;
  }

  .submit-btn {
    padding: 15px;
    font-size: 0.95rem;
  }
}

/* 6) Cards/Grids: avoid overflow around 800–900px and very small phones */
.card-grid {
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
}

.testimonial-grid {
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
}

.features-grid {
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
}

@media (max-width: 360px) {
  .card-grid,
  .testimonial-grid,
  .features-grid {
    grid-template-columns: 1fr;
  }

  .card-img {
    height: 200px;
  }
}

/* 7) Map: lower height on phones */
@media (max-width: 480px) {
  .map-container iframe {
    height: 300px;
  }
}

/* 8) Footer: tighter spacing and better readability on mobile */
@media (max-width: 768px) {
  .site-footer {
    padding-top: 44px;
  }

  .footer-grid {
    gap: 24px;
    margin-bottom: 24px;
  }

  .footer-col h4 {
    margin-bottom: 14px;
  }
}

/* 9) Sticky Quote Button: fix centering on mobile (your current transform is off) */
@media (max-width: 768px) {
  .sticky-quote-btn {
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    bottom: 14px;
    padding: 14px 22px;
    font-size: 0.82rem;
  }

  .sticky-quote-btn:hover {
    transform: translateX(-50%) translateY(-3px);
  }
}

/* 10) Modal: safe height + scroll inside on small screens */
.modal-content {
  max-height: calc(100vh - 40px);
}

.modal-content .feedback-form-container {
  max-height: calc(100vh - 90px);
  overflow: auto;
  -webkit-overflow-scrolling: touch;
}

@media (max-width: 480px) {
  .modal-close {
    top: -10px;
    right: -10px;
    width: 34px;
    height: 34px;
  }

  .modal-overlay {
    padding: 14px;
  }
}

/* 11) Navigation panel: avoid content hidden behind header in mobile menu */
@media (max-width: 768px) {
  .main-nav {
    padding-top: 96px; /* extra space for fixed header */
  }

  .nav-list > li > a {
    padding: 14px 0;
  }
}

/* ===================================================
   FIXES: mobile header-top, hero spacing, mobile nav,
   and desktop 3-col SERVICE AREAS
   (append to end of style.css)
   =================================================== */

/* 1) HEADER-TOP: make it компактным на мобиле (чтобы не резал hero) */
@media (max-width: 768px) {
  .header-top {
    padding: 3px 0; /* было 6px */
    font-size: 0.76rem;
  }

  /* одна строка, без раздувания хедера */
  .header-top .container {
    flex-wrap: nowrap;
    align-items: center;
    gap: 10px;
  }

  /* показываем только телефон (email уже скрывали) */
  .header-top .contact-info {
    flex-wrap: nowrap;
    gap: 10px;
    min-width: 0;
  }

  .header-top .contact-info a {
    white-space: nowrap;
    font-size: 0.76rem;
  }

  .header-top .contact-info svg {
    width: 12px;
    height: 12px;
  }

  /* кнопка estimate — меньше */
  .header-top .btn.btn-sm {
    padding: 8px 12px;
    font-size: 0.76rem;
    line-height: 1;
  }

  /* если всё равно не влезает на совсем узких — прячем кнопку */
  @media (max-width: 380px) {
    .header-top .btn.btn-sm {
      display: none;
    }
  }
}

/* 2) HERO: подстрахуем от “наезда” fixed header + дадим отступ снизу формы */
@media (max-width: 768px) {
  .hero {
    padding-top: 118px; /* чуть больше, чем было 100px */
    padding-bottom: 26px; /* общий низ hero */
    min-height: auto; /* чтобы контент не обрезался из-за vh */
  }

  /* Отступ снизу формы в hero (то, что ты просил) */
  .hero .feedback-form-container {
    margin-bottom: 18px;
  }
}

/* 3) MOBILE NAV: выравнивание has-dropdown + корректный mobile-open */
@media (max-width: 768px) {
  .nav-list {
    align-items: stretch;
  }

  .nav-list > li > a {
    text-align: left;
    padding-left: 4px;
  }

  /* делаем пункт меню “Services/Locations” ровным (текст слева, стрелка справа) */
  .nav-list > li.has-dropdown > a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    text-align: left;
    padding-left: 4px;
  }

  /* стрелка становится более предсказуемой на мобиле */
  .nav-list > li.has-dropdown > a::after {
    margin-left: auto;
    flex: 0 0 auto;
    transform: rotate(45deg);
  }

  /* при открытии — поворот стрелки */
  .nav-list > li.has-dropdown.mobile-open > a::after {
    transform: rotate(-135deg);
  }

  /* submenu: ровный отступ, визуальная “вложенность” и одинаковый левый край */
  .dropdown-menu {
    margin-top: 6px;
    padding: 0 0 0 10px; /* вместо 16px — аккуратнее */
    border-left: 1px solid rgba(176, 138, 74, 0.14);
  }

  .dropdown-menu li a {
    padding: 10px 0 10px 10px; /* выравниваем пункты */
    gap: 10px;
    text-align: left;
  }

  .dropdown-menu li a svg {
    width: 16px;
    height: 16px;
    opacity: 0.85;
  }
}

/* 4) SERVICE AREAS: на десктопе 3 в ряд
   + оставим WHY (features-grid-why) в 4 колонки */
@media (min-width: 1024px) {
  /* базово для service areas (и других grids без спец-класса) */
  .features-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  /* why-секция обычно выглядит лучше в 4 */
  .features-grid.features-grid-why {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
