/* =========================================================
   Waked Tech — wakedtech.com
   Brand: green + amber on warm paper / deep ink
   ========================================================= */

:root {
  --green: #12924f;
  --green-600: #0b7a40;
  --green-700: #085e31;
  --green-050: #eaf7f0;
  --amber: #f5a623;
  --amber-600: #e0910e;
  --amber-050: #fff4dc;
  --ink: #0b1712;
  --ink-2: #13251c;
  --paper: #fbfbf8;
  --card: #ffffff;
  --line: #e5e9e2;
  --muted: #5a6a60;
  --wa: #1fa855;
  --wa-dark: #178a46;
  --radius: 22px;
  --shadow-sm: 0 1px 2px rgba(11, 23, 18, 0.05), 0 8px 24px -12px rgba(11, 23, 18, 0.18);
  --shadow-lg: 0 24px 60px -28px rgba(11, 23, 18, 0.35);
  --font-ar: "Cairo", "Segoe UI", Tahoma, sans-serif;
  --font-en: "Sora", "Segoe UI", Tahoma, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-ar);
  font-size: 16.5px;
  line-height: 1.8;
  color: var(--ink);
  background: var(--paper);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

html[lang="en"] body {
  font-family: var(--font-en);
  font-size: 16px;
  line-height: 1.65;
}

img { max-width: 100%; height: auto; display: block; }
svg { display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
p { margin: 0; }
h1, h2, h3, h4 { margin: 0; font-weight: 800; line-height: 1.3; }
button { font: inherit; color: inherit; }

::selection { background: var(--amber); color: var(--ink); }

:focus-visible {
  outline: 3px solid var(--amber);
  outline-offset: 3px;
  border-radius: 6px;
}

.container {
  width: min(1180px, 100% - 40px);
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: -100px;
  inset-inline-start: 16px;
  z-index: 200;
  background: var(--ink);
  color: #fff;
  padding: 10px 18px;
  border-radius: 10px;
  transition: top 0.2s ease;
}
.skip-link:focus { top: 14px; }

.icon { width: 20px; height: 20px; flex: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 24px;
  border-radius: 999px;
  border: 1.5px solid transparent;
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1.2;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-sm { padding: 10px 18px; font-size: 0.9rem; }
.btn-block { width: 100%; }

.btn-primary { background: var(--green); color: #fff; box-shadow: 0 10px 24px -12px rgba(18, 146, 79, 0.7); }
.btn-primary:hover { background: var(--green-600); }

.btn-wa { background: var(--wa); color: #fff; box-shadow: 0 10px 24px -12px rgba(31, 168, 85, 0.75); }
.btn-wa:hover { background: var(--wa-dark); }

.btn-ghost { background: #fff; border-color: var(--line); color: var(--ink); }
.btn-ghost:hover { border-color: var(--green); color: var(--green-600); }

.btn-amber { background: var(--amber); color: var(--ink); box-shadow: 0 12px 30px -14px rgba(245, 166, 35, 0.9); }
.btn-amber:hover { background: #ffb63c; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(251, 251, 248, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}
.site-header.scrolled {
  background: rgba(255, 255, 255, 0.92);
  border-bottom-color: var(--line);
  box-shadow: 0 8px 30px -24px rgba(11, 23, 18, 0.4);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 22px;
  min-height: 78px;
}

.brand { display: inline-flex; align-items: center; gap: 12px; flex: none; }
.brand img {
  height: 38px;
  width: auto;
  max-width: 150px;
  object-fit: contain;
  border-radius: 6px;
  background: #fff;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.25; }
.brand-text strong { font-family: var(--font-en); font-size: 1.12rem; letter-spacing: -0.01em; }
.brand-text small { color: var(--muted); font-size: 0.7rem; font-weight: 600; }

.site-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-inline-start: auto;
}
.site-nav a {
  font-weight: 700;
  font-size: 0.93rem;
  color: #33443a;
  position: relative;
  padding-block: 6px;
}
.site-nav a::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--green);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.25s ease;
}
.site-nav a:hover { color: var(--green-600); }
.site-nav a:hover::after { transform: scaleX(1); }

.header-actions { display: flex; align-items: center; gap: 10px; margin-inline-start: auto; }
.site-nav + .header-actions { margin-inline-start: 0; }

.lang-btn {
  border: 1.5px solid var(--line);
  background: #fff;
  border-radius: 999px;
  padding: 8px 14px;
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease;
}
.lang-btn:hover { border-color: var(--green); color: var(--green-600); }

.menu-btn {
  display: none;
  width: 44px;
  height: 44px;
  border: 1.5px solid var(--line);
  background: #fff;
  border-radius: 12px;
  padding: 0;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.menu-btn span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Shared section bits ---------- */
.section { padding-block: clamp(64px, 8vw, 110px); }
.section-soft { background: linear-gradient(180deg, #f3f7f2 0%, #f9fbf7 100%); }
.section-dark {
  background:
    radial-gradient(55% 60% at 85% 10%, rgba(245, 166, 35, 0.14), transparent 60%),
    radial-gradient(45% 55% at 5% 90%, rgba(18, 146, 79, 0.22), transparent 60%),
    var(--ink);
  color: #f2f7f3;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 14px;
  color: var(--green-600);
  font-weight: 800;
  font-size: 0.8rem;
}
.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 0 4px rgba(245, 166, 35, 0.16);
}
html[lang="en"] .eyebrow { text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.72rem; }
.eyebrow-light { color: #a9e3c4; }

h2 { font-size: clamp(1.85rem, 3.4vw, 2.8rem); letter-spacing: 0; text-wrap: balance; }
html[lang="en"] h2 { letter-spacing: -0.02em; line-height: 1.15; }
html[lang="ar"] h2 { line-height: 1.42; }

.section-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head p:not(.eyebrow) { color: var(--muted); margin-top: 14px; max-width: 60ch; }
.section-dark .section-head p:not(.eyebrow) { color: #b7c9be; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding-block: clamp(42px, 6vw, 84px) clamp(52px, 7vw, 96px);
  background:
    radial-gradient(58% 60% at 88% 0%, rgba(245, 166, 35, 0.16), transparent 62%),
    radial-gradient(50% 55% at 0% 35%, rgba(18, 146, 79, 0.11), transparent 60%),
    var(--paper);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(11, 23, 18, 0.045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(11, 23, 18, 0.045) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(60% 60% at 70% 30%, #000 0%, transparent 75%);
  -webkit-mask-image: radial-gradient(60% 60% at 70% 30%, #000 0%, transparent 75%);
  pointer-events: none;
}
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: clamp(32px, 5vw, 64px);
}
.hero-grid > * { min-width: 0; }

.hero h1 {
  font-size: clamp(2.1rem, 4.7vw, 3.55rem);
  font-weight: 900;
  line-height: 1.32;
  margin-bottom: 20px;
  text-wrap: balance;
}
html[lang="en"] .hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.85rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
}
.accent {
  color: var(--green-600);
  text-decoration: underline;
  text-decoration-color: rgba(245, 166, 35, 0.6);
  text-decoration-thickness: 0.13em;
  text-underline-offset: 0.14em;
  text-decoration-skip-ink: none;
}
.hero .lead {
  color: #41534a;
  font-size: 1.06rem;
  max-width: 58ch;
  margin-bottom: 30px;
}
html[lang="en"] .hero .lead { font-size: 1.04rem; }

.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 26px; }

.trust-chips { display: flex; flex-wrap: wrap; gap: 8px 10px; }
.trust-chips li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.82rem;
  font-weight: 700;
  color: #33443a;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid var(--line);
  padding: 7px 13px;
  border-radius: 999px;
}
.trust-chips li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
}

/* Hero art */
.hero-art { position: relative; }
.art-card {
  position: relative;
  border-radius: 30px;
  box-shadow: var(--shadow-lg);
  transform: rotate(0.6deg);
}
.art-svg { width: 100%; height: auto; border-radius: 30px; }
.art-img { width: 100%; aspect-ratio: 56 / 50; object-fit: cover; border-radius: 30px; }
.sun-core { transform-box: fill-box; transform-origin: center; animation: sunPulse 7s ease-in-out infinite; }
@keyframes sunPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.045); }
}
.panel-shine { opacity: 0.35; animation: shine 9s ease-in-out infinite; }
@keyframes shine {
  0%, 100% { opacity: 0.18; }
  50% { opacity: 0.5; }
}

.art-badge {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding-block: 7px;
  padding-inline: 8px 14px;
  background: rgba(255, 255, 255, 0.96);
  border-radius: 999px;
  box-shadow: 0 14px 30px -16px rgba(11, 23, 18, 0.5);
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--ink);
  white-space: nowrap;
  backdrop-filter: blur(4px);
}
.badge-ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--green-050);
  color: var(--green-600);
  flex: none;
}
.badge-ico svg { width: 16px; height: 16px; }
.badge-ico-amber { background: var(--amber-050); color: var(--amber-600); }
.badge-ico-green { background: #e6f6ec; color: var(--green); }

.badge-a { top: 9%; inset-inline-start: -5%; animation: floatA 6s ease-in-out infinite; }
.badge-b { bottom: 24%; inset-inline-start: -7%; animation: floatB 7s ease-in-out infinite; }
.badge-c { bottom: 5%; inset-inline-end: 4%; animation: floatA 8s ease-in-out infinite reverse; }
@keyframes floatA {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-9px); }
}
@keyframes floatB {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(8px); }
}

/* ---------- Marquee ---------- */
.marquee {
  direction: ltr;
  overflow: hidden;
  background: var(--ink);
  border-block: 1px solid rgba(255, 255, 255, 0.07);
  padding-block: 16px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 48s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee ul { display: flex; }
.marquee li {
  display: flex;
  align-items: center;
  white-space: nowrap;
  color: #d3e7db;
  font-weight: 600;
  font-size: 0.92rem;
  direction: rtl;
}
.marquee li::after {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--amber);
  margin-inline: 26px;
  opacity: 0.85;
  flex: none;
}
@keyframes marquee {
  to { transform: translateX(-50%); }
}

/* ---------- Service cards ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.card {
  position: relative;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  overflow: hidden;
}
.card::before {
  content: "";
  position: absolute;
  inset-block-start: 0;
  inset-inline: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--green), var(--amber));
  opacity: 0;
  transition: opacity 0.25s ease;
}
.card:hover { transform: translateY(-5px); box-shadow: 0 26px 50px -30px rgba(11, 23, 18, 0.45); border-color: #d7e4db; }
.card:hover::before { opacity: 1; }

.card-ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: 16px;
  background: var(--green-050);
  color: var(--green-600);
  margin-bottom: 18px;
}
.card-ico svg { width: 26px; height: 26px; }
.card-ico-green { background: var(--green-050); color: var(--green-600); }
.card-ico-amber { background: var(--amber-050); color: var(--amber-600); }
.card-ico-blue { background: #e8f1fb; color: #2f6fb3; }
.card-ico-orange { background: #fdeee4; color: #d2682a; }
.card-ico-purple { background: #f0ecfb; color: #6b53c4; }
.card-ico-pink { background: #fcecf0; color: #c04b6b; }

.card h3 { font-size: 1.18rem; margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 0.94rem; }
.tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 18px; }
.tags li {
  font-size: 0.74rem;
  font-weight: 700;
  color: #47604f;
  background: #f2f6f2;
  border: 1px solid #e7eee8;
  padding: 4px 10px;
  border-radius: 999px;
}

/* ---------- Projects ---------- */
.projects-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(36px, 5vw, 72px);
  align-items: start;
}
.projects-grid > * { min-width: 0; }
.projects-copy h2 { margin-bottom: 18px; }
.projects-copy p:not(.eyebrow) { color: #b7c9be; margin-bottom: 28px; max-width: 46ch; }
.project-cards { display: grid; gap: 14px; }
.project-card {
  position: relative;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  padding: 24px 26px;
  transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}
.project-card:hover { background: rgba(255, 255, 255, 0.075); border-color: rgba(245, 166, 35, 0.45); transform: translateY(-3px); }
.project-card h3 { font-size: 1.1rem; margin-bottom: 6px; color: #fff; }
.project-card p { color: #adc2b6; font-size: 0.92rem; }
.project-num {
  position: absolute;
  inset-block-start: 22px;
  inset-inline-end: 24px;
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 0.8rem;
  color: var(--amber);
  opacity: 0.85;
}

/* ---------- Why ---------- */
.why-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(36px, 5vw, 72px);
  align-items: start;
}
.why-grid > * { min-width: 0; }
.why-grid h2 { margin-bottom: 12px; max-width: 20ch; }
.why-list { margin-top: 30px; }
.why-list li {
  display: flex;
  gap: 18px;
  padding-block: 20px;
  border-top: 1px solid var(--line);
}
.why-list li:last-child { border-bottom: 1px solid var(--line); }
.why-num {
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--amber-600);
  padding-top: 5px;
  flex: none;
  width: 30px;
}
.why-list h3 { font-size: 1.06rem; margin-bottom: 4px; }
.why-list p { color: var(--muted); font-size: 0.92rem; max-width: 46ch; }

.trust-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 26px;
  padding: 30px;
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}
.trust-card::before {
  content: "";
  position: absolute;
  inset-block-start: 0;
  inset-inline: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--green), var(--amber));
}
.trust-card-top { display: flex; align-items: center; gap: 16px; margin-bottom: 18px; }
.trust-card-top img {
  height: 48px;
  width: auto;
  max-width: 130px;
  object-fit: contain;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: #fff;
  padding: 4px 6px;
}
.trust-kicker { font-size: 0.75rem; font-weight: 800; color: var(--green-600); letter-spacing: 0.02em; }
.trust-brand { font-family: var(--font-en); font-weight: 800; font-size: 1.12rem; }
.trust-card > p { color: var(--muted); font-size: 0.93rem; margin-bottom: 18px; }
.check-list { display: grid; gap: 10px; margin-bottom: 24px; }
.check-list li { display: flex; gap: 10px; align-items: flex-start; font-size: 0.92rem; font-weight: 600; }
.check-list li::before {
  content: "";
  width: 18px;
  height: 18px;
  flex: none;
  margin-top: 3px;
  border-radius: 50%;
  background: var(--green-050) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 12.5 4 4 8-9' fill='none' stroke='%2312924f' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 13px no-repeat;
}

/* ---------- Steps ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  counter-reset: step;
}
.steps li {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 26px 24px;
  position: relative;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.steps li:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); }
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--green-050);
  color: var(--green-600);
  font-family: var(--font-en);
  font-weight: 800;
  font-size: 1rem;
  margin-bottom: 16px;
}
.steps li:nth-child(even) .step-num { background: var(--amber-050); color: var(--amber-600); }
.steps h3 { font-size: 1.02rem; margin-bottom: 6px; }
.steps p { color: var(--muted); font-size: 0.9rem; }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 20px;
  align-items: stretch;
}
.contact-grid > * { min-width: 0; }
.contact-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 26px;
  padding: 30px;
  box-shadow: var(--shadow-sm);
}
.contact-list li {
  display: flex;
  gap: 15px;
  padding-block: 17px;
  border-bottom: 1px dashed #e6ebe5;
}
.contact-list li:first-child { padding-top: 0; }
.contact-list li:last-child { border-bottom: 0; }
.contact-ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  flex: none;
  border-radius: 13px;
  background: #f1f5f1;
  color: #3c5145;
}
.contact-ico svg { width: 21px; height: 21px; }
.contact-ico-wa { background: #e6f7ed; color: var(--wa); }
.contact-ico-amber { background: var(--amber-050); color: var(--amber-600); }
.contact-ico-green { background: var(--green-050); color: var(--green-600); }
.contact-ico-blue { background: #e8f1fb; color: #2f6fb3; }
.contact-label { display: block; font-size: 0.76rem; font-weight: 700; color: var(--muted); margin-bottom: 2px; }
.contact-list a, .contact-list div > p { font-weight: 700; font-size: 1rem; word-break: break-word; }
.contact-list a:hover { color: var(--green-600); }
.contact-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }

.map-wrap {
  position: relative;
  min-height: 420px;
  border-radius: 26px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  background: #e9eee9;
}
.map-wrap iframe { width: 100%; height: 100%; min-height: 420px; border: 0; display: block; }
.map-link {
  position: absolute;
  inset-block-end: 14px;
  inset-inline-end: 14px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 9px 15px;
  font-size: 0.82rem;
  font-weight: 700;
  box-shadow: 0 10px 24px -14px rgba(11, 23, 18, 0.5);
}
.map-link:hover { color: var(--green-600); border-color: var(--green); }
.map-link .icon { width: 15px; height: 15px; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink);
  color: #d6e5db;
  padding-top: clamp(48px, 6vw, 72px);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1.1fr 0.9fr;
  gap: 40px;
  padding-bottom: 46px;
}
.brand-light .brand-text strong { color: #fff; }
.brand-light .brand-text small { color: #93ab9d; }
.brand-light img { background: #fff; padding: 5px 7px; height: 44px; border-radius: 8px; }
.footer-brand p { color: #9db2a5; font-size: 0.9rem; margin-top: 16px; max-width: 38ch; }
.footer-col h4 { font-size: 0.92rem; color: #fff; margin-bottom: 14px; }
.footer-col a, .footer-col p { display: block; color: #a9bdb0; font-size: 0.9rem; margin-bottom: 9px; }
.footer-col a:hover { color: var(--amber); }
.socials { display: flex; gap: 9px; margin-top: 4px; }
.socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #d6e5db;
  margin: 0;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.socials a:hover { background: var(--green); border-color: var(--green); color: #fff; transform: translateY(-2px); }
.socials svg { width: 19px; height: 19px; }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  padding-block: 22px 26px;
  color: #8ba294;
  font-size: 0.82rem;
}
.footer-note { color: #8ba294; }

/* ---------- Floating WhatsApp ---------- */
.float-wa {
  position: fixed;
  inset-block-end: 20px;
  inset-inline-end: 20px;
  z-index: 90;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--wa);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 14px 30px -10px rgba(31, 168, 85, 0.7);
  transition: transform 0.2s ease, background 0.2s ease;
}
.float-wa:hover { transform: scale(1.06); background: var(--wa-dark); }
.float-wa svg { width: 28px; height: 28px; }
.float-wa::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid var(--wa);
  animation: ring 2.6s ease-out infinite;
  pointer-events: none;
}
@keyframes ring {
  0% { transform: scale(1); opacity: 0.65; }
  100% { transform: scale(1.55); opacity: 0; }
}

/* ---------- Reveal ---------- */
.js .reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s cubic-bezier(0.2, 0.7, 0.2, 1), transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .footer-col:last-child { grid-column: 1 / -1; }
}

@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { max-width: 640px; }
  .hero-art { max-width: 520px; width: 100%; margin-inline: auto; }
  .badge-a { inset-inline-start: 0; }
  .badge-b { inset-inline-start: -2%; }

  .projects-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .trust-card { max-width: 560px; }
  .contact-grid { grid-template-columns: 1fr; }
  .map-wrap, .map-wrap iframe { min-height: 360px; }
}

@media (max-width: 860px) {
  .menu-btn { display: flex; }
  .site-nav {
    position: absolute;
    inset-block-start: calc(100% + 8px);
    inset-inline: 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 12px;
    box-shadow: var(--shadow-lg);
    margin: 0;
  }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 12px 14px; border-radius: 10px; }
  .site-nav a::after { display: none; }
  .site-nav a:hover { background: #f3f8f4; }
  .header-cta { display: none; }
  .header-actions { gap: 8px; }
}

@media (max-width: 640px) {
  .container { width: min(1180px, 100% - 32px); }
  body { font-size: 16px; }
  .brand-text small { display: none; }
  .brand img { height: 32px; width: auto; }
  .header-inner { min-height: 70px; }

  .hero h1 { font-size: clamp(1.95rem, 8.6vw, 2.7rem); }
  html[lang="en"] .hero h1 { font-size: clamp(2rem, 8.6vw, 2.6rem); }
  .accent { white-space: normal; }
  .hero .lead { font-size: 0.98rem; }
  .hero-cta .btn { flex: 1 1 auto; }

  .art-badge { font-size: 0.72rem; padding-inline: 6px 11px; }
  .badge-ico { width: 24px; height: 24px; }
  .badge-ico svg { width: 14px; height: 14px; }
  .badge-a { top: 4%; inset-inline-start: -4px; }
  .badge-b { bottom: 20%; inset-inline-start: -6px; }
  .badge-c { bottom: 2%; inset-inline-end: 0; }

  .cards { grid-template-columns: 1fr; }
  .card { padding: 24px; }
  .steps { grid-template-columns: 1fr; }
  .project-card { padding: 22px; }
  .project-num { inset-block-start: 20px; }

  .contact-card { padding: 22px; }
  .contact-actions .btn { flex: 1 1 auto; }

  .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-col:last-child { grid-column: auto; }
  .footer-bottom { flex-direction: column; }

  .float-wa { width: 52px; height: 52px; inset-block-end: 16px; inset-inline-end: 16px; }
  .float-wa svg { width: 26px; height: 26px; }
}

@media (max-width: 420px) {
  .footer-grid { grid-template-columns: 1fr; }
  .hero-cta .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .js .reveal { opacity: 1; transform: none; }
}
