/* =====================================================
   APTURE MEDIA — MAIN STYLESHEET
   Austin Real Estate Photography
   ===================================================== */

@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@300;400;500;600;700;800&family=Inter:wght@300;400;500;600&display=swap');

/* ===========================
   CSS VARIABLES
   =========================== */

:root {
  --bg-primary: #111111;
  --bg-secondary: #1E1E1E;
  --bg-card: #181818;
  --accent: #1D9E75;
  --accent-dark: #0F6E56;
  --accent-light: #5DCAA5;
  --text-white: #F8F7F5;
  --text-muted: #BDBDBD;
  --border: #2D2D2D;
  --nav-height: 72px;
  --radius: 12px;
  --radius-lg: 16px;
}

/* ===========================
   RESET & BASE
   =========================== */

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

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

body {
  background: var(--bg-primary);
  color: var(--text-white);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
button { font-family: inherit; }
ul { list-style: none; }

/* ===========================
   TYPOGRAPHY
   =========================== */

h1, h2, h3, h4, h5 {
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: var(--text-white);
}

h1 { font-size: clamp(2.4rem, 5.5vw, 4.5rem); }
h2 { font-size: clamp(1.9rem, 3.5vw, 2.75rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.6rem); }
h4 { font-size: 1.1rem; font-weight: 600; }

p { color: var(--text-muted); line-height: 1.75; }

/* ===========================
   NAVIGATION
   =========================== */

.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  background: rgba(17, 17, 17, 0.97);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(45, 45, 45, 0.7);
  transition: background 0.3s ease;
  /* Safe area inset for notched iPhones */
  padding-top: env(safe-area-inset-top, 0px);
}

@supports (backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px)) {
  .nav { background: rgba(17, 17, 17, 0.88); }
}

.nav-inner {
  max-width: 1280px;
  width: 100%;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-shrink: 0;
}

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

.nav-logo-text {
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: 0.08em;
  color: var(--text-white);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.nav-links a {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.2s ease;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

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

.nav-cta {
  background: var(--accent) !important;
  color: var(--text-white) !important;
  padding: 0.55rem 1.2rem !important;
  border-radius: 7px;
  font-weight: 600 !important;
  transition: background 0.2s ease, box-shadow 0.2s ease !important;
  color: white !important;
}

.nav-cta:hover {
  background: var(--accent-dark) !important;
  box-shadow: 0 0 22px rgba(29, 158, 117, 0.35) !important;
  color: white !important;
}

.nav-close { display: none; }

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

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-white);
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* ===========================
   BUTTONS
   =========================== */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.875rem;
  border-radius: 8px;
  font-family: 'Manrope', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.22s ease;
  border: none;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

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

.btn-primary:hover {
  background: var(--accent-dark);
  box-shadow: 0 0 28px rgba(29, 158, 117, 0.38);
  transform: translateY(-1px);
  color: white;
}

.btn-secondary {
  background: transparent;
  color: var(--text-white);
  border: 1px solid var(--border);
}

.btn-secondary:hover {
  border-color: rgba(29, 158, 117, 0.5);
  color: var(--accent-light);
  transform: translateY(-1px);
}

.btn-lg { padding: 1rem 2.25rem; font-size: 0.95rem; }

/* ===========================
   LAYOUT
   =========================== */

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section { padding: 6rem 0; }
.section-alt {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}

.section-title { margin-bottom: 1.25rem; }

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 580px;
  line-height: 1.75;
  margin-bottom: 3rem;
}

/* ===========================
   HERO
   =========================== */

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: var(--nav-height);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: var(--bg-primary);
  background-image: url('../images/hero-home.jpg');
  background-size: cover;
  background-position: center;
  z-index: 0;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    130deg,
    rgba(17,17,17,0.94) 0%,
    rgba(17,17,17,0.78) 50%,
    rgba(17,17,17,0.55) 100%
  );
}

/* Fallback gradient when no image */
.hero-bg:not([style*="background-image"])::before,
.hero-bg-gradient::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 60%, rgba(29, 158, 117, 0.06) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(29, 158, 117, 0.04) 0%, transparent 50%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 4rem 2rem 6rem;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(29, 158, 117, 0.1);
  border: 1px solid rgba(29, 158, 117, 0.22);
  padding: 0.4rem 1rem;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent-light);
  letter-spacing: 0.09em;
  text-transform: uppercase;
  margin-bottom: 1.75rem;
}

.hero-eyebrow-dot {
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
  flex-shrink: 0;
}

.hero h1 {
  max-width: 820px;
  margin-bottom: 1.5rem;
  background: linear-gradient(140deg, #F8F7F5 30%, rgba(248,247,245,0.72) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 520px;
  line-height: 1.8;
  margin-bottom: 2.5rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 5rem;
}

/* ===========================
   TRUST BAR
   =========================== */

.trust-bar {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 1.1rem 0;
}

.trust-bar-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.75rem;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-muted);
  white-space: nowrap;
}

.trust-item svg { color: var(--accent); flex-shrink: 0; }

/* ===========================
   SERVICES GRID
   =========================== */

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.service-card {
  background: var(--bg-secondary);
  padding: 2rem;
  position: relative;
  overflow: hidden;
  transition: background 0.25s ease;
}

.service-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.service-card:hover { background: #1f1f1f; }
.service-card:hover::after { transform: scaleX(1); }

.service-icon {
  width: 44px; height: 44px;
  background: rgba(29, 158, 117, 0.1);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.25rem;
  color: var(--accent);
  transition: background 0.25s ease;
}

.service-card:hover .service-icon { background: rgba(29, 158, 117, 0.18); }

.service-card h3 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.service-card p {
  font-size: 0.875rem;
  line-height: 1.65;
}

/* ===========================
   GALLERY / PORTFOLIO
   =========================== */

.home-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.625rem;
  margin-top: 2rem;
}

.home-gallery-cell {
  position: relative;
  overflow: hidden;
  border-radius: 6px;
  background: var(--bg-secondary);
  cursor: pointer;
  aspect-ratio: 4 / 3;
}

.home-gallery-cell img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: opacity 0.5s, transform 0.4s;
  opacity: 0;
}

.home-gallery-cell img.loaded { opacity: 1; }
.home-gallery-cell:hover img { transform: scale(1.04); }

/* ===========================
   BEFORE / AFTER SLIDER
   =========================== */
.comparison-wrap {
  max-width: 900px;
  margin: 2rem auto 0;
}

.comparison-slider {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 10px;
  overflow: hidden;
  cursor: ew-resize;
  user-select: none;
  touch-action: pan-y;
  background: var(--bg-secondary);
  box-shadow: 0 4px 32px rgba(0,0,0,0.45);
}

.comp-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
  -webkit-user-drag: none;
}

.comp-before { z-index: 1; }

.comp-after {
  z-index: 2;
  clip-path: inset(0 0 0 50%);
}

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

.comp-line {
  width: 2px;
  flex: 1;
  background: #fff;
  opacity: 0.9;
}

.comp-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 12px rgba(0,0,0,0.35);
  flex-shrink: 0;
}

.comp-label {
  position: absolute;
  top: 1rem;
  padding: 0.3rem 0.75rem;
  border-radius: 99px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  pointer-events: none;
  z-index: 8;
}

.comp-label-before {
  left: 1rem;
  background: rgba(0,0,0,0.55);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.2);
}

.comp-label-after {
  right: 1rem;
  background: var(--accent);
  color: #fff;
}

/* Side-by-side comparison duo */
.comparison-duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-top: 2rem;
}

@media (max-width: 680px) {
  .comparison-duo {
    grid-template-columns: 1fr;
  }
  .comparison-wrap {
    max-width: 100%;
  }
}

/* Portfolio page grid */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
}

.portfolio-item {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--bg-secondary);
  cursor: pointer;
}

.portfolio-item.wide {
  grid-column: span 2;
  aspect-ratio: 8/3;
}

.portfolio-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.portfolio-item:hover img { transform: scale(1.04); }

.portfolio-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(17,17,17,0.65) 0%, transparent 55%);
  opacity: 0;
  transition: opacity 0.3s ease;
  display: flex; align-items: flex-end;
  padding: 1.25rem;
}

.portfolio-item:hover .portfolio-overlay { opacity: 1; }

.portfolio-overlay span {
  font-size: 0.8rem;
  font-weight: 600;
  color: rgba(255,255,255,0.85);
  letter-spacing: 0.04em;
}

/* Photo placeholder for empty slots */
.photo-placeholder {
  width: 100%; height: 100%;
  background: var(--bg-secondary);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  border: 1px dashed #2d2d2d;
  padding: 1rem;
  text-align: center;
}

.photo-placeholder svg { color: #3a3a3a; }

/* Service area tags */
.area-tag {
  display: inline-block;
  padding: 0.45rem 1rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 0.85rem;
  color: var(--text-muted);
  font-family: 'Inter', sans-serif;
  transition: border-color 0.2s, color 0.2s;
}
.area-tag:hover { border-color: var(--accent); color: var(--text-white); }

.photo-placeholder .ph-filename {
  font-family: 'Inter', monospace;
  font-size: 0.68rem;
  background: rgba(29, 158, 117, 0.08);
  border: 1px solid rgba(29, 158, 117, 0.15);
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  color: var(--accent);
  letter-spacing: 0.02em;
}

/* Portfolio category pills */
.portfolio-cats {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.cat-btn {
  padding: 0.45rem 1.1rem;
  border-radius: 100px;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.82rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: 'Inter', sans-serif;
}

.cat-btn:hover,
.cat-btn.active {
  background: var(--accent);
  border-color: var(--accent);
  color: white;
}

/* ===========================
   WHY APTURE
   =========================== */

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.why-card {
  padding: 2rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color 0.25s ease, transform 0.25s ease;
}

.why-card:hover {
  border-color: rgba(29, 158, 117, 0.35);
  transform: translateY(-3px);
}

.why-icon {
  width: 48px; height: 48px;
  background: rgba(29, 158, 117, 0.1);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  color: var(--accent);
  margin-bottom: 1.25rem;
}

.why-card h3 { font-size: 1.1rem; margin-bottom: 0.6rem; }
.why-card p { font-size: 0.9rem; }

/* ===========================
   PROCESS
   =========================== */

.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  position: relative;
  margin-top: 3rem;
}

.process-steps::before {
  content: '';
  position: absolute;
  top: 29px;
  left: calc(12.5% + 0.5rem);
  right: calc(12.5% + 0.5rem);
  height: 1px;
  background: linear-gradient(to right, var(--border), var(--accent), var(--border));
  opacity: 0.5;
}

.process-step { text-align: center; position: relative; }

.process-number {
  width: 58px; height: 58px;
  border-radius: 50%;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.25rem;
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: 1rem;
  color: var(--accent);
  transition: all 0.25s ease;
  position: relative;
  z-index: 1;
}

.process-step:hover .process-number {
  background: var(--accent);
  color: white;
  border-color: var(--accent);
  box-shadow: 0 0 20px rgba(29, 158, 117, 0.3);
}

.process-step h4 { margin-bottom: 0.5rem; }
.process-step p { font-size: 0.875rem; }

/* ===========================
   PRICING CARDS
   =========================== */

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  align-items: start;
}

.pricing-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  position: relative;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.pricing-card:hover {
  transform: translateY(-4px);
  border-color: rgba(29, 158, 117, 0.25);
}

.pricing-card.featured {
  border-color: var(--accent);
  background: linear-gradient(145deg, #1a1a1a 0%, #19261f 100%);
}

.pricing-card.featured::before {
  content: 'Most Popular';
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: white;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.28rem 1rem;
  border-radius: 100px;
  white-space: nowrap;
}

.pricing-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.4rem;
}

.pricing-name {
  font-family: 'Manrope', sans-serif;
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text-white);
  margin-bottom: 0.2rem;
}

.pricing-tagline {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.pricing-price {
  display: flex;
  align-items: baseline;
  gap: 0.3rem;
  margin-bottom: 0.4rem;
}

.price-amount {
  font-family: 'Manrope', sans-serif;
  font-size: 2.75rem;
  font-weight: 800;
  color: var(--text-white);
  line-height: 1;
}

.price-unit {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.pricing-divider {
  height: 1px;
  background: var(--border);
  margin: 1.5rem 0;
}

.pricing-features {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  margin-bottom: 1.75rem;
}

.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.pricing-features li svg {
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 2px;
}

/* Pricing table (Essential tiers) */
.pricing-table-wrap {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.pricing-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.pricing-table th {
  text-align: left;
  padding: 0.875rem 1.25rem;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
  background: rgba(0,0,0,0.15);
  font-weight: 600;
}

.pricing-table td {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid rgba(45, 45, 45, 0.6);
  color: var(--text-muted);
  vertical-align: top;
}

.pricing-table tr:last-child td { border-bottom: none; }

.pricing-table td:first-child {
  color: var(--text-white);
  font-weight: 500;
  width: 30%;
}

.pricing-table td:nth-child(2) { width: 45%; font-size: 0.85rem; }

.pricing-table td:last-child {
  color: var(--text-white);
  font-weight: 700;
  text-align: right;
  font-family: 'Manrope', sans-serif;
  font-size: 1rem;
  white-space: nowrap;
}

.pricing-table tr:hover td { background: rgba(29,158,117,0.03); }

/* Add-ons table */
.addons-table-wrap {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.addons-table {
  width: 100%;
  border-collapse: collapse;
}

.addons-table th {
  padding: 0.875rem 1.25rem;
  text-align: left;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 600;
  background: rgba(0,0,0,0.15);
  border-bottom: 1px solid var(--border);
}

.addons-table td {
  padding: 0.9rem 1.25rem;
  border-top: 1px solid var(--border);
  font-size: 0.875rem;
  color: var(--text-muted);
  vertical-align: top;
}

.addons-table td:first-child {
  color: var(--text-white);
  font-weight: 500;
  width: 35%;
}

.addons-table td:last-child {
  text-align: right;
  color: var(--accent-light);
  font-weight: 600;
  font-family: 'Manrope', sans-serif;
  white-space: nowrap;
}

.addons-table tr:hover td { background: rgba(29,158,117,0.03); }

/* ===========================
   SERVICE SECTION GRID
   (Photography / Drone / Video rows on services.html)
   =========================== */

.svc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  margin-bottom: 5rem;
}

.svc-img-wrap {
  aspect-ratio: 4/3;
  background: var(--bg-secondary);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  overflow: hidden;
}

.svc-img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
}

@media (max-width: 768px) {
  .svc-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
  }
  /* Image always comes first on mobile regardless of HTML order */
  .svc-img-wrap { order: -1; }
}

/* ===========================
   TESTIMONIALS
   =========================== */

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.testimonial-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
}

.testimonial-stars {
  color: #F5A623;
  font-size: 0.9rem;
  letter-spacing: 2px;
  margin-bottom: 1rem;
}

.testimonial-quote {
  font-size: 1rem;
  color: var(--text-white);
  line-height: 1.75;
  font-style: italic;
  margin-bottom: 1.5rem;
  opacity: 0.9;
}

.testimonial-author { display: flex; align-items: center; gap: 0.8rem; }

.testimonial-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--border);
  flex-shrink: 0;
  overflow: hidden;
}

.testimonial-avatar img { width: 100%; height: 100%; object-fit: cover; }

.testimonial-name {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-white);
}

.testimonial-role { font-size: 0.78rem; color: var(--text-muted); }

/* ===========================
   CTA SECTION
   =========================== */

.cta-section {
  padding: 6rem 0;
  text-align: center;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(29,158,117,0.06) 0%, transparent 70%);
}

.cta-section .container { position: relative; }
.cta-section h2 { margin-bottom: 1rem; }
.cta-section .section-subtitle { margin: 0 auto 2.5rem; }

/* ===========================
   FAQ
   =========================== */

.faq-wrap {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.faq-item { border-bottom: 1px solid var(--border); }
.faq-item:last-child { border-bottom: none; }

.faq-q {
  width: 100%;
  background: none;
  border: none;
  padding: 1.4rem 1.5rem;
  text-align: left;
  color: var(--text-white);
  font-family: 'Manrope', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  transition: color 0.2s ease;
}

.faq-q:hover { color: var(--accent-light); }

.faq-icon {
  flex-shrink: 0;
  color: var(--accent);
  transition: transform 0.3s ease;
  font-size: 1.5rem;
  line-height: 1;
  font-weight: 300;
}

.faq-item.open .faq-icon { transform: rotate(45deg); }

.faq-a {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.35s ease, padding 0.3s ease;
  padding: 0 1.5rem;
}

.faq-item.open .faq-a {
  max-height: 400px;
  padding: 0 1.5rem 1.4rem;
}

.faq-a p { font-size: 0.9rem; line-height: 1.75; }

/* ===========================
   ABOUT PAGE
   =========================== */

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 5rem;
  align-items: center;
}

.about-photo-wrap {
  position: relative;
}

.about-photo {
  aspect-ratio: 3/4;
  background: var(--bg-secondary);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
}

.about-photo img { width: 100%; height: 100%; object-fit: cover; }

.about-badge {
  position: absolute;
  bottom: -1rem;
  right: -1rem;
  background: var(--accent);
  color: white;
  padding: 1rem 1.25rem;
  border-radius: var(--radius);
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: 0.85rem;
  text-align: center;
  line-height: 1.3;
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}

.about-badge span { font-size: 1.75rem; display: block; }

.about-content p { font-size: 1rem; margin-bottom: 1.25rem; }
.about-content p:last-of-type { margin-bottom: 2rem; }

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--border);
}

.stat-item { text-align: center; }

.stat-number {
  font-family: 'Manrope', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  color: var(--accent);
  display: block;
  line-height: 1;
  margin-bottom: 0.4rem;
}

.stat-label { font-size: 0.78rem; color: var(--text-muted); }

/* ===========================
   CONTACT / BOOKING
   =========================== */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 5rem;
  align-items: start;
}

.contact-info {
  position: sticky;
  top: calc(var(--nav-height) + 2rem);
}

.contact-info h2 { margin-bottom: 1rem; }
.contact-info > p { margin-bottom: 2.5rem; }

.contact-items { display: flex; flex-direction: column; gap: 1.25rem; }

.contact-item { display: flex; align-items: flex-start; gap: 1rem; }

.c-icon {
  width: 40px; height: 40px;
  background: rgba(29,158,117,0.1);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: var(--accent);
  flex-shrink: 0;
}

.c-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--text-muted);
  font-weight: 600;
  display: block;
  margin-bottom: 0.2rem;
}

.c-value {
  font-size: 0.95rem;
  color: var(--text-white);
  font-weight: 500;
}

.c-value a { transition: color 0.2s; }
.c-value a:hover { color: var(--accent-light); }

.booking-embed {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  min-height: 480px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 3rem 2rem;
  text-align: center;
  margin-bottom: 2rem;
}

.booking-embed svg { color: var(--accent); opacity: 0.6; }
.booking-embed h3 { color: var(--text-white); }
.booking-embed p { max-width: 320px; font-size: 0.875rem; }

/* Contact form */
.contact-form { display: flex; flex-direction: column; gap: 1.2rem; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}

.form-group { display: flex; flex-direction: column; gap: 0.4rem; }

.form-label {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.form-input,
.form-select,
.form-textarea {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.8rem 1rem;
  font-size: 0.9rem;
  color: var(--text-white);
  font-family: 'Inter', sans-serif;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  width: 100%;
  outline: none;
  -webkit-appearance: none;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(29,158,117,0.12);
}

.form-input::placeholder,
.form-textarea::placeholder { color: #494949; }

.form-select {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%23888' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-size: 20px;
  padding-right: 2.5rem;
  cursor: pointer;
}

.form-select option { background: var(--bg-secondary); }
.form-textarea { resize: vertical; min-height: 110px; }

.form-note {
  font-size: 0.78rem;
  color: var(--text-muted);
  text-align: center;
}

/* ===========================
   LIGHTBOX
   =========================== */

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.96);
  z-index: 3000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.lightbox.open { display: flex; }

.lb-img {
  max-width: 90vw;
  max-height: 88vh;
  object-fit: contain;
  border-radius: 4px;
}

.lb-close {
  position: absolute;
  top: 1.25rem; right: 1.5rem;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  color: white;
  cursor: pointer;
  width: 40px; height: 40px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.25rem;
  transition: background 0.2s;
}

.lb-close:hover { background: rgba(255,255,255,0.15); }

/* ===========================
   FOOTER
   =========================== */

.footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  padding: 4rem 0 1.75rem;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--border);
}

.footer-brand img { display: block; margin-bottom: 0.75rem; }
.footer-brand p { font-size: 0.875rem; max-width: 260px; line-height: 1.65; }

.footer-col h5 {
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1rem;
  font-weight: 600;
}

.footer-col ul { display: flex; flex-direction: column; gap: 0.6rem; }

.footer-col a {
  font-size: 0.875rem;
  color: var(--text-muted);
  transition: color 0.2s ease;
  display: block;
}

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

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-bottom p { font-size: 0.78rem; color: var(--text-muted); }

.footer-social { display: flex; gap: 0.6rem; }

.social-btn {
  width: 34px; height: 34px;
  border-radius: 8px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted);
  transition: all 0.2s ease;
}

.social-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(29,158,117,0.08);
}

/* ===========================
   UTILITIES
   =========================== */

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  background: rgba(29,158,117,0.1);
  border: 1px solid rgba(29,158,117,0.2);
  color: var(--accent-light);
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.28rem 0.75rem;
  border-radius: 100px;
  letter-spacing: 0.06em;
}

.divider {
  height: 1px;
  background: var(--border);
  margin: 3rem 0;
}

.text-accent { color: var(--accent); }
.text-muted { color: var(--text-muted); }
.text-center { text-align: center; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }

/* ===========================
   ANIMATIONS
   =========================== */

.fade-up {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

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

/* Stagger delay for grid children */
.stagger > *:nth-child(1) { transition-delay: 0ms; }
.stagger > *:nth-child(2) { transition-delay: 80ms; }
.stagger > *:nth-child(3) { transition-delay: 160ms; }
.stagger > *:nth-child(4) { transition-delay: 240ms; }
.stagger > *:nth-child(5) { transition-delay: 320ms; }
.stagger > *:nth-child(6) { transition-delay: 400ms; }

/* ===========================
   RESPONSIVE
   =========================== */

@media (max-width: 1100px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 960px) {
  .nav-links {
    display: none;
    position: fixed;
    top: 0; left: 0;
    width: 100vw;
    height: 100vh;
    background: #111111;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2.5rem;
    z-index: 998;
    padding: 2rem;
  }
  .nav-links.open { display: flex; }
  .nav-links a { font-size: 1.25rem; font-weight: 600; color: var(--text-white); }
  .nav-cta { padding: 0.8rem 2rem !important; }
  .nav-toggle { display: flex; z-index: 1000; }
  .nav-close {
    display: flex;
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-white);
    padding: 0.5rem;
  }

  .pricing-grid { grid-template-columns: 1fr 1fr; }
  .about-grid { grid-template-columns: 1fr; gap: 3rem; }
  .about-photo { max-width: 380px; }
  .contact-grid { grid-template-columns: 1fr; gap: 3rem; }
  .contact-info { position: static; }
  .process-steps { grid-template-columns: repeat(2, 1fr); }
  .process-steps::before { display: none; }
  .why-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 680px) {
  h1 { font-size: 2.2rem; }
  h2 { font-size: 1.75rem; }
  .section { padding: 4rem 0; }
  .container { padding: 0 1.25rem; }

  .services-grid { grid-template-columns: 1fr; }
  .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
  .portfolio-item.wide { grid-column: span 1; aspect-ratio: 4/3; }
  .home-gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 2rem; }
  .trust-bar-inner { gap: 1.25rem; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .about-stats { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 480px) {
  .home-gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .portfolio-grid { grid-template-columns: 1fr; }
  .about-stats { grid-template-columns: 1fr 1fr; }
}

/* ===========================
   BLOG
   =========================== */

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.blog-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  transition: border-color 0.2s;
}

.blog-card:hover {
  border-color: var(--accent);
}

.blog-card-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.85rem;
}

.blog-date {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.blog-card-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  line-height: 1.4;
  flex-grow: 1;
}

.blog-card-title a {
  color: var(--text-white);
  text-decoration: none;
  transition: color 0.2s;
}

.blog-card-title a:hover {
  color: var(--accent-light);
}

.blog-card-excerpt {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.blog-read-more {
  font-size: 0.85rem;
  color: var(--accent-light);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s;
}

.blog-read-more:hover {
  color: var(--text-white);
}

/* Blog post article */
.blog-post-header {
  padding-top: calc(var(--nav-height) + 3rem);
  padding-bottom: 3rem;
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border);
}

.blog-post-body {
  max-width: 720px;
  margin: 0 auto;
  padding: 3.5rem 1.5rem 5rem;
}

.blog-post-body h2 {
  font-size: 1.3rem;
  font-weight: 700;
  margin: 2.5rem 0 0.65rem;
  color: var(--text-white);
}

.blog-post-body p {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text-muted);
  margin-bottom: 1.2rem;
}

.blog-post-body ul {
  margin: 0 0 1.25rem 1.4rem;
  padding: 0;
}

.blog-post-body ul li {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--text-muted);
  margin-bottom: 0.45rem;
}

.blog-post-body hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: 2.5rem 0;
}

.blog-post-cta {
  margin-top: 3rem;
  padding: 2rem;
  background: rgba(29,158,117,0.07);
  border: 1px solid rgba(29,158,117,0.2);
  border-radius: var(--radius);
  text-align: center;
}

.blog-post-cta h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  color: var(--text-white);
}

.blog-post-cta p {
  font-size: 0.9rem;
  margin-bottom: 1.25rem;
}

.blog-back {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.82rem;
  color: var(--text-muted);
  text-decoration: none;
  margin-bottom: 1.5rem;
  transition: color 0.2s;
}

.blog-back:hover { color: var(--accent-light); }

.blog-post-label {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.blog-reading-time {
  font-size: 0.75rem;
  color: var(--text-muted);
}

@media (max-width: 680px) {
  .blog-grid { grid-template-columns: 1fr; }
  .blog-post-body { padding: 2.5rem 1.25rem 4rem; }
}
