/* ============================================================
   REVEXA SOLUTIONS – Main Stylesheet
   Design System: Navy + Teal, Inter font
   ============================================================ */

/* ── Google Fonts ── */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

/* ── CSS Custom Properties ── */
:root {
  --navy: #0A1F44;
  --navy-dark: #061530;
  --navy-mid: #112255;
  --teal: #0D9488;
  --teal-hover: #0B8076;
  --teal-light: #CCFBF1;
  --teal-xlight: #F0FDF9;
  --white: #FFFFFF;
  --gray-50: #F8FAFC;
  --gray-100: #F1F5F9;
  --gray-200: #E2E8F0;
  --gray-400: #94A3B8;
  --gray-500: #64748B;
  --gray-700: #334155;
  --gray-900: #0F172A;

  --font: 'Inter', sans-serif;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;
  --radius-pill: 999px;

  --shadow-sm: 0 2px 8px rgba(10, 31, 68, 0.08);
  --shadow-md: 0 4px 24px rgba(10, 31, 68, 0.12);
  --shadow-lg: 0 8px 40px rgba(10, 31, 68, 0.18);

  --transition: 0.25s ease;
  --section-pad: 96px 0;
  --container: 1200px;
}

/* ── Reset ── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font);
  color: var(--gray-700);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

/* ── Container ── */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Typography ── */
h1,
h2,
h3,
h4,
h5 {
  line-height: 1.2;
  font-weight: 700;
  color: var(--navy);
}

h1 {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 800;
}

h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
}

h3 {
  font-size: clamp(1.2rem, 2.5vw, 1.5rem);
}

p {
  color: var(--gray-500);
  line-height: 1.75;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal);
  background: var(--teal-light);
  padding: 5px 14px;
  border-radius: var(--radius-pill);
  margin-bottom: 14px;
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 60px;
}

.section-header h2 {
  margin-bottom: 16px;
}

.section-header p {
  font-size: 1.08rem;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 30px;
  border-radius: var(--radius-pill);
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--teal);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--teal-hover);
  box-shadow: 0 6px 20px rgba(13, 148, 136, 0.35);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.55);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--white);
}

.btn-navy {
  background: var(--navy);
  color: var(--white);
}

.btn-navy:hover {
  background: var(--navy-dark);
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
}

.btn-lg {
  padding: 17px 38px;
  font-size: 1.05rem;
}

.btn-sm {
  padding: 10px 22px;
  font-size: 0.85rem;
}

/* ── HEADER ── */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(8, 20, 50, 0.72);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: box-shadow var(--transition), background var(--transition);
}

.site-header.scrolled {
  background: rgba(6, 15, 40, 0.95);
  box-shadow: 0 4px 40px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 16px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  text-decoration: none;
}

.logo-mark {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--teal) 0%, #0CBBA8 100%);
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 1.1rem;
  color: var(--white);
  letter-spacing: -1px;
  box-shadow: 0 2px 12px rgba(13, 148, 136, 0.45);
  flex-shrink: 0;
}

.logo-text {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.3px;
  white-space: nowrap;
}

.logo-text span {
  color: #5EEAD4;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 0;
  flex: 1;
  justify-content: center;
}

.main-nav a {
  padding: 7px 12px;
  font-size: 0.83rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  white-space: nowrap;
  position: relative;
  letter-spacing: 0.01em;
}

.main-nav a::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 12px;
  right: 12px;
  height: 2px;
  background: var(--teal);
  border-radius: 2px;
  transform: scaleX(0);
  transition: transform var(--transition);
  transform-origin: center;
}

.main-nav a:hover {
  color: var(--white);
}

.main-nav a:hover::after {
  transform: scaleX(1);
}

.main-nav a.active {
  color: var(--white);
}

.main-nav a.active::after {
  transform: scaleX(1);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--transition);
}

.hamburger.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
}

.hamburger.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

.mobile-nav {
  display: none;
  flex-direction: column;
  background: var(--navy-dark);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 16px 24px 24px;
  gap: 4px;
}

.mobile-nav.open {
  display: flex;
}

.mobile-nav a {
  padding: 12px 16px;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 500;
  font-size: 0.95rem;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}

.mobile-nav a:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
}

.mobile-nav .btn {
  margin-top: 12px;
  text-align: center;
  justify-content: center;
}

/* ── HERO ── */
.hero {
  position: relative;
  padding: 160px 0 110px;
  background: var(--navy);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('../assets/hero-bg.png');
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
  opacity: 0.45;
  transform: scale(1.02);
  filter: none;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(10, 31, 68, 0.88) 0%, rgba(10, 31, 68, 0.6) 60%, rgba(13, 148, 136, 0.25) 100%);
}

/* Animated EKG line */
.hero-ekg {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 80px;
  opacity: 0.12;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 760px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(13, 148, 136, 0.2);
  border: 1px solid rgba(13, 148, 136, 0.4);
  color: #5EEAD4;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  margin-bottom: 24px;
}

.hero-badge::before {
  content: '';
  display: inline-block;
  width: 8px;
  height: 8px;
  background: #5EEAD4;
  border-radius: 50%;
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.5;
    transform: scale(0.8);
  }
}

.hero h1 {
  color: var(--white);
  margin-bottom: 22px;
  line-height: 1.15;
}

.hero h1 .highlight {
  color: #5EEAD4;
}

.hero-sub {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.72);
  max-width: 580px;
  margin-bottom: 40px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* Hero Stats Row */
.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  flex-wrap: wrap;
}

.hero-stat .stat-num {
  font-size: 2rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
}

.hero-stat .stat-num span {
  color: #5EEAD4;
}

.hero-stat .stat-label {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.55);
  margin-top: 4px;
  font-weight: 500;
}

/* Scroll chevron */
.scroll-indicator {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  animation: bounce 2s infinite;
}

.scroll-indicator svg {
  stroke: rgba(255, 255, 255, 0.35);
}

@keyframes bounce {

  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }

  50% {
    transform: translateX(-50%) translateY(8px);
  }
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

/* ── SERVICES ── */
.services-section {
  padding: var(--section-pad);
  background: var(--gray-50);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 36px 32px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 0;
  background: var(--teal);
  transition: height 0.35s ease;
}

.service-card:hover::before {
  height: 100%;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(13, 148, 136, 0.2);
}

.service-icon {
  width: 56px;
  height: 56px;
  background: var(--teal-xlight);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  transition: background var(--transition);
}

.service-card:hover .service-icon {
  background: var(--teal-light);
}

.service-icon svg {
  color: var(--teal);
}

.service-card h3 {
  margin-bottom: 12px;
  font-size: 1.15rem;
}

.service-card p {
  font-size: 0.92rem;
  line-height: 1.7;
}

.service-card .learn-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--teal);
  font-size: 0.88rem;
  font-weight: 600;
  margin-top: 20px;
  transition: gap var(--transition);
}

.service-card:hover .learn-more {
  gap: 10px;
}

/* ── WHY CHOOSE ── */
.why-section {
  padding: var(--section-pad);
  background: var(--white);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 32px;
}

.why-item {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}

.why-icon {
  width: 48px;
  height: 48px;
  background: var(--teal-xlight);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.why-icon svg {
  color: var(--teal);
}

.why-item h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.why-item p {
  font-size: 0.88rem;
  line-height: 1.65;
}

/* ── HOW IT WORKS ── */
.process-section {
  padding: var(--section-pad);
  background: var(--navy);
  position: relative;
  overflow: hidden;
}

.process-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.process-section .section-header h2 {
  color: var(--white);
}

.process-section .section-header p {
  color: rgba(255, 255, 255, 0.6);
}

.process-section .section-tag {
  background: rgba(13, 148, 136, 0.25);
  color: #5EEAD4;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0;
  position: relative;
  z-index: 1;
}

.process-step {
  text-align: center;
  padding: 0 24px;
  position: relative;
}

.process-step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 36px;
  right: -8px;
  width: 16px;
  height: 2px;
  background: var(--teal);
  opacity: 0.5;
}

.step-number {
  width: 72px;
  height: 72px;
  background: rgba(13, 148, 136, 0.15);
  border: 2px solid rgba(13, 148, 136, 0.4);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 22px;
  font-size: 1.5rem;
  font-weight: 900;
  color: #5EEAD4;
  transition: all var(--transition);
}

.process-step:hover .step-number {
  background: var(--teal);
  border-color: var(--teal);
  color: var(--white);
  box-shadow: 0 0 30px rgba(13, 148, 136, 0.45);
}

.process-step h3 {
  color: var(--white);
  font-size: 1.1rem;
  margin-bottom: 10px;
}

.process-step p {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.88rem;
}

/* ── FEATURES & BENEFITS ── */
.features-section {
  padding: var(--section-pad);
  background: var(--gray-50);
}

.features-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.features-visual {
  position: relative;
}

.features-card-stack {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.metric-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 24px 28px;
  box-shadow: var(--shadow-md);
  border-left: 4px solid var(--teal);
  display: flex;
  align-items: center;
  gap: 20px;
  transition: transform var(--transition);
}

.metric-card:hover {
  transform: translateX(6px);
}

.metric-num {
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--navy);
  line-height: 1;
}

.metric-num span {
  color: var(--teal);
}

.metric-info .metric-title {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--navy);
}

.metric-info .metric-sub {
  font-size: 0.82rem;
  color: var(--gray-500);
  margin-top: 2px;
}

.features-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.feature-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.feature-check {
  width: 28px;
  height: 28px;
  background: var(--teal-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.feature-check svg {
  color: var(--teal);
  width: 14px;
  height: 14px;
}

.feature-item h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.feature-item p {
  font-size: 0.88rem;
}

/* ── INDUSTRIES ── */
.industries-section {
  padding: var(--section-pad);
  background: var(--white);
}

.industries-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  margin-bottom: 60px;
}

.industry-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  background: var(--gray-50);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-pill);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--navy);
  transition: all var(--transition);
  cursor: default;
}

.industry-pill:hover {
  background: var(--teal-xlight);
  border-color: var(--teal);
  color: var(--teal);
}

.industry-pill svg {
  color: var(--teal);
  width: 18px;
  height: 18px;
}

.specialty-note {
  text-align: center;
  font-size: 0.92rem;
  color: var(--gray-400);
}

.specialty-note a {
  color: var(--teal);
  font-weight: 600;
}

/* ── TESTIMONIALS ── */
.testimonials-section {
  padding: var(--section-pad);
  background: var(--gray-50);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
}

.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 36px 32px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
  position: relative;
  transition: all var(--transition);
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.quote-mark {
  font-size: 5rem;
  line-height: 0.6;
  color: var(--teal-light);
  font-family: Georgia, serif;
  font-weight: 700;
  margin-bottom: 16px;
  display: block;
}

.testimonial-body {
  font-size: 0.95rem;
  color: var(--gray-700);
  line-height: 1.75;
  font-style: italic;
  margin-bottom: 28px;
}

.testimonial-footer {
  display: flex;
  align-items: center;
  gap: 14px;
}

.testimonial-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy) 0%, var(--teal) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1rem;
  color: var(--white);
  flex-shrink: 0;
}

.testimonial-author .name {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--navy);
}

.testimonial-author .practice {
  font-size: 0.8rem;
  color: var(--gray-400);
  margin-top: 2px;
}

.stars {
  display: flex;
  gap: 3px;
  color: #F59E0B;
  font-size: 0.9rem;
  margin-bottom: 4px;
}

/* ── CTA BANNER ── */
.cta-section {
  padding: 88px 0;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 40%, #0C3060 100%);
  position: relative;
  overflow: hidden;
  text-align: center;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -80px;
  width: 360px;
  height: 360px;
  background: radial-gradient(circle, rgba(13, 148, 136, 0.25) 0%, transparent 70%);
}

.cta-section::after {
  content: '';
  position: absolute;
  bottom: -60px;
  left: -60px;
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, rgba(13, 148, 136, 0.15) 0%, transparent 70%);
}

.cta-content {
  position: relative;
  z-index: 1;
}

.cta-content h2 {
  color: var(--white);
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 16px;
}

.cta-content p {
  color: rgba(255, 255, 255, 0.65);
  font-size: 1.1rem;
  max-width: 520px;
  margin: 0 auto 36px;
}

.cta-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* ── FOOTER ── */
.site-footer {
  background: var(--navy-dark);
  padding: 72px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand .footer-logo {
  margin-bottom: 18px;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.88rem;
  line-height: 1.75;
  max-width: 280px;
}

.footer-contact-info {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-contact-info a {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.85rem;
  transition: color var(--transition);
}

.footer-contact-info a:hover {
  color: #5EEAD4;
}

.footer-contact-info svg {
  color: var(--teal);
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.footer-col h5 {
  color: var(--white);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col ul li a {
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.88rem;
  transition: color var(--transition);
}

.footer-col ul li a:hover {
  color: #5EEAD4;
}

.footer-newsletter h5 {
  color: var(--white);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.footer-newsletter p {
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.84rem;
  margin-bottom: 16px;
}

.email-form {
  display: flex;
  gap: 8px;
}

.email-form input {
  flex: 1;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-pill);
  padding: 11px 18px;
  font-size: 0.85rem;
  color: var(--white);
  font-family: var(--font);
  outline: none;
  transition: border-color var(--transition);
}

.email-form input::placeholder {
  color: rgba(255, 255, 255, 0.3);
}

.email-form input:focus {
  border-color: var(--teal);
}

.email-form button {
  background: var(--teal);
  color: var(--white);
  border: none;
  border-radius: var(--radius-pill);
  padding: 11px 20px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  font-family: var(--font);
  transition: background var(--transition);
  white-space: nowrap;
}

.email-form button:hover {
  background: var(--teal-hover);
}

.email-success {
  font-size: 0.85rem;
  color: #5EEAD4;
  margin-top: 8px;
  display: none;
}

.social-links {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

.social-links a {
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.5);
  transition: all var(--transition);
}

.social-links a:hover {
  background: var(--teal);
  color: var(--white);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-copy {
  color: rgba(255, 255, 255, 0.3);
  font-size: 0.82rem;
}

.footer-legal {
  display: flex;
  gap: 24px;
}

.footer-legal a {
  color: rgba(255, 255, 255, 0.3);
  font-size: 0.82rem;
  transition: color var(--transition);
}

.footer-legal a:hover {
  color: rgba(255, 255, 255, 0.7);
}

/* ── SCROLL ANIMATIONS ── */
.fade-up {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in {
  opacity: 0;
  transition: opacity 0.65s ease;
}

.fade-in.visible {
  opacity: 1;
}

/* Stagger delays */
.delay-1 {
  transition-delay: 0.1s;
}

.delay-2 {
  transition-delay: 0.2s;
}

.delay-3 {
  transition-delay: 0.3s;
}

.delay-4 {
  transition-delay: 0.4s;
}

.delay-5 {
  transition-delay: 0.5s;
}

/* ── SERVICES PAGE ── */
.page-hero {
  padding: 140px 0 80px;
  background: var(--navy);
  position: relative;
  overflow: hidden;
}

.page-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(10, 31, 68, 0.9) 0%, rgba(13, 148, 136, 0.18) 100%);
}

.page-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
}

.page-hero-content h1 {
  color: var(--white);
  margin-bottom: 16px;
}

.page-hero-content p {
  color: rgba(255, 255, 255, 0.65);
  max-width: 600px;
  margin: 0 auto;
  font-size: 1.1rem;
}

.service-detail {
  padding: 80px 0;
  border-bottom: 1px solid var(--gray-200);
}

.service-detail:nth-child(even) {
  background: var(--gray-50);
}

.service-detail-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.service-detail:nth-child(even) .service-detail-layout {
  direction: rtl;
}

.service-detail:nth-child(even) .service-detail-content,
.service-detail:nth-child(even) .service-detail-visual {
  direction: ltr;
}

.service-detail-visual {
  background: var(--teal-xlight);
  border-radius: var(--radius-lg);
  height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.sdv-icon {
  width: 100px;
  height: 100px;
  background: var(--white);
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
}

.sdv-icon svg {
  color: var(--teal);
  width: 56px;
  height: 56px;
}

.service-detail-content h2 {
  margin-bottom: 16px;
}

.service-detail-content>p {
  margin-bottom: 28px;
}

.service-bullets {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.service-bullets li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.92rem;
  color: var(--gray-700);
}

.service-bullets li::before {
  content: '';
  width: 20px;
  height: 20px;
  background: var(--teal-light);
  border-radius: 50%;
  flex-shrink: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20' fill='none'%3E%3Cpath d='M4 10l4 4 8-8' stroke='%230D9488' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-size: contain;
  margin-top: 1px;
}

/* ── CONTACT PAGE ── */
.contact-layout {
  padding: var(--section-pad);
  background: var(--gray-50);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 60px;
  align-items: start;
}

.contact-info-block h2 {
  margin-bottom: 16px;
}

.contact-info-block>p {
  margin-bottom: 36px;
}

.contact-detail-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-detail-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.cd-icon {
  width: 44px;
  height: 44px;
  background: var(--teal-light);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.cd-icon svg {
  color: var(--teal);
}

.cd-data .cd-label {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--gray-400);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.cd-data .cd-value {
  font-size: 0.95rem;
  color: var(--gray-700);
  font-weight: 500;
  margin-top: 2px;
}

.cd-data a {
  color: var(--navy);
}

.contact-form-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 44px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--gray-200);
}

.contact-form-card h3 {
  margin-bottom: 6px;
}

.contact-form-card .form-sub {
  font-size: 0.9rem;
  color: var(--gray-400);
  margin-bottom: 30px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 20px;
}

.form-group label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--gray-700);
  letter-spacing: 0.02em;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-family: var(--font);
  font-size: 0.92rem;
  color: var(--gray-700);
  background: var(--white);
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.12);
}

.form-group textarea {
  resize: vertical;
  min-height: 130px;
}

.form-group select {
  cursor: pointer;
}

.form-submit-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--teal);
  color: var(--white);
  border: none;
  border-radius: var(--radius-pill);
  padding: 15px 36px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  font-family: var(--font);
  transition: all var(--transition);
  width: 100%;
  justify-content: center;
}

.form-submit-btn:hover {
  background: var(--teal-hover);
  box-shadow: 0 6px 24px rgba(13, 148, 136, 0.35);
  transform: translateY(-1px);
}

.form-success {
  display: none;
  text-align: center;
  padding: 32px;
  color: var(--teal);
}

.form-success svg {
  margin: 0 auto 14px;
  display: block;
}

.form-success h4 {
  font-size: 1.3rem;
  margin-bottom: 8px;
  color: var(--navy);
}

.form-success p {
  font-size: 0.9rem;
}

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .features-layout {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .service-detail-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .service-detail:nth-child(even) .service-detail-layout {
    direction: ltr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  :root {
    --section-pad: 64px 0;
  }

  .main-nav,
  .header-actions {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .hero {
    padding: 130px 0 80px;
  }

  .hero-stats {
    gap: 24px;
  }

  .process-steps {
    grid-template-columns: 1fr 1fr;
  }

  .process-step:not(:last-child)::after {
    display: none;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .contact-form-card {
    padding: 28px 24px;
  }
}

@media (max-width: 480px) {
  .services-grid {
    grid-template-columns: 1fr;
  }

  .process-steps {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .cta-actions {
    flex-direction: column;
    align-items: center;
  }

  .email-form {
    flex-direction: column;
  }
}