/* ════════════════════════════════════════════════════════════════════
 *  RENODAM — Main Stylesheet
 * ════════════════════════════════════════════════════════════════════
 *  Single file = one HTTP request = faster site.
 *  Organized in clear sections — search by ── HEADER ── etc.
 * ════════════════════════════════════════════════════════════════════ */


/* ── 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: 'Plus Jakarta Sans', 'Inter', system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html[dir="rtl"] body { font-family: 'Noto Kufi Arabic', 'Cairo', system-ui, sans-serif; }

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

a { color: inherit; text-decoration: none; }

button { font-family: inherit; cursor: pointer; border: none; background: none; }

input, textarea, select { font-family: inherit; font-size: inherit; }

::selection { background: rgba(212, 175, 55, .25); color: inherit; }


/* ── 2. DESIGN TOKENS (colors, fonts, spacing) ──────────────────── */

:root {
  /* Colors — warm gold + dark earth */
  --bg:               #faf8f3;
  --bg-soft:          #f5f1e8;
  --card:             #ffffff;
  --text:             #1f1108;
  --text-soft:        #5c4d3f;
  --text-muted:       #8a7a6c;

  --primary:          #D4AF37;
  --primary-dark:     #B89A2E;
  --primary-light:    #F0DCA0;
  --primary-bg:       rgba(212, 175, 55, .08);

  --secondary:        #1f1108;
  --secondary-soft:   #3d2418;

  --border:           #e8e0d0;
  --border-strong:    #c9bfa5;

  --error:            #c0392b;
  --error-bg:         rgba(192, 57, 43, .08);
  --success:          #16a34a;
  --success-bg:       rgba(22, 163, 74, .08);

  /* Shadows */
  --shadow-sm:  0 1px 2px rgba(31, 17, 8, 0.04);
  --shadow:     0 4px 12px rgba(31, 17, 8, 0.06);
  --shadow-lg:  0 12px 32px rgba(31, 17, 8, 0.10);
  --shadow-xl:  0 24px 60px rgba(31, 17, 8, 0.15);

  /* Radius */
  --r-sm: 6px;
  --r:    12px;
  --r-lg: 20px;
  --r-xl: 28px;

  /* Layout */
  --container: 1200px;
  --container-narrow: 880px;

  /* Transitions */
  --t-fast:  120ms ease-out;
  --t:       220ms cubic-bezier(0.215, 0.61, 0.355, 1);
  --t-slow:  450ms cubic-bezier(0.215, 0.61, 0.355, 1);
}


/* ── 3. TYPOGRAPHY ──────────────────────────────────────────────── */

h1, h2, h3, h4, h5, h6 {
  font-family: 'Outfit', 'Plus Jakarta Sans', system-ui, sans-serif;
  font-weight: 700;
  line-height: 1.15;
  color: var(--text);
  letter-spacing: -0.02em;
}

html[dir="rtl"] h1,
html[dir="rtl"] h2,
html[dir="rtl"] h3,
html[dir="rtl"] h4,
html[dir="rtl"] h5,
html[dir="rtl"] h6 { font-family: 'Noto Kufi Arabic', sans-serif; }

h1 { font-size: clamp(2.25rem, 5vw, 3.75rem); }
h2 { font-size: clamp(1.875rem, 4vw, 3rem); }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.5rem); }
h4 { font-size: 1.125rem; }

p { line-height: 1.7; }


/* ── 4. LAYOUT HELPERS ──────────────────────────────────────────── */

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 768px) {
  .container { padding: 0 2rem; }
}

.container-narrow {
  width: 100%;
  max-width: var(--container-narrow);
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 768px) {
  .container-narrow { padding: 0 2rem; }
}

.section {
  padding: 4rem 0;
}

@media (min-width: 768px) {
  .section { padding: 6rem 0; }
}

.section-sm {
  padding: 3rem 0;
}

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


/* Image placeholder for missing images — beautiful gradient with icon */
img[data-placeholder] {
  background: linear-gradient(135deg, #f5f1e8 0%, #e8e0d0 100%);
}
img[data-placeholder]::after {
  content: '🏗️';
  font-size: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  width: 100%;
  background: linear-gradient(135deg, #f5f1e8 0%, #e8e0d0 100%);
  color: var(--primary);
}

.image-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #f5f1e8 0%, #e8e0d0 100%);
  color: var(--text-muted);
  font-size: 0.875rem;
  text-align: center;
  padding: 1rem;
}

.image-placeholder::before {
  content: '🏗️';
  font-size: 3rem;
  margin-bottom: 0.5rem;
  display: block;
}

/* ── 5. RENODAM BRAND LOGO (gradient text) ──────────────────────── */

.renodam-logo {
  font-family: 'Playfair Display', 'Outfit', Georgia, serif;
  font-weight: 900;
  letter-spacing: -0.03em;
  display: inline-block;
  white-space: nowrap;
  direction: ltr;        /* never flip in RTL */
  unicode-bidi: isolate;
  line-height: 1;
}

/* ═══════════════════════════════════════════════════════════════════
   RENODAM LOGO — animated gold-to-bronze with shimmer sweep
   ───────────────────────────────────────────────────────────────────
   Strategy:
     - Use a TALL background (300% wide) with mostly gold/bronze tones
     - A bright white "highlight" sits in the gradient
     - We animate background-position so the highlight sweeps across letters
     - background-clip:text masks the gradient inside letter shapes only
   ═══════════════════════════════════════════════════════════════════ */
.renodam-logo-gradient {
  /*
    SHIMMER STRATEGY (fixed):
    - Use a repeating gradient (no-repeat caused disappearing on loop)
    - Start AND end with EXACT same color so seam is invisible
    - background-size 200% means one full pattern visible at any time
    - Animation moves bg-position by exactly 200% so it loops seamlessly
  */
  background-image: linear-gradient(
    100deg,
    #1f1108 0%,      /* dark start */
    #3d2418 15%,     /* dark bronze */
    #8a5a3a 30%,     /* medium bronze */
    #D4AF37 50%,     /* gold (PEAK) */
    #8a5a3a 70%,     /* medium bronze */
    #3d2418 85%,     /* dark bronze */
    #1f1108 100%     /* SAME dark end - seamless loop */
  );
  background-size: 200% 100%;
  background-repeat: repeat;

  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
          color: transparent;

  animation: renodamShimmer 4s linear infinite;
}

@keyframes renodamShimmer {
  /* Move left-to-right (matches reading direction) */
  from { background-position: 200% 0; }
  to   { background-position: 0% 0; }
}

@media (prefers-reduced-motion: reduce) {
  .renodam-logo-gradient { animation: none; background-position: 50% 0; }
}

/* Fallback for old browsers — show solid gold */
@supports not ((-webkit-background-clip: text) or (background-clip: text)) {
  .renodam-logo-gradient {
    background: none;
    -webkit-text-fill-color: #D4AF37;
    color: #D4AF37;
  }
}


/* ── 6. BUTTONS ─────────────────────────────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1.5rem;
  border-radius: var(--r);
  font-weight: 600;
  font-size: 0.95rem;
  transition: all var(--t);
  text-align: center;
  white-space: nowrap;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  background: var(--primary-dark);
  box-shadow: var(--shadow);
  transform: translateY(-1px);
}

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

.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.btn-secondary {
  background: var(--secondary);
  color: #fff;
}

.btn-secondary:hover { background: var(--secondary-soft); }

.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none !important;
}


/* ── 7. HEADER ──────────────────────────────────────────────────── */

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: transparent;
  transition: background var(--t), border-color var(--t), box-shadow var(--t);
  border-bottom: 1px solid transparent;
}

.header.scrolled {
  background: rgba(250, 248, 243, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom-color: var(--border);
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: 4.5rem;
}

@media (min-width: 768px) {
  .header-inner { height: 5rem; }
}

.header-logo {
  font-size: 1.75rem;
  flex-shrink: 0;
  transition: font-size var(--t);
}

.header.scrolled .header-logo { font-size: 1.5rem; }

@media (min-width: 768px) {
  .header-logo { font-size: 2rem; }
  .header.scrolled .header-logo { font-size: 1.75rem; }
}

.header-nav {
  display: none;
  gap: 0.25rem;
}

@media (min-width: 1024px) {
  .header-nav { display: flex; }
}

.header-nav a {
  padding: 0.5rem 0.875rem;
  border-radius: var(--r-sm);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text);
  transition: all var(--t-fast);
}

.header-nav a:hover {
  background: var(--bg-soft);
  color: var(--primary);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.header-phone {
  display: none;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  border-radius: var(--r-sm);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text);
  transition: background var(--t-fast);
}

.header-phone:hover { background: var(--bg-soft); }

@media (min-width: 768px) {
  .header-phone { display: inline-flex; }
}

.header-cta {
  display: none;
}

@media (min-width: 768px) {
  .header-cta {
    display: inline-flex;
    padding: 0.5rem 1rem;
    border-radius: var(--r-sm);
    background: var(--primary);
    color: #fff;
    font-size: 0.875rem;
    font-weight: 600;
  }
  .header-cta:hover { background: var(--primary-dark); }
}

/* Language switcher */
.lang-switcher {
  position: relative;
}

.lang-trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.5rem 0.625rem;
  border-radius: var(--r-sm);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text);
  transition: background var(--t-fast);
}

.lang-trigger:hover { background: var(--bg-soft); }

.lang-menu {
  position: absolute;
  top: calc(100% + 6px);
  inset-inline-end: 0;
  min-width: 140px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  display: none;
  z-index: 110;
}

.lang-menu.open { display: block; }

.lang-menu button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 0.625rem 0.875rem;
  font-size: 0.875rem;
  text-align: start;
  color: var(--text);
  transition: background var(--t-fast);
}

.lang-menu button:hover { background: var(--bg-soft); }

.lang-menu button.active {
  color: var(--primary);
  font-weight: 600;
}

/* Mobile menu trigger */
.menu-trigger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: var(--r-sm);
  color: var(--text);
}

.menu-trigger:hover { background: var(--bg-soft); }

@media (min-width: 1024px) {
  .menu-trigger { display: none; }
}

.menu-trigger svg { width: 1.25rem; height: 1.25rem; }

/* Mobile nav - slide-in panel, NOT inline */
.mobile-nav {
  position: fixed;
  top: 0;
  inset-inline-end: 0;
  bottom: 0;
  width: min(85vw, 320px);
  background: var(--card);
  box-shadow: -4px 0 32px rgba(0,0,0,0.15);
  padding: 5rem 1.25rem 1.5rem;
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 99;
  overflow-y: auto;
  display: block !important;
}

html[dir="rtl"] .mobile-nav {
  transform: translateX(-100%);
}

.mobile-nav.open {
  transform: translateX(0);
}

.mobile-nav-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  z-index: 98;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}

.mobile-nav-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-nav a {
  display: block;
  padding: 0.875rem 1rem;
  border-radius: var(--r-sm);
  font-size: 1rem;
  font-weight: 500;
  color: var(--text);
  border-bottom: 1px solid var(--border);
}

.mobile-nav a:last-of-type { border-bottom: none; }

.mobile-nav a:hover { background: var(--bg-soft); }

.mobile-nav .btn-primary {
  display: flex;
  margin-top: 1rem;
  border-bottom: none !important;
  padding: 0.875rem 1rem;
  justify-content: center;
}


/* ── 8. HERO ─────────────────────────────────────────────────────── */

.hero {
  position: relative;
  min-height: 90vh;
  padding: 8rem 1rem 4rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.hero::before,
.hero::after {
  content: '';
  position: absolute;
  width: 40%;
  height: 40%;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  z-index: 0;
}

.hero::before {
  top: -10%;
  inset-inline-start: -10%;
  background: rgba(212, 175, 55, 0.12);
}

.hero::after {
  bottom: -10%;
  inset-inline-end: -10%;
  background: rgba(31, 17, 8, 0.08);
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 64rem;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1.25rem;
  border-radius: 999px;
  background: var(--primary-bg);
  color: var(--primary-dark);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  animation: fadeInDown 0.6s ease-out;
}

.hero-logo {
  font-size: clamp(3.5rem, 12vw, 8rem);
  margin-bottom: 0.5rem;
  filter: drop-shadow(0 4px 20px rgba(31, 17, 8, 0.08));
  /* No entrance animation here - the .renodam-logo-gradient class
     already provides the continuous shimmer animation.
     Adding fadeInUp here would override or conflict with shimmer. */
}

.hero-tagline {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: clamp(1rem, 2.5vw, 1.875rem);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary-dark);
  margin-bottom: 2rem;
  white-space: nowrap;
  animation: fadeInUp 0.8s ease-out 0.2s both;
}

html[dir="rtl"] .hero-tagline {
  font-family: 'Noto Kufi Arabic', sans-serif;
  letter-spacing: 0.05em;
  white-space: normal;
}

.hero-subtitle {
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  color: var(--text-soft);
  margin-bottom: 2.5rem;
  max-width: 60rem;
  margin-inline: auto;
  line-height: 1.75;
  animation: fadeInUp 0.8s ease-out 0.4s both;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
  align-items: center;
  animation: fadeInUp 0.8s ease-out 0.6s both;
}

@media (min-width: 640px) {
  .hero-actions { flex-direction: row; justify-content: center; }
}

.hero-actions .btn { padding: 1rem 1.75rem; font-size: 1rem; }

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

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

.hero-scroll-hint {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  width: 1.75rem;
  height: 2.875rem;
  border: 2px solid var(--text-soft);
  border-radius: 999px;
  display: none;
  align-items: flex-start;
  justify-content: center;
  padding-top: 0.5rem;
  z-index: 1;
  opacity: 0.6;
  transition: opacity var(--t);
}

@media (min-width: 768px) { .hero-scroll-hint { display: flex; } }

.hero-scroll-hint:hover { opacity: 1; }

.hero-scroll-hint span {
  width: 4px;
  height: 8px;
  background: var(--text-soft);
  border-radius: 4px;
  animation: scrollHint 1.8s ease-in-out infinite;
}

@keyframes scrollHint {
  0%, 20%   { transform: translateY(0);    opacity: 1; }
  100%       { transform: translateY(14px); opacity: 0; }
}


/* ── 9. STATS BAR ───────────────────────────────────────────────── */

.stats {
  background: var(--primary-bg);
  border-block: 1px solid var(--border);
  padding: 3rem 0;
}

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

@media (min-width: 768px) {
  .stats-grid { grid-template-columns: repeat(4, 1fr); }
}

.stat-number {
  font-family: 'Playfair Display', 'Outfit', serif;
  font-size: clamp(2.25rem, 4vw, 3.5rem);
  font-weight: 800;
  color: var(--primary-dark);
  line-height: 1;
  margin-bottom: 0.25rem;
}

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


/* ── 10. SECTION TITLES ─────────────────────────────────────────── */

.section-header {
  text-align: center;
  max-width: 42rem;
  margin: 0 auto 3rem;
  position: relative;
}

/* Gold accent line above section titles - replaces alternating backgrounds */
.section-header::before {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
  margin: 0 auto 1.5rem;
  border-radius: 2px;
}

.section-header h2 {
  background: linear-gradient(90deg, var(--text) 0%, var(--primary-dark) 50%, var(--text) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

@supports not ((-webkit-background-clip: text) or (background-clip: text)) {
  .section-header h2 { background: none; color: var(--text); }
}

.section-badge {
  display: inline-block;
  padding: 0.375rem 1rem;
  border-radius: 999px;
  background: var(--primary-bg);
  color: var(--primary-dark);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.section-title {
  font-size: clamp(1.875rem, 4vw, 3rem);
  margin-bottom: 0.875rem;
  text-wrap: balance;
}

.section-subtitle {
  color: var(--text-soft);
  font-size: 1.05rem;
}


/* ── 11. CARDS (services, trust, values) ─────────────────────────── */

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 1.75rem;
  transition: all var(--t);
}

.card-hover:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.card-icon {
  width: 3.25rem;
  height: 3.25rem;
  border-radius: var(--r);
  background: var(--primary-bg);
  color: var(--primary-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1rem;
  transition: transform var(--t);
}

.card-hover:hover .card-icon {
  transform: scale(1.1) rotate(-5deg);
}

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

.card p {
  color: var(--text-soft);
  font-size: 0.95rem;
  line-height: 1.6;
}


/* ── 12. SERVICES PREVIEW (4-col grid) ───────────────────────────── */

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 640px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .services-grid { grid-template-columns: repeat(4, 1fr); } }

.service-link {
  display: block;
  height: 100%;
}

.service-link:hover .card { /* triggers card-hover */ }

.service-features {
  margin-top: 0.875rem;
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}

.service-features li {
  list-style: none;
  font-size: 0.85rem;
  color: var(--text-soft);
  padding-inline-start: 1rem;
  position: relative;
}

.service-features li::before {
  content: '✓';
  position: absolute;
  inset-inline-start: 0;
  color: var(--primary-dark);
  font-weight: bold;
}

.service-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1rem;
  padding: 0.625rem 1.125rem;
  border-radius: 999px;
  background: var(--primary-bg);
  color: var(--primary-dark);
  font-weight: 600;
  font-size: 0.875rem;
  transition: all var(--t);
}

.service-cta::after {
  content: '→';
  transition: transform var(--t-fast);
}

html[dir="rtl"] .service-cta::after { content: '←'; }

.service-link:hover .service-cta {
  background: var(--primary);
  color: #fff;
}

.service-link:hover .service-cta::after {
  transform: translateX(4px);
}

html[dir="rtl"] .service-link:hover .service-cta::after {
  transform: translateX(-4px);
}


/* ── 13. ABOUT PREVIEW (image + text) ───────────────────────────── */

.about-preview {
  /* No background - keeps page as one continuous canvas */
}

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

@media (min-width: 768px) {
  .about-grid { grid-template-columns: 1fr 1fr; gap: 4rem; }
}

.about-images {
  position: relative;
  height: 500px;
}

.about-images img {
  position: absolute;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  border: 4px solid var(--bg);
  object-fit: cover;
}

.about-images img:nth-child(1) {
  width: 80%;
  height: 100%;
  inset-inline-start: 0;
  top: 0;
}

.about-images img:nth-child(2) {
  width: 55%;
  height: 55%;
  inset-inline-end: 0;
  bottom: 0;
}

.about-images::before {
  content: '';
  position: absolute;
  width: 12rem;
  height: 12rem;
  inset-inline-start: -2rem;
  bottom: -2rem;
  background: rgba(212, 175, 55, 0.18);
  border-radius: 50%;
  filter: blur(60px);
  z-index: -1;
}

.about-text > * + * { margin-top: 1.5rem; }

.about-points {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.about-points li {
  position: relative;
  padding-inline-start: 1.75rem;
  color: var(--text-soft);
  line-height: 1.5;
}

.about-points li::before {
  content: '✓';
  position: absolute;
  inset-inline-start: 0;
  color: var(--primary);
  font-weight: bold;
  font-size: 1.1rem;
}


/* ── 14. PROCESS (4 steps) ───────────────────────────────────────── */

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

@media (min-width: 640px) { .process-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .process-grid { grid-template-columns: repeat(4, 1fr); } }

.process-card {
  position: relative;
}

.process-number {
  font-family: 'Playfair Display', serif;
  font-size: 1.875rem;
  font-weight: 900;
  color: var(--primary-light);
  line-height: 1;
  position: absolute;
  top: 1rem;
  inset-inline-end: 1rem;
  direction: ltr;
}


/* ── 15. TRUST (4-col with icon, title, desc) ────────────────────── */

.trust {
  /* No background */
}

.trust-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 640px) { .trust-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .trust-grid { grid-template-columns: repeat(4, 1fr); } }


/* ── 16. PROJECT CARDS (with before/after) ───────────────────────── */

.projects-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) { .projects-grid { grid-template-columns: repeat(2, 1fr); } }

.project-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  overflow: hidden;
  transition: box-shadow var(--t);
}

.project-card:hover {
  box-shadow: var(--shadow-lg);
}

.project-info {
  padding: 1.5rem;
  display: block;
}

.project-category {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--primary-dark);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.5rem;
}

.project-title {
  font-size: 1.25rem;
  margin-bottom: 0.875rem;
  transition: color var(--t-fast);
}

.project-card:hover .project-title { color: var(--primary-dark); }

.project-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.875rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin: 0.875rem 0;
}

.project-meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
}


/* ── 17. BEFORE / AFTER SLIDER ──────────────────────────────────── */

.before-after {
  position: relative;
  width: 100%;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--bg-soft);
  cursor: ew-resize;
  user-select: none;
  -webkit-user-select: none;
}

.before-after img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.before-after-after { z-index: 1; }
.before-after-before {
  z-index: 2;
  clip-path: polygon(0 0, 50% 0, 50% 100%, 0 100%);
  /* clip-path is updated by JS via --pos */
}

.before-after-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;        /* updated by JS */
  width: 2px;
  background: #fff;
  box-shadow: 0 0 0 1px rgba(0,0,0,.15), 0 0 20px rgba(0,0,0,.4);
  z-index: 3;
  transform: translateX(-50%);
  pointer-events: none;
}

.before-after-grip {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: #fff;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--text);
  pointer-events: auto;
  cursor: ew-resize;
  z-index: 4;
}

.before-after-label {
  position: absolute;
  top: 0.75rem;
  padding: 0.25rem 0.625rem;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 700;
  z-index: 5;
  letter-spacing: 0.05em;
}

.label-before {
  inset-inline-start: 0.75rem;
  background: rgba(0,0,0,0.6);
  color: #fff;
  backdrop-filter: blur(4px);
}

.label-after {
  inset-inline-end: 0.75rem;
  background: var(--primary);
  color: #fff;
}


/* ── 18. VIDEO PLAYER ───────────────────────────────────────────── */

/* Video preview card (for project list) */
.video-card {
  position: relative;
}

.video-preview-link {
  text-decoration: none;
  cursor: pointer;
  transition: transform var(--t);
}

.video-preview-link:hover { transform: scale(1.02); }

.video-bg-pattern {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(255,255,255,0.15) 1px, transparent 2px),
    radial-gradient(circle at 70% 70%, rgba(255,255,255,0.1) 1px, transparent 2px),
    radial-gradient(circle at 40% 80%, rgba(255,255,255,0.12) 1px, transparent 2px);
  background-size: 60px 60px, 80px 80px, 100px 100px;
  animation: bgPatternFloat 20s ease-in-out infinite;
  pointer-events: none;
}

@keyframes bgPatternFloat {
  0%, 100% { background-position: 0 0, 0 0, 0 0; }
  50%       { background-position: 30px 30px, -40px 40px, 50px -50px; }
}

.video-preview-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 5rem;
  height: 5rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  box-shadow: 0 12px 40px rgba(0,0,0,0.4), 0 0 0 12px rgba(255,255,255,0.15);
  transition: transform var(--t);
}

.video-preview-link:hover .video-preview-play {
  transform: translate(-50%, -50%) scale(1.1);
}

.video-player {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  background: #000;
  border-radius: var(--r-lg);
  overflow: hidden;
}

.video-player img,
.video-player video,
.video-player iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: none;
}

.video-thumb {
  cursor: pointer;
  display: block;
  width: 100%;
  height: 100%;
  position: relative;
}

.video-thumb::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.3);
  transition: background var(--t);
  z-index: 1;
}

.video-thumb:hover::before { background: rgba(0, 0, 0, 0.5); }

.video-play-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 5rem;
  height: 5rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  transition: transform var(--t);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.video-thumb:hover .video-play-icon {
  transform: translate(-50%, -50%) scale(1.1);
}

.video-play-icon::after {
  content: '';
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 12px 0 12px 18px;
  border-color: transparent transparent transparent var(--text);
  margin-inline-start: 4px;
}

.video-platform-badge {
  position: absolute;
  bottom: 1rem;
  inset-inline-start: 1rem;
  z-index: 2;
  background: rgba(0, 0, 0, 0.7);
  color: #fff;
  padding: 0.375rem 0.75rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  backdrop-filter: blur(4px);
}


/* ── 19. FAQ ACCORDION ──────────────────────────────────────────── */

.faq {
  /* No background */
}

.faq-list {
  max-width: 50rem;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.faq-item {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--r);
  overflow: hidden;
}

.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  padding: 1.125rem 1.25rem;
  text-align: start;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
  transition: background var(--t-fast);
}

.faq-q:hover { background: var(--bg-soft); }

.faq-q::after {
  content: '⌄';
  display: inline-block;
  font-size: 1.25rem;
  color: var(--primary-dark);
  transition: transform var(--t);
  flex-shrink: 0;
}

.faq-item.open .faq-q::after { transform: rotate(180deg); }

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--t-slow);
  color: var(--text-soft);
}

.faq-a-inner {
  padding: 0 1.25rem 1.25rem;
  line-height: 1.7;
}

.faq-item.open .faq-a { max-height: 500px; }


/* ── 20. CTA SECTION (luxury orange/gold/black/white/gray) ────── */

.cta-section {
  background: linear-gradient(135deg,
    #1a0f08 0%,
    #2a1810 25%,
    #4a3520 55%,
    #c9821f 85%,
    #f5b041 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 2px 2px, rgba(255,255,255,0.08) 1px, transparent 0);
  background-size: 24px 24px;
  pointer-events: none;
}

.cta-section::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at top right, rgba(245, 176, 65, 0.3), transparent 60%);
  pointer-events: none;
}

.cta-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 42rem;
  margin: 0 auto;
}

.cta-section h2 {
  color: #fff;
  background: linear-gradient(90deg, #ffffff 0%, #f5b041 50%, #ffffff 100%);
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
}

@supports not ((-webkit-background-clip: text) or (background-clip: text)) {
  .cta-section h2 { background: none; color: #fff; -webkit-text-fill-color: #fff; }
}

.cta-section .section-subtitle {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.125rem;
}

.cta-section .btn-primary {
  background: linear-gradient(135deg, #ffffff 0%, #f5e6c8 100%);
  color: #1a0f08;
  border: none;
  font-weight: 700;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.cta-section .btn-primary:hover {
  background: linear-gradient(135deg, #f5b041 0%, #c9821f 100%);
  color: #fff;
  transform: translateY(-2px);
}


/* ── 21. FOOTER ─────────────────────────────────────────────────── */

/* Footer logo — same shimmer style, lighter colors for dark background */
.footer-logo-shimmer {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 900;
  font-size: 2rem;
  letter-spacing: -0.03em;
  display: inline-block;
  background-image: linear-gradient(
    100deg,
    #ffffff 0%,
    #f5e6c8 15%,
    #D4AF37 30%,
    #FFE89C 50%,    /* peak brightness */
    #D4AF37 70%,
    #f5e6c8 85%,
    #ffffff 100%    /* SAME as start - seamless loop */
  );
  background-size: 200% 100%;
  background-repeat: repeat;

  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
          color: transparent;

  animation: footerLogoShimmer 4s linear infinite;
}

@keyframes footerLogoShimmer {
  from { background-position: 200% 0; }
  to   { background-position: 0% 0; }
}

@media (prefers-reduced-motion: reduce) {
  .footer-logo-shimmer { animation: none; background-position: 50% 0; }
}

@supports not ((-webkit-background-clip: text) or (background-clip: text)) {
  .footer-logo-shimmer {
    background: none;
    -webkit-text-fill-color: #fff;
    color: #fff;
  }
}

.footer {
  background: var(--secondary);
  color: rgba(255, 255, 255, 0.75);
  padding: 4rem 0 2rem;
  margin-top: 4rem;
}

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

@media (min-width: 640px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; } }

.footer h3 {
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
}

.footer-brand .renodam-logo {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.footer-brand p {
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
  max-width: 22rem;
}

.footer-socials {
  display: flex;
  gap: 0.625rem;
}

.footer-socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: var(--r);
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 1rem;
  transition: background var(--t-fast);
}

.footer-socials a:hover { background: var(--primary); }

.footer ul { list-style: none; display: flex; flex-direction: column; gap: 0.5rem; }

.footer ul a {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.75);
  transition: color var(--t-fast);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.footer ul a::before {
  content: '→';
  font-size: 0.7rem;
  opacity: 0.6;
  transition: transform var(--t-fast);
}

html[dir="rtl"] .footer ul a::before { content: '←'; }

.footer ul a:hover { color: var(--primary); }
.footer ul a:hover::before { transform: translateX(4px); }
html[dir="rtl"] .footer ul a:hover::before { transform: translateX(-4px); }

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 0.75rem;
}

/* ─── NEW: Footer contact rows (modern style with SVG icons) ─── */
.footer-contact-col {
  display: flex;
  flex-direction: column;
}

.footer-contact-row {
  display: flex;
  align-items: flex-start;
  gap: 0.875rem;
  padding: 0.625rem 0;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  line-height: 1.5;
  transition: color var(--t-fast);
}

.footer-contact-row:hover {
  color: var(--primary);
}

.footer-icon {
  flex-shrink: 0;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: var(--r);
  background: rgba(255, 255, 255, 0.08);
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all var(--t-fast);
}

.footer-contact-row:hover .footer-icon {
  background: var(--primary);
  color: #fff;
}

.footer-areas-list,
.footer-links-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.footer-areas-list li {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-areas-list li::before {
  content: '';
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--primary);
  display: inline-block;
  opacity: 0.5;
}

/* Company legal info bar */
.footer-legal-bar {
  margin: 2rem 0 1.5rem;
  padding: 1.25rem 1.5rem;
  background: rgba(255, 255, 255, 0.04);
  border-radius: var(--r);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.65);
}

.footer-legal-bar strong {
  color: #fff;
  font-weight: 700;
}

.footer-legal-divider {
  margin: 0 0.625rem;
  opacity: 0.4;
}

@media (max-width: 640px) {
  .footer-legal-bar { flex-direction: column; align-items: flex-start; }
  .footer-legal-bar > div { width: 100%; }
}

.footer-bottom {
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
}

@media (min-width: 768px) { .footer-bottom { flex-direction: row; } }

.footer-legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: center;
}

.footer-legal-links a,
.footer-legal-links button {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.8rem;
  transition: color var(--t-fast);
}

.footer-legal-links a:hover,
.footer-legal-links button:hover { color: var(--primary); }


/* ── 22. WHATSAPP FLOATING BUTTON ────────────────────────────────── */

.whatsapp-float {
  position: fixed;
  bottom: 1.5rem;
  inset-inline-end: 1.5rem;
  width: 3.75rem;
  height: 3.75rem;
  border-radius: 50%;
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow:
    0 4px 12px rgba(37, 211, 102, 0.4),
    0 8px 30px rgba(37, 211, 102, 0.25),
    inset 0 0 0 2px rgba(255, 255, 255, 0.1);
  z-index: 90;
  transition: all var(--t);
  cursor: pointer;
}

.whatsapp-float svg {
  width: 1.75rem;
  height: 1.75rem;
  fill: #fff;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.15));
}

.whatsapp-float:hover {
  transform: scale(1.1) translateY(-2px);
  background: linear-gradient(135deg, #1EB854 0%, #0E7163 100%);
  box-shadow:
    0 6px 20px rgba(37, 211, 102, 0.55),
    0 12px 40px rgba(37, 211, 102, 0.35),
    inset 0 0 0 2px rgba(255, 255, 255, 0.15);
}

.whatsapp-float::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid #25D366;
  animation: whatsappPulse 2s ease-out infinite;
  pointer-events: none;
}

.whatsapp-float::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid #25D366;
  animation: whatsappPulse 2s ease-out infinite 1s;
  pointer-events: none;
}

@keyframes whatsappPulse {
  0%   { transform: scale(1);    opacity: 0.7; }
  100% { transform: scale(1.7);  opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .whatsapp-float::before,
  .whatsapp-float::after { animation: none; }
}


/* ── 23. COOKIE BANNER ──────────────────────────────────────────── */

.cookie-banner {
  position: fixed;
  bottom: 0;
  inset-inline: 0;
  z-index: 95;
  padding: 0.75rem;
  pointer-events: none;
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.215, 0.61, 0.355, 1);
}

@media (min-width: 768px) { .cookie-banner { padding: 1rem; } }

.cookie-banner.show {
  transform: translateY(0);
}

.cookie-banner-inner {
  max-width: 56rem;
  margin: 0 auto;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-xl);
  padding: 1.25rem;
  pointer-events: auto;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

@media (min-width: 768px) { .cookie-banner-inner { padding: 1.5rem; } }

.cookie-icon {
  flex-shrink: 0;
  width: 3rem;
  height: 3rem;
  border-radius: var(--r);
  background: var(--primary-bg);
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

@media (min-width: 640px) { .cookie-icon { display: inline-flex; } }

.cookie-content { flex: 1; min-width: 0; }
.cookie-content h4 { font-size: 1rem; margin-bottom: 0.25rem; }
.cookie-content p { font-size: 0.85rem; color: var(--text-soft); margin-bottom: 1rem; }

.cookie-actions {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

@media (min-width: 480px) { .cookie-actions { flex-direction: row; } }

.cookie-actions .btn { padding: 0.625rem 1.125rem; font-size: 0.85rem; }


/* ── 24. PAGE HERO (smaller hero for inner pages) ────────────────── */

.page-hero {
  padding: 7rem 1rem 3rem;
  text-align: center;
  background: linear-gradient(180deg, var(--primary-bg), transparent);
}

.page-hero h1 { margin-bottom: 1rem; }

.page-hero p {
  font-size: 1.125rem;
  color: var(--text-soft);
  max-width: 42rem;
  margin: 0 auto;
}


/* ── 25. CONTACT PAGE ───────────────────────────────────────────── */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}

@media (min-width: 1024px) { .contact-grid { grid-template-columns: 2fr 3fr; } }

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-info-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  transition: all var(--t);
}

.contact-info-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow);
}

.contact-info-icon {
  flex-shrink: 0;
  width: 3rem;
  height: 3rem;
  border-radius: var(--r);
  background: var(--primary-bg);
  color: var(--primary-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

.contact-info-label {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin-bottom: 0.25rem;
}

.contact-info-value {
  font-weight: 600;
  color: var(--text);
}


/* ── 26. FORMS ──────────────────────────────────────────────────── */

.form-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 1.5rem;
}

@media (min-width: 768px) { .form-card { padding: 2.5rem; } }

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

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

@media (min-width: 768px) { .form-row { grid-template-columns: 1fr 1fr; } }
.form-row .form-group { margin-bottom: 0; }

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 0.5rem;
}

.form-label .required { color: var(--primary-dark); }

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--r);
  background: var(--bg);
  color: var(--text);
  font-size: 0.95rem;
  transition: all var(--t-fast);
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  outline: none;
  border-color: var(--primary);
  background: var(--card);
  box-shadow: 0 0 0 3px var(--primary-bg);
}

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

.form-honeypot {
  position: absolute;
  left: -9999px;
  visibility: hidden;
}

.form-message {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1rem;
  border-radius: var(--r);
  font-size: 0.875rem;
  margin-bottom: 1rem;
}

.form-message.success { background: var(--success-bg); color: var(--success); border: 1px solid rgba(22, 163, 74, 0.2); }
.form-message.error   { background: var(--error-bg);   color: var(--error);   border: 1px solid rgba(192, 57, 43, 0.2); }

.form-privacy {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.form-success-screen {
  text-align: center;
  padding: 2rem 1rem;
}

.form-success-icon {
  width: 4rem;
  height: 4rem;
  margin: 0 auto 1.25rem;
  border-radius: 50%;
  background: var(--success-bg);
  color: var(--success);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
}


/* ── 27. QUOTE FORM (3-step wizard) ──────────────────────────────── */

.steps-bar {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.steps-bar .step {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-muted);
}

.steps-bar .step.active,
.steps-bar .step.completed { color: var(--primary-dark); }

.step-circle {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background: var(--bg-soft);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 0.875rem;
  transition: all var(--t);
}

.step.active .step-circle,
.step.completed .step-circle {
  background: var(--primary);
  color: #fff;
}

.step-label {
  font-size: 0.85rem;
  font-weight: 500;
  display: none;
}

@media (min-width: 640px) { .step-label { display: inline; } }

.steps-bar .connector {
  flex: 1;
  height: 1px;
  background: var(--border);
  transition: background var(--t);
}

.steps-bar .connector.completed { background: var(--primary); }

.step-content { display: none; }
.step-content.active { display: block; animation: stepFadeIn 0.3s ease-out; }

@keyframes stepFadeIn {
  from { opacity: 0; transform: translateX(20px); }
  to   { opacity: 1; transform: translateX(0); }
}

html[dir="rtl"] .step-content.active { animation-name: stepFadeInRtl; }

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

/* Project type cards (step 1) */
.choice-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}

@media (min-width: 640px) { .choice-grid { grid-template-columns: repeat(3, 1fr); } }

.choice-card {
  position: relative;
  padding: 1rem;
  border: 2px solid var(--border);
  border-radius: var(--r-lg);
  background: var(--bg);
  text-align: start;
  transition: all var(--t-fast);
}

.choice-card:hover { border-color: var(--primary-light); }

.choice-card.selected {
  border-color: var(--primary);
  background: var(--primary-bg);
  box-shadow: var(--shadow-sm);
}

.choice-card .choice-icon {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  display: block;
}

.choice-card .choice-label {
  font-weight: 600;
  font-size: 0.875rem;
  line-height: 1.3;
  color: var(--text);
}

.choice-check {
  position: absolute;
  top: 0.5rem;
  inset-inline-end: 0.5rem;
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
}

.choice-card.selected .choice-check { display: flex; }

/* Pill options (step 2) */
.pill-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.5rem;
}

@media (min-width: 640px) { .pill-grid { grid-template-columns: repeat(2, 1fr); } }

.pill {
  padding: 0.75rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--r);
  background: var(--bg);
  color: var(--text-soft);
  font-size: 0.875rem;
  font-weight: 500;
  text-align: start;
  transition: all var(--t-fast);
}

.pill:hover { border-color: var(--primary-light); color: var(--text); }

.pill.selected {
  border-color: var(--primary);
  background: var(--primary-bg);
  color: var(--text);
  box-shadow: var(--shadow-sm);
}

/* File upload area */
.file-upload-zone {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1.5rem 1rem;
  border: 2px dashed var(--border);
  border-radius: var(--r);
  background: var(--bg);
  cursor: pointer;
  transition: all var(--t-fast);
  text-align: center;
}

.file-upload-zone:hover {
  border-color: var(--primary);
  background: var(--bg-soft);
}

.file-upload-zone input[type="file"] {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.file-list {
  margin-top: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.file-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.5rem 0.75rem;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  font-size: 0.85rem;
}

.file-item button {
  flex-shrink: 0;
  padding: 0.25rem;
  border-radius: 4px;
  color: var(--text-muted);
  font-size: 1.125rem;
  line-height: 1;
}

.file-item button:hover { background: var(--border); color: var(--text); }

.steps-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}


/* ── 28. ABOUT PAGE specifics ───────────────────────────────────── */

.story-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: start;
}

@media (min-width: 1024px) { .story-grid { grid-template-columns: 2fr 3fr; gap: 4rem; } }

.founder-card .founder-photo {
  aspect-ratio: 4/5;
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--border);
  background: var(--bg-soft);
  margin-bottom: 1.5rem;
}

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

.quote-card {
  padding: 1.5rem;
  border-radius: var(--r-xl);
  background: var(--primary-bg);
  border: 1px solid rgba(212, 175, 55, 0.3);
  position: relative;
}

.quote-card::before {
  content: '"';
  position: absolute;
  top: 0.5rem;
  inset-inline-end: 1rem;
  font-family: Georgia, serif;
  font-size: 4rem;
  line-height: 1;
  color: rgba(212, 175, 55, 0.3);
}

.quote-text {
  font-style: italic;
  line-height: 1.7;
  color: var(--text);
  margin-bottom: 1rem;
  position: relative;
}

.quote-author { font-weight: 700; color: var(--text); }
.quote-role   { font-size: 0.875rem; color: var(--text-muted); }

.story-content > * + * { margin-top: 1.25rem; }

.values-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 640px) { .values-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .values-grid { grid-template-columns: repeat(4, 1fr); } }

.facts-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.875rem;
}

@media (min-width: 640px) { .facts-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .facts-grid { grid-template-columns: repeat(3, 1fr); } }

.fact-card {
  padding: 1.125rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
}

.fact-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  font-weight: 600;
  margin-bottom: 0.375rem;
}

.fact-value { font-weight: 700; color: var(--text); }


/* ── 29. SERVICE/PROJECT DETAIL PAGES ───────────────────────────── */

.detail-hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 768px) { .detail-hero-grid { grid-template-columns: 1fr 1fr; gap: 3rem; } }

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
  transition: color var(--t-fast);
}

.back-link:hover { color: var(--primary-dark); }

.detail-image {
  aspect-ratio: 4/3;
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  background: var(--bg-soft);
}

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

.duration-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: var(--bg-soft);
  border-radius: 999px;
  font-size: 0.875rem;
  color: var(--text);
  margin-top: 1rem;
}

.feature-list-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.625rem;
}

@media (min-width: 640px) { .feature-list-grid { grid-template-columns: repeat(2, 1fr); } }

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.875rem 1rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r);
  font-size: 0.95rem;
}

.feature-item::before {
  content: '✓';
  color: var(--primary-dark);
  font-weight: bold;
  flex-shrink: 0;
}

.meta-bar {
  background: var(--card);
  border-block: 1px solid var(--border);
  padding: 1.25rem 0;
}

.meta-bar .container {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  font-size: 0.875rem;
}

.meta-bar-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.meta-bar-item strong { color: var(--text); }
.meta-bar-item span { color: var(--text-muted); }

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

@media (min-width: 640px) { .gallery-grid { grid-template-columns: repeat(3, 1fr); gap: 1rem; } }

.gallery-item {
  aspect-ratio: 1;
  border-radius: var(--r);
  overflow: hidden;
  background: var(--bg-soft);
}

.gallery-item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform var(--t-slow);
}

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


/* ── 30. INSTAGRAM SECTION ──────────────────────────────────────── */

.instagram-section {
  /* No background - keep continuous canvas */
}

/* Service card as full-card link */
.service-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  transition: all var(--t);
}

/* Instagram embed wrap - centers embed inside project card */
.instagram-embed-wrap {
  background: var(--bg-soft);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0;
  min-height: 300px;
  position: relative;
}

.instagram-embed-wrap blockquote.instagram-media {
  margin: 0 auto !important;
  width: 100% !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

/* Loading state placeholder while Instagram script loads */
.instagram-embed-wrap blockquote.instagram-media:not([data-instgrm-payload-id]) {
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #833AB4 0%, #C13584 25%, #E1306C 50%, #FD1D1D 75%, #F77737 100%) !important;
  position: relative;
}

.instagram-embed-wrap blockquote.instagram-media:not([data-instgrm-payload-id])::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 4rem;
  height: 4rem;
  border: 4px solid rgba(255, 255, 255, 0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: igLoadSpin 1s linear infinite;
}

@keyframes igLoadSpin {
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

.service-card-link:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.1);
}

.service-card-link:hover img {
  transform: scale(1.05);
}

.service-card-link:hover .service-cta {
  background: var(--primary);
  color: #fff;
}

.instagram-fallback {
  text-align: center;
  padding: 2rem;
  border: 1px dashed var(--border-strong);
  border-radius: var(--r-lg);
  background: var(--card);
  max-width: 36rem;
  margin: 0 auto;
}

.btn-instagram {
  background: linear-gradient(135deg, #E1306C, #C13584);
  color: #fff;
}

.btn-instagram:hover {
  background: linear-gradient(135deg, #C13584, #833AB4);
}


/* ── 31. LEGAL PAGES ────────────────────────────────────────────── */

.legal-content { max-width: 50rem; }

.legal-section { margin-bottom: 2.5rem; }
.legal-section:last-child { margin-bottom: 0; }
.legal-section h2 { font-size: 1.5rem; margin-bottom: 1rem; }
.legal-section p { color: var(--text-soft); line-height: 1.7; margin-bottom: 0.75rem; }


/* ── 32. ANIMATIONS (scroll-revealed) ────────────────────────────── */

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}


/* ── 33. UTILITIES ───────────────────────────────────────────────── */

.hidden       { display: none !important; }
.text-center  { text-align: center; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-4 { margin-top: 2rem; }
.mb-2 { margin-bottom: 1rem; }

@media (max-width: 639px) { .hide-mobile { display: none !important; } }
@media (min-width: 640px) { .show-mobile { display: none !important; } }


/* ── 34. PRINT ──────────────────────────────────────────────────── */

@media print {
  .header, .footer, .whatsapp-float, .cookie-banner, .lang-switcher { display: none !important; }
  body { color: #000; background: #fff; }
}
