/* =========================================================
   ملاذ العقارية — Stylesheet
   Aesthetic: Editorial luxury, cream + ink + brass
   ========================================================= */

/* ---------- Self-hosted Arabic fonts (variable) ---------- */
@font-face {
  font-family: 'Cairo';
  src: url('fonts/Cairo-Variable.ttf') format('truetype');
  font-weight: 200 1000;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Noto Kufi Arabic';
  src: url('fonts/NotoKufiArabic-Variable.ttf') format('truetype');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Markazi Text';
  src: url('fonts/MarkaziText-Variable.ttf') format('truetype');
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Color palette — Sea & Sand (NASA sea-from-space inspired) — tuned to match Malath logo */
  --ink: #15173B;             /* Logo's deep navy — primary text & dark sections */
  --ink-soft: #2A2C5C;        /* Indigo — secondary text */
  --ink-fade: rgba(21, 23, 59, 0.65);
  --cream: #F7F5EE;           /* Warm off-white — main background */
  --cream-soft: #EFECDF;      /* Slightly deeper cream */
  --cream-deep: #E2DDC9;      /* Sand */
  --sand: #C9A14A;            /* Logo gold */
  --brass: #A07835;           /* Logo's exact gold — links, accents, icons */
  --brass-dark: #7A5A24;      /* Deeper gold — hover */
  --brass-light: #C9A14A;     /* Brighter gold — for use on dark bgs */
  --teal: #188C9C;            /* Deep teal from palette */
  --teal-deep: #0F6E7C;       /* Darker teal — hover */
  --teal-light: #4FC0B0;      /* Aqua from palette */
  --steel: #3D5C8F;           /* Steel blue from palette */
  --line: rgba(21, 23, 59, 0.12);
  --line-soft: rgba(21, 23, 59, 0.06);
  --white: #FBFBF7;

  /* Typography — to swap headlines to Markazi Text (more editorial/heritage feel),
     change --font-display to: 'Markazi Text', serif; */
  --font-display: 'Noto Kufi Arabic', 'El Messiri', serif;
  --font-body: 'Cairo', 'Tajawal', system-ui, sans-serif;

  /* Layout */
  --container: 1280px;
  --container-narrow: 880px;
  --container-wide: 1440px;

  /* Motion */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--ink);
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* Subtle paper texture overlay */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(24, 140, 156, 0.04), transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(10, 15, 42, 0.03), transparent 50%);
  z-index: 1;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.eyebrow {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  color: var(--brass);
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}
.eyebrow::before {
  content: '';
  width: 28px;
  height: 1px;
  background: var(--brass);
}

/* ---------- Layout helpers ---------- */
.container { max-width: var(--container); margin-inline: auto; padding-inline: 2rem; position: relative; z-index: 2; }
.container-narrow { max-width: var(--container-narrow); margin-inline: auto; padding-inline: 2rem; position: relative; z-index: 2; }

section { padding: 7rem 0; position: relative; }

/* ---------- Navigation ---------- */
.nav {
  position: fixed;
  top: 0;
  inset-inline: 0;
  z-index: 100;
  padding: 1.5rem 0;
  transition: all 0.4s var(--ease);
  background: rgba(245, 240, 230, 0);
  backdrop-filter: blur(0);
}

.nav.scrolled {
  background: rgba(245, 240, 230, 0.92);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--line-soft);
  padding: 1rem 0;
}

.nav-inner {
  max-width: var(--container-wide);
  margin-inline: auto;
  padding-inline: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

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

.nav-links a {
  position: relative;
  font-size: 0.98rem;
  font-weight: 500;
  color: var(--ink-soft);
  transition: color 0.3s var(--ease);
  padding: 0.25rem 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  inset-inline: 0;
  height: 1px;
  background: var(--brass);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s var(--ease);
}

.nav-links a:hover, .nav-links a.active { color: var(--ink); }
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }

.nav-cta {
  padding: 0.7rem 1.4rem;
  background: var(--ink);
  color: var(--cream);
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.3s var(--ease);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.nav-cta:hover { background: var(--brass); transform: translateY(-1px); }

.nav-toggle {
  display: none;
  width: 36px;
  height: 36px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
}
.nav-toggle span {
  width: 22px;
  height: 1.5px;
  background: var(--ink);
  transition: all 0.3s var(--ease);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 1rem 1.8rem;
  border-radius: 999px;
  font-size: 0.98rem;
  font-weight: 500;
  font-family: var(--font-body);
  transition: all 0.35s var(--ease);
  cursor: pointer;
  white-space: nowrap;
}

.btn-primary { background: var(--ink); color: var(--cream); }
.btn-primary:hover { background: var(--brass); color: var(--ink); transform: translateY(-2px); box-shadow: 0 12px 30px rgba(10, 15, 42, 0.22); }

.btn-outline { background: transparent; color: var(--ink); border: 1px solid var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--cream); }

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

.btn-arrow::after {
  content: '←';
  transition: transform 0.3s var(--ease);
}
.btn-arrow:hover::after { transform: translateX(-4px); }

/* ---------- HERO ---------- */
.hero {
  min-height: 100vh;
  padding: 10rem 0 6rem;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 80% 20%, rgba(24, 140, 156, 0.1), transparent 60%),
    radial-gradient(ellipse at 20% 80%, rgba(212, 181, 61, 0.06), transparent 60%);
  z-index: 0;
}

/* Hero with background image — adds image layer + cream gradient on text side */
.hero-image-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-image-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  /* RTL: text is on the right, so cream gradient on right, image visible on left */
  background:
    linear-gradient(270deg,
      var(--cream) 0%,
      var(--cream) 30%,
      rgba(247, 245, 238, 0.85) 50%,
      rgba(247, 245, 238, 0.4) 75%,
      rgba(21, 23, 59, 0.15) 100%);
}

.hero.has-image::before {
  display: none; /* turn off the radial gradient when we have an image */
}

.hero-decor {
  position: absolute;
  inset-inline-end: -120px;
  top: 18%;
  width: 600px;
  height: 600px;
  border: 1px solid var(--line);
  border-radius: 50%;
  pointer-events: none;
  opacity: 0.5;
}
.hero-decor::before {
  content: '';
  position: absolute;
  inset: 60px;
  border: 1px solid var(--line);
  border-radius: 50%;
}
.hero-decor::after {
  content: '';
  position: absolute;
  inset: 140px;
  border: 1px solid var(--teal);
  border-radius: 50%;
  opacity: 0.35;
}

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

.hero h1 {
  font-size: clamp(2.8rem, 7vw, 6rem);
  line-height: 1.05;
  font-weight: 700;
  margin: 1.8rem 0 2rem;
  letter-spacing: -0.02em;
}

.hero h1 .accent {
  color: var(--brass);
  font-family: 'Markazi Text', serif;
  font-weight: 600;
  letter-spacing: 0;
}

.hero h1 .highlight {
  display: block;
}

.hero p {
  font-size: clamp(1.05rem, 1.6vw, 1.3rem);
  max-width: 620px;
  color: var(--ink-fade);
  line-height: 1.7;
  margin-bottom: 2.8rem;
}

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

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 5rem;
  padding-top: 3rem;
  border-top: 1px solid var(--line);
  max-width: 760px;
}

.stat-num {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--ink);
  line-height: 1;
  margin-bottom: 0.5rem;
}
.stat-num .plus { color: var(--brass); }

.stat-label {
  font-size: 0.92rem;
  color: var(--ink-fade);
  font-weight: 500;
}

/* Inner page hero (smaller) */
.hero-inner {
  min-height: 60vh;
  padding: 12rem 0 5rem;
}

.hero-inner h1 { font-size: clamp(2.4rem, 5.5vw, 4.5rem); }

/* ---------- Section title ---------- */
.section-title {
  margin-bottom: 4rem;
  max-width: 780px;
}
.section-title h2 {
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  margin: 1rem 0 1.5rem;
  line-height: 1.1;
}
.section-title h2 .accent { color: var(--brass); font-family: 'Markazi Text', serif; font-weight: 600; }
.section-title p { font-size: 1.1rem; color: var(--ink-fade); max-width: 620px; line-height: 1.7; }

/* ---------- Services grid ---------- */
.services {
  background: var(--cream-soft);
  border-block: 1px solid var(--line);
}

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

.service-card {
  background: var(--cream);
  padding: 3rem 2.5rem;
  border-radius: 4px;
  border: 1px solid var(--line);
  transition: all 0.5s var(--ease);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 50%, rgba(212, 181, 61, 0.06));
  opacity: 0;
  transition: opacity 0.5s var(--ease);
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: var(--brass);
  box-shadow: 0 20px 50px rgba(10, 15, 42, 0.1);
}
.service-card:hover::before { opacity: 1; }

.service-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--cream);
  display: grid;
  place-items: center;
  margin-bottom: 1.8rem;
  transition: all 0.4s var(--ease);
}
.service-card:hover .service-icon {
  background: var(--brass);
  transform: scale(1.05) rotate(-5deg);
}

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

.service-card h3 {
  font-size: 1.6rem;
  margin-bottom: 1rem;
  color: var(--ink);
  position: relative;
  z-index: 1;
}

.service-card p {
  color: var(--ink-fade);
  margin-bottom: 1.8rem;
  line-height: 1.7;
  position: relative;
  z-index: 1;
}

.service-link {
  font-weight: 500;
  color: var(--brass);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: gap 0.3s var(--ease);
  position: relative;
  z-index: 1;
}
.service-link:hover { gap: 0.9rem; color: var(--brass-dark); }

/* ---------- Feature blocks ---------- */
.feature-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.feature-image {
  aspect-ratio: 4/5;
  background:
    linear-gradient(135deg, var(--cream-deep) 0%, var(--teal-light) 200%);
  border-radius: 4px;
  position: relative;
  overflow: hidden;
  display: grid;
  place-items: center;
}

.feature-image::before {
  content: '';
  position: absolute;
  inset: 20px;
  border: 1px solid rgba(24, 140, 156, 0.3);
}
.feature-image::after {
  content: '';
  position: absolute;
  inset-inline-start: 40px;
  bottom: 40px;
  width: 120px;
  height: 120px;
  background: var(--teal);
  border-radius: 50%;
  opacity: 0.2;
  filter: blur(20px);
}

.feature-image-placeholder {
  text-align: center;
  color: var(--ink-fade);
  padding: 2rem;
  position: relative;
  z-index: 1;
}
.feature-image-placeholder .icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 1rem;
  opacity: 0.4;
}

.feature-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
  z-index: 1;
}
.feature-image.has-photo::before,
.feature-image.has-photo::after {
  display: none; /* hide decorative borders/blobs when real photo is present */
}

.feature-content h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.15;
  margin: 1.5rem 0 1.5rem;
}
.feature-content h2 .accent { color: var(--brass); font-family: 'Markazi Text', serif; font-weight: 600; }

.feature-content > p {
  color: var(--ink-fade);
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 2rem;
}

.feature-list { list-style: none; margin-bottom: 2.5rem; }
.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line-soft);
  font-size: 1.02rem;
  line-height: 1.6;
}
.feature-list li:last-child { border-bottom: 0; }

.feature-list .check {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--brass);
  color: var(--cream);
  display: grid;
  place-items: center;
  margin-top: 2px;
  font-size: 0.7rem;
}

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

.process-grid::before {
  content: '';
  position: absolute;
  top: 30px;
  inset-inline: 12%;
  height: 1px;
  background: var(--line);
  z-index: 0;
}

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

.process-num {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--cream);
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  margin: 0 auto 1.5rem;
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--brass);
  transition: all 0.4s var(--ease);
}
.process-step:hover .process-num {
  background: var(--ink);
  color: var(--cream);
  border-color: var(--ink);
  transform: scale(1.05);
}

.process-step h4 {
  font-size: 1.15rem;
  margin-bottom: 0.75rem;
  font-family: var(--font-display);
}
.process-step p { color: var(--ink-fade); font-size: 0.95rem; line-height: 1.6; }

/* ---------- Values ---------- */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.value-card {
  padding: 2.5rem;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 4px;
  position: relative;
  transition: all 0.4s var(--ease);
}
.value-card:hover { border-color: var(--brass); transform: translateY(-4px); }

.value-num {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 700;
  color: var(--brass);
  opacity: 0.25;
  line-height: 1;
  margin-bottom: 1rem;
}

.value-card h3 { font-size: 1.4rem; margin-bottom: 0.8rem; }
.value-card p { color: var(--ink-fade); line-height: 1.7; }

/* ---------- CTA banner ---------- */
.cta-banner {
  background: linear-gradient(135deg, var(--ink) 0%, #14193D 70%, var(--teal-deep) 130%);
  color: var(--cream);
  padding: 6rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 70% 30%, rgba(212, 181, 61, 0.18), transparent 60%),
    radial-gradient(circle at 30% 70%, rgba(24, 140, 156, 0.22), transparent 60%);
}

.cta-banner h2 {
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  margin: 1rem 0 1.5rem;
  position: relative;
  line-height: 1.15;
}
.cta-banner h2 .accent { color: var(--brass-light); font-family: 'Markazi Text', serif; font-weight: 600; }

.cta-banner p {
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto 2.5rem;
  color: rgba(245, 240, 230, 0.75);
  position: relative;
  line-height: 1.7;
}

.cta-banner .btn-primary { background: var(--brass); }
.cta-banner .btn-primary:hover { background: var(--cream); color: var(--ink); }
.cta-banner .btn-outline { color: var(--cream); border-color: var(--cream); }
.cta-banner .btn-outline:hover { background: var(--cream); color: var(--ink); }

.cta-banner .eyebrow { color: var(--brass-light); }
.cta-banner .eyebrow::before { background: var(--brass-light); }

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

/* ---------- Contact page ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 4rem;
}

.contact-card {
  padding: 2.5rem 2rem;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 4px;
  text-align: center;
  transition: all 0.4s var(--ease);
}
.contact-card:hover {
  transform: translateY(-4px);
  border-color: var(--brass);
  box-shadow: 0 16px 36px rgba(10, 15, 42, 0.08);
}

.contact-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--cream-deep);
  color: var(--brass);
  display: grid;
  place-items: center;
  margin: 0 auto 1.5rem;
  transition: all 0.4s var(--ease);
}
.contact-card:hover .contact-icon { background: var(--brass); color: var(--cream); }

.contact-icon svg { width: 28px; height: 28px; }

.contact-card h3 { font-size: 1.3rem; margin-bottom: 0.5rem; }
.contact-card .label { color: var(--ink-fade); font-size: 0.9rem; margin-bottom: 1rem; }
.contact-card .value {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--ink);
  direction: ltr;
  display: inline-block;
}
.contact-card.has-link .value { color: var(--brass); transition: color 0.3s; }
.contact-card.has-link:hover .value { color: var(--brass-dark); }

.map-section { margin-top: 2rem; }
.map-frame {
  width: 100%;
  aspect-ratio: 16/8;
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--cream-soft);
}
.map-frame iframe { width: 100%; height: 100%; border: 0; filter: grayscale(0.2) contrast(1.05); }

.contact-form {
  background: var(--cream);
  padding: 3rem;
  border: 1px solid var(--line);
  border-radius: 4px;
  max-width: 720px;
  margin: 4rem auto 0;
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; margin-bottom: 1.25rem; }
.form-field { display: flex; flex-direction: column; gap: 0.5rem; }
.form-field.full { grid-column: 1 / -1; }

.form-field label { font-size: 0.9rem; font-weight: 500; color: var(--ink-soft); }

.form-field input, .form-field textarea, .form-field select {
  padding: 0.95rem 1.1rem;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 4px;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--ink);
  transition: all 0.3s var(--ease);
}
.form-field textarea { resize: vertical; min-height: 140px; }
.form-field input:focus, .form-field textarea:focus, .form-field select:focus {
  outline: none;
  border-color: var(--brass);
  box-shadow: 0 0 0 3px rgba(212, 181, 61, 0.18);
}

/* Form submission feedback messages */
.form-message {
  padding: 1.1rem 1.4rem;
  border-radius: 4px;
  margin-bottom: 1.5rem;
  font-weight: 500;
  text-align: center;
  font-size: 1rem;
  line-height: 1.5;
  animation: fadeUp 0.4s var(--ease-out);
}
.form-message-success {
  background: rgba(24, 140, 156, 0.1);
  color: var(--teal-deep);
  border: 1px solid rgba(24, 140, 156, 0.4);
}
.form-message-error {
  background: rgba(190, 30, 45, 0.06);
  color: #9a1c2a;
  border: 1px solid rgba(190, 30, 45, 0.3);
}

/* ---------- Footer ---------- */
footer {
  background: linear-gradient(180deg, var(--ink) 0%, #050920 100%);
  color: rgba(247, 245, 238, 0.72);
  padding: 5rem 0 2rem;
  position: relative;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3.5rem;
}

.footer-brand .brand { color: var(--cream); margin-bottom: 1.2rem; }
.footer-brand p { line-height: 1.8; max-width: 320px; font-size: 0.95rem; }

footer h4 {
  color: var(--cream);
  font-size: 1.1rem;
  margin-bottom: 1.4rem;
  font-family: var(--font-display);
}

.footer-list { list-style: none; }
.footer-list li { margin-bottom: 0.7rem; }
.footer-list a {
  color: rgba(245, 240, 230, 0.65);
  font-size: 0.95rem;
  transition: color 0.3s, padding 0.3s;
}
.footer-list a:hover { color: var(--brass-light); padding-inline-end: 6px; }

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(245, 240, 230, 0.12);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.88rem;
  color: rgba(245, 240, 230, 0.5);
}

.social-links { display: flex; gap: 0.8rem; }
.social-links a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(245, 240, 230, 0.2);
  display: grid;
  place-items: center;
  transition: all 0.3s var(--ease);
}
.social-links a:hover {
  background: var(--brass);
  border-color: var(--brass);
  color: var(--cream);
  transform: translateY(-2px);
}
.social-links svg { width: 16px; height: 16px; }

/* ---------- Floating WhatsApp ---------- */
.whatsapp-float {
  position: fixed;
  bottom: 2rem;
  inset-inline-start: 2rem;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25D366;
  color: white;
  display: grid;
  place-items: center;
  box-shadow: 0 8px 30px rgba(37, 211, 102, 0.4);
  z-index: 50;
  transition: all 0.3s var(--ease);
}
.whatsapp-float:hover { transform: scale(1.08); box-shadow: 0 12px 40px rgba(37, 211, 102, 0.55); }
.whatsapp-float svg { width: 28px; height: 28px; }

/* ---------- Animations ---------- */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

.fade-up { animation: fadeUp 0.9s var(--ease-out) backwards; }
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.25s; }
.delay-3 { animation-delay: 0.4s; }
.delay-4 { animation-delay: 0.55s; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .feature-grid { grid-template-columns: 1fr; gap: 3rem; }
  .feature-image { aspect-ratio: 16/10; max-width: 600px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid::before { display: none; }
  .values-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  section { padding: 5rem 0; }
  .hero { padding: 9rem 0 4rem; min-height: auto; }
  .hero-stats { grid-template-columns: 1fr; gap: 1.5rem; }
  /* Mobile: heavier overlay since text sits on top of image */
  .hero-image-bg::after {
    background:
      linear-gradient(180deg,
        rgba(247, 245, 238, 0.4) 0%,
        rgba(247, 245, 238, 0.92) 35%,
        var(--cream) 100%);
  }
  .hero-image-bg {
    background-position: center top;
  }
  .services-grid { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .nav-cta { display: none; }
  .brand { font-size: 1.15rem; gap: 0.5rem; }
  .brand-mark { width: 36px; height: 36px; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .form-row { grid-template-columns: 1fr; }
  .contact-form { padding: 2rem 1.5rem; }
  .container, .container-narrow { padding-inline: 1.5rem; }
  .nav-inner { padding-inline: 1.5rem; }
  .whatsapp-float { width: 52px; height: 52px; bottom: 1.2rem; inset-inline-start: 1.2rem; }

  /* Mobile menu */
  .nav-links.open {
    display: flex;
    position: fixed;
    inset: 0;
    background: var(--cream);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    z-index: 99;
  }
  .nav-links.open a { font-size: 1.5rem; font-family: var(--font-display); }
  .nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle.active span:nth-child(2) { opacity: 0; }
  .nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}
