/* Extracted styles from original single-page index.html */

/* Hide reCAPTCHA v3 badge (legal notice shown in popup form instead) */
.grecaptcha-badge { visibility: hidden !important; }

/* TOKENS */
:root {
  --black:     #1E1E1E;
  --white:     #FFFFFF;
  --beige:     #BFB281;
  --beige-mid: #E0C9A6;
  --beige-dim: rgba(191,178,129,0.12);
  --navy:      #284769;
  --slate:     #536787;
  --teal:      #678C83;
  --off-white: #F8F5F0;
  --text-mid:  #5a5a5a;
  --border:    rgba(191,178,129,0.18);

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'Montserrat', sans-serif;
}

/* RESET & BASE */
img[src="data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='800' height='600' viewBox='0 0 800 600'%3E%3Crect width='800' height='600' fill='%23C8C8C8'/%3E%3Cg transform='translate(400,300)'%3E%3Crect x='-48' y='-36' width='96' height='72' rx='6' fill='none' stroke='%23999' stroke-width='4'/%3E%3Ccircle cx='0' cy='-2' r='18' fill='none' stroke='%23999' stroke-width='4'/%3E%3Crect x='-12' y='-46' width='24' height='10' rx='3' fill='%23999'/%3E%3C/g%3E%3C/svg%3E"] {
  background: linear-gradient(135deg, #1a2535 0%, #2a3a4a 100%) !important;
  min-height: 200px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  background: var(--white);
  color: var(--black);
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }

/* LOADING SCREEN */
#loader { display:none !important; }
#loader.hidden { opacity: 0; visibility: hidden; }
.loader-logo { display:none; }

@keyframes loadBar { to { left: 0; } }
@keyframes fadeInUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }

/* HEADER */
#header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 500;
  height: 80px;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 48px;
  transition: background 0.4s, border-color 0.4s;
  border-bottom: 1px solid transparent;
  pointer-events: none;
}
#header.scrolled { pointer-events: auto; }
#header > * { pointer-events: auto; }
#header.scrolled {
  background: rgba(30,30,30,0.96);
  backdrop-filter: blur(16px);
  border-color: var(--border);
}
.h-logo { height: 52px; width: auto; display: block; }
.h-logo-link {
  display: flex;
  align-items: center;
  max-height: 80px;
}
nav { display: flex; align-items: center; gap: 36px; }
.nav-link {
  font-size: 11px; font-weight: 500;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  position: relative; transition: color 0.2s;
  padding: 4px 0;
  pointer-events: auto;
  vertical-align: middle;
  display: inline-flex; align-items: center;
}
.nav-link::after {
  content: '';
  position: absolute; bottom: -2px; left: 0; right: 0;
  height: 1px; background: var(--beige);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.3s ease;
}
.nav-link:hover { color: var(--beige); }
.nav-link:hover::after { transform: scaleX(1); }
.nav-dropdown { position: relative; display: inline-flex; align-items: center; align-self: center; }
.nav-dropdown-menu {
  position: absolute; top: 100%; left: -20px;
  padding-top: 8px;
  background: transparent;
  min-width: auto;
  opacity: 0; visibility: hidden; pointer-events: none;
  transform: translateY(-4px);
  transition: opacity 0.25s, transform 0.25s, visibility 0s 0.25s;
}
.nav-dropdown-menu-inner {
  background: var(--black);
  border: 1px solid var(--border);
  padding: 8px 0;
  display: flex;
  flex-direction: column;
}
.nav-dropdown:hover .nav-dropdown-menu {
  opacity: 1; visibility: visible; pointer-events: all;
  transform: translateY(0); transition: opacity 0.25s, transform 0.25s, visibility 0s 0s;
}
.nav-dropdown-menu-inner a {
  white-space: nowrap;
  display: flex; align-items: center; gap: 10px;
  padding: 12px 24px;
  font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  transition: all 0.2s;
}
.nav-dropdown-menu-inner a:hover { color: var(--beige); padding-left: 28px; }
.h-phone {
  font-size: 13px; font-weight: 500; letter-spacing: 0.06em;
  color: var(--beige); transition: opacity 0.2s;
  pointer-events: auto;
}
.h-phone:hover { opacity: 0.75; }
.h-cta {
  font-size: 11px; font-weight: 600; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--black);
  background: var(--beige);
  padding: 12px 28px;
  transition: background 0.2s, color 0.2s;
  pointer-events: auto;
}
.h-cta:hover { background: #FFFFFF; }
.hamburger {
  display: none; flex-direction: column; gap: 6px;
  cursor: pointer; padding: 8px; z-index: 600;
}
.hamburger span {
  display: block; width: 24px; height: 1.5px;
  background: var(--white); transition: all 0.3s;
}
.hamburger.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* Mobile Nav */
.mobile-nav {
  position: fixed; inset: 0; z-index: 490;
  background: var(--black);
  display: none; flex-direction: column;
  justify-content: center; padding: 120px 48px 48px;
  opacity: 0; pointer-events: none;
  transition: opacity 0.4s;
}
.mobile-nav.open { opacity: 1; pointer-events: all; }
.mobile-nav a {
  font-family: var(--font-display);
  font-size: clamp(24px, 5.5vw, 42px);
  font-weight: 300; color: rgba(255,255,255,0.7);
  border-bottom: 1px solid var(--border);
  padding: 4px 0;
  transition: color 0.2s;
}
.mobile-nav a:hover { color: var(--beige); }
.mobile-nav-phone {
  margin-top: 12px; font-size: 16px;
  color: var(--beige); letter-spacing: 0.06em;
}

/* HERO */
#hero {
  position: relative; height: 100vh; min-height: 640px;
  overflow: hidden; display: flex; align-items: flex-end;
}
.hero-slides { position: absolute; inset: 0; pointer-events: none; }
.hero-slide {
  position: absolute; inset: 0;
  opacity: 0; transition: opacity 1.6s ease;
  pointer-events: none;
  background-size: cover; background-position: center;
}
.hero-slide.active { opacity: 1; }
.hero-slide::after {
  pointer-events: none;
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(30,30,30,0.2) 0%,
    rgba(30,30,30,0.1) 40%,
    rgba(30,30,30,0.75) 100%
  );
}

.hero-bg-image {
  background-image: url("https://images.pexels.com/photos/37347/office-freelancer-computer-business-37347.jpeg");
  background-size: cover;
  background-position: center;
  position: relative;
}
.hero-bg-image::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(10,10,10,0.6),
    rgba(10,10,10,0.75)
  );
  z-index: 0;
}
.hero-bg-image .hero-content {
  position: relative;
  z-index: 1;
  padding-top: 140px;
  padding-bottom: 80px;
  display: block;
}
.hero-content {
  position: relative; z-index: 2;
  width: 100%; max-width: 1200px;
  margin: 0 auto;
  padding: 0 48px 80px;
  display: grid; grid-template-columns: 1fr auto;
  align-items: flex-end; gap: 48px;
}
.hero-eyebrow {
  font-size: 11px; font-weight: 500; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--beige);
  margin-bottom: 20px;
  display: flex; align-items: center; gap: 14px;
  opacity: 0; animation: fadeInUp 0.5s 0.1s forwards;
}
.hero-eyebrow span { width: 40px; height: 1px; background: var(--beige); }
h1.hero-h1 {
  font-family: var(--font-display);
  font-size: clamp(52px, 7.5vw, 108px);
  font-weight: 300; line-height: 0.95;
  color: var(--white); letter-spacing: -0.01em;
  margin-bottom: 32px;
  opacity: 0; animation: fadeInUp 0.55s 0.25s forwards;
  text-wrap: balance;
}
h1.hero-h1 em { font-style: italic; color: var(--beige); }
.hero-ctas {
  display: flex; gap: 16px; flex-wrap: wrap;
  opacity: 0; animation: fadeInUp 0.5s 0.45s forwards;
}
.svc-cta-btns {
  display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px;
}
.btn-fill, .btn-ghost, .btn, .btn-outline, .h-cta, .mob-call, .mob-est {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
}
.btn-fill {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 36px; font-size: 11px; font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase;
  background: var(--beige); color: var(--black);
  transition: all 0.3s;
  pointer-events: auto;
}
.btn-fill:hover { background: #FFFFFF; color: #1E1E1E; }
.btn-ghost {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 35px; font-size: 11px; font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase;
  background: transparent; color: var(--white);
  border: 1px solid rgba(255,255,255,0.35);
  transition: all 0.3s;
  pointer-events: auto;
}
.btn-ghost:hover {
  border-color: var(--beige);
  color: var(--beige);
}
.hero-badges {
  display: flex; flex-direction: column; gap: 12px; align-items: flex-end;
  opacity: 0; animation: fadeInUp 0.5s 0.6s forwards;
}
.hero-badge {
  display: flex; align-items: center; gap: 10px;
  background: rgba(30,30,30,0.6);
  border: 1px solid var(--border);
  backdrop-filter: blur(8px);
  padding: 10px 18px;
  font-size: 11px; font-weight: 500; letter-spacing: 0.1em;
  color: rgba(255,255,255,0.85); white-space: nowrap;
}
.hero-badge-dot { width: 6px; height: 6px; background: var(--beige); border-radius: 50%; }
.hero-indicators {
  position: absolute; bottom: 40px; right: 48px; z-index: 3;
  display: flex; gap: 8px;
}
.hi {
  width: 28px; height: 1.5px; background: rgba(255,255,255,0.3);
  cursor: pointer; transition: background 0.3s, width 0.3s;
}
.hi.active { background: var(--beige); width: 48px; }

/* MARQUEE */
.marquee-wrap {
  background: var(--beige); overflow: hidden;
  padding: 14px 0;
  border-top: 1px solid var(--beige-mid);
}
.marquee-track {
  display: flex; gap: 0; width: max-content;
  animation: marquee 28s linear infinite;
}
.marquee-item {
  display: flex; align-items: center; gap: 32px;
  padding: 0 32px; white-space: nowrap;
  font-size: 11px; font-weight: 600; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--black);
}
.marquee-item::after { content: '✦'; font-size: 8px; color: var(--navy); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* SECTION UTILITIES */
.section-inner { max-width: 1200px; margin: 0 auto; padding: 0 48px; }
.section-pad { padding: 80px 0; }
.section-pad-sm { padding: 80px 0; }
.s-eyebrow {
  font-size: 10px; font-weight: 600; letter-spacing: 0.24em;
  text-transform: uppercase; color: var(--beige);
  display: flex; align-items: center; gap: 14px;
  margin-bottom: 16px;
}
.s-eyebrow::before { content: ''; width: 32px; height: 1px; background: var(--beige); flex-shrink: 0; }
h2.s-title {
  font-family: var(--font-display);
  font-size: clamp(36px, 4.5vw, 64px);
  font-weight: 300; line-height: 1.08;
  letter-spacing: -0.01em;
  text-wrap: balance;
}
h2.s-title em { font-style: italic; }
h2.s-title-light { color: var(--white); }
.s-sub {
  font-size: 15px; line-height: 1.75;
  color: var(--text-mid); max-width: 540px;
  margin-top: 16px;
  text-wrap: balance;
}
.s-sub-light { color: rgba(255,255,255,0.5); }

/* Reveal */
.reveal { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* SERVICES */
#services { background: var(--off-white); }
.services-intro {
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px;
  align-items: end; margin-bottom: 64px;
}
.services-right { padding-bottom: 4px; }
.services-desc {
  font-size: 15px; line-height: 1.8; color: var(--text-mid);
  margin-bottom: 28px; text-wrap: balance;
}
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; }
.svc-card {
  position: relative; overflow: hidden;
  background: var(--black); cursor: pointer;
  aspect-ratio: 3/4;
  pointer-events: auto;
}
.svc-card-img {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  transition: transform 0.8s ease, filter 0.5s ease;
  filter: brightness(0.55);
  pointer-events: none;
}
.svc-card:hover .svc-card-img { transform: scale(1.07); filter: brightness(0.35); }
.svc-card-body {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  justify-content: flex-end; padding: 28px 24px;
  pointer-events: none;
}
.svc-num {
  font-size: 11px; color: var(--beige); letter-spacing: 0.16em;
  margin-bottom: 8px; font-weight: 500;
}
.svc-title {
  font-family: var(--font-display);
  font-size: 24px; font-weight: 400; color: var(--white);
  line-height: 1.1; margin-bottom: 12px;
}
.svc-desc {
  font-size: 12px; color: rgba(255,255,255,0.55); line-height: 1.6;
  max-height: 0; overflow: hidden;
  transition: max-height 0.5s ease, opacity 0.4s ease;
  opacity: 0;
}
.svc-card:hover .svc-desc { max-height: 80px; opacity: 1; }
.svc-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 10px; font-weight: 600; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--beige);
  margin-top: 14px;
  max-height: 0; overflow: hidden;
  transition: max-height 0.5s ease 0.1s, opacity 0.4s ease 0.1s;
  opacity: 0;
}
.svc-card:hover .svc-link { max-height: 40px; opacity: 1; }
.svc-link-arrow { transition: transform 0.2s; }
.svc-card:hover .svc-link-arrow { transform: translateX(4px); }

/* WHY */
#why { background: var(--navy); }
.why-image { position: relative; margin-top: 48px; }
.why-image img { width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.why-image-tag {
  position: absolute; bottom: -1px; left: -1px;
  background: var(--beige); padding: 20px 28px;
  display: flex; flex-direction: column;
}
.wit-num {
  font-family: var(--font-display);
  font-size: 44px; font-weight: 600; color: var(--black); line-height: 1;
}
.wit-label { font-size: 10px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--black); margin-top: 4px; }

/* PORTFOLIO */
#portfolio { background: var(--white); }
.port-header { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 48px; }
.port-grid { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: 280px; gap: 4px; }
.port-item { position: relative; overflow: hidden; background: #ccc; cursor: pointer; }
.port-item:nth-child(1) { grid-column: span 7; grid-row: span 2; }
.port-item:nth-child(2) { grid-column: span 5; }
.port-item:nth-child(3) { grid-column: span 5; }
.port-item:nth-child(4) { grid-column: span 4; }
.port-item:nth-child(5) { grid-column: span 4; }
.port-item:nth-child(6) { grid-column: span 4; }
.port-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s ease; }
.port-item:hover img { transform: scale(1.06); }
.port-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(30,30,30,0.85) 0%, transparent 55%);
  opacity: 0; transition: opacity 0.35s;
  pointer-events: none;
  display: flex; flex-direction: column;
  justify-content: flex-end; padding: 24px;
}
.port-item:hover .port-overlay { opacity: 1; }
.port-loc { font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--beige); margin-bottom: 4px; }
.port-name { font-family: var(--font-display); font-size: 22px; font-weight: 400; color: var(--white); }
.ba-section { margin-top: 4px; display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.ba-item { position: relative; overflow: hidden; }
.ba-item img { width: 100%; height: 280px; object-fit: cover; display: block; }
.ba-label {
  position: absolute; top: 20px; left: 20px;
  font-size: 10px; font-weight: 700; letter-spacing: 0.18em;
  text-transform: uppercase; padding: 7px 16px;
}
.ba-label.before { background: var(--black); color: var(--beige); }
.ba-label.after  { background: var(--beige); color: var(--black); }

/* REVIEWS */
#reviews { background: var(--off-white); }
.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; margin-top: 56px; }
.review-card {
  background: var(--white); padding: 40px 36px;
  border: 1px solid rgba(0,0,0,0.06);
  position: relative; overflow: hidden;
  transition: box-shadow 0.3s;
}
.review-card::before {
  content: '\201C';
  font-family: var(--font-display);
  font-size: 100px; line-height: 1;
  color: var(--beige); opacity: 0.35;
  position: absolute; top: 12px; right: 20px;
}
.review-card:hover { box-shadow: 0 16px 48px rgba(40,71,105,0.08); }
.review-stars { color: #C8A06A; font-size: 13px; letter-spacing: 3px; margin-bottom: 20px; }
.review-text { font-size: 14px; line-height: 1.8; color: var(--text-mid); margin-bottom: 28px; text-wrap: balance; }
.reviewer { display: flex; align-items: center; gap: 14px; }
.reviewer-av {
  width: 44px; height: 44px; flex-shrink: 0;
  background: var(--navy); display: flex;
  align-items: center; justify-content: center;
  font-weight: 700; color: var(--beige); font-size: 14px;
}
.reviewer-name { font-size: 14px; font-weight: 600; font-family: var(--font-display); }
.reviewer-loc { font-size: 12px; color: var(--text-mid); margin-top: 2px; }

/* SERVICE AREA */
#area { background: var(--white); }
.area-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.area-city-grid { display: flex; flex-wrap: wrap; gap: 8px; margin: 28px 0 36px; }
.show-mobile-only { display: none; }
.city-pill {
  padding: 8px 18px; font-size: 11px; font-weight: 500;
  letter-spacing: 0.1em; text-transform: uppercase;
  background: var(--off-white); border: 1px solid rgba(0,0,0,0.1);
  transition: all 0.2s; cursor: default;
}
.city-pill:hover { background: var(--off-white); border-color: rgba(0,0,0,0.1); color: inherit; cursor: default; }
.area-map-wrap {
  position: relative;
  background: linear-gradient(135deg, #dde8ef 0%, #c8dce8 100%);
  aspect-ratio: 1;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.area-map-wrap::before {
  pointer-events: none;
  content: '';
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='%23284769' stroke-opacity='0.08'%3E%3Cpath d='M0 20h40M20 0v40'/%3E%3C/g%3E%3C/svg%3E");
}
.map-placeholder-inner { text-align: center; position: relative; z-index: 1; }
.map-place-name {
  font-family: var(--font-display); font-size: 28px; font-weight: 600;
  color: var(--navy); margin-bottom: 6px;
}
.map-sub { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--slate); }

/* ABOUT */
#about { background: var(--black); }
.about-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 96px; align-items: center; }
.about-media { position: relative; }
.about-media-img { width: 100%; aspect-ratio: 3/4; object-fit: cover; display: block; }
.about-accent {
  position: absolute; bottom: -2px; right: -2px;
  background: var(--beige); padding: 28px 32px;
  text-align: center;
}
.aa-num {
  font-family: var(--font-display); font-size: 52px;
  font-weight: 600; color: var(--black); line-height: 1;
}
.aa-label { font-size: 10px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--black); margin-top: 4px; }
.about-text p {
  font-size: 15px; line-height: 1.85;
  color: rgba(255,255,255,0.55); margin-bottom: 20px;
  text-wrap: balance;
}
.about-stats {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1px; margin: 40px 0;
  background: rgba(191,178,129,0.1);
}
.as-item {
  text-align: center; padding: 24px 16px;
  background: rgba(255,255,255,0.03);
}
.as-num {
  font-family: var(--font-display);
  font-size: 38px; font-weight: 600; color: var(--beige); line-height: 1;
}
.as-label { font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255,255,255,0.35); margin-top: 6px; }

/* FAQ */
#faq { background: var(--off-white); }
.faq-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 96px; align-items: start; }
.faq-list { margin-top: 8px; }
.faq-item { border-bottom: 1px solid rgba(0,0,0,0.1); }
.faq-q {
  padding: 24px 0; display: flex; justify-content: space-between;
  align-items: center; gap: 24px; cursor: pointer;
  font-size: 15px; font-weight: 500; transition: color 0.2s;
  text-wrap: balance;
  user-select: none;
  pointer-events: auto;
}
.faq-q:hover { color: var(--navy); }
.faq-icon {
  width: 30px; height: 30px; flex-shrink: 0;
  border: 1px solid rgba(0,0,0,0.2);
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; transition: all 0.3s; color: var(--navy);
  pointer-events: none;
}
.faq-item.open .faq-icon { background: var(--beige); border-color: var(--beige); transform: rotate(45deg); }
.faq-a {
  max-height: 0; overflow: hidden;
  font-size: 14px; line-height: 1.8; color: var(--text-mid);
  transition: max-height 0.4s ease, padding 0.3s;
  text-wrap: balance;
}
.faq-item.open .faq-a { max-height: 200px; padding-bottom: 24px; }
.faq-right-img { position: relative; }
.faq-right-img img { width: 100%; aspect-ratio: 3/4; object-fit: cover; }
.faq-cta-block {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: var(--navy); padding: 32px 36px;
}
.faq-cta-title {
  font-family: var(--font-display);
  font-size: 28px; font-weight: 300; color: var(--white);
  margin-bottom: 16px; line-height: 1.2;
}
.faq-cta-title em { font-style: italic; color: var(--beige); }

/* CONTACT */
#contact { background: var(--black); }
.contact-layout { display: grid; grid-template-columns: 1fr 1.2fr; gap: 96px; align-items: start; }
.contact-info { margin-top: 40px; display: flex; flex-direction: column; gap: 20px; }
.ci-item { display: flex; align-items: center; gap: 16px; }
.ci-icon {
  width: 44px; height: 44px; flex-shrink: 0;
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 16px;
}
.ci-text { font-size: 14px; color: rgba(255,255,255,0.65); }
.ci-text strong {
  display: block; font-size: 11px; font-weight: 600; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--beige); margin-bottom: 2px;
}
.contact-form-wrap { background: rgba(255,255,255,0.03); border: 1px solid var(--border); padding: 48px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.fg { display: flex; flex-direction: column; gap: 8px; margin-bottom: 16px; }
.fg.full { grid-column: span 2; }
.fg label {
  font-size: 10px; font-weight: 600; letter-spacing: 0.18em;
  text-transform: uppercase; color: rgba(255,255,255,0.4);
}
.fg input, .fg textarea {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-bottom: 1px solid rgba(191,178,129,0.2);
  padding: 16px 20px; color: var(--white);
  font-family: var(--font-body); font-size: 15px;
  outline: none; transition: border-color 0.2s;
  width: 100%;
}
.fg input:focus, .fg textarea:focus { border-bottom-color: var(--beige); }
.fg textarea { height: 110px; resize: none; }
.form-note { font-size: 11px; color: rgba(255,255,255,0.25); margin-top: 8px; }
.form-success-msg {
  display: none; text-align: center; padding: 40px 0;
}
.form-success-msg h3 {
  font-family: var(--font-display); font-size: 36px;
  font-weight: 300; color: var(--white); margin-bottom: 12px;
}
.form-success-msg p { color: rgba(255,255,255,0.4); font-size: 14px; }
.checkmark-circle {
  width: 56px; height: 56px; border-radius: 50%;
  background: rgba(191,178,129,0.1); border: 1px solid var(--beige);
  margin: 0 auto 20px;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
}

/* FOOTER */
footer {
  background: #141414;
  border-top: 1px solid var(--border);
  padding: 72px 48px 32px;
}
.footer-inner { max-width: 1200px; margin: 0 auto; }
.footer-top {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 56px;
  padding-bottom: 56px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 32px;
}
.footer-logo-wrap { margin-bottom: 20px; }
.footer-logo-wrap img { height: 32px; width: auto; }
.footer-tagline { font-size: 13px; color: rgba(255,255,255,0.35); line-height: 1.7; margin-bottom: 28px; max-width: 280px; }
.footer-socials { display: flex; gap: 10px; }
.f-social {
  width: 36px; height: 36px; border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; color: rgba(255,255,255,0.4);
  transition: all 0.2s;
}
.f-social:hover { border-color: var(--beige); color: var(--beige); }
.footer-col h5 {
  font-size: 10px; font-weight: 700; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--beige);
  margin-bottom: 20px;
  font-family: var(--font-display);
}
.footer-col a {
  display: block; font-size: 13px;
  color: rgba(255,255,255,0.4);
  margin-bottom: 10px; transition: color 0.2s;
}
.footer-col a:hover { color: var(--white); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.footer-copy { font-size: 12px; color: rgba(255,255,255,0.2); }
.footer-badge { font-size: 11px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--beige); opacity: 0.6; }
.footer-legal a { font-size: 12px; color: rgba(255,255,255,0.2); margin-left: 20px; transition: color 0.2s; }
.footer-legal a:hover { color: rgba(255,255,255,0.5); }

/* Popup submit button hover */
#popupFormFields button:hover { background: #FFFFFF !important; color: #1E1E1E; }

/* Scroll top */
#scrollTop::after { display: none; }
#scrollTop {
  position: fixed; bottom: 96px; right: 24px; z-index: 400;
  width: 44px; height: 44px; background: var(--beige); color: var(--black);
  border: none; cursor: pointer; font-size: 16px;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none; transition: all 0.3s;
}
#scrollTop.visible { opacity: 1; pointer-events: all; }
#scrollTop:hover { background: #FFFFFF; }

/* Mobile CTA bar */
.mob-bar {
  display: none; position: fixed; bottom: 0; left: 0; right: 0; z-index: 450;
  background: rgba(20,20,20,0.97);
  border-top: 1px solid var(--border);
  padding: 12px 16px; gap: 10px;
}
.mob-bar a {
  flex: 1; padding: 14px;
  font-size: 12px; font-weight: 600; letter-spacing: 0.1em;
  text-transform: uppercase;
}
.mob-call { background: var(--beige); color: var(--black); }
.mob-call:hover { background: #FFFFFF; }
.mob-est {
  background: transparent; color: var(--white);
  border: 1px solid rgba(255,255,255,0.2);
  pointer-events: auto;
}
.mob-est:hover { border-color: var(--beige); color: var(--beige); }

/* WHY-row custom */
.why-row {
  display: flex;
  flex-direction: column;
  margin-top: 8px;
}
.why-card {
  display: flex;
  align-items: center;
  gap: 0;
  border-bottom: 1px solid rgba(191,178,129,0.10);
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: translateX(-28px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.why-card:first-child { border-top: 1px solid rgba(191,178,129,0.10); }
.why-card.why-show {
  opacity: 1;
  transform: translateX(0);
}
.why-card::before {
  content: '';
  position: absolute; left: 0; top: 0; bottom: 0; width: 2px;
  background: var(--beige);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.4s ease 0.3s;
}
.why-card.why-show::before { transform: scaleY(1); }
.why-card:hover { background: transparent; }
.why-card-num {
  font-size: 10px; font-weight: 700; letter-spacing: 0.2em;
  color: rgba(191,178,129,0.3);
  width: 72px;
  flex-shrink: 0;
  text-align: center;
  padding: 32px 0;
}
.why-card-icon-wrap {
  width: 48px;
  flex-shrink: 0;
  color: rgba(191,178,129,0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  border-left: 1px solid rgba(191,178,129,0.08);
  padding: 32px 0;
}
.why-card-sep {
  width: 1px; align-self: stretch;
  background: rgba(191,178,129,0.08);
  flex-shrink: 0;
  margin: 0 40px;
}
.why-card-title {
  font-family: var(--font-display);
  font-size: 26px; font-weight: 300; color: #fff;
  letter-spacing: 0.01em; line-height: 1;
  white-space: nowrap;
  flex-shrink: 0;
  width: 300px;
  padding: 32px 0 32px 36px;
}
.why-card-desc {
  font-size: 14px; color: rgba(255,255,255,0.4);
  line-height: 1.75;
  padding: 32px 48px 32px 0;
}
.why-card-left,
.why-card-divider,
.why-card-body-icon { display: none; }
.why-card-body { display: contents; }

/* Ensure interactive elements always receive clicks */
button, .btn-fill, .btn-ghost, .h-cta,
.nav-link, .svc-card, input, textarea, select {
  pointer-events: auto !important;
}
/* Mobile nav must never intercept clicks when closed */
.mobile-nav:not(.open),
.mobile-nav:not(.open) * {
  pointer-events: none !important;
}

/* RESPONSIVE */
@media (max-width: 1024px) {
  .hero-content { grid-template-columns: 1fr; }
  .hero-badges { flex-direction: row; flex-wrap: wrap; align-items: flex-start; margin-top: 32px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .why-card { gap: 16px; padding: 28px 20px; }
  .about-layout { grid-template-columns: 1fr; gap: 56px; }
  .contact-layout { grid-template-columns: 1fr; gap: 56px; }
  .faq-layout { grid-template-columns: 1fr; gap: 48px; }
  .area-layout { grid-template-columns: 1fr; gap: 48px; }
  .area-map-wrap { height: auto; aspect-ratio: 4/3; }
}
@media (max-width: 900px) {
  .hero-slide-2 { background-position: 25% center; }
  nav, .h-phone { display: none; }
  .hamburger { display: flex; }
  .mobile-nav { display: flex; }
  .mob-bar { display: flex; }
  body { padding-bottom: 64px; }
  .section-inner { padding: 0 20px; }
  footer { padding: 56px 20px 24px; }
  #header { padding: 0 20px; }
  .hero-content { padding: 0 20px 80px; }
  .hero-indicators { right: 20px; }
  h1.hero-h1 { font-size: 52px; }
  .hero-badges { justify-content: center; }
  .hide-mobile { display: none; }
  .show-mobile-only { display: block; }
  .area-city-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; }
  .area-city-grid .city-pill { text-align: center; justify-content: center; }
  .area-map-wrap { aspect-ratio: 16/9; }
  .section-pad, .section-pad-sm { padding: 48px 0; }
  .services-intro { grid-template-columns: 1fr; gap: 24px; }
  .reviews-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .port-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 220px; }
  .port-item:nth-child(1) { grid-column: span 2; }
  .port-item:nth-child(2), .port-item:nth-child(3) { grid-column: span 1; }
  .port-item:nth-child(4), .port-item:nth-child(5), .port-item:nth-child(6) { grid-column: span 1; }
  .port-overlay { opacity: 1; }
  .port-item:hover img { transform: none; }
  .about-stats { grid-template-columns: repeat(3, 1fr); }
  .contact-form-wrap { padding: 28px 20px; }
  .form-row { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  /* ── Popup modal mobile ── */
  #estimatePopup {
    padding: 12px !important;
    align-items: center !important;
    justify-content: center !important;
  }
  #estimatePopup > div {
    padding: 16px !important;
    max-height: 95vh !important;
    overflow-y: auto !important;
  }
  /* Hide the "FREE ESTIMATE" eyebrow line */
  #estimatePopup > div > div:first-child {
    display: none !important;
  }
  #estimatePopup h2 {
    font-size: 22px !important;
    margin-bottom: 4px !important;
  }
  #estimatePopup > div > p {
    font-size: 12px !important;
    margin-bottom: 12px !important;
  }
  #popupFormFields > div {
    grid-template-columns: 1fr !important;
    gap: 8px !important;
    margin-top: 8px !important;
  }
  #popupFormFields > div:first-child {
    margin-top: 0 !important;
  }
  #popupFormFields input {
    padding: 0 12px !important;
    height: 40px !important;
    font-size: 14px !important;
    box-sizing: border-box !important;
  }
  #popupFormFields textarea {
    height: 70px !important;
    padding: 10px 12px !important;
    font-size: 14px !important;
  }
  #popupFormFields > div[style*="flex-direction:column"] {
    gap: 4px !important;
  }
  #popupFormFields label {
    font-size: 9px !important;
  }
}
@media (max-width: 768px) {
  .btn, .btn-fill, .btn-ghost, .btn-outline, .h-cta {
    width: 100% !important; display: block !important; text-align: center !important; box-sizing: border-box !important;
  }
  .svc-card { aspect-ratio: unset; height: 200px; width: 100% !important; max-width: 100% !important; }
  .svc-desc { max-height: 200px !important; opacity: 1 !important; }
  .svc-link { max-height: 40px !important; opacity: 1 !important; }
  .svc-card-img { filter: brightness(0.35) !important; }
  .port-header { flex-direction: column; align-items: flex-start; gap: 16px; text-align: left !important; }
  .port-header .btn-fill { width: 100%; align-self: auto; }
  .port-header .s-eyebrow { text-align: left !important; justify-content: flex-start !important; margin-left: 0 !important; }
  .port-header h2.s-title { text-align: left !important; }
}
@media (max-width: 540px) {
  .services-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 24px; text-align: center; }
  .footer-top > div:first-child { display: flex; flex-direction: column; align-items: center; }
  .footer-col h5 { font-size: 13px; margin-bottom: 8px; }
  .footer-col a { margin-bottom: 6px; }
  .footer-bottom { flex-direction: column; align-items: center; text-align: center; }
  .footer-legal a { margin-left: 0; margin: 0 8px; }
  .footer-tagline { max-width: 100%; text-align: center; margin-left: auto; margin-right: auto; text-wrap: balance; }
  .footer-socials { justify-content: center; }
  .footer-logo-wrap { display: flex; justify-content: center; }
  .ba-section { grid-template-columns: 1fr; }
  .hero-ctas { flex-direction: column; }
  .svc-cta-btns { flex-direction: column; }
  .about-stats { grid-template-columns: 1fr; }
  .blog-card { flex-direction: column !important; padding: 20px !important; overflow: hidden; }
  .blog-card::before { content: none; }
  .blog-card > div:first-child { width: 100% !important; height: 180px !important; flex-shrink: unset !important; }
  .blog-card .s-title { word-wrap: break-word; overflow-wrap: break-word; }
  .section-pad, .section-pad-sm { padding: 40px 0; }
  .as-item { padding: 10px 16px; text-align: left; }
  .as-num { font-size: 38px; }
  .as-label { margin-top: 2px; }
  .as-item .services-desc { margin-top: 4px !important; }
  .why-card {
    flex-wrap: wrap;
    padding: 20px 20px 20px 16px;
    gap: 4px;
  }
  .why-card-num { width: auto; padding: 0; margin-right: 8px; }
  .why-card-icon-wrap { width: auto; border: none; padding: 0; }
  .why-card-sep { display: none; }
  .why-card-title { width: 100%; white-space: normal; font-size: 19px; padding: 6px 0 4px; }
  .why-card-desc { width: 100%; padding: 0; }
}

/* Disable hover & tap-highlight effects on touch devices */
@media (hover: none) {
  a, button, .btn-fill, .btn-ghost, .h-cta, .h-phone, .mob-call, .mob-est, #scrollTop, .f-social, .nav-link, .city-pill {
    -webkit-tap-highlight-color: transparent;
  }
  .btn-fill:hover, .btn-fill:active, .btn-fill:focus { background: var(--beige) !important; color: var(--black) !important; }
  .btn-ghost:hover, .btn-ghost:active, .btn-ghost:focus { background: transparent !important; color: var(--white) !important; border-color: rgba(255,255,255,0.35) !important; }
  .h-cta:hover, .h-cta:active, .h-cta:focus { background: var(--beige) !important; color: var(--black) !important; }
  .h-phone:hover, .h-phone:active, .h-phone:focus { opacity: 1 !important; }
  #scrollTop:hover, #scrollTop:active, #scrollTop:focus { background: var(--beige) !important; }
  .mob-call:hover, .mob-call:active, .mob-call:focus { background: var(--beige) !important; color: var(--black) !important; }
  .mob-est:hover, .mob-est:active, .mob-est:focus { border-color: rgba(255,255,255,0.2) !important; color: var(--white) !important; background: transparent !important; }
  #popupFormFields button:hover, #popupFormFields button:active, #popupFormFields button:focus { background: #BFB281 !important; color: #1E1E1E !important; }
  .f-social:hover, .f-social:active, .f-social:focus { border-color: var(--border) !important; color: inherit !important; }
  .footer-col a:hover, .footer-col a:active, .footer-col a:focus { color: inherit !important; }
  .footer-legal a:hover, .footer-legal a:active, .footer-legal a:focus { color: rgba(255,255,255,0.2) !important; }
  .nav-link:hover, .nav-link:active, .nav-link:focus { color: inherit !important; }
  .nav-link:hover::after, .nav-link:active::after, .nav-link:focus::after { transform: scaleX(0) !important; }
  .nav-dropdown-menu-inner a:hover, .nav-dropdown-menu-inner a:active, .nav-dropdown-menu-inner a:focus { color: inherit !important; padding-left: 0 !important; }
  .mobile-nav a:hover, .mobile-nav a:active, .mobile-nav a:focus { color: inherit !important; }
}
