/* =====================================================================
   Abu Qusai Construction — Arabic RTL stylesheet
   Brand palette: dark blue + light blue + steel grey
   ===================================================================== */

/* ---------- Tokens ---------- */
:root {
  /* Brand */
  --brand-900: #061a3a;
  --brand-800: #0d2a52;
  --brand-700: #143a72;
  --brand-600: #1d4e9b;
  --brand-500: #2a6cc5;
  --brand-400: #4f8be0;
  --brand-300: #7ea9ec;
  --brand-200: #b3cdf4;
  --brand-100: #e0eafa;

  --accent-500: #f5a623;
  --accent-600: #d98a0a;

  /* Neutrals */
  --ink-900: #0f172a;
  --ink-700: #334155;
  --ink-600: #475569;
  --ink-500: #64748b;
  --ink-400: #94a3b8;
  --ink-300: #cbd5e1;
  --ink-200: #e2e8f0;
  --ink-100: #f1f5f9;
  --ink-50:  #f8fafc;
  --paper:   #ffffff;

  /* Surfaces */
  --bg:        #f5f8fd;
  --bg-alt:    #eef3fb;
  --surface:   #ffffff;
  --line:      #d9e3f1;

  /* Functional */
  --success:  #16a34a;
  --warning:  #f59e0b;
  --danger:   #dc2626;

  /* WhatsApp */
  --wa:       #25d366;
  --wa-dark:  #128c7e;

  /* Effects */
  --shadow-sm: 0 1px 2px rgba(13,42,82,.06), 0 1px 3px rgba(13,42,82,.05);
  --shadow-md: 0 4px 12px rgba(13,42,82,.08), 0 2px 4px rgba(13,42,82,.04);
  --shadow-lg: 0 18px 40px rgba(13,42,82,.12), 0 8px 16px rgba(13,42,82,.06);
  --shadow-xl: 0 30px 80px rgba(13,42,82,.18);

  --radius-sm: 8px;
  --radius:    14px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  /* Layout */
  --container: 1240px;
  --gutter: clamp(16px, 4vw, 32px);

  /* Type */
  --font-cairo: "Cairo", "Tajawal", "IBM Plex Sans Arabic", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-tajawal: "Tajawal", "Cairo", system-ui, sans-serif;

  /* Motion */
  --ease: cubic-bezier(.4,.0,.2,1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-cairo);
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink-900);
  background: var(--bg);
  direction: rtl;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; display: block; }
input, select, textarea { max-width: 100%; }
.grid > *, [class*="grid"] > * { min-width: 0; }
a { color: var(--brand-700); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--brand-500); }
button { font-family: inherit; cursor: pointer; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0 0 .6em; line-height: 1.25; font-weight: 800; color: var(--brand-900); }
h1 { font-size: clamp(2rem, 4.8vw, 3.4rem); letter-spacing: -.02em; }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.4rem); letter-spacing: -.01em; }
h3 { font-size: 1.25rem; }
h4 { font-size: 1.05rem; }
p  { margin: 0 0 1em; color: var(--ink-700); }
input, select, textarea { font-family: inherit; font-size: 1rem; color: inherit; }

::selection { background: var(--brand-200); color: var(--brand-900); }

/* ---------- Accessibility ---------- */
.skip-link {
  position: absolute; top: -100px; right: 16px;
  background: var(--brand-800); color: #fff;
  padding: 10px 16px; border-radius: var(--radius-sm);
  z-index: 1000;
}
.skip-link:focus { top: 16px; }

/* ---------- Layout helpers ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.section { padding: clamp(60px, 8vw, 110px) 0; position: relative; }
.section-head { text-align: center; max-width: 760px; margin-inline: auto; margin-bottom: clamp(36px, 5vw, 60px); }
.eyebrow {
  display: inline-block;
  padding: 6px 16px;
  background: var(--brand-100);
  color: var(--brand-700);
  font-weight: 700;
  font-size: .85rem;
  border-radius: 999px;
  margin-bottom: 14px;
  letter-spacing: .03em;
}
.section-title { margin-bottom: 14px; }
.section-sub { color: var(--ink-600); font-size: 1.05rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 24px;
  border-radius: 999px;
  border: 2px solid transparent;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease), color .2s var(--ease);
  white-space: nowrap;
}
.btn-lg { padding: 15px 30px; font-size: 1.05rem; }
.btn-primary {
  background: linear-gradient(135deg, var(--brand-700), var(--brand-500));
  color: #fff;
  box-shadow: 0 10px 24px -10px var(--brand-700);
}
.btn-primary:hover {
  background: linear-gradient(135deg, var(--brand-800), var(--brand-600));
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 14px 30px -10px var(--brand-700);
}
.btn-whatsapp {
  background: var(--wa);
  color: #fff;
  box-shadow: 0 10px 24px -10px var(--wa-dark);
}
.btn-whatsapp:hover {
  background: var(--wa-dark);
  color: #fff;
  transform: translateY(-2px);
}
.btn-outline {
  background: transparent;
  color: var(--brand-800);
  border-color: var(--brand-300);
}
.btn-outline:hover { background: var(--brand-100); color: var(--brand-900); }

/* ---------- Top bar ---------- */
.topbar {
  background: var(--brand-900);
  color: rgba(255,255,255,.9);
  font-size: .82rem;
  padding: 8px 0;
}
.topbar-inner {
  display: flex; flex-wrap: wrap; gap: 12px;
  align-items: center; justify-content: space-between;
}
.topbar-info { display: flex; flex-wrap: wrap; gap: 18px; }
.topbar-item, .topbar-link {
  display: inline-flex; align-items: center; gap: 6px;
  color: rgba(255,255,255,.85);
}
.topbar-link:hover { color: #fff; }
.topbar svg { color: var(--brand-300); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 80;
  background: rgba(255,255,255,.95);
  backdrop-filter: saturate(180%) blur(10px);
  -webkit-backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .25s var(--ease), background .25s var(--ease);
}
.site-header.is-scrolled {
  box-shadow: var(--shadow-md);
  background: rgba(255,255,255,.98);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px;
  padding: 14px var(--gutter);
}
.logo {
  display: flex; align-items: center; gap: 12px;
  color: var(--brand-900);
}
.logo img { width: 52px; height: 52px; object-fit: contain; }
.logo-text { display: flex; flex-direction: column; line-height: 1.2; }
.logo-text strong { font-size: 1.05rem; font-weight: 800; }
.logo-text small { font-size: .75rem; color: var(--ink-500); }

.main-nav { display: flex; align-items: center; gap: 18px; }
.main-nav > ul { display: flex; gap: 4px; align-items: center; }
.main-nav > ul > li > a {
  display: inline-block;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  color: var(--ink-800);
  position: relative;
}
.main-nav > ul > li > a:hover { color: var(--brand-700); background: var(--brand-100); }
.main-nav > ul > li > a.active { color: var(--brand-700); }
.main-nav > ul > li > a.active::after {
  content: ""; position: absolute; bottom: 2px; right: 50%;
  transform: translateX(50%);
  width: 22px; height: 3px; border-radius: 3px;
  background: var(--brand-500);
}
.nav-cta { font-size: .9rem; padding: 10px 18px; }

.menu-toggle {
  display: none;
  width: 44px; height: 44px;
  border: 1px solid var(--line);
  background: var(--paper);
  border-radius: var(--radius-sm);
  flex-direction: column; justify-content: center; align-items: center; gap: 4px;
  padding: 0;
}
.menu-toggle span {
  width: 22px; height: 2px; background: var(--brand-900); border-radius: 2px;
  transition: transform .25s var(--ease), opacity .25s var(--ease);
}
.menu-toggle.is-open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-toggle.is-open span:nth-child(2) { opacity: 0; }
.menu-toggle.is-open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: linear-gradient(180deg, #f0f5fc 0%, #e3edf9 100%);
  overflow: hidden;
  padding-top: clamp(40px, 6vw, 80px);
  padding-bottom: clamp(50px, 7vw, 100px);
}
.hero-bg {
  position: absolute; inset: 0;
  background-image: url('../images/warehouse-blue.webp');
  background-size: cover;
  background-position: center;
  opacity: .13;
  filter: saturate(1.1);
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,.4), rgba(255,255,255,0) 60%);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  display: grid; gap: 48px;
  grid-template-columns: 1.05fr .95fr;
  align-items: center;
}
.hero-content { padding: 10px 0; min-width: 0; }
.hero-visual { min-width: 0; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(13,42,82,.08);
  border: 1px solid rgba(13,42,82,.15);
  color: var(--brand-800);
  padding: 8px 16px;
  border-radius: 999px;
  font-weight: 700;
  font-size: .82rem;
  margin-bottom: 20px;
}
.hero-title { font-weight: 900; margin-bottom: 18px; }
.hero-title .hl {
  background: linear-gradient(135deg, var(--brand-600), var(--brand-400));
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
.hero-desc { font-size: 1.08rem; color: var(--ink-700); margin-bottom: 28px; max-width: 56ch; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 36px; }

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  max-width: 540px;
  background: rgba(255,255,255,.7);
  border: 1px solid rgba(13,42,82,.08);
  border-radius: var(--radius-lg);
  padding: 18px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.hero-stats li { text-align: center; }
.hero-stats strong {
  display: block;
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--brand-800);
  margin-bottom: 2px;
}
.hero-stats span { font-size: .78rem; color: var(--ink-500); }

.hero-visual {
  position: relative;
  perspective: 1200px;
}
.hero-card {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  transform: rotate(-1.2deg);
  background: var(--paper);
}
.hero-card img { width: 100%; height: auto; aspect-ratio: 16/10; object-fit: cover; }
.hero-card-badge {
  position: absolute; top: 20px; right: 20px;
  background: var(--success);
  color: #fff;
  padding: 8px 14px;
  border-radius: 999px;
  font-weight: 700;
  font-size: .85rem;
  display: inline-flex; align-items: center; gap: 6px;
  box-shadow: var(--shadow-md);
}
.hero-card-sm {
  position: absolute; left: -30px; bottom: -40px;
  width: 200px;
  transform: rotate(6deg);
  box-shadow: var(--shadow-lg);
  border-radius: var(--radius);
  display: none;
}

.hero-strip {
  margin-top: clamp(40px, 6vw, 80px);
  background: linear-gradient(135deg, var(--brand-900), var(--brand-700));
  color: rgba(255,255,255,.95);
  padding: 14px 0;
  overflow: hidden;
  position: relative;
  max-width: 100%;
}
.hero-strip-track {
  display: inline-flex; gap: 24px;
  white-space: nowrap;
  animation: scrollStrip 28s linear infinite;
  padding-inline: 24px;
  font-weight: 700;
  font-size: .92rem;
  will-change: transform;
}
.hero-strip-track span { letter-spacing: .04em; }
@keyframes scrollStrip {
  0%   { transform: translateX(0); }
  100% { transform: translateX(50%); }
}

/* ---------- Services ---------- */
.section-services { background: var(--paper); }
.services-grid {
  display: grid; gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}
.service-card {
  --reveal-delay: 0ms;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 30px 28px;
  position: relative;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
  overflow: hidden;
}
.service-card::before {
  content: ""; position: absolute;
  top: 0; right: 0; left: 0; height: 4px;
  background: linear-gradient(90deg, var(--brand-500), var(--brand-300));
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .35s var(--ease);
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--brand-200);
}
.service-card:hover::before { transform: scaleX(1); }
.service-icon {
  width: 70px; height: 70px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--brand-100), #fff);
  color: var(--brand-700);
  margin-bottom: 18px;
  box-shadow: inset 0 0 0 1px var(--brand-200);
}
.service-card h3 { font-size: 1.25rem; margin-bottom: 10px; }
.service-card p {
  color: var(--ink-700);
  font-size: .96rem;
  margin-bottom: 16px;
  line-height: 1.85;
}
.service-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.service-tags li {
  background: var(--brand-100);
  color: var(--brand-800);
  padding: 4px 12px;
  border-radius: 999px;
  font-size: .78rem;
  font-weight: 600;
}
.service-cta {
  background: linear-gradient(135deg, var(--brand-800), var(--brand-600));
  color: #fff;
  display: flex; flex-direction: column; justify-content: center;
  border: none;
  text-align: center;
  align-items: center;
}
.service-cta::before { display: none; }
.service-cta h3 { color: #fff; font-size: 1.4rem; }
.service-cta p { color: rgba(255,255,255,.9); }
.service-cta .btn-primary {
  background: var(--accent-500);
  box-shadow: 0 10px 24px -10px rgba(0,0,0,.4);
}
.service-cta .btn-primary:hover { background: var(--accent-600); }

/* ---------- Why Us ---------- */
.section-why {
  background: linear-gradient(180deg, #f4f8fe 0%, #e9f1fb 100%);
}
.why-grid {
  display: grid; gap: 48px;
  grid-template-columns: 1fr 1fr;
  align-items: center;
}
.why-visual {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  min-width: 0;
}
.why-content { min-width: 0; }
.why-visual img { width: 100%; height: auto; aspect-ratio: 4/3; object-fit: cover; }
.why-stats {
  position: absolute; bottom: 24px; right: 24px;
  display: flex; gap: 12px;
}
.why-stat {
  background: rgba(255,255,255,.95);
  padding: 14px 22px;
  border-radius: var(--radius);
  text-align: center;
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(6px);
}
.why-stat strong { display: block; font-size: 1.6rem; color: var(--brand-700); font-weight: 900; }
.why-stat span { font-size: .8rem; color: var(--ink-500); }
.why-list { display: grid; gap: 16px; margin-top: 24px; }
.why-list li {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 14px;
  padding: 14px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform .2s var(--ease), border-color .2s var(--ease);
}
.why-list li:hover { transform: translateX(-4px); border-color: var(--brand-300); }
.why-icon {
  width: 44px; height: 44px;
  background: var(--brand-100);
  color: var(--brand-700);
  border-radius: 12px;
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.why-list h4 { font-size: 1.05rem; margin-bottom: 4px; }
.why-list p { margin: 0; color: var(--ink-600); font-size: .92rem; }

/* ---------- Projects ---------- */
.section-projects { background: var(--paper); }
.projects-grid {
  display: grid; gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}
.project-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: block;
  background: var(--brand-100);
  aspect-ratio: 4/3;
  box-shadow: var(--shadow-md);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.project-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
}
.project-card img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .5s var(--ease);
}
.project-card:hover img { transform: scale(1.06); }
.project-overlay {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 20px;
  background: linear-gradient(180deg, transparent 40%, rgba(6,26,58,.85));
  color: #fff;
}
.project-tag {
  display: inline-block;
  width: max-content;
  background: var(--brand-500);
  color: #fff;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: .75rem;
  font-weight: 700;
  margin-bottom: 10px;
}
.project-overlay h3 { color: #fff; font-size: 1.1rem; margin-bottom: 4px; }
.project-overlay p { color: rgba(255,255,255,.85); margin: 0; font-size: .88rem; }

/* ---------- Process ---------- */
.section-process {
  background: linear-gradient(180deg, var(--brand-900), var(--brand-800));
  color: #fff;
}
.section-process .section-title { color: #fff; }
.section-process .section-head { color: rgba(255,255,255,.85); }
.section-process .eyebrow {
  background: rgba(255,255,255,.12);
  color: var(--brand-200);
}
.process-list {
  display: grid; gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  counter-reset: step;
}
.process-list li {
  --reveal-delay: 0ms;
  position: relative;
  padding: 26px 22px 22px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(6px);
  transition: background .25s var(--ease), transform .25s var(--ease);
}
.process-list li:hover { background: rgba(255,255,255,.1); transform: translateY(-4px); }
.process-num {
  position: absolute;
  top: -22px; right: 22px;
  width: 48px; height: 48px;
  background: linear-gradient(135deg, var(--accent-500), var(--accent-600));
  color: #fff;
  border-radius: 14px;
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 900; font-size: 1.2rem;
  box-shadow: 0 10px 24px -10px rgba(0,0,0,.5);
}
.process-list h4 { color: #fff; margin-bottom: 6px; }
.process-list p { color: rgba(255,255,255,.85); margin: 0; font-size: .94rem; }

/* ---------- Contact ---------- */
.section-contact { background: var(--bg); }
.contact-grid {
  display: grid; gap: 40px;
  grid-template-columns: 1fr 1fr;
  align-items: start;
}
.contact-info { padding-top: 10px; min-width: 0; }
.contact-list { display: grid; gap: 14px; margin-top: 24px; }
.contact-list li {
  display: grid; grid-template-columns: 50px 1fr; gap: 14px;
  padding: 16px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.contact-list li:hover { border-color: var(--brand-300); box-shadow: var(--shadow-sm); }
.contact-ico {
  width: 50px; height: 50px;
  background: linear-gradient(135deg, var(--brand-100), #fff);
  color: var(--brand-700);
  border-radius: 14px;
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.contact-list strong { display: block; color: var(--brand-900); margin-bottom: 4px; font-weight: 700; word-break: break-word; }
.contact-list a, .contact-list span { color: var(--ink-700); font-size: .96rem; word-break: break-word; overflow-wrap: anywhere; }
.contact-list a:hover { color: var(--brand-600); }

.contact-form {
  background: var(--paper);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--line);
  position: relative;
  min-width: 0;
  overflow: hidden;
}
.contact-form h3 { font-size: 1.4rem; margin-bottom: 6px; }
.form-desc { color: var(--ink-500); margin-bottom: 20px; font-size: .94rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { min-width: 0; }
.form-group { margin-bottom: 16px; }
.form-group label {
  display: block; margin-bottom: 6px;
  font-weight: 700; color: var(--brand-900); font-size: .9rem;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--ink-50);
  color: var(--ink-900);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--brand-500);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(42,108,197,.12);
}
.form-group textarea { resize: vertical; min-height: 110px; }
.hp { position: absolute; left: -9999px; opacity: 0; pointer-events: none; }

.btn-submit { width: 100%; justify-content: center; position: relative; }
.btn-spinner {
  width: 18px; height: 18px;
  border: 2px solid rgba(255,255,255,.4);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin .8s linear infinite;
  display: none;
}
.btn-submit.is-loading .btn-text { opacity: .6; }
.btn-submit.is-loading .btn-spinner { display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }

.form-status { margin-top: 14px; font-size: .9rem; }
.form-status.success { color: var(--success); }
.form-status.error   { color: var(--danger); }
.form-status.is-shown { animation: fadeUp .4s var(--ease); }
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--brand-900);
  color: rgba(255,255,255,.85);
  padding-top: 60px;
}
.footer-grid {
  display: grid; gap: 36px;
  grid-template-columns: 1.4fr 1fr 1fr 1.3fr;
  padding-bottom: 40px;
}
.footer-col { min-width: 0; }
.footer-col .logo { color: #fff; margin-bottom: 14px; }
.footer-col .logo img { width: 56px; height: 56px; }
.logo-light .logo-text strong { color: #fff; }
.logo-light .logo-text small { color: rgba(255,255,255,.7); }
.footer-tagline { color: rgba(255,255,255,.75); margin-bottom: 18px; font-size: .94rem; }
.social-row { display: flex; gap: 10px; }
.social-btn {
  width: 42px; height: 42px;
  border-radius: 12px;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,.08);
  color: #fff;
  transition: transform .2s var(--ease), background .2s var(--ease);
}
.social-btn:hover { transform: translateY(-3px); }
.social-whatsapp:hover { background: var(--wa); color: #fff; }
.social-phone:hover   { background: var(--brand-500); color: #fff; }
.social-mail:hover    { background: var(--accent-500); color: #fff; }

.footer-title {
  color: #fff;
  font-size: 1.05rem;
  margin-bottom: 14px;
  position: relative;
  padding-bottom: 10px;
}
.footer-title::after {
  content: ""; position: absolute; bottom: 0; right: 0;
  width: 32px; height: 3px; border-radius: 3px;
  background: var(--brand-400);
}
.footer-links li, .footer-contact li { margin-bottom: 10px; font-size: .94rem; color: rgba(255,255,255,.75); }
.footer-links a { color: rgba(255,255,255,.85); }
.footer-links a:hover { color: #fff; padding-right: 4px; }
.footer-contact .fc-label { color: var(--brand-300); display: inline-block; min-width: 84px; font-weight: 700; }
.footer-contact a { color: rgba(255,255,255,.85); }
.footer-contact a:hover { color: #fff; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 18px 0;
  font-size: .85rem;
  color: rgba(255,255,255,.65);
}
.footer-bottom-inner {
  display: flex; flex-wrap: wrap; gap: 12px;
  align-items: center; justify-content: space-between;
}
.footer-bottom a { color: var(--brand-300); }
.footer-bottom a:hover { color: #fff; }

/* ---------- Floating action buttons ---------- */
.fab-stack {
  position: fixed;
  bottom: 20px;
  left: 20px;
  display: flex; flex-direction: column;
  gap: 12px;
  z-index: 90;
}
.fab {
  width: 56px; height: 56px;
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  color: #fff;
  box-shadow: var(--shadow-lg);
  transition: transform .2s var(--ease);
  position: relative;
}
.fab:hover { transform: scale(1.08); }
.fab-whatsapp { background: var(--wa); }
.fab-call     { background: var(--brand-700); }
.fab-pulse {
  position: absolute; inset: 0;
  border-radius: 50%;
  border: 2px solid var(--wa);
  animation: pulse 2s var(--ease) infinite;
}
@keyframes pulse {
  0%   { transform: scale(1); opacity: .9; }
  100% { transform: scale(1.6); opacity: 0; }
}

/* ---------- Reveal animation ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .6s var(--ease) var(--reveal-delay, 0ms), transform .6s var(--ease) var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}
[data-reveal="left"]  { transform: translateX(-30px); }
[data-reveal="right"] { transform: translateX(30px); }
[data-reveal].is-visible {
  opacity: 1;
  transform: translate(0, 0);
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero-inner,
  .why-grid,
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-card-sm { display: block; }
  .hero-visual { margin-top: 24px; }
}
@media (max-width: 760px) {
  .topbar { display: none; }
  .menu-toggle { display: inline-flex; }
  .main-nav {
    position: fixed;
    top: 0; right: -100%;
    width: min(86vw, 340px);
    height: 100dvh;
    background: var(--paper);
    flex-direction: column;
    align-items: stretch;
    padding: 24px;
    gap: 16px;
    box-shadow: var(--shadow-xl);
    transition: right .35s var(--ease);
    overflow-y: auto;
    z-index: 95;
  }
  .main-nav.is-open { right: 0; }
  .main-nav > ul {
    flex-direction: column;
    gap: 4px;
    align-items: stretch;
  }
  .main-nav > ul > li > a {
    display: block;
    padding: 14px 16px;
    font-size: 1rem;
    border-radius: var(--radius);
  }
  .main-nav .nav-cta { justify-content: center; }
  body.nav-open::before {
    content: ""; position: fixed; inset: 0;
    background: rgba(13,42,82,.5);
    z-index: 90;
  }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-stats { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 460px) {
  .hero-actions .btn { width: 100%; justify-content: center; }
  .why-stats { right: 12px; bottom: 12px; }
  .why-stat { padding: 10px 14px; }
  .contact-form { padding: 22px; }
  .footer-bottom-inner { flex-direction: column; text-align: center; }
}

/* ---------- Print ---------- */
@media print {
  .topbar, .site-header, .hero-strip, .fab-stack, .contact-form, .footer-bottom { display: none; }
  body { background: #fff; }
}
