/*
Theme Name: Formed by Stone Child
Theme URI: https://formedbystone.ae
Template: twentytwentyfour
Author: Formed by Stone
Description: A premium child theme for Formed by Stone - Dubai's leading pool and landscape company.
Version: 1.2.0
Tags: landscape, pools, dubai, luxury, outdoor
Text Domain: formed-by-stone
*/

/* ============================================
   FORMED BY STONE - PREMIUM WORDPRESS THEME
   Design: Luxury Dubai Pool & Landscape
   Brand Colors:
     Teal:  #2E8B8B (primary accent)
     Grey:  #5A5A5A (dark text)
     Stone: #F0EDE8 (background texture)
     White: #FFFFFF
     Dark:  #1A1A1A (headings)
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400&family=Montserrat:wght@300;400;500;600;700;800&display=swap');

/* ---- CSS VARIABLES ---- */
:root {
  --teal: #2E8B8B;
  --teal-dark: #1F6B6B;
  --teal-light: #4AACAC;
  --grey: #5A5A5A;
  --grey-light: #8A8A8A;
  --stone: #F0EDE8;
  --stone-mid: #E5E0D9;
  --stone-dark: #D4CEC5;
  --dark: #1A1A1A;
  --white: #FFFFFF;
  --font-display: 'Cormorant Garamond', serif;
  --font-body: 'Montserrat', sans-serif;
  --radius: 2px;
  --transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --shadow: 0 8px 40px rgba(0,0,0,0.12);
  --shadow-hover: 0 20px 60px rgba(0,0,0,0.2);
}

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

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

body {
  font-family: var(--font-body);
  font-weight: 300;
  color: var(--grey);
  background: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }

/* ---- TYPOGRAPHY ---- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 300;
  color: var(--dark);
  line-height: 1.1;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.8rem, 6vw, 5.5rem); }
h2 { font-size: clamp(2rem, 4vw, 3.5rem); }
h3 { font-size: clamp(1.4rem, 2.5vw, 2rem); }
h4 { font-size: 1.25rem; }

p {
  font-size: 0.95rem;
  line-height: 1.85;
  color: var(--grey);
  font-weight: 300;
}

.eyebrow {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--teal);
}

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

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

section { position: relative; }

/* ---- BUTTONS ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 2.5rem;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.1);
  transform: translateX(-100%);
  transition: transform 0.4s ease;
}
.btn:hover::after { transform: translateX(0); }

.btn--primary {
  background: var(--teal);
  color: var(--white);
}
.btn--primary:hover {
  background: var(--teal-dark);
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(46,139,139,0.35);
}

.btn--outline {
  background: transparent;
  color: var(--teal);
  border: 1.5px solid var(--teal);
}
.btn--outline:hover {
  background: var(--teal);
  color: var(--white);
}

.btn--white {
  background: var(--white);
  color: var(--dark);
}
.btn--white:hover {
  background: var(--stone);
  transform: translateY(-2px);
}

.btn--ghost {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.6);
}
.btn--ghost:hover {
  background: rgba(255,255,255,0.15);
}

/* Arrow icon in button */
.btn .arrow {
  width: 1rem;
  height: 1rem;
  transition: transform 0.3s ease;
}
.btn:hover .arrow { transform: translateX(4px); }

/* ---- STONE TEXTURE BACKGROUND ---- */
.bg-stone {
  background-color: var(--stone);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='400' height='400'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='400' height='400' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
}

.bg-dark { background: var(--dark); }
.bg-teal { background: var(--teal); }
.bg-white { background: var(--white); }

/* ---- DECORATIVE LINE ---- */
.deco-line {
  width: 60px;
  height: 2px;
  background: var(--teal);
  margin: 1.5rem 0;
}
.deco-line--center { margin: 1.5rem auto; }
.deco-line--white { background: rgba(255,255,255,0.5); }

/* ============================================
   HEADER / NAVIGATION
   ============================================ */
#fbs-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: var(--transition);
}

#fbs-header.scrolled {
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(20px);
  box-shadow: 0 1px 40px rgba(0,0,0,0.1);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 2.5rem;
  transition: padding 0.35s ease;
}

#fbs-header.scrolled .header-inner { padding: 1rem 2.5rem; }

.header-logo img {
  height: 60px;
  width: auto;
  transition: var(--transition);
}

#fbs-header.scrolled .header-logo img { height: 48px; }

.header-nav ul {
  display: flex;
  gap: 2.5rem;
  align-items: center;
}

.header-nav a {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--white);
  position: relative;
  padding-bottom: 4px;
}

.header-nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--teal);
  transition: width 0.3s ease;
}
.header-nav a:hover::after,
.header-nav a.active::after { width: 100%; }

#fbs-header.scrolled .header-nav a { color: var(--dark); }

.header-cta {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Desktop only — hide on mobile via media query */
.header-quote-btn { display: inline-flex; }

.header-phone {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

#fbs-header.scrolled .header-phone { color: var(--dark); }

.header-phone svg { width: 14px; height: 14px; }

/* Mobile menu toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}

.nav-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--white);
  transition: var(--transition);
}

#fbs-header.scrolled .nav-toggle span { background: var(--dark); }

/* Mobile nav */
.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--dark);
  z-index: 999;
  padding: 6rem 2rem 2rem;
  flex-direction: column;
}

.mobile-nav.open { display: flex; }

.mobile-nav ul {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.mobile-nav a {
  font-family: var(--font-body);
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white);
}

.mobile-nav-close {
  position: absolute;
  top: 1.5rem;
  right: 2rem;
  background: none;
  border: none;
  color: var(--white);
  font-size: 2rem;
  cursor: pointer;
}

/* ============================================
   HERO SECTION - SLIDER
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

/* Slider container */
.hero-slides {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
}

.hero-slide.active { opacity: 1; }

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.05);
  transition: transform 8s ease-out;
}

.hero-slide.active img { transform: scale(1); }

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    135deg,
    rgba(26,26,26,0.78) 0%,
    rgba(26,26,26,0.48) 55%,
    rgba(26,26,26,0.2) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 9rem 5rem 5rem 6rem;
  max-width: 860px;
}

.hero-eyebrow {
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--teal-light);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.hero-eyebrow::before {
  content: '';
  width: 40px;
  height: 1.5px;
  background: var(--teal-light);
}

.hero h1 {
  color: var(--white);
  font-size: clamp(3rem, 6.5vw, 6.5rem);
  font-weight: 300;
  line-height: 1.02;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}

.hero h1 em {
  font-style: italic;
  color: var(--teal-light);
}

.hero-desc {
  font-size: 1rem;
  color: rgba(255,255,255,0.82);
  font-weight: 300;
  max-width: 540px;
  margin-bottom: 2.5rem;
  line-height: 1.85;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Slider dots */
.hero-dots {
  position: absolute;
  bottom: 3.5rem;
  left: 6rem;
  z-index: 3;
  display: flex;
  gap: 0.6rem;
}

.hero-dot {
  width: 28px;
  height: 3px;
  background: rgba(255,255,255,0.35);
  cursor: pointer;
  transition: background 0.4s ease, width 0.4s ease;
  border: none;
  padding: 0;
}

.hero-dot.active {
  background: var(--teal-light);
  width: 48px;
}

.hero-scroll {
  position: absolute;
  bottom: 3rem;
  right: 3rem;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255,255,255,0.5);
  font-size: 0.62rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  cursor: pointer;
}

.scroll-line {
  width: 1px;
  height: 50px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.6), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

/* ============================================
   INTRO / TRUST STRIP
   ============================================ */
.trust-strip {
  background: var(--teal);
  padding: 1.25rem 0;
  overflow: hidden;
}

.trust-strip-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
  padding: 0 2rem;
}

/* Hide duplicate marquee items on desktop */
.trust-item[aria-hidden="true"],
.trust-divider[aria-hidden="true"] { display: none; }

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
}

.trust-item svg { width: 18px; height: 18px; opacity: 0.8; }

.trust-divider {
  width: 1px;
  height: 20px;
  background: rgba(255,255,255,0.3);
}

/* ============================================
   INTRO SECTION
   ============================================ */
.section-intro {
  padding: 8rem 0;
}

.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
}

.intro-text .eyebrow { margin-bottom: 1.5rem; }
.intro-text h2 { margin-bottom: 1.5rem; }
.intro-text p { margin-bottom: 1.5rem; }

.intro-image {
  position: relative;
}

.intro-image-main {
  width: 100%;
  height: 580px;
  object-fit: cover;
  display: block;
}

.intro-image-accent {
  position: absolute;
  bottom: -2rem;
  left: -2rem;
  width: 200px;
  height: 200px;
  object-fit: cover;
  border: 6px solid var(--white);
  box-shadow: var(--shadow);
}

.intro-stats {
  display: flex;
  gap: 2rem;
  margin-top: 2.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--stone-dark);
}

.stat-item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.stat-number {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 300;
  color: var(--teal);
  line-height: 1;
}

.stat-label {
  font-size: 0.68rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--grey-light);
  font-weight: 500;
}

/* ============================================
   SERVICES SECTION
   ============================================ */
.section-services {
  padding: 8rem 0;
  background: var(--stone);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='400' height='400'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='400' height='400' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
}

.section-header {
  text-align: center;
  margin-bottom: 5rem;
}

.section-header .eyebrow { margin-bottom: 1rem; }
.section-header h2 { margin-bottom: 1rem; }
.section-header p {
  max-width: 580px;
  margin: 0 auto;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5px;
  background: var(--stone-dark);
}

.service-card {
  background: var(--white);
  padding: 3rem 2.5rem;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
  cursor: pointer;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--teal);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.service-card:hover::before { transform: scaleX(1); }

.service-card:hover {
  background: var(--dark);
}

.service-card:hover .service-title,
.service-card:hover .service-desc { color: var(--white); }

.service-card:hover .service-icon { color: var(--teal-light); }

.service-icon {
  color: var(--teal);
  margin-bottom: 1.5rem;
  transition: var(--transition);
}

.service-icon svg { width: 36px; height: 36px; }

.service-title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--dark);
  margin-bottom: 1rem;
  transition: var(--transition);
}

.service-desc {
  font-size: 0.875rem;
  color: var(--grey);
  line-height: 1.75;
  transition: var(--transition);
}

/* ============================================
   VALUES / CORE SECTION
   ============================================ */
.section-values {
  padding: 8rem 0;
  background: var(--dark);
  overflow: hidden;
  position: relative;
}

.values-bg-icon {
  position: absolute;
  right: -80px;
  top: 50%;
  transform: translateY(-50%);
  width: 500px;
  opacity: 0.04;
}

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

.values-left .eyebrow { color: var(--teal-light); margin-bottom: 1.5rem; }
.values-left h2 { color: var(--white); margin-bottom: 1.5rem; }
.values-left p { color: rgba(255,255,255,0.65); }

.values-list {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.value-item {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.value-item:last-child { border-bottom: none; padding-bottom: 0; }

.value-num {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 300;
  color: rgba(255,255,255,0.08);
  line-height: 1;
  flex-shrink: 0;
  min-width: 60px;
}

.value-content h4 {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--teal-light);
  margin-bottom: 0.5rem;
}

.value-content p {
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
  line-height: 1.75;
}

/* ============================================
   GALLERY SECTION
   ============================================ */
.section-gallery {
  padding: 8rem 0 0;
}

.gallery-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 3rem;
  padding: 0 2.5rem;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 340px;
  gap: 4px;
}

.gallery-item {
  overflow: hidden;
  position: relative;
  cursor: pointer;
}

/* Row 1: item 1 big left (2 rows tall), items 2+3 top-right, items 4+5 bottom-right */
.gallery-item:nth-child(1) { grid-column: 1 / 2; grid-row: 1 / 3; }
.gallery-item:nth-child(2) { grid-column: 2 / 3; grid-row: 1 / 2; }
.gallery-item:nth-child(3) { grid-column: 3 / 4; grid-row: 1 / 2; }
.gallery-item:nth-child(4) { grid-column: 2 / 3; grid-row: 2 / 3; }
.gallery-item:nth-child(5) { grid-column: 3 / 4; grid-row: 2 / 3; }

/* Row 2: items 6+7 left stacked, item 7 big right (2 rows tall) */
.gallery-item:nth-child(6) { grid-column: 1 / 2; grid-row: 3 / 4; }
.gallery-item:nth-child(7) { grid-column: 2 / 3; grid-row: 3 / 4; }
.gallery-item:nth-child(8) { grid-column: 3 / 4; grid-row: 3 / 5; }
.gallery-item:nth-child(9) { grid-column: 1 / 2; grid-row: 4 / 5; }
.gallery-item:nth-child(10) { grid-column: 2 / 3; grid-row: 4 / 5; }

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

@media (hover: hover) {
  .gallery-item:hover img { transform: scale(1.05); }
}

.gallery-item-overlay {
  position: absolute;
  inset: 0;
  background: rgba(46,139,139,0.75);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition);
  pointer-events: none;
}

@media (hover: hover) {
  .gallery-item:hover .gallery-item-overlay { opacity: 1; }
}

@media (hover: none) {
  .gallery-item-overlay { display: none; }
}

.gallery-item-overlay span {
  color: white;
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  font-weight: 700;
  text-transform: uppercase;
}

.gallery-cta {
  text-align: center;
  padding: 4rem 0;
}

/* ============================================
   PROCESS SECTION
   ============================================ */
.section-process {
  padding: 8rem 0;
  background: var(--stone);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='400' height='400'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='400' height='400' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
}

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

.process-steps::before {
  content: '';
  position: absolute;
  top: 28px;
  left: calc(12.5% + 28px);
  right: calc(12.5% + 28px);
  height: 1px;
  background: var(--stone-dark);
  z-index: 0;
}

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

.step-number {
  width: 56px;
  height: 56px;
  background: var(--white);
  border: 1.5px solid var(--teal);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 2rem;
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--teal);
  position: relative;
}

.step-title {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--dark);
  margin-bottom: 0.75rem;
}

.step-desc {
  font-size: 0.85rem;
  color: var(--grey);
  line-height: 1.75;
}

/* ============================================
   TESTIMONIALS / PROOF
   ============================================ */
.section-testimonials {
  padding: 8rem 0;
  background: var(--white);
}

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

.testimonial-card {
  background: var(--stone);
  padding: 2.5rem;
  position: relative;
}

.testimonial-card::before {
  content: '\201C';
  font-family: var(--font-display);
  font-size: 6rem;
  color: var(--teal);
  opacity: 0.2;
  position: absolute;
  top: -0.5rem;
  left: 1.5rem;
  line-height: 1;
}

.testimonial-text {
  font-size: 0.9rem;
  line-height: 1.85;
  color: var(--grey);
  margin-bottom: 1.5rem;
  font-style: italic;
}

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

.author-name {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--dark);
}

.author-location {
  font-size: 0.75rem;
  color: var(--grey-light);
}

.stars {
  display: flex;
  gap: 3px;
  margin-bottom: 1rem;
}

.stars svg {
  width: 14px;
  height: 14px;
  fill: var(--teal);
}

/* ============================================
   CTA BANNER
   ============================================ */
.section-cta-banner {
  position: relative;
  padding: 8rem 0;
  overflow: hidden;
}

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

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

.cta-banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(26,26,26,0.88), rgba(46,139,139,0.7));
}

.cta-banner-content {
  position: relative;
  z-index: 2;
  text-align: center;
}

.cta-banner-content .eyebrow { color: rgba(255,255,255,0.7); margin-bottom: 1.5rem; }
.cta-banner-content h2 { color: var(--white); margin-bottom: 1.5rem; }
.cta-banner-content p { color: rgba(255,255,255,0.75); max-width: 580px; margin: 0 auto 2.5rem; }

.cta-banner-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================================
   ABOUT PAGE
   ============================================ */
.page-hero {
  padding: 13rem 0 7rem;
  background: var(--dark);
  position: relative;
  overflow: hidden;
}

/* CTA-BG stone texture utility */
.bg-cta-texture {
  background-color: var(--stone);
  background-image: url('assets/images/CTA-BG.png');
  background-size: cover;
  background-position: center;
  background-blend-mode: multiply;
}

.section-values.bg-cta-texture {
  background-color: var(--dark);
  background-blend-mode: overlay;
  background-size: cover;
  background-position: center;
  background-image: url('assets/images/CTA-BG.png');
}

.section-process.bg-cta-texture {
  background-color: var(--stone);
  background-image: url('assets/images/CTA-BG.png');
  background-size: cover;
  background-blend-mode: multiply;
  background-position: center;
}

.page-hero-bg {
  position: absolute;
  inset: 0;
}
.page-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
}

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

.page-hero .eyebrow { color: var(--teal-light); }
.page-hero h1 { color: var(--white); margin-top: 1rem; }

.section-about-intro {
  padding: 5rem 0;
}

.about-story-grid {
  display: grid;
  grid-template-columns: 55% 1fr;
  gap: 6rem;
  align-items: start;
}

.about-story-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.about-story-images img {
  width: 100%;
  height: 300px;
  object-fit: cover;
}

.about-story-images img:first-child {
  grid-column: span 2;
  height: 400px;
}

.about-differentiators {
  padding: 6rem 0;
  background: var(--stone);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='400' height='400'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='400' height='400' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
}

.diff-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: 4rem;
}

.diff-card {
  background: var(--white);
  padding: 2.5rem;
  border-left: 3px solid var(--teal);
  transition: var(--transition);
}

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

.diff-card h4 {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 0.75rem;
}

.diff-card p { font-size: 0.9rem; }

/* ============================================
   SERVICES PAGE
   ============================================ */
.services-detail {
  padding: 4rem 0;
}

.service-detail-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
  padding: 5rem 0;
  border-bottom: 1px solid var(--stone-dark);
}

.service-detail-item:last-child { border-bottom: none; }

.service-detail-item:nth-child(even) .service-detail-image { order: -1; }

.service-detail-image img {
  width: 100%;
  height: 450px;
  object-fit: cover;
}

.service-detail-content .eyebrow { margin-bottom: 1rem; }
.service-detail-content h3 { margin-bottom: 1.25rem; }
.service-detail-content p { margin-bottom: 1.25rem; }

.service-features {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin: 1.5rem 0 2rem;
}

.service-feature {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.875rem;
  color: var(--grey);
}

.service-feature::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--teal);
  border-radius: 50%;
  flex-shrink: 0;
}

/* Design packages highlight */
.design-packages {
  padding: 6rem 0;
  background: var(--dark);
}

.design-packages .eyebrow { color: var(--teal-light); }
.design-packages h2 { color: var(--white); margin: 1rem 0 1.5rem; }
.design-packages > .container > p { color: rgba(255,255,255,0.65); max-width: 600px; }

.packages-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 4rem;
}

.package-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 3rem;
  transition: var(--transition);
  position: relative;
}

.package-card--featured {
  border-color: var(--teal);
  background: rgba(46,139,139,0.1);
}

.package-card--featured::after {
  content: 'INCLUDED FREE';
  position: absolute;
  top: -12px;
  left: 2rem;
  background: var(--teal);
  color: white;
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  padding: 4px 12px;
}

.package-name {
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--white);
  margin-bottom: 0.5rem;
}

.package-desc { color: rgba(255,255,255,0.6); font-size: 0.9rem; }

/* ============================================
   GALLERY PAGE
   ============================================ */
.gallery-page {
  padding: 4rem 0 8rem;
}

.gallery-filter {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 0.6rem 1.5rem;
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  background: transparent;
  border: 1.5px solid var(--stone-dark);
  color: var(--grey);
  cursor: pointer;
  transition: var(--transition);
}

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

.gallery-masonry {
  columns: 3;
  column-gap: 4px;
}

.gallery-masonry-item {
  break-inside: avoid;
  margin-bottom: 4px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
}

.gallery-masonry-item img {
  width: 100%;
  display: block;
  transition: transform 0.5s ease;
}

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

.gallery-masonry-item-overlay {
  position: absolute;
  inset: 0;
  background: rgba(26,26,26,0.4);
  opacity: 0;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

@media (hover: hover) {
  .gallery-masonry-item:hover .gallery-masonry-item-overlay { opacity: 1; }
}

@media (hover: none) {
  .gallery-masonry-item-overlay { display: none; }
}

.gallery-masonry-item:hover .gallery-masonry-item-overlay { opacity: 1; }

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

.lightbox.open { display: flex; }

.lightbox img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
}

.lightbox-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: none;
  border: none;
  color: white;
  font-size: 2.5rem;
  cursor: pointer;
  line-height: 1;
}

/* ============================================
   CONTACT PAGE
   ============================================ */
.contact-page {
  padding: 5rem 0 8rem;
}

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

.contact-info .eyebrow { margin-bottom: 1.5rem; }
.contact-info h2 { margin-bottom: 1.5rem; }
.contact-info p { margin-bottom: 2rem; }

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

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

.contact-detail-icon {
  width: 44px;
  height: 44px;
  background: var(--teal);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-detail-icon svg { width: 18px; height: 18px; color: white; }

.contact-detail-text strong {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--dark);
  margin-bottom: 0.25rem;
}

.contact-detail-text span {
  font-size: 0.9rem;
  color: var(--grey);
}

.contact-form {
  background: var(--stone);
  padding: 3.5rem;
}

.form-title {
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--dark);
  margin-bottom: 2rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--dark);
  margin-bottom: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 1rem 1.25rem;
  background: var(--white);
  border: 1.5px solid var(--stone-dark);
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: var(--dark);
  outline: none;
  transition: border-color 0.3s ease;
  appearance: none;
}

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

.form-group textarea {
  height: 130px;
  resize: vertical;
}

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

.form-submit-wrap { margin-top: 2rem; }

/* ============================================
   WPFORMS — override to match FBS design
   ============================================ */
.wpforms-container,
.wpforms-container-full { width: 100% !important; max-width: 100% !important; }
.wpforms-form .wpforms-field { margin-bottom: 1.25rem; padding: 0 !important; }
.wpforms-form .wpforms-field-label,
.wpforms-form .wpforms-field-sublabel {
  font-family: var(--font-body) !important;
  font-size: 0.7rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase !important;
  color: var(--dark) !important;
  margin-bottom: 0.4rem !important;
}

/* All inputs, selects, textareas */
.wpforms-form input[type="text"],
.wpforms-form input[type="email"],
.wpforms-form input[type="tel"],
.wpforms-form input[type="url"],
.wpforms-form input[type="number"],
.wpforms-form select,
.wpforms-form textarea {
  width: 100% !important;
  font-family: var(--font-body) !important;
  font-size: 0.9rem !important;
  color: var(--dark) !important;
  background: var(--white) !important;
  border: 1px solid var(--stone-dark) !important;
  border-radius: 0 !important;
  padding: 0.85rem 1rem !important;
  height: auto !important;
  min-height: 50px !important;
  outline: none !important;
  box-shadow: none !important;
  box-sizing: border-box !important;
  transition: border-color 0.2s ease !important;
  -webkit-appearance: none !important;
  appearance: none !important;
  float: none !important;
}
.wpforms-form input:focus,
.wpforms-form select:focus,
.wpforms-form textarea:focus {
  border-color: var(--teal) !important;
  box-shadow: none !important;
}
.wpforms-form textarea { height: 130px !important; resize: vertical !important; min-height: 130px !important; }

/* Dropdown arrow */
.wpforms-form select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%235A5A5A' stroke-width='1.5' fill='none'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 1rem center !important;
  padding-right: 2.5rem !important;
}

/* Name field — first + last side by side */
.wpforms-form .wpforms-field-name .wpforms-field-row {
  display: flex !important;
  flex-wrap: nowrap !important;
  gap: 1rem !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}
.wpforms-form .wpforms-field-name .wpforms-field-row > span,
.wpforms-form .wpforms-field-name .wpforms-field-row > div {
  flex: 1 1 0 !important;
  width: auto !important;
  float: none !important;
  padding: 0 !important;
  margin: 0 !important;
}
.wpforms-form input[type="text"].wpforms-field-name-first,
.wpforms-form input[type="text"].wpforms-field-name-last {
  width: 100% !important;
  float: none !important;
  margin: 0 !important;
}

/* Submit button */
.wpforms-submit-container { margin-top: 1.5rem !important; padding: 0 !important; text-align: left !important; }
.wpforms-form .wpforms-submit,
.wpforms-form button[type="submit"] {
  width: 100% !important;
  font-family: var(--font-body) !important;
  font-size: 0.72rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.15em !important;
  text-transform: uppercase !important;
  color: var(--white) !important;
  background: var(--teal) !important;
  border: none !important;
  border-radius: 0 !important;
  padding: 1rem 2rem !important;
  cursor: pointer !important;
  transition: background 0.2s ease !important;
  box-shadow: none !important;
  display: block !important;
}
.wpforms-form .wpforms-submit:hover,
.wpforms-form button[type="submit"]:hover { background: var(--dark) !important; }

/* Required asterisk */
.wpforms-form .wpforms-required-label { color: var(--teal) !important; }

/* Success confirmation */
.wpforms-confirmation-container-full {
  background: rgba(46,139,139,0.08) !important;
  border-left: 3px solid var(--teal) !important;
  border-top: none !important; border-right: none !important; border-bottom: none !important;
  padding: 1.25rem 1.5rem !important;
  font-family: var(--font-body) !important;
  font-size: 0.9rem !important;
  color: var(--dark) !important;
  margin-top: 1rem !important;
}

/* Error messages */
.wpforms-error-container,
.wpforms-form .wpforms-field-error {
  color: #c0392b !important;
  font-size: 0.78rem !important;
  font-family: var(--font-body) !important;
  margin-top: 0.25rem !important;
  background: none !important;
  border: none !important;
  padding: 0 !important;
}

/* Hide WPForms branding */
.wpforms-container .wpforms-powered-by,
.wpforms-container-full .wpforms-powered-by { display: none !important; }

.whatsapp-cta {
  margin-top: 3rem;
  padding-top: 3rem;
  border-top: 1px solid var(--stone-dark);
  display: flex;
  align-items: center;
  gap: 1.5rem;
  background: #25D366;
  padding: 1.5rem 2rem;
}

.whatsapp-cta svg { width: 32px; height: 32px; color: white; flex-shrink: 0; }
.whatsapp-cta-text strong { display: block; color: white; font-size: 0.875rem; font-weight: 700; }
.whatsapp-cta-text span { color: rgba(255,255,255,0.85); font-size: 0.8rem; }

/* ============================================
   FOOTER
   ============================================ */
#fbs-footer {
  background: var(--dark);
  padding: 6rem 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 4rem;
  padding-bottom: 4rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-brand img {
  height: 56px;
  width: auto;
  margin-bottom: 1.5rem;
  filter: brightness(1);
}

.footer-brand p {
  color: rgba(255,255,255,0.5);
  font-size: 0.875rem;
  line-height: 1.8;
  max-width: 300px;
  margin-bottom: 2rem;
}

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

.social-link {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255,255,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.social-link:hover {
  background: var(--teal);
  border-color: var(--teal);
}

.social-link svg { width: 16px; height: 16px; color: rgba(255,255,255,0.7); }

.footer-col-title {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 1.5rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a {
  color: rgba(255,255,255,0.5);
  font-size: 0.875rem;
  transition: var(--transition);
}

.footer-links a:hover { color: var(--teal-light); padding-left: 4px; }

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

.footer-contact-item svg { width: 15px; height: 15px; color: var(--teal); margin-top: 3px; flex-shrink: 0; }

.footer-contact-item a,
.footer-contact-item span {
  color: rgba(255,255,255,0.5);
  font-size: 0.875rem;
  line-height: 1.5;
}

.footer-contact-item a:hover { color: var(--teal-light); }

.footer-bottom {
  padding: 2rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-bottom p {
  color: rgba(255,255,255,0.3);
  font-size: 0.8rem;
}

.footer-bottom a {
  color: rgba(255,255,255,0.3);
  font-size: 0.8rem;
  transition: var(--transition);
}

.footer-bottom a:hover { color: var(--teal-light); }

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

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

.fade-up-delay-1 { transition-delay: 0.1s; }
.fade-up-delay-2 { transition-delay: 0.2s; }
.fade-up-delay-3 { transition-delay: 0.3s; }
.fade-up-delay-4 { transition-delay: 0.4s; }

/* ============================================
   PROCESS SECTION — TEXTURE FIX (subtle, not overkill)
   ============================================ */
.section-process.bg-cta-texture {
  background: var(--stone);
  background-image: none;
}

/* ============================================
   STATS / NUMBERS BAR
   ============================================ */
.section-stats {
  background: var(--dark);
  padding: 5rem 0;
  border-top: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.stats-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
}

.stat-item {
  flex: 1;
  text-align: center;
  padding: 2rem;
}

.stat-number {
  font-family: var(--font-display);
  font-size: clamp(3rem, 5vw, 5rem);
  font-weight: 300;
  color: var(--teal-light);
  line-height: 1;
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
}

.stat-label {
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
}

.stat-divider {
  width: 1px;
  height: 80px;
  background: rgba(255,255,255,0.1);
  flex-shrink: 0;
}

/* ============================================
   MEET CAIRO SECTION
   ============================================ */
.section-cairo {
  padding: 8rem 0;
  background: var(--white);
}

.cairo-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 6rem;
  align-items: center;
}

.cairo-image-wrap {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 40px 80px rgba(0,0,0,0.15);
}

.cairo-image-wrap img {
  width: 100%;
  height: 680px;
  object-fit: cover;
  object-position: center 20%;
  display: block;
}

.cairo-badge {
  position: absolute;
  bottom: 2rem;
  left: 2rem;
  background: var(--dark);
  color: var(--white);
  padding: 1rem 1.5rem;
  border-left: 3px solid var(--teal);
  border-radius: 0 var(--radius) var(--radius) 0;
}

.cairo-badge-title {
  display: block;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 1;
  margin-bottom: 0.25rem;
}

.cairo-badge-sub {
  display: block;
  font-family: var(--font-body);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--teal-light);
}

.cairo-lead {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--charcoal);
  margin-bottom: 1.5rem;
  font-weight: 400;
}

.cairo-credentials {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin: 2rem 0 2.5rem;
}

.cairo-cred {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  font-size: 0.85rem;
  color: var(--charcoal);
  font-weight: 500;
}

.cairo-cred svg {
  width: 18px;
  height: 18px;
  color: var(--teal);
  flex-shrink: 0;
}

.cairo-cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 2.5rem;
}

/* ============================================
   FAQ SECTION
   ============================================ */
.section-faq {
  padding: 8rem 0;
  background: var(--stone);
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0 4rem;
  margin-top: 4rem;
}

.faq-item {
  border-bottom: 1px solid rgba(26,26,26,0.12);
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 1.75rem 0;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--dark);
  letter-spacing: 0.01em;
  line-height: 1.4;
  transition: color 0.3s ease;
}

.faq-question:hover { color: var(--teal); }

.faq-icon {
  width: 28px;
  height: 28px;
  border: 1.5px solid var(--teal);
  border-radius: 50%;
  flex-shrink: 0;
  position: relative;
  transition: background 0.3s ease, transform 0.3s ease;
}

.faq-icon::before,
.faq-icon::after {
  content: '';
  position: absolute;
  background: var(--teal);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.faq-icon::before { width: 10px; height: 1.5px; }
.faq-icon::after  { width: 1.5px; height: 10px; }

.faq-question[aria-expanded="true"] .faq-icon {
  background: var(--teal);
  transform: rotate(45deg);
}

.faq-question[aria-expanded="true"] .faq-icon::before,
.faq-question[aria-expanded="true"] .faq-icon::after { background: white; }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
}

.faq-answer.open {
  max-height: 400px;
  padding-bottom: 1.5rem;
}

.faq-answer p {
  font-size: 0.9rem;
  line-height: 1.9;
  color: var(--charcoal);
}

/* ============================================
   GOOGLE MAP
   ============================================ */
.section-map {
  line-height: 0;
  overflow: hidden;
}

/* ============================================
   WHATSAPP FLOATING BUTTON
   ============================================ */
.whatsapp-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 9999;
  width: 58px;
  height: 58px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  animation: waPulse 3s ease-in-out infinite;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 28px rgba(37,211,102,0.55);
  animation: none;
}

.whatsapp-float svg {
  width: 30px;
  height: 30px;
  fill: white;
}

@keyframes waPulse {
  0%, 100% { box-shadow: 0 4px 20px rgba(37,211,102,0.4); }
  50% { box-shadow: 0 4px 32px rgba(37,211,102,0.7), 0 0 0 8px rgba(37,211,102,0.12); }
}

.fade-up-delay-2 { transition-delay: 0.2s; }
.fade-up-delay-3 { transition-delay: 0.3s; }

/* ============================================
   RESPONSIVE — 1024px (tablet)
   ============================================ */
@media (max-width: 1024px) {
  .intro-grid,
  .values-grid,
  .about-story-grid { grid-template-columns: 1fr; gap: 3rem; }

  .hero-content { padding: 9rem 3rem 6rem 4rem; }
  .hero-dots { left: 4rem; }

  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .process-steps { grid-template-columns: repeat(2, 1fr); }
  .process-steps::before { display: none; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }

  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-item:nth-child(1) { grid-column: span 2; }
  .gallery-item:nth-child(5) { grid-column: span 2; }

  .cairo-grid { grid-template-columns: 1fr; gap: 3rem; }
  .faq-grid { grid-template-columns: 1fr; gap: 0; }
  .stats-grid { flex-wrap: wrap; }
  .stat-divider { display: none; }
  .stat-item { flex: 0 0 45%; }
  .service-detail-item:nth-child(even) .service-detail-image { order: 0; }

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

/* ============================================
   RESPONSIVE — 768px (mobile)
   ============================================ */
@media (max-width: 768px) {

  /* ─── HEADER ─── */
  .header-nav,
  .header-phone { display: none; }

  .nav-toggle { display: flex; }

  /* Slim the header right down — logo left, hamburger right only */
  .header-inner {
    padding: 0.85rem 1.25rem;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 0;
  }

  /* Hide the Get a Quote button in header on mobile */
  .header-cta { display: none; }

  .header-logo img { height: 40px; }

  /* ─── MOBILE NAV ─── */
  .mobile-nav { padding: 4.5rem 1.75rem 2.5rem; }

  .mobile-nav ul {
    gap: 0;
    border-top: 1px solid rgba(255,255,255,0.08);
  }

  .mobile-nav ul li {
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }

  .mobile-nav a {
    font-size: 1.6rem;
    display: block;
    padding: 1rem 0;
  }

  .mobile-nav-footer {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
  }

  .mobile-nav-footer .btn {
    font-size: 0.7rem;
    padding: 1rem 1.5rem;
    justify-content: center;
    text-align: center;
  }

  /* ─── TRUST STRIP → auto-scrolling marquee ─── */
  .trust-strip {
    padding: 0;
    overflow: hidden;
  }

  .trust-strip-inner {
    display: flex;
    flex-wrap: nowrap;
    padding: 0;
    width: max-content;
    animation: trustMarquee 22s linear infinite;
    justify-content: flex-start;
    gap: 0;
  }

  /* Show duplicate marquee items on mobile */
  .trust-item[aria-hidden="true"],
  .trust-divider[aria-hidden="true"] { display: flex; }

  .trust-item {
    padding: 0.85rem 1.75rem;
    white-space: nowrap;
    font-size: 0.63rem;
    letter-spacing: 0.08em;
  }

  .trust-divider {
    display: flex;
    align-self: center;
    width: 1px;
    height: 14px;
    background: rgba(255,255,255,0.3);
    flex-shrink: 0;
  }

  /* ─── HERO ─── */
  .hero-content {
    padding: 6.5rem 1.25rem 4rem 1.25rem;
    max-width: 100%;
  }

  .hero-eyebrow { font-size: 0.58rem; letter-spacing: 0.2em; }

  .hero h1 {
    font-size: clamp(2rem, 8.5vw, 3rem);
    margin-bottom: 1rem;
    line-height: 1.15;
  }

  .hero-desc {
    font-size: 0.88rem;
    line-height: 1.75;
    margin-bottom: 1.75rem;
    max-width: 100%;
  }

  .hero-cta {
    flex-direction: column;
    align-items: stretch;
    gap: 0.6rem;
  }

  .hero-cta .btn {
    width: 100%;
    justify-content: center;
    padding: 0.9rem 1.25rem;
    font-size: 0.68rem;
  }

  .hero-dots { left: 1.25rem; bottom: 1.5rem; }
  .hero-scroll { display: none; }

  /* ─── GLOBAL TYPE SCALE ─── */
  h1 { font-size: clamp(1.9rem, 8vw, 2.8rem); }
  h2 { font-size: clamp(1.5rem, 6vw, 2.2rem); }
  h3 { font-size: clamp(1.1rem, 4.5vw, 1.5rem); }

  .eyebrow { font-size: 0.6rem; }

  /* ─── CONTAINER & SECTION SPACING ─── */
  .container { padding: 0 1.25rem; }

  .section-intro,
  .section-services,
  .section-gallery,
  .section-process,
  .section-cta-banner,
  .section-cairo,
  .section-faq,
  .section-stats,
  .services-detail,
  .gallery-page { padding-top: 4rem; padding-bottom: 4rem; }

  .section-values { padding-top: 4rem; padding-bottom: 0; }
  .section-testimonials { padding-top: 4rem; padding-bottom: 4rem; }
  .section-header { margin-bottom: 2rem; }

  /* ─── PAGE HERO ─── */
  .page-hero { padding: 7.5rem 0 3rem; }
  .page-hero h1 { font-size: clamp(2rem, 8vw, 3rem); }

  /* ─── STATS BAR ─── */
  .section-stats { padding: 0; }

  .stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    flex-wrap: unset;
    width: 100%;
  }

  .stat-item {
    flex: unset;
    padding: 2rem 1rem;
    border: none;
    border-bottom: 1px solid rgba(255,255,255,0.07);
    text-align: center;
  }

  .stat-item:nth-child(odd) {
    border-right: 1px solid rgba(255,255,255,0.07);
  }

  .stat-number {
    font-size: clamp(2.2rem, 9vw, 3.2rem);
    margin-bottom: 0.4rem;
  }

  .stat-label {
    font-size: 0.56rem;
    letter-spacing: 0.15em;
  }

  /* Remove dividers — grid handles spacing */
  .stat-divider { display: none; }

  /* ─── INTRO SECTION ─── */
  .intro-grid { gap: 2rem; }

  .intro-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    flex-wrap: unset;
  }

  /* ─── SERVICES OVERVIEW GRID ─── */
  .services-grid { grid-template-columns: 1fr 1fr; gap: 0.85rem; }

  .service-card {
    padding: 1.5rem 1.1rem;
  }

  .service-card h3 { font-size: 1rem; }
  .service-card p { font-size: 0.83rem; }

  /* ─── SERVICE DETAIL (Services page — stacked single col) ─── */
  .service-detail-item {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 3rem 0;
  }

  /* All images go above text on mobile */
  .service-detail-item .service-detail-image { order: -1 !important; }

  .service-detail-image img {
    height: 260px;
    width: 100%;
    object-fit: cover;
  }

  .service-detail-content h3 { font-size: 1.3rem; }
  .service-detail-content p { font-size: 0.88rem; line-height: 1.75; }

  /* ─── DESIGN PACKAGES GRID ─── */
  .packages-grid { grid-template-columns: 1fr; gap: 1rem; }

  /* ─── VALUES / CORE VALUES ─── */
  .values-grid { grid-template-columns: 1fr; gap: 0; }

  .value-card {
    padding: 2rem 1.25rem;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    border-right: none;
  }

  /* ─── MEET CAIRO ─── */
  .cairo-grid { grid-template-columns: 1fr; gap: 2rem; }
  .cairo-image-wrap img { height: 360px; width: 100%; object-fit: cover; }
  .cairo-badge { padding: 0.85rem 1.25rem; }
  .cairo-badge-title { font-size: 1.1rem; }
  .cairo-lead { font-size: 0.9rem; }
  .cairo-cta {
    flex-direction: column;
    gap: 0.6rem;
  }
  .cairo-cta .btn {
    width: 100%;
    justify-content: center;
  }

  .cairo-credentials { gap: 0.75rem; }
  .cairo-credential { font-size: 0.8rem; gap: 0.5rem; }

  /* ─── FAQ ─── */
  .faq-grid { grid-template-columns: 1fr; }

  .faq-question {
    font-size: 0.82rem;
    padding: 1.1rem 0;
    gap: 0.75rem;
  }

  .faq-answer p { font-size: 0.85rem; line-height: 1.7; }

  /* ─── GALLERY ─── */
  .gallery-masonry { columns: 2; gap: 4px; }

  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    gap: 4px;
  }

  .gallery-item:nth-child(1) { grid-column: span 2; }
  .gallery-item:nth-child(5),
  .gallery-item:nth-child(6) { grid-column: span 1; }

  .gallery-header { flex-direction: column; align-items: flex-start; gap: 1.25rem; }
  .gallery-filters { flex-wrap: wrap; gap: 0.5rem; }
  .filter-btn { font-size: 0.62rem; padding: 0.5rem 1rem; }

  /* ─── CONTACT ─── */
  .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .contact-form { padding: 1.5rem; }
  .form-row { grid-template-columns: 1fr; gap: 0; }

  /* ─── PROCESS ─── */
  .process-steps { grid-template-columns: 1fr; gap: 1.25rem; }
  .process-step { padding: 1.5rem; }

  /* ─── CTA BANNER ─── */
  .cta-banner-content { padding: 3rem 1.25rem; }
  .cta-banner-buttons {
    flex-direction: column;
    gap: 0.6rem;
    align-items: stretch;
  }
  .cta-banner-buttons .btn {
    width: 100%;
    justify-content: center;
  }

  /* ─── FOOTER ─── */
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-brand p { font-size: 0.82rem; }
  .footer-links h4,
  .footer-contact h4 { margin-bottom: 0.75rem; }

  /* ─── ABOUT PAGE ─── */
  .about-story-grid { grid-template-columns: 1fr; gap: 2rem; }
  .about-story-images { gap: 0.75rem; }
  .about-story-images img { height: 200px; }
  .about-story-images img:first-child { height: 250px; }
  .diff-grid { grid-template-columns: 1fr; gap: 1rem; }

  /* ─── WHATSAPP FLOAT ─── */
  .whatsapp-float {
    bottom: 1.25rem;
    right: 1.25rem;
    width: 50px;
    height: 50px;
  }

  .whatsapp-float svg { width: 26px; height: 26px; }
}

/* ============================================
   RESPONSIVE — 480px (small mobile)
   ============================================ */
@media (max-width: 480px) {
  .container { padding: 0 1rem; }

  .hero-content { padding: 6rem 1rem 3.5rem 1rem; }
  .hero-dots { left: 1rem; bottom: 1.25rem; }

  h1 { font-size: clamp(1.8rem, 8vw, 2.5rem); }
  h2 { font-size: clamp(1.4rem, 6.5vw, 2rem); }

  /* Stack services to single column at 480px */
  .services-grid { grid-template-columns: 1fr; gap: 0.75rem; }

  /* Gallery single column */
  .gallery-masonry { columns: 1; }
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-item:nth-child(1),
  .gallery-item:nth-child(5),
  .gallery-item:nth-child(6) { grid-column: span 1; }

  /* Cairo image shorter */
  .cairo-image-wrap img { height: 300px; }

  /* Stats stay 2-col but tighter */
  .stat-item { padding: 1.5rem 0.75rem; }
  .stat-number { font-size: clamp(1.9rem, 8vw, 2.8rem); }
}

/* ============================================
   TRUST STRIP MARQUEE KEYFRAME
   ============================================ */
@keyframes trustMarquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ============================================
   UTILITY CLASSES
   ============================================ */
.text-center { text-align: center; }
.text-teal { color: var(--teal); }
.text-white { color: var(--white); }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
