/* ===========================================================
   HERMON DIGITAL — Premium Black / Red / White Theme
   =========================================================== */

:root {
  --black: #060606;
  --black-soft: #0d0d0d;
  --panel: #141414;
  --panel-2: #1b1b1b;
  --line: #2a2a2a;
  --red: #e10600;
  --red-dark: #a10500;
  --red-light: #ff3d38;
  --white: #ffffff;
  --gray: #a6a6a6;
  --gray-light: #d8d8d8;

  --font-latin: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-fa: 'Vazirmatn', 'Inter', sans-serif;

  --container: 1180px;
  --radius: 14px;
  --transition: 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--black);
  color: var(--white);
  font-family: var(--font-latin);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

html[dir="rtl"] body { font-family: var(--font-fa); }

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

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding-inline: 24px;
}

/* ---------- Utility ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--red-light);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--red);
  display: inline-block;
}

.section { padding: 110px 0; position: relative; }
.section-alt { background: var(--black-soft); }

.section-head { max-width: 640px; margin-bottom: 60px; }
html[dir="rtl"] .section-head { margin-inline-start: auto; margin-inline-end: 0; text-align: right; }

.section-head h2 {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 16px;
}
.section-head p { color: var(--gray); font-size: 17px; max-width: 560px; }

.text-red { color: var(--red-light); }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 32px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  border: 1px solid transparent;
  transition: var(--transition);
  white-space: nowrap;
}
.btn-primary {
  background: var(--red);
  color: var(--white);
  box-shadow: 0 8px 30px -8px rgba(225, 6, 0, 0.6);
}
.btn-primary:hover { background: var(--red-light); transform: translateY(-2px); box-shadow: 0 12px 34px -8px rgba(225,6,0,0.75); }
.btn-outline {
  border-color: var(--line);
  color: var(--white);
  background: transparent;
}
.btn-outline:hover { border-color: var(--red); color: var(--red-light); transform: translateY(-2px); }
.btn-arrow { transition: transform var(--transition); }
.btn:hover .btn-arrow { transform: translateX(4px); }
html[dir="rtl"] .btn:hover .btn-arrow { transform: translateX(-4px) scaleX(-1); }
html[dir="rtl"] .btn-arrow { transform: scaleX(-1); }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0; inset-inline: 0;
  z-index: 999;
  padding: 20px 0;
  transition: background var(--transition), padding var(--transition), border-color var(--transition);
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(6,6,6,0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 12px 0;
  border-color: var(--line);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 20px; }

.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 20px; letter-spacing: -0.02em; }
.logo .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--red); box-shadow: 0 0 14px 3px rgba(225,6,0,0.7); }
.logo-img { height: 30px; width: auto; display: block; }
.footer-brand .logo-img { height: 34px; }
.logo span.accent { color: var(--red-light); }

.main-nav { display: flex; align-items: center; gap: 6px; }
.main-nav a {
  padding: 10px 16px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--gray-light);
  border-radius: 999px;
  transition: var(--transition);
}
.main-nav a:hover, .main-nav a.active { color: var(--white); background: var(--panel-2); }

.header-actions { display: flex; align-items: center; gap: 14px; }
.lang-switch {
  display: flex; align-items: center; gap: 6px;
  border: 1px solid var(--line); border-radius: 999px; padding: 4px;
}
.lang-switch a {
  padding: 6px 12px; font-size: 13px; font-weight: 600; border-radius: 999px; color: var(--gray);
}
.lang-switch a.active { background: var(--red); color: var(--white); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none; border: none; padding: 8px;
}
.nav-toggle span { width: 24px; height: 2px; background: var(--white); border-radius: 2px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 190px 0 120px;
  overflow: hidden;
  isolation: isolate;
}
.hero::after {
  content: "";
  position: absolute;
  bottom: -30%; inset-inline-start: -10%;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(225,6,0,0.15), transparent 70%);
  z-index: -1;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 60px;
  align-items: center;
}
.hero h1 {
  font-size: clamp(36px, 5.6vw, 64px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.08;
  margin-bottom: 24px;
}
.hero p.lead {
  color: var(--gray-light);
  font-size: 18px;
  max-width: 560px;
  margin-bottom: 40px;
}
.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 56px; }

.hero-stats { display: flex; gap: 36px; flex-wrap: wrap; }
.hero-stats .stat b { display: block; font-size: 30px; font-weight: 800; }
.hero-stats .stat span { color: var(--gray); font-size: 13.5px; }

.hero-visual {
  position: relative;
  padding: 34px;
  min-height: 420px;
  display: flex; align-items: center; justify-content: center;
  overflow: visible;
}
.hero-visual::after {
  content: "";
  position: absolute; top: 50%; left: 50%;
  width: 70%; height: 70%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(225,6,0,0.28), transparent 70%);
  filter: blur(30px);
  pointer-events: none;
  z-index: 0;
}
.hero-photo-wrap {
  position: relative;
  z-index: 1;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: floatY 5s ease-in-out infinite;
}
.hero-photo {
  width: 100%;
  max-width: 340px;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 20px 40px rgba(0,0,0,0.55));
  transition: transform 0.5s cubic-bezier(0.22,1,0.36,1);
}
.hero-visual:hover .hero-photo { transform: translateY(-10px) scale(1.04); }
.hero-video {
  width: 100%;
  max-width: 360px;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 20px;
  display: block;
  filter: drop-shadow(0 20px 40px rgba(0,0,0,0.55));
  transition: transform 0.5s cubic-bezier(0.22,1,0.36,1);
}
.hero-visual:hover .hero-video { transform: translateY(-10px) scale(1.04); }
.hero-live-badge {
  position: absolute;
  bottom: 22px;
  inset-inline-start: 22px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 9px;
  background: var(--panel-2);
  border: 1px solid var(--line);
  padding: 10px 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: var(--gray-light);
}
.hero-visual .glow-card {
  border-radius: 16px;
  background: var(--panel-2);
  border: 1px solid var(--line);
  padding: 20px;
  margin-bottom: 14px;
  transition: var(--transition);
}
.hero-visual .glow-card:hover { border-color: var(--red); transform: translateY(-3px); }
.hero-visual .glow-card h4 { font-size: 15px; margin-bottom: 6px; }
.hero-visual .glow-card p { font-size: 13px; color: var(--gray); }
.hero-visual .badge-row { display: flex; align-items: center; justify-content: space-between; }
.pulse-dot { width: 9px; height: 9px; border-radius: 50%; background: #23d160; box-shadow: 0 0 0 0 rgba(35,209,96,0.7); animation: pulse 1.8s infinite; flex-shrink: 0; }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(35,209,96,0.55); }
  70% { box-shadow: 0 0 0 10px rgba(35,209,96,0); }
  100% { box-shadow: 0 0 0 0 rgba(35,209,96,0); }
}

/* ---------- Logos strip ---------- */
.marquee-wrap { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 30px 0; overflow: hidden; }
.marquee-label { text-align: center; color: var(--gray); font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 22px; }
.marquee-track { display: flex; gap: 60px; align-items: center; white-space: nowrap; }
.marquee-track span { color: var(--gray); font-weight: 700; font-size: 20px; opacity: 0.55; }

/* ---------- Services grid ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.service-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  display: block;
  color: var(--white);
  text-decoration: none;
  cursor: pointer;
}
.service-card::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(225,6,0,0.10), transparent 60%);
  opacity: 0;
  transition: var(--transition);
}
.service-card:hover { transform: translateY(-6px); border-color: var(--red); box-shadow: 0 20px 45px -20px rgba(225,6,0,0.45); }
.service-card:hover::before { opacity: 1; }
.service-icon {
  width: 52px; height: 52px;
  border-radius: 12px;
  background: var(--panel-2);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 22px;
  color: var(--red-light);
  border: 1px solid var(--line);
}
.service-icon img { width: 30px; height: 30px; object-fit: contain; }
.service-card h3 { font-size: 19px; font-weight: 700; margin-bottom: 12px; letter-spacing: -0.01em; }
.service-card p { color: var(--gray); font-size: 14.5px; margin-bottom: 18px; }
.service-card .learn { font-size: 13.5px; font-weight: 600; color: var(--red-light); display: inline-flex; align-items: center; gap: 6px; }

/* ---------- Why us / features ---------- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.feature-item { padding: 26px; border-radius: var(--radius); background: var(--panel); border: 1px solid var(--line); transition: var(--transition); }
.feature-item:hover { border-color: var(--red); transform: translateY(-4px); }
.feature-item .num { font-size: 13px; color: var(--red-light); font-weight: 700; margin-bottom: 14px; }
.feature-icon {
  width: 44px; height: 44px;
  border-radius: 10px;
  background: var(--panel-2);
  border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  color: var(--red-light);
  margin-bottom: 16px;
}
.feature-item h4 { font-size: 16.5px; margin-bottom: 10px; font-weight: 700; }
.feature-item p { color: var(--gray); font-size: 14px; }

/* ---------- Process ---------- */
.process-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: 60px; align-items: center; }
.process-visual { padding: 20px; min-height: 340px; display: flex; align-items: center; justify-content: center; position: relative; overflow: visible; }
.process-visual::after {
  content: "";
  position: absolute; top: 50%; left: 50%;
  width: 65%; height: 65%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(225,6,0,0.25), transparent 70%);
  filter: blur(30px);
  pointer-events: none;
  z-index: 0;
}
.process-visual .float-wrap { animation: floatY 5s ease-in-out infinite; }
.process-visual .service-photo { max-width: 480px; }
.process-list { display: flex; flex-direction: column; }
.process-item {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 26px;
  padding: 34px 0;
  border-top: 1px solid var(--line);
  align-items: start;
}
.process-item:last-child { border-bottom: 1px solid var(--line); }
.process-item .step-no { font-size: 36px; font-weight: 800; color: var(--panel-2); -webkit-text-stroke: 1px var(--line); }
.process-item h4 { font-size: 19px; font-weight: 700; margin-bottom: 8px; }
.process-item p { color: var(--gray); font-size: 14.5px; max-width: 620px; }

/* ---------- Stats banner ---------- */
.stats-banner {
  background: linear-gradient(120deg, var(--red-dark), var(--red));
  border-radius: 20px;
  padding: 50px 40px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  text-align: center;
}
.stats-banner .stat b { display: block; font-size: 34px; font-weight: 800; }
.stats-banner .stat span { font-size: 13.5px; opacity: 0.85; }

/* ---------- Testimonials ---------- */
.testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.testimonial-card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.testimonial-card .stars { color: var(--red-light); font-size: 14px; margin-bottom: 16px; letter-spacing: 2px; }
.testimonial-card p { color: var(--gray-light); font-size: 14.5px; margin-bottom: 20px; }
.testimonial-card .who { display: flex; align-items: center; gap: 12px; }
.testimonial-card .avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: linear-gradient(135deg, var(--red), var(--panel-2));
  display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 14px;
}
.testimonial-card .who h5 { font-size: 14.5px; }
.testimonial-card .who span { font-size: 12.5px; color: var(--gray); }

/* ---------- CTA banner ---------- */
.cta-banner {
  border-radius: 24px;
  background: var(--panel);
  border: 1px solid var(--line);
  padding: 64px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: "";
  position: absolute; top: -40%; left: 50%; transform: translateX(-50%);
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(225,6,0,0.30), transparent 70%);
}
.cta-banner h2 { font-size: clamp(26px, 4vw, 38px); font-weight: 800; margin-bottom: 16px; position: relative; }
.cta-banner p { color: var(--gray); margin-bottom: 32px; position: relative; max-width: 520px; margin-inline: auto; }
.cta-banner .hero-cta { justify-content: center; position: relative; }

/* ---------- Footer ---------- */
.site-footer { background: var(--black-soft); border-top: 1px solid var(--line); padding: 70px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; margin-bottom: 50px; }
.footer-brand p { color: var(--gray); font-size: 14px; margin: 18px 0 22px; max-width: 300px; }
.footer-col h5 { font-size: 14px; font-weight: 700; margin-bottom: 18px; text-transform: uppercase; letter-spacing: 0.05em; color: var(--gray-light); }
.footer-col ul li { margin-bottom: 12px; }
.footer-col ul li a { color: var(--gray); font-size: 14.5px; transition: var(--transition); }
.footer-col ul li a:hover { color: var(--red-light); }
.social-row { display: flex; gap: 10px; }
.social-row a {
  width: 38px; height: 38px; border-radius: 50%;
  border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  transition: var(--transition);
}
.social-row a:hover { background: var(--red); border-color: var(--red); }
.footer-bottom {
  border-top: 1px solid var(--line);
  padding-top: 26px;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px;
  color: var(--gray); font-size: 13px;
}
.footer-bottom a { color: var(--gray); }
.footer-bottom a:hover { color: var(--red-light); }

/* ---------- Page header (inner pages) ---------- */
.page-hero {
  padding: 170px 0 80px;
  position: relative;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute; top: -50%; inset-inline-end: -10%;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(225,6,0,0.28), transparent 70%);
}
.page-hero h1 { font-size: clamp(32px, 5vw, 50px); font-weight: 800; letter-spacing: -0.03em; margin-bottom: 18px; max-width: 700px; }
.page-hero p { color: var(--gray-light); font-size: 17px; max-width: 600px; }
.breadcrumb { display: flex; gap: 8px; align-items: center; color: var(--gray); font-size: 13.5px; margin-bottom: 24px; }
.breadcrumb a:hover { color: var(--red-light); }

/* ---------- About page ---------- */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-media {
  border-radius: 20px;
  background: linear-gradient(160deg, var(--panel), var(--black-soft));
  border: 1px solid var(--line);
  min-height: 380px;
  padding: 30px;
  display: flex; flex-direction: column; justify-content: center; gap: 16px;
}
.mv-card { background: var(--panel-2); border: 1px solid var(--line); border-radius: 14px; padding: 22px; }
.mv-card h4 { font-size: 15.5px; margin-bottom: 8px; color: var(--red-light); }
.mv-card p { font-size: 13.5px; color: var(--gray); }

.values-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.team-card { text-align: center; }
.team-avatar {
  width: 100%; aspect-ratio: 1;
  border-radius: 16px;
  background: linear-gradient(160deg, var(--panel-2), var(--panel));
  border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  font-size: 32px; font-weight: 800; color: var(--red-light);
  margin-bottom: 14px;
}
.team-card h5 { font-size: 15.5px; margin-bottom: 4px; }
.team-card span { font-size: 13px; color: var(--gray); }

/* ---------- Services page detail ---------- */
.service-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding: 90px 0;
  border-bottom: 1px solid var(--line);
  scroll-margin-top: 100px;
}
.service-detail:last-child { border-bottom: none; }
.service-detail.reverse { direction: rtl; }
.service-detail.reverse > * { direction: ltr; }
html[dir="rtl"] .service-detail.reverse { direction: ltr; }
html[dir="rtl"] .service-detail.reverse > * { direction: rtl; }
.service-detail h3 { font-size: 28px; font-weight: 800; margin-bottom: 16px; letter-spacing: -0.02em; }
.service-detail p.desc { color: var(--gray-light); font-size: 15.5px; margin-bottom: 24px; }
.service-detail ul.checklist li {
  display: flex; align-items: flex-start; gap: 10px;
  color: var(--gray-light); font-size: 14.5px; margin-bottom: 12px;
}
.service-detail ul.checklist li .tick {
  flex-shrink: 0; width: 20px; height: 20px; border-radius: 50%;
  background: rgba(225,6,0,0.15); color: var(--red-light);
  display: flex; align-items: center; justify-content: center; font-size: 11px; margin-top: 2px;
}
.service-visual {
  padding: 30px; min-height: 380px; display: flex; align-items: center; justify-content: center;
  position: relative; overflow: visible;
}
.service-visual .big-icon { color: var(--red-light); opacity: 0.9; }
.service-visual::after {
  content: "";
  position: absolute; top: 50%; left: 50%;
  width: 65%; height: 65%;
  transform: translate(-50%, -50%) scale(1);
  background: radial-gradient(circle, rgba(225,6,0,0.28), transparent 70%);
  filter: blur(30px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.7;
  transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.22,1,0.36,1);
}
.service-visual:hover::after {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1.2);
}
.service-illustration {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 340px;
  height: auto;
}
.float-wrap {
  position: relative;
  z-index: 1;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: floatY 4.5s ease-in-out infinite;
}
@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-16px); }
}
#social-media .float-wrap { animation-delay: 0.6s; }
#mobile-app .float-wrap { animation-delay: 1.2s; }
#ai-solutions .float-wrap { animation-delay: 1.8s; }
#automation .float-wrap { animation-delay: 2.4s; }
.service-photo {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 440px;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 20px 40px rgba(0,0,0,0.55));
  transition: transform 0.5s cubic-bezier(0.22,1,0.36,1), filter 0.5s ease;
}
.service-visual:hover .service-photo {
  transform: translateY(-10px) scale(1.06);
  filter: drop-shadow(0 34px 55px rgba(225,6,0,0.4)) drop-shadow(0 10px 18px rgba(0,0,0,0.55));
}

/* ---------- Pricing-ish tiers (used in services page) ---------- */
.tiers-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.tier-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; background: var(--panel); }
.tier-card.highlight { border-color: var(--red); background: linear-gradient(160deg, rgba(225,6,0,0.10), var(--panel)); position: relative; }
.tier-card.highlight::before {
  content: "Popular"; position: absolute; top: 18px; inset-inline-end: 18px;
  background: var(--red); color: #fff; font-size: 11px; font-weight: 700;
  padding: 5px 12px; border-radius: 999px; text-transform: uppercase; letter-spacing: 0.04em;
}
.tier-card h4 { font-size: 18px; margin-bottom: 10px; }
.tier-card p.tier-desc { color: var(--gray); font-size: 13.5px; margin-bottom: 20px; }
.tier-card ul li { display: flex; gap: 10px; font-size: 14px; color: var(--gray-light); margin-bottom: 12px; align-items: flex-start; }
.tier-card ul li .tick { color: var(--red-light); flex-shrink: 0; }

/* ---------- Contact page ---------- */
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 50px; }
.contact-info-card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; margin-bottom: 18px; display: flex; gap: 16px; align-items: flex-start; }
.contact-info-card .ic { width: 44px; height: 44px; border-radius: 10px; background: var(--panel-2); display: flex; align-items: center; justify-content: center; color: var(--red-light); flex-shrink: 0; border: 1px solid var(--line); }
.contact-info-card h4 { font-size: 15.5px; margin-bottom: 6px; }
.contact-info-card p, .contact-info-card a { color: var(--gray); font-size: 14px; }

.contact-form-wrap { background: var(--panel); border: 1px solid var(--line); border-radius: 20px; padding: 40px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 18px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 13.5px; color: var(--gray-light); margin-bottom: 8px; font-weight: 600; }
.form-group input, .form-group textarea, .form-group select {
  width: 100%; background: var(--black-soft); border: 1px solid var(--line);
  border-radius: 10px; padding: 13px 16px; color: var(--white); font-size: 14.5px;
  font-family: inherit; transition: var(--transition);
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
  outline: none; border-color: var(--red);
}
.form-group textarea { resize: vertical; min-height: 120px; }

.map-embed { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); margin-top: 18px; height: 260px; }
.map-embed iframe { width: 100%; height: 100%; border: 0; filter: grayscale(1) invert(0.92) contrast(0.85); }

/* ---------- FAQ ---------- */
.faq-item { border-bottom: 1px solid var(--line); padding: 26px 0; }
.faq-item summary {
  display: flex; align-items: center; justify-content: space-between;
  cursor: pointer; font-size: 16.5px; font-weight: 600; list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .plus { font-size: 22px; color: var(--red-light); transition: var(--transition); }
.faq-item[open] summary .plus { transform: rotate(45deg); }
.faq-item p { color: var(--gray); font-size: 14.5px; margin-top: 14px; max-width: 720px; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .hero-grid, .about-grid, .process-grid { grid-template-columns: 1fr; }
  .process-visual { order: -1; min-height: 260px; }
  .services-grid, .features-grid, .testimonial-grid, .values-grid, .team-grid, .tiers-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stats-banner { grid-template-columns: repeat(2, 1fr); }
  .service-detail { grid-template-columns: 1fr; }
  .service-detail.reverse { direction: ltr; }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .main-nav, .lang-switch { display: none; }
  .nav-toggle { display: flex; }
  .site-header.open .main-nav {
    display: flex; position: fixed; inset: 72px 16px auto 16px;
    background: var(--panel); border: 1px solid var(--line); border-radius: 16px;
    flex-direction: column; padding: 12px; gap: 4px; z-index: 998;
  }
  .site-header.open .lang-switch { display: flex; position: fixed; top: 20px; inset-inline-end: 70px; }
  .services-grid, .features-grid, .testimonial-grid, .values-grid, .team-grid, .tiers-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .stats-banner { grid-template-columns: 1fr 1fr; padding: 36px 24px; }
  .form-row { grid-template-columns: 1fr; }
  .section { padding: 80px 0; }
  .cta-banner { padding: 44px 24px; }
}

/* ---------- WhatsApp floating button ---------- */
.whatsapp-float {
  position: fixed;
  bottom: 26px;
  inset-inline-end: 26px;
  z-index: 1000;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25d366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 30px -6px rgba(37, 211, 102, 0.6);
  transition: var(--transition);
}
.whatsapp-float:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 14px 34px -6px rgba(37, 211, 102, 0.75);
}
.whatsapp-float svg { width: 30px; height: 30px; }
.whatsapp-float::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: #25d366;
  animation: wa-pulse 2.2s infinite;
  z-index: -1;
}
@keyframes wa-pulse {
  0% { transform: scale(1); opacity: 0.55; }
  100% { transform: scale(1.7); opacity: 0; }
}
.whatsapp-tooltip {
  position: absolute;
  inset-inline-end: 72px;
  top: 50%;
  transform: translateY(-50%);
  background: var(--panel-2);
  border: 1px solid var(--line);
  color: var(--white);
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
}
.whatsapp-float:hover .whatsapp-tooltip { opacity: 1; }

#growth-strategy { scroll-margin-top: 100px; }
@media (max-width: 760px) {
  .whatsapp-float { width: 54px; height: 54px; bottom: 18px; inset-inline-end: 18px; }
  .whatsapp-tooltip { display: none; }
}
