/* Global Styles */
:root {
  --primary: #2563eb;
  --primary-light: #3b82f6;
  --primary-soft: rgba(37, 99, 235, 0.08);
  --dark: #0f172a;
  --dark-soft: #1e293b;
  --muted: #64748b;
  --bg: #0b1220;
  --light-bg: #020617;
  --border: rgba(148, 163, 184, 0.3);
  --radius-lg: 18px;
  --radius-md: 12px;
  --shadow-soft: 0 18px 40px rgba(15, 23, 42, 0.35);
  --shadow-subtle: 0 8px 20px rgba(15, 23, 42, 0.25);
  --transition: all 0.25s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  background: radial-gradient(circle at top, #1e3a8a 0, #020617 55%, #000 100%);
  color: #e2e8f0;
  line-height: 1.6;
}

/* Respect reduced motion preferences */
@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;
    scroll-behavior: auto !important;
  }
}

/* Preloader */
#preloader {
  position: fixed;
  inset: 0;
  background: radial-gradient(circle at top, #1d4ed8 0, #020617 55%, #000 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  gap: 1rem;
  color: #e5e7eb;
}

.loader-circle {
  width: 52px;
  height: 52px;
  border-radius: 999px;
  border: 3px solid rgba(191, 219, 254, 0.4);
  border-top-color: #60a5fa;
  animation: spin 0.9s linear infinite;
}

#preloader p {
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #bfdbfe;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Layout Utilities */
.container {
  width: min(1120px, 100% - 2.5rem);
  margin-inline: auto;
}

.section {
  padding: 5rem 0;
}

.section-alt {
  padding: 5rem 0;
  background: linear-gradient(
    145deg,
    rgba(15, 23, 42, 0.96),
    rgba(15, 23, 42, 0.96)
  );
  border-block: 1px solid rgba(148, 163, 184, 0.2);
}

.section-container {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 1rem;
}

.section-header h2 {
  font-size: clamp(1.9rem, 3vw, 2.2rem);
  letter-spacing: -0.03em;
  margin-bottom: 0.6rem;
}

.section-header span {
  color: var(--primary-light);
}

.section-header p {
  color: var(--muted);
  font-size: 0.98rem;
}

/* Header / Nav */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  background: linear-gradient(
    to bottom,
    rgba(15, 23, 42, 0.96),
    rgba(15, 23, 42, 0.9),
    transparent
  );
  border-bottom: 1px solid rgba(148, 163, 184, 0.18);
}

/* Scroll progress line (driven by --scroll from JS) */
.header::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  height: 2px;
  width: var(--scroll, 0%);
  background: linear-gradient(90deg, #60a5fa, #a5b4fc, #60a5fa);
  box-shadow: 0 0 16px rgba(96, 165, 250, 0.55);
  transition: width 0.1s linear;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 0.65rem;
}

/* Logo with image */
.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
}

.logo-img {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  object-fit: contain;
}

.logo-text-block {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.logo-text-main {
  font-weight: 600;
  font-size: 1.12rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #e5e7eb;
}

.logo-text-sub {
  font-size: 0.78rem;
  color: #9ca3af;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 1.1rem;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: #cbd5f5;
  text-decoration: none;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  position: relative;
  padding-bottom: 0.15rem;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0%;
  height: 2px;
  background: linear-gradient(to right, #60a5fa, #a5b4fc);
  border-radius: 999px;
  transition: width 0.2s ease;
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.nav-cta {
  border: none;
  background: linear-gradient(135deg, #2563eb, #4f46e5);
  color: #e5e7eb;
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 12px 35px rgba(37, 99, 235, 0.5);
  transition: transform 0.15s ease, box-shadow 0.15s ease,
    background 0.2s ease;
}

.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 42px rgba(37, 99, 235, 0.65);
}

.nav-whatsapp {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: #22c55e;
  display: grid;
  place-items: center;
  color: #ecfdf5;
  text-decoration: none;
  font-size: 1rem;
  box-shadow: 0 10px 25px rgba(22, 163, 74, 0.7);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
}

.nav-toggle span {
  width: 22px;
  height: 2px;
  border-radius: 999px;
  background: #e5e7eb;
  transition: var(--transition);
}

/* Hero */
.hero {
  padding: 4.5rem 0 4.8rem;
}

.hero-container {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 3rem;
  align-items: center;
}

.hero-content {
  max-width: 600px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.2rem 0.65rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid rgba(148, 163, 184, 0.45);
  color: #bfdbfe;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  margin-bottom: 0.9rem;
}

.hero h1 {
  font-size: clamp(2.35rem, 4vw, 2.9rem);
  letter-spacing: -0.04em;
  margin: 0 0 0.7rem;
}

.hero h1 span {
  color: #60a5fa;
  text-shadow: 0 0 40px rgba(59, 130, 246, 0.8);
}

.hero-subtext {
  color: #cbd5f5;
  font-size: 1rem;
  margin-bottom: 1.4rem;
  display: inline-flex;
  align-items: baseline;
  gap: 0.35rem;
  flex-wrap: wrap;
}

.typing-prefix {
  opacity: 0.9;
}

.typing {
  display: inline-block;
  border-right: 2px solid #60a5fa;
  padding-right: 2px;
  white-space: nowrap;
  overflow: hidden;
}

@keyframes caret-blink {
  0%,
  100% {
    border-color: transparent;
  }
  50% {
    border-color: #60a5fa;
  }
}

.typing {
  animation: caret-blink 0.9s steps(2, end) infinite;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.4rem;
}

.btn {
  border-radius: 999px;
  padding: 0.8rem 1.4rem;
  border: 1px solid transparent;
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  cursor: pointer;
  transition: var(--transition);
}

.btn.primary {
  background: linear-gradient(135deg, #2563eb, #4f46e5);
  color: #e5e7eb;
  box-shadow: var(--shadow-soft);
}

.btn.primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 20px 50px rgba(37, 99, 235, 0.7);
}

/* Extra micro-interaction: subtle sheen on hover */
.btn.primary {
  position: relative;
  overflow: hidden;
}
.btn.primary::after {
  content: "";
  position: absolute;
  inset: 0;
  transform: translateX(-120%);
  background: linear-gradient(
    110deg,
    transparent 0%,
    rgba(255, 255, 255, 0.18) 35%,
    transparent 70%
  );
  transition: transform 0.6s ease;
}
.btn.primary:hover::after {
  transform: translateX(120%);
}

.btn.ghost {
  background: rgba(15, 23, 42, 0.7);
  border-color: rgba(148, 163, 184, 0.6);
  color: #e5e7eb;
}

.btn.ghost:hover {
  background: rgba(15, 23, 42, 0.9);
  border-color: #60a5fa;
}

.btn.full-width {
  width: 100%;
  justify-content: center;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.1rem;
  font-size: 0.92rem;
  color: #cbd5f5;
}

.hero-meta i {
  color: #60a5fa;
  margin-right: 0.4rem;
}

/* Hero socials */
.hero-socials {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 1rem;
  font-size: 0.9rem;
  color: #cbd5f5;
}

.hero-socials span {
  opacity: 0.9;
}

.hero-socials a {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(148, 163, 184, 0.5);
  color: #e5e7eb;
  text-decoration: none;
  font-size: 0.95rem;
  transition: background 0.15s ease, transform 0.15s ease,
    border-color 0.15s ease;
}

.hero-socials a:hover {
  transform: translateY(-1px);
  border-color: #60a5fa;
}

/* When using the social-strip variant, remove the old circle styles */
.hero-socials.social-strip a {
  width: auto;
  height: auto;
  background: transparent;
  border: none;
  display: inline-flex;
  padding: 2px;
}

/* === Social strip (image icons) === */
.social-strip {
  background: #1d2b8f;
  padding: 6px 12px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.social-strip span {
  color: #ffffff;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0.95;
}

.social-strip a {
  width: auto;
  height: auto;
  background: transparent;
  border: none;
  padding: 2px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.15s ease, opacity 0.15s ease;
}

.social-strip a:hover {
  transform: translateY(-1px);
  opacity: 0.95;
}

.social-strip img {
  width: 22px;
  height: 22px;
  display: block;
  object-fit: contain;
}

.footer-socials.social-strip img {
  width: 20px;
  height: 20px;
}

/* Hero Visual with image */
.hero-visual {
  position: relative;
  padding: 1.6rem 1.5rem 1.4rem;
  border-radius: 26px;
  background: radial-gradient(
      circle at top left,
      rgba(96, 165, 250, 0.35),
      transparent 55%
    ),
    radial-gradient(
      circle at bottom right,
      rgba(129, 140, 248, 0.25),
      transparent 55%
    ),
    rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(148, 163, 184, 0.4);
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.8);
  overflow: hidden;
}

.hero-image-wrapper {
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.6);
}

.hero-image {
  width: 100%;
  height: 260px;
  object-fit: cover;
  display: block;
}

/* Hero floating / glow */
@keyframes floatY {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

@keyframes softGlow {
  0%,
  100% {
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.8);
  }
  50% {
    box-shadow: 0 24px 60px rgba(37, 99, 235, 0.35);
  }
}

.hero-visual {
  animation: softGlow 6s ease-in-out infinite;
}

.hero-overlay-card {
  animation: floatY 4.6s ease-in-out infinite;
}

/* Overlay card with logo */
.hero-overlay-card {
  position: absolute;
  left: 1.5rem;
  bottom: 1.4rem;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.55rem 0.7rem;
  background: rgba(15, 23, 42, 0.96);
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.7);
  box-shadow: var(--shadow-subtle);
}

.hero-overlay-card img {
  width: 34px;
  height: 34px;
  border-radius: 50%;
}

.hero-overlay-card h3 {
  margin: 0;
  font-size: 0.9rem;
}

.hero-overlay-card p {
  margin: 0;
  font-size: 0.75rem;
  color: #cbd5f5;
}

/* About */
.about-container {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: 2.5rem;
  align-items: start;
}

.section-text h2 {
  font-size: clamp(1.8rem, 3vw, 2rem);
  margin-bottom: 0.5rem;
}

.section-text span {
  color: #60a5fa;
}

.section-text p {
  margin: 0.3rem 0;
  color: #cbd5f5;
  font-size: 0.96rem;
}

.about-highlights {
  display: grid;
  gap: 1rem;
}

.highlight-card {
  padding: 1rem 1.1rem;
  border-radius: var(--radius-md);
  background: rgba(15, 23, 42, 0.96);
  border: 1px solid rgba(148, 163, 184, 0.4);
  box-shadow: var(--shadow-subtle);
}

.highlight-card i {
  font-size: 1.3rem;
  color: #93c5fd;
}

.highlight-card h3 {
  margin: 0.4rem 0;
  font-size: 1rem;
}

.highlight-card p {
  margin: 0;
  font-size: 0.9rem;
  color: #cbd5f5;
}

/* Cards / Grid */
.grid {
  display: grid;
  gap: 1.4rem;
}

.services-grid {
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}

.card {
  border-radius: var(--radius-md);
  padding: 1.15rem 1.25rem;
  background: var(--light-bg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-subtle);
  transition: transform 0.18s ease, box-shadow 0.18s ease,
    border-color 0.18s ease, background 0.18s ease;
}

.card:hover {
  transform: translateY(-6px) scale(1.01) translateZ(0);
  box-shadow: 0 20px 45px rgba(15, 23, 42, 0.9);
  border-color: rgba(96, 165, 250, 0.7);
  background: radial-gradient(
      circle at top left,
      rgba(59, 130, 246, 0.18),
      transparent 55%
    ),
    var(--light-bg);
}

/* Service images */
.service-image {
  width: 100%;
  height: 140px;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 0.65rem;
  border: 1px solid rgba(148, 163, 184, 0.5);
}

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

.service-card i {
  font-size: 1.3rem;
  color: #93c5fd;
  margin-bottom: 0.4rem;
}

.service-card h3 {
  margin: 0 0 0.25rem;
  font-size: 1.02rem;
}

.service-card p {
  margin: 0;
  font-size: 0.9rem;
  color: #cbd5f5;
}

/* Why Us */
.why-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.why-item {
  padding: 1.1rem 1.2rem;
  border-radius: var(--radius-md);
  background: rgba(15, 23, 42, 0.96);
  border: 1px solid rgba(148, 163, 184, 0.5);
  display: grid;
  gap: 0.35rem;
}

.why-item i {
  font-size: 1.4rem;
  color: #93c5fd;
}

.why-item h3 {
  margin: 0.1rem 0;
  font-size: 1rem;
}

.why-item p {
  margin: 0;
  font-size: 0.9rem;
  color: #cbd5f5;
}

/* Our Team (modern cards) */
.team-grid {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.team-card {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  align-items: flex-start;
  background: radial-gradient(
      circle at top,
      rgba(59, 130, 246, 0.18),
      transparent 55%
    ),
    var(--light-bg);
  border: 1px solid rgba(129, 140, 248, 0.55);
}

.team-photo-wrap {
  position: relative;
  width: 88px;
  height: 88px;
  border-radius: 999px;
  overflow: hidden;
  border: 2px solid rgba(191, 219, 254, 0.95);
  box-shadow: 0 16px 42px rgba(37, 99, 235, 0.85);
  margin-bottom: 0.4rem;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.team-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.team-pill {
  position: absolute;
  inset: auto 8px 6px auto;
  padding: 0.18rem 0.5rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.96);
  border: 1px solid rgba(148, 163, 184, 0.8);
  font-size: 0.65rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #e5e7eb;
}

.team-card:hover .team-photo-wrap {
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 22px 60px rgba(37, 99, 235, 0.95);
}

.team-name {
  margin: 0;
  font-size: 1.04rem;
}

.team-role {
  margin: 0;
  font-size: 0.86rem;
  color: #a5b4fc;
}

.team-copy {
  margin: 0.15rem 0 0;
  font-size: 0.9rem;
  color: #e5e7eb;
}

.team-social-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.3rem;
}

.team-social-row a {
  width: 26px;
  height: 26px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: rgba(15, 23, 42, 0.96);
  border: 1px solid rgba(148, 163, 184, 0.7);
  color: #e5e7eb;
  font-size: 0.75rem;
  text-decoration: none;
  transition: transform 0.16s ease, border-color 0.16s ease,
    background 0.16s ease, color 0.16s ease;
}

.team-social-row a:hover {
  transform: translateY(-2px);
  border-color: #60a5fa;
  background: #1d4ed8;
  color: #e5e7eb;
}

/* Client Reviews */
.reviews-grid {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.review-card {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  background: radial-gradient(
      circle at top,
      rgba(59, 130, 246, 0.18),
      transparent 55%
    ),
    var(--light-bg);
}

.review-video {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.6);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.9);
}

.review-video video {
  width: 100%;
  height: 210px;
  display: block;
  object-fit: cover;
  background: #020617;
}

.review-meta h3 {
  margin: 0 0 0.2rem;
  font-size: 1.02rem;
}

.review-role {
  margin: 0 0 0.4rem;
  font-size: 0.86rem;
  color: #a5b4fc;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.review-text {
  margin: 0;
  font-size: 0.9rem;
  color: #e5e7eb;
}

/* Portfolio */
.portfolio-grid {
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}

.portfolio-card {
  position: relative;
  overflow: hidden;
}

.portfolio-thumb {
  width: 100%;
  height: 150px;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 0.65rem;
  border: 1px solid rgba(148, 163, 184, 0.5);
}

.portfolio-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.portfolio-video-card {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.portfolio-video {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.6);
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.9);
}

.portfolio-video video {
  width: 100%;
  height: 190px;
  display: block;
  object-fit: cover;
  background: #020617;
}

.portfolio-tag {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.65rem;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.18);
  color: #bfdbfe;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 0.6rem;
}

.portfolio-card h3 {
  margin: 0 0 0.3rem;
  font-size: 1.02rem;
}

.portfolio-card p {
  margin: 0;
  color: #cbd5f5;
  font-size: 0.9rem;
}

/* Contact */
.contact-container {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.1fr);
  gap: 2.5rem;
  align-items: start;
}

.contact-info h2 {
  font-size: clamp(1.8rem, 3vw, 2.1rem);
  margin-bottom: 0.6rem;
}

.contact-info span {
  color: #60a5fa;
}

.contact-info p {
  color: #cbd5f5;
  font-size: 0.96rem;
}

.contact-list {
  list-style: none;
  padding: 0;
  margin: 1.1rem 0 0.4rem;
  display: grid;
  gap: 0.6rem;
}

.contact-list li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #cbd5f5;
  font-size: 0.95rem;
}

.contact-list i {
  color: #93c5fd;
}

.contact-list a {
  color: inherit;
  text-decoration: none;
}

.contact-list a:hover {
  text-decoration: underline;
}

/* Contact socials */
.contact-socials {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-top: 0.8rem;
  font-size: 0.9rem;
}

.contact-socials span {
  color: #cbd5f5;
}

.contact-socials a {
  width: 30px;
  height: 30px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(148, 163, 184, 0.5);
  color: #e5e7eb;
  text-decoration: none;
  font-size: 0.9rem;
  transition: background 0.15s ease, transform 0.15s ease,
    border-color 0.15s ease;
}

.contact-socials a:hover {
  transform: translateY(-1px);
  border-color: #60a5fa;
}

/* When using the social-strip variant, remove the old circle styles */
.contact-socials.social-strip a {
  width: auto;
  height: auto;
  background: transparent;
  border: none;
  display: inline-flex;
}

.contact-note {
  margin-top: 0.5rem;
  font-size: 0.85rem;
  color: #a5b4fc;
}

/* Contact Form */
.contact-form-wrapper {
  border-radius: var(--radius-lg);
  background: rgba(15, 23, 42, 0.98);
  border: 1px solid rgba(148, 163, 184, 0.6);
  box-shadow: var(--shadow-soft);
  padding: 1.6rem 1.7rem;
}

.contact-form {
  display: grid;
  gap: 1rem;
}

.form-group {
  display: grid;
  gap: 0.35rem;
}

.form-group label {
  font-size: 0.85rem;
  color: #e5e7eb;
}

input,
textarea {
  width: 100%;
  background: rgba(15, 23, 42, 0.9);
  border-radius: 12px;
  border: 1px solid rgba(148, 163, 184, 0.6);
  padding: 0.7rem 0.85rem;
  color: #e5e7eb;
  font-family: inherit;
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease,
    background 0.15s ease, transform 0.05s ease;
}

input::placeholder,
textarea::placeholder {
  color: #64748b;
}

input:focus,
textarea:focus {
  border-color: #60a5fa;
  box-shadow: 0 0 0 1px rgba(96, 165, 250, 0.6);
  background: rgba(15, 23, 42, 0.98);
}

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

.form-status {
  font-size: 0.82rem;
  min-height: 1.1rem;
  color: #a5b4fc;
}

/* Footer */
.footer {
  background: #020617;
  border-top: 1px solid rgba(148, 163, 184, 0.3);
  padding-top: 2.5rem;
  margin-top: 2rem;
  color: #cbd5f5;
}

.footer-container {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) repeat(3, minmax(0, 0.9fr));
  gap: 2rem;
  align-items: start;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 0.7rem;
}

.footer-logo img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: contain;
}

.footer-logo-text {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.footer-logo-text span {
  font-weight: 600;
  font-size: 1rem;
}

.footer-logo-text small {
  font-size: 0.75rem;
  color: #9ca3af;
}

.footer-column h4 {
  margin-top: 0;
  margin-bottom: 0.7rem;
  font-size: 1rem;
}

.footer-column p {
  margin: 0;
  font-size: 0.9rem;
  color: #cbd5f5;
}

.footer-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.35rem;
}

.footer-column a {
  color: #cbd5f5;
  text-decoration: none;
  font-size: 0.9rem;
}

.footer-column a:hover {
  text-decoration: underline;
}

.footer-contact li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
}

.footer-contact i {
  color: #93c5fd;
}

.footer-socials {
  display: flex;
  gap: 0.45rem;
  margin-top: 0.7rem;
}

.footer-socials a {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(148, 163, 184, 0.5);
  color: #e5e7eb;
  font-size: 0.8rem;
  text-decoration: none;
  transition: background 0.15s ease, transform 0.15s ease,
    border-color 0.15s ease;
}

.footer-socials a:hover {
  transform: translateY(-1px);
  border-color: #60a5fa;
}

/* When using the social-strip variant, remove the old circle styles */
.footer-socials.social-strip a {
  width: auto;
  height: auto;
  background: transparent;
  border: none;
  display: inline-flex;
  padding: 2px;
}

.footer-bottom {
  border-top: 1px solid rgba(148, 163, 184, 0.35);
  padding: 0.9rem 0 1.6rem;
  margin-top: 1.8rem;
  text-align: center;
  font-size: 0.8rem;
  color: #9ca3af;
}

/* WhatsApp Float Button */
.whatsapp-float {
  position: fixed;
  right: 1.3rem;
  bottom: 1.3rem;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #ffffff;
  border: 2px solid #22c55e;
  display: grid;
  place-items: center;
  text-decoration: none;
  box-shadow: 0 14px 35px rgba(22, 163, 74, 0.7);
  z-index: 40;
  transition: transform 0.2s ease, box-shadow 0.2s ease,
    background 0.2s ease;
}

.whatsapp-float:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 45px rgba(22, 163, 74, 0.8);
  background: #f0fdf4;
}

.wa-logo {
  width: 70%;
  height: 70%;
  object-fit: contain;
  display: block;
}

/* Scroll Animations (enhanced + directional) */
[data-animate] {
  opacity: 0;
  filter: blur(6px);
  transform: translateY(18px);
  transition:
    opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.65s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.65s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--delay, 0ms);
  will-change: transform, opacity, filter;
}

[data-animate="fade-left"] {
  transform: translateX(-18px);
}

[data-animate="fade-right"] {
  transform: translateX(18px);
}

[data-animate="fade-up"] {
  transform: translateY(18px);
}

[data-animate="zoom-in"] {
  transform: scale(0.96);
}

[data-animate].visible {
  opacity: 1;
  filter: blur(0);
  transform: translate3d(0, 0, 0) scale(1);
}

/* Responsive */
@media (max-width: 960px) {
  .hero-container {
    grid-template-columns: minmax(0, 1fr);
    gap: 2.5rem;
  }

  .hero {
    padding-top: 4rem;
  }

  .hero-visual {
    order: -1;
  }

  .about-container,
  .contact-container {
    grid-template-columns: minmax(0, 1fr);
  }

  .footer-container {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .nav-links {
    position: absolute;
    inset-inline: 1.25rem;
    top: 64px;
    background: rgba(15, 23, 42, 0.98);
    border-radius: 16px;
    border: 1px solid rgba(148, 163, 184, 0.4);
    padding: 0.9rem 1rem 0.5rem;
    flex-direction: column;
    gap: 0.4rem;
    transform-origin: top;
    transform: scaleY(0.7);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.15s ease, transform 0.15s ease;
  }

  .nav-links.show {
    opacity: 1;
    transform: scaleY(1);
    pointer-events: auto;
  }

  .nav-actions {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .section {
    padding: 4rem 0;
  }

  .section-alt {
    padding: 4rem 0;
  }

  .hero h1 {
    font-size: clamp(2rem, 7vw, 2.4rem);
  }

  .hero-visual {
    padding: 1.4rem 1.3rem;
  }

  .footer-container {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 480px) {
  .container {
    width: min(100% - 1.6rem, 460px);
  }

  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .hero-overlay-card {
    position: static;
    margin-top: 0.8rem;
  }

  .footer-socials {
    margin-bottom: 0.5rem;
  }
}