/* ============================================
   TechChubby - Brand Stylesheet
   Colors: Coral #FF5252 | Navy #050A30 | White
   ============================================ */

:root {
  --primary: #FF5252;
  --primary-dark: #E04545;
  --primary-light: #FF7676;
  --navy: #050A30;
  --navy-light: #0A1548;
  --navy-mid: #141B4D;
  --white: #FFFFFF;
  --gray-50: #F8F9FC;
  --gray-100: #F1F3F8;
  --gray-200: #E2E6EF;
  --gray-400: #9CA3B8;
  --gray-600: #6B7280;
  --gray-800: #374151;
  --text: #1A1A2E;
  --shadow-sm: 0 2px 8px rgba(5, 10, 48, 0.08);
  --shadow-md: 0 8px 24px rgba(5, 10, 48, 0.12);
  --shadow-lg: 0 16px 48px rgba(5, 10, 48, 0.16);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-full: 50px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --header-height: 72px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition);
}

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ---- Typography ---- */
.section-label {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(1.625rem, 3vw, 2.25rem);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--gray-600);
  max-width: 600px;
  line-height: 1.7;
}

.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-header .section-subtitle {
  margin: 0 auto;
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 26px;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  font-family: inherit;
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

.btn-primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255, 82, 82, 0.35);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.4);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--white);
}

.btn-navy {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

.btn-navy:hover {
  background: var(--navy-light);
  border-color: var(--navy-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* ---- Header / Navigation ---- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-height);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: all var(--transition);
}

.header.scrolled {
  border-bottom-color: var(--gray-200);
  box-shadow: var(--shadow-sm);
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo img {
  height: 38px;
  width: auto;
  aspect-ratio: 537 / 148;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-link {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--gray-800);
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width var(--transition);
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-cta {
  padding: 10px 24px;
  font-size: 0.875rem;
  color: var(--white) !important;
  white-space: nowrap;
  line-height: 1.2;
}

.nav-link.nav-cta::after {
  display: none;
}

.nav-link.nav-cta:hover,
.nav-link.nav-cta.active {
  color: var(--white) !important;
}

.nav-link.nav-cta:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
}

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

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  transition: all var(--transition);
  border-radius: 2px;
}

.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ---- Hero Section ---- */
.hero {
  min-height: auto;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 50%, var(--navy-mid) 100%);
  background-size: 200% 200%;
  animation: heroGradient 12s ease infinite;
  position: relative;
  overflow: hidden;
  padding: calc(var(--header-height) + 40px) 0 64px;
}

@keyframes heroGradient {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero-particle {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 82, 82, 0.08);
  animation: particleFloat 8s ease-in-out infinite;
}

.hero-particle-1 { width: 120px; height: 120px; top: 15%; left: 8%; animation-delay: 0s; }
.hero-particle-2 { width: 80px; height: 80px; top: 60%; left: 20%; animation-delay: -2s; }
.hero-particle-3 { width: 60px; height: 60px; top: 25%; right: 15%; animation-delay: -4s; }
.hero-particle-4 { width: 100px; height: 100px; bottom: 20%; right: 25%; animation-delay: -6s; }

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  animation: glowPulse 6s ease-in-out infinite;
}

.hero-glow-1 {
  width: 500px;
  height: 500px;
  background: rgba(255, 82, 82, 0.15);
  top: -20%;
  right: -10%;
}

.hero-glow-2 {
  width: 400px;
  height: 400px;
  background: rgba(255, 82, 82, 0.08);
  bottom: -20%;
  left: -10%;
  animation-delay: -3s;
}

@keyframes particleFloat {
  0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.6; }
  33% { transform: translate(15px, -20px) scale(1.1); opacity: 1; }
  66% { transform: translate(-10px, 15px) scale(0.9); opacity: 0.7; }
}

@keyframes glowPulse {
  0%, 100% { opacity: 0.6; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.15); }
}

.hero-animate {
  opacity: 0;
  transform: translateY(28px);
  animation: heroFadeUp 0.7s ease forwards;
  animation-delay: calc(var(--i, 0) * 0.12s + 0.1s);
}

@keyframes heroFadeUp {
  to { opacity: 1; transform: translateY(0); }
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(255, 82, 82, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  animation: glowPulse 8s ease-in-out infinite;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255, 82, 82, 0.08) 0%, transparent 70%);
  border-radius: 50%;
  animation: glowPulse 10s ease-in-out infinite reverse;
}

.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-content {
  color: var(--white);
  justify-self: end;
  max-width: 480px;
  width: 100%;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 82, 82, 0.15);
  border: 1px solid rgba(255, 82, 82, 0.3);
  color: var(--primary-light);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  margin-bottom: 16px;
}

.hero-badge::before {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--primary);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.2); }
}

.hero-title {
  font-size: clamp(1.875rem, 3.5vw, 2.625rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 16px;
}

.hero-title span,
.hero-highlight {
  color: var(--primary);
  display: inline-block;
  animation: highlightGlow 3s ease-in-out infinite;
}

@keyframes highlightGlow {
  0%, 100% { text-shadow: 0 0 20px rgba(255, 82, 82, 0.3); }
  50% { text-shadow: 0 0 40px rgba(255, 82, 82, 0.6); }
}

.hero-description {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.65;
  margin-bottom: 28px;
  max-width: 440px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  justify-self: start;
}

.hero-icon-wrapper {
  position: relative;
  width: 240px;
  height: 240px;
  animation: iconFloat 5s ease-in-out infinite;
}

@keyframes iconFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-16px); }
}

.hero-ring {
  position: absolute;
  border-radius: 50%;
  border: 2px solid rgba(255, 82, 82, 0.25);
  animation: ringPulse 3s ease-in-out infinite;
}

.hero-ring-1 {
  inset: -20px;
  animation: rotate 20s linear infinite;
}

.hero-ring-2 {
  inset: -40px;
  border-style: dashed;
  border-color: rgba(255, 255, 255, 0.12);
  animation: rotate 30s linear infinite reverse;
}

@keyframes ringPulse {
  0%, 100% { opacity: 0.5; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.03); }
}

.hero-icon-wrapper::before,
.hero-icon-wrapper::after {
  display: none;
}

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

.hero-icon {
  width: 100%;
  height: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  filter: drop-shadow(0 20px 40px rgba(255, 82, 82, 0.3));
  animation: iconGlow 4s ease-in-out infinite;
}

@keyframes iconGlow {
  0%, 100% { filter: drop-shadow(0 20px 40px rgba(255, 82, 82, 0.3)); }
  50% { filter: drop-shadow(0 24px 50px rgba(255, 82, 82, 0.55)); }
}

.stat-item {
  transition: transform 0.3s ease;
}

.stat-item:hover {
  transform: translateY(-4px);
}

.stat-item h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  animation: statPop 0.6s ease forwards;
  animation-delay: calc(var(--i, 0) * 0.1s + 0.8s);
  opacity: 0;
}

.hero-stats .stat-item:nth-child(1) h3 { animation-delay: 0.9s; }
.hero-stats .stat-item:nth-child(2) h3 { animation-delay: 1s; }
.hero-stats .stat-item:nth-child(3) h3 { animation-delay: 1.1s; }

@keyframes statPop {
  from { opacity: 0; transform: scale(0.8); }
  to { opacity: 1; transform: scale(1); }
}

.hero-stats {
  display: flex;
  gap: 32px;
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

@media (prefers-reduced-motion: reduce) {
  .hero,
  .hero-animate,
  .hero-icon-wrapper,
  .hero-icon,
  .hero-highlight,
  .hero-particle,
  .hero-glow,
  .hero-ring,
  .stat-item h3 {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}

.stat-item p {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 4px;
}

/* ---- About Section ---- */
.about {
  padding: 64px 0 72px;
  background: var(--white);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.about-image {
  position: relative;
}

.about-image-card {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  border-radius: var(--radius-lg);
  padding: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 4/3;
  box-shadow: var(--shadow-lg);
}

.about-image-card img {
  width: 180px;
  aspect-ratio: 1 / 1;
  filter: drop-shadow(0 10px 30px rgba(255, 82, 82, 0.3));
}

.about-float-card {
  position: absolute;
  bottom: -24px;
  right: -24px;
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 20px 28px;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 16px;
}

.about-float-icon {
  width: 48px;
  height: 48px;
  background: rgba(255, 82, 82, 0.1);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  flex-shrink: 0;
}

.about-float-card h4 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--navy);
}

.about-float-card p {
  font-size: 0.8125rem;
  color: var(--gray-600);
}

.about-content .section-subtitle {
  margin-bottom: 32px;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.about-feature {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.about-feature-icon {
  width: 24px;
  height: 24px;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.about-feature-icon svg {
  width: 12px;
  height: 12px;
  fill: var(--white);
}

.about-feature h4 {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 4px;
}

.about-feature p {
  font-size: 0.8125rem;
  color: var(--gray-600);
}

/* ---- Services Section ---- */
.services {
  padding: 64px 0 72px;
  background: var(--gray-50);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 32px 32px;
  border: 1px solid var(--gray-200);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--primary);
  transform: scaleX(0);
  transition: transform var(--transition);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-icon {
  width: 64px;
  height: 64px;
  background: rgba(255, 82, 82, 0.1);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  color: var(--primary);
  transition: all var(--transition);
}

.service-card:hover .service-icon {
  background: var(--primary);
  color: var(--white);
  transform: scale(1.05);
}

.service-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 12px;
}

.service-card p {
  font-size: 0.9375rem;
  color: var(--gray-600);
  line-height: 1.7;
  margin-bottom: 24px;
  flex: 1;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--primary);
}

.service-link:hover {
  gap: 10px;
}

/* ---- Why Us Section ---- */
.why-us {
  padding: 64px 0 72px;
  background: var(--navy);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.why-us::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255, 82, 82, 0.1) 0%, transparent 70%);
}

.why-us .section-title {
  color: var(--white);
}

.why-us .section-subtitle {
  color: rgba(255, 255, 255, 0.65);
}

.why-us-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.why-card {
  text-align: center;
  padding: 32px 24px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: all var(--transition);
}

.why-card:hover {
  background: rgba(255, 82, 82, 0.1);
  border-color: rgba(255, 82, 82, 0.3);
  transform: translateY(-4px);
}

.why-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 16px;
}

.why-card h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.why-card p {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.6;
}

/* ---- Contact Section ---- */
.contact {
  padding: 80px 0;
  background: var(--white);
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 64px;
  align-items: start;
}

.contact-info h2 {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 16px;
}

.contact-info > p {
  color: var(--gray-600);
  margin-bottom: 40px;
  line-height: 1.7;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 16px;
}

.contact-item-icon {
  width: 48px;
  height: 48px;
  background: rgba(255, 82, 82, 0.1);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.contact-item h4 {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--gray-400);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 2px;
}

.contact-item p,
.contact-item a {
  font-size: 0.9375rem;
  color: var(--navy);
  font-weight: 500;
}

.contact-item a:hover {
  color: var(--primary);
}

.contact-form-wrapper {
  background: var(--gray-50);
  border-radius: var(--radius-lg);
  padding: 48px;
  border: 1px solid var(--gray-200);
}

.form-group {
  margin-bottom: 24px;
}

.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 8px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 14px 18px;
  font-size: 0.9375rem;
  font-family: inherit;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--text);
  transition: border-color var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary);
}

.form-group textarea {
  resize: vertical;
  min-height: 140px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.form-submit {
  width: 100%;
  padding: 16px;
  font-size: 1rem;
}

.form-message {
  padding: 16px 20px;
  border-radius: var(--radius-sm);
  margin-bottom: 24px;
  font-size: 0.9375rem;
  font-weight: 500;
  display: none;
}

.form-message.success {
  display: block;
  background: #ECFDF5;
  color: #065F46;
  border: 1px solid #A7F3D0;
}

.form-message.error {
  display: block;
  background: #FEF2F2;
  color: #991B1B;
  border: 1px solid #FECACA;
}

/* ---- Footer ---- */
.footer {
  background: var(--navy);
  color: var(--white);
  padding: 64px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand img {
  height: 40px;
  width: auto;
  aspect-ratio: 537 / 147;
  margin-bottom: 20px;
}

.footer-brand p {
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.7;
  max-width: 300px;
}

.footer-col h4 {
  font-size: 0.9375rem;
  font-weight: 600;
  margin-bottom: 20px;
  color: var(--white);
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col a {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
}

.footer-col a:hover {
  color: var(--primary);
}

.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 24px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
  color: rgba(255, 255, 255, 0.8);
}

.footer-social a svg {
  width: 18px;
  height: 18px;
  display: block;
}

.footer-social a:hover {
  background: var(--primary);
  color: var(--white);
}

.footer-bottom {
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-bottom p {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.5);
}

/* ---- Scroll to Top ---- */
.scroll-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 48px;
  height: 48px;
  background: var(--primary);
  color: var(--white);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition);
  z-index: 999;
}

.scroll-top.visible {
  opacity: 1;
  visibility: visible;
}

.scroll-top svg {
  width: 20px;
  height: 20px;
  display: block;
}

.scroll-top:hover {
  background: var(--primary-dark);
  transform: translateY(-4px);
}

/* ---- Animations ---- */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---- Responsive ---- */
@media (max-width: 1024px) {
  .hero .container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 24px;
  }

  .hero-content {
    justify-self: center;
    max-width: 560px;
  }

  .hero-description {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-stats {
    justify-content: center;
  }

  .hero-visual {
    order: -1;
    justify-self: center;
  }

  .hero-icon-wrapper {
    width: 180px;
    height: 180px;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .why-us-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-wrapper {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  :root {
    --header-height: 70px;
  }

  .header {
    z-index: 1001;
  }

  body.menu-open::before {
    content: '';
    position: fixed;
    inset: 0;
    background: rgba(5, 10, 48, 0.45);
    z-index: 998;
    animation: fadeIn 0.3s ease;
  }

  @keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
  }

  .nav-list {
    position: fixed;
    top: var(--header-height);
    left: 12px;
    right: 12px;
    background: var(--white);
    flex-direction: column;
    padding: 12px;
    gap: 6px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--gray-200);
    transform: translateY(-16px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
    max-height: calc(100vh - var(--header-height) - 24px);
    overflow-y: auto;
  }

  .nav-list.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav-list li {
    width: 100%;
  }

  .nav-link {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 14px 16px;
    border-bottom: none;
    border-radius: var(--radius-md);
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--navy);
    transition: all var(--transition);
  }

  .nav-link::after {
    display: none;
  }

  .nav-link:hover {
    background: var(--gray-50);
    color: var(--navy);
  }

  .nav-link.active {
    background: rgba(255, 82, 82, 0.1);
    color: var(--primary);
  }

  .nav-link.nav-cta {
    margin-top: 8px;
    padding: 14px 24px;
    justify-content: center;
    background: var(--primary);
    color: var(--white) !important;
    border: none;
    border-radius: var(--radius-full);
    box-shadow: 0 4px 16px rgba(255, 82, 82, 0.3);
  }

  .nav-link.nav-cta:hover,
  .nav-link.nav-cta.active {
    background: var(--primary-dark);
    color: var(--white) !important;
  }

  .menu-toggle {
    display: flex;
    z-index: 1002;
  }

  .hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    text-align: center;
  }

  .stat-item h3 {
    font-size: 1.25rem;
  }

  .stat-item p {
    font-size: 0.75rem;
  }

  .hero-particle,
  .hero-glow {
    display: none;
  }

  .about-features {
    grid-template-columns: 1fr;
  }

  .about-float-card {
    right: 16px;
    bottom: -16px;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .why-us-grid {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .contact-form-wrapper {
    padding: 32px 24px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

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

  .hero-stats {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .hero-icon-wrapper {
    width: 160px;
    height: 160px;
  }

  .section-header {
    margin-bottom: 40px;
  }

  .about, .services, .why-us, .contact {
    padding: 56px 0;
  }

  .home-preview {
    padding: 56px 0;
  }

  .home-cta {
    padding: 48px 0;
  }
}

/* ---- Inner Page Hero ---- */
.page-hero {
  padding: calc(var(--header-height) + 32px) 0 44px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  color: var(--white);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255, 82, 82, 0.12) 0%, transparent 70%);
  border-radius: 50%;
}

.page-hero .container {
  position: relative;
  z-index: 1;
}

.page-hero .section-label {
  color: var(--primary-light);
  animation: heroFadeUp 0.6s ease both;
}

.page-hero .section-title {
  color: var(--white);
  margin-bottom: 10px;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  animation: heroFadeUp 0.6s 0.1s ease both;
}

.page-hero .section-subtitle {
  color: rgba(255, 255, 255, 0.7);
  margin: 0 auto;
  font-size: 1rem;
  max-width: 640px;
  line-height: 1.7;
  animation: heroFadeUp 0.6s 0.2s ease both;
}

.page-hero-breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 14px;
  animation: heroFadeUp 0.6s ease both;
}

.page-hero-breadcrumb a {
  color: rgba(255, 255, 255, 0.7);
}

.page-hero-breadcrumb a:hover {
  color: var(--primary);
}

.page-hero + .about,
.page-hero + .services,
.page-hero + .why-us,
.page-hero + .contact {
  padding-top: 0;
}

.page-hero + .service-detail {
  padding-top: 48px;
}

.contact-hero + .contact-stats {
  padding-top: 0;
}

.page-hero + section:not(.contact-stats):not(.service-detail) {
  padding-top: 56px;
}

/* ---- Home Preview Cards ---- */
.home-preview {
  padding: 72px 0;
  background: var(--white);
}

.preview-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.preview-card {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  text-align: center;
  transition: all var(--transition);
}

.preview-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}

.preview-card-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 20px;
  background: rgba(255, 82, 82, 0.1);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  transition: all var(--transition);
}

.preview-card:hover .preview-card-icon {
  background: var(--primary);
  color: var(--white);
  transform: scale(1.05);
}

.preview-card-icon svg,
.service-icon svg,
.about-float-icon svg {
  width: 28px;
  height: 28px;
  display: block;
}

.preview-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 12px;
}

.preview-card p {
  font-size: 0.9375rem;
  color: var(--gray-600);
  margin-bottom: 24px;
  line-height: 1.7;
}

.home-cta {
  padding: 72px 0;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  text-align: center;
  color: var(--white);
}

.home-cta .container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.home-cta h2 {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 700;
  margin-bottom: 16px;
}

.home-cta p {
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 28px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}

/* ---- SPA Page Transitions ---- */
#page-content {
  transition: opacity 0.3s ease, transform 0.3s ease;
}

#page-content.is-leaving {
  opacity: 0;
  transform: translateY(12px);
}

#page-content.is-entering {
  opacity: 0;
  transform: translateY(12px);
}

body.is-navigating {
  cursor: wait;
}

body.is-navigating .nav-link {
  pointer-events: none;
}

@media (max-width: 1024px) {
  .preview-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   Modern Contact Page
   ============================================ */

/* ---- Contact Hero ---- */
.contact-hero {
  position: relative;
  padding: calc(var(--header-height) + 28px) 0 72px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 60%, var(--navy-mid) 100%);
  color: var(--white);
  text-align: center;
  overflow: hidden;
}

.contact-hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.contact-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  animation: orbFloat 8s ease-in-out infinite;
}

.contact-orb-1 {
  width: 400px;
  height: 400px;
  background: rgba(255, 82, 82, 0.18);
  top: -100px;
  right: -80px;
  animation-delay: 0s;
}

.contact-orb-2 {
  width: 300px;
  height: 300px;
  background: rgba(255, 82, 82, 0.1);
  bottom: -60px;
  left: -60px;
  animation-delay: -3s;
}

.contact-orb-3 {
  width: 200px;
  height: 200px;
  background: rgba(255, 255, 255, 0.05);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation-delay: -5s;
}

@keyframes orbFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(20px, -20px) scale(1.05); }
  66% { transform: translate(-15px, 15px) scale(0.95); }
}

.contact-hero .container {
  position: relative;
  z-index: 1;
}

.contact-hero-label {
  animation: fadeSlideUp 0.6s ease forwards;
}

.contact-hero-title {
  font-size: clamp(1.875rem, 3.5vw, 2.5rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 14px;
  animation: fadeSlideUp 0.6s 0.1s ease both;
}

.contact-hero-title span {
  color: var(--primary);
}

.contact-hero-text {
  font-size: 1.0625rem;
  color: rgba(255, 255, 255, 0.75);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
  animation: fadeSlideUp 0.6s 0.2s ease both;
}

.contact-hero .page-hero-breadcrumb {
  margin-bottom: 16px;
}

@keyframes fadeSlideUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ---- Contact Stats ---- */
.contact-stats {
  margin-top: -40px;
  position: relative;
  z-index: 2;
  padding-bottom: 0;
}

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

.contact-stat {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px 20px;
  text-align: center;
  box-shadow: 0 12px 32px rgba(5, 10, 48, 0.12);
  border: 1px solid var(--gray-200);
  transition: transform var(--transition), box-shadow var(--transition);
}

.contact-stat-number,
.contact-stat-suffix {
  display: inline;
}

.contact-stat-suffix {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--primary);
  margin-left: 2px;
}

.contact-stat:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(5, 10, 48, 0.15);
}

.contact-stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
}

.contact-stat p {
  font-size: 0.875rem;
  color: var(--gray-600);
  margin-top: 10px;
  line-height: 1.4;
}

/* ---- Contact Cards ---- */
.contact-cards-section {
  padding: 56px 0 64px;
  background: var(--gray-50);
}

.contact-cards-section .section-header {
  margin-bottom: 40px;
}

.contact-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.contact-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px 24px 24px;
  border: 1px solid var(--gray-200);
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  position: relative;
  overflow: hidden;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  animation-delay: calc(var(--delay, 0) * 0.1s);
}

.contact-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--primary-light));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.contact-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.contact-card:hover::before {
  transform: scaleX(1);
}

.contact-card:hover .contact-card-link {
  color: var(--primary);
  gap: 10px;
}

.contact-card-icon {
  width: 52px;
  height: 52px;
  background: rgba(255, 82, 82, 0.1);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  transition: all var(--transition);
  flex-shrink: 0;
}

.contact-card-icon svg {
  width: 24px;
  height: 24px;
  color: var(--primary);
  display: block;
}

.contact-card-icon-whatsapp svg {
  color: #25D366;
}

.contact-card:hover .contact-card-icon {
  background: var(--primary);
  transform: scale(1.08) rotate(-3deg);
}

.contact-card:hover .contact-card-icon svg {
  color: var(--white);
}

.contact-card:hover .contact-card-icon-whatsapp {
  background: #25D366;
}

.contact-card h3 {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}

.contact-card p {
  font-size: 0.9375rem;
  color: var(--gray-600);
  margin-bottom: 16px;
  flex: 1;
  line-height: 1.5;
}

.contact-card-link {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all var(--transition);
  margin-top: auto;
}

.contact-card-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #059669;
  background: #ECFDF5;
  padding: 6px 14px;
  border-radius: var(--radius-full);
}

.contact-card-badge::before {
  content: '';
  width: 8px;
  height: 8px;
  background: #10B981;
  border-radius: 50%;
  animation: pulse 2s infinite;
}

.contact-card-static {
  cursor: default;
}

/* ---- Contact Main (Form Split) ---- */
.contact-main {
  padding: 64px 0;
  background: var(--white);
}

.contact-main-grid {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 48px;
  align-items: start;
}

.contact-info-panel {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
}

.contact-info-panel h2 {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 14px;
}

.contact-info-panel > p {
  color: var(--gray-600);
  line-height: 1.7;
  margin-bottom: 32px;
  font-size: 0.9375rem;
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 32px;
}

.contact-info-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.contact-info-item-icon {
  width: 44px;
  height: 44px;
  background: rgba(255, 82, 82, 0.1);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all var(--transition);
}

.contact-info-item-icon svg {
  width: 20px;
  height: 20px;
  color: var(--primary);
  display: block;
}

.contact-info-item:hover .contact-info-item-icon {
  background: var(--primary);
  transform: scale(1.1);
}

.contact-info-item:hover .contact-info-item-icon svg {
  color: var(--white);
}

.contact-info-item h4 {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 4px;
}

.contact-info-item p,
.contact-info-item a {
  font-size: 0.875rem;
  color: var(--gray-600);
  line-height: 1.6;
}

.contact-info-item a:hover {
  color: var(--primary);
}

.contact-social h4 {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 16px;
}

.contact-social-links {
  display: flex;
  gap: 12px;
}

.contact-social-link {
  width: 44px;
  height: 44px;
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.contact-social-link svg {
  width: 18px;
  height: 18px;
  color: var(--navy);
  transition: color 0.3s ease;
}

.contact-social-link:hover {
  background: var(--primary);
  border-color: var(--primary);
  transform: translateY(-4px) rotate(5deg);
  box-shadow: 0 8px 20px rgba(255, 82, 82, 0.35);
}

.contact-social-link:hover svg {
  color: var(--white);
}

/* ---- Modern Form ---- */
.contact-form-modern {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 48px;
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
  scroll-margin-top: 100px;
}

.contact-form-modern::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--navy));
}

.contact-form-header {
  margin-bottom: 32px;
}

.contact-form-header h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 6px;
}

.contact-form-header p {
  font-size: 0.875rem;
  color: var(--gray-400);
}

.form-field {
  position: relative;
  margin-bottom: 28px;
}

.form-field input,
.form-field textarea,
.form-field select {
  width: 100%;
  padding: 16px 14px 8px;
  font-size: 0.9375rem;
  font-family: inherit;
  border: none;
  border-bottom: 2px solid var(--gray-200);
  background: transparent;
  color: var(--text);
  transition: border-color var(--transition);
  border-radius: 0;
}

.form-field textarea {
  resize: vertical;
  min-height: 120px;
  padding-top: 20px;
}

.form-field label {
  position: absolute;
  left: 14px;
  top: 16px;
  font-size: 0.9375rem;
  color: var(--gray-400);
  pointer-events: none;
  transition: all 0.25s ease;
}

.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
  outline: none;
  border-bottom-color: var(--primary);
}

.form-field input:focus ~ label,
.form-field input:not(:placeholder-shown) ~ label,
.form-field textarea:focus ~ label,
.form-field textarea:not(:placeholder-shown) ~ label,
.form-field select:focus ~ label,
.form-field select:valid ~ label {
  top: 0;
  font-size: 0.75rem;
  color: var(--primary);
  font-weight: 600;
}

.form-field-border {
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.form-field input:focus ~ .form-field-border,
.form-field textarea:focus ~ .form-field-border,
.form-field select:focus ~ .form-field-border {
  width: 100%;
}

.form-field-select select {
  appearance: none;
  cursor: pointer;
  padding-right: 30px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%236B7280' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
}

.form-field-select select:focus ~ label,
.form-field-select.has-value label {
  top: 0;
  font-size: 0.75rem;
  color: var(--primary);
  font-weight: 600;
}

.btn-submit {
  width: 100%;
  padding: 18px 32px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--white);
  border: none;
  border-radius: var(--radius-full);
  font-size: 1rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  margin-top: 8px;
}

.btn-submit::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--navy) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.btn-submit:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(255, 82, 82, 0.4);
}

.btn-submit:hover::before {
  opacity: 1;
}

.btn-submit-text,
.btn-submit-icon {
  position: relative;
  z-index: 1;
  transition: transform 0.3s ease;
}

.btn-submit-icon svg {
  width: 20px;
  height: 20px;
  display: block;
}

.btn-submit:hover .btn-submit-icon {
  transform: translateX(4px) rotate(-10deg);
}

.btn-submit.loading .btn-submit-text,
.btn-submit.loading .btn-submit-icon {
  opacity: 0;
}

.btn-submit-loader {
  position: absolute;
  width: 24px;
  height: 24px;
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-top-color: var(--white);
  border-radius: 50%;
  opacity: 0;
  animation: none;
}

.btn-submit.loading .btn-submit-loader {
  opacity: 1;
  animation: spin 0.8s linear infinite;
}

/* ---- Robot Verification (reCAPTCHA) ---- */
.form-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.form-turnstile {
  margin-bottom: 24px;
  padding: 20px;
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
}

.form-turnstile-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 14px;
}

.form-turnstile-label svg {
  color: var(--primary);
  flex-shrink: 0;
}

.turnstile-widget {
  min-height: 65px;
}

.form-turnstile-note {
  font-size: 0.8125rem;
  color: var(--gray-400);
  margin-top: 10px;
}

@media (max-width: 480px) {
  .turnstile-widget {
    transform-origin: left top;
    transform: scale(0.92);
  }
}

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

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  20% { transform: translateX(-8px); }
  40% { transform: translateX(8px); }
  60% { transform: translateX(-6px); }
  80% { transform: translateX(6px); }
}

/* ---- Map Section ---- */
.contact-map-section {
  padding: 64px 0 72px;
  background: var(--gray-50);
}

.contact-map-section .section-header {
  margin-bottom: 32px;
}

.contact-map-wrapper {
  height: 420px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--gray-200);
  background: var(--white);
}

.contact-map-iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.contact-map-card {
  position: absolute;
  left: 24px;
  bottom: 24px;
  right: auto;
  max-width: 340px;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(12px);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--gray-200);
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.contact-map-card-icon {
  width: 44px;
  height: 44px;
  background: rgba(255, 82, 82, 0.1);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-map-card-icon svg {
  width: 22px;
  height: 22px;
  color: var(--primary);
}

.contact-map-card h3 {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 6px;
}

.contact-map-card p {
  font-size: 0.8125rem;
  color: var(--gray-600);
  line-height: 1.55;
  margin-bottom: 14px;
}

.contact-map-card .btn {
  padding: 10px 18px;
  font-size: 0.875rem;
}

.contact-faq {
  padding: 64px 0 72px;
  background: var(--white);
}

/* ---- FAQ ---- */
.faq-list {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--gray-200);
  overflow: hidden;
  transition: box-shadow var(--transition);
}

.faq-item.active {
  box-shadow: var(--shadow-md);
  border-color: rgba(255, 82, 82, 0.3);
}

.faq-question {
  width: 100%;
  padding: 22px 24px;
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy);
  font-family: inherit;
  text-align: left;
  transition: color var(--transition);
}

.faq-question:hover {
  color: var(--primary);
}

.faq-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--primary);
  transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
  max-height: 200px;
}

.faq-answer p {
  padding: 0 24px 22px;
  font-size: 0.9375rem;
  color: var(--gray-600);
  line-height: 1.7;
}

/* ---- Contact Responsive ---- */
@media (max-width: 1024px) {
  .contact-stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-main-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .contact-map-overlay {
    flex-direction: column;
    gap: 24px;
    padding: 32px;
  }

  .contact-info-panel {
    padding: 32px 24px;
  }

  .contact-main {
    padding: 48px 0;
  }

  .contact-cards-section {
    padding: 48px 0;
  }
}

@media (max-width: 768px) {
  .contact-stats-grid {
    grid-template-columns: 1fr 1fr;
  }

  .contact-cards-grid {
    grid-template-columns: 1fr;
  }

  .contact-form-modern {
    padding: 32px 24px;
  }

  .contact-map-wrapper {
    height: auto;
    display: flex;
    flex-direction: column;
  }

  .contact-map-iframe {
    height: 280px;
  }

  .contact-map-card {
    position: static;
    max-width: none;
    margin-top: 0;
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  }
}

@media (max-width: 480px) {
  .contact-stats-grid {
    grid-template-columns: 1fr;
  }

  .contact-hero {
    padding-bottom: 80px;
  }
}

/* ---- AI Section ---- */
.ai-section {
  padding: 72px 0;
  background: var(--gray-50);
}

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

.ai-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  border: 1px solid var(--gray-200);
  transition: all var(--transition);
}

.ai-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(255, 82, 82, 0.3);
}

.ai-card-icon {
  width: 52px;
  height: 52px;
  background: rgba(255, 82, 82, 0.1);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  margin-bottom: 20px;
  transition: all var(--transition);
}

.ai-card-icon svg {
  width: 26px;
  height: 26px;
}

.ai-card:hover .ai-card-icon {
  background: var(--primary);
  color: var(--white);
}

.ai-card h3 {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
}

.ai-card p {
  font-size: 0.875rem;
  color: var(--gray-600);
  line-height: 1.65;
}

@media (max-width: 1024px) {
  .ai-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .ai-grid {
    grid-template-columns: 1fr;
  }
}

/* ---- Service Detail Pages ---- */
.service-detail {
  padding: 0 0 64px;
  background: var(--white);
}

.service-detail-intro {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 28px;
  align-items: start;
  margin-bottom: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--gray-200);
}

.service-detail-icon {
  width: 72px;
  height: 72px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(255, 82, 82, 0.12), rgba(5, 10, 48, 0.08));
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.service-detail-icon svg {
  width: 36px;
  height: 36px;
  color: var(--primary);
}

.service-detail-intro h2 {
  font-size: 1.625rem;
  color: var(--navy);
  margin-bottom: 12px;
}

.service-detail-intro p {
  color: var(--gray-600);
  line-height: 1.75;
  font-size: 1rem;
  max-width: none;
}

.service-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  margin-bottom: 48px;
}

.service-detail-card {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
}

.service-detail-card h3 {
  font-size: 1.25rem;
  color: var(--navy);
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--primary);
  display: block;
}

.service-detail-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.service-detail-list li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 12px;
  color: var(--gray-600);
  line-height: 1.65;
  font-size: 0.9375rem;
}

.service-detail-list li:last-child {
  margin-bottom: 0;
}

.service-detail-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary);
}

.service-detail-process {
  margin-bottom: 48px;
  padding-top: 8px;
}

.service-detail-process h2,
.service-detail-tech h2 {
  font-size: 1.625rem;
  color: var(--navy);
  text-align: center;
  margin-bottom: 32px;
}

.service-process-steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
}

.service-process-step {
  text-align: center;
  padding: 28px 20px;
  background: var(--gray-50);
  border-radius: var(--radius-md);
  border: 1px solid var(--gray-200);
}

.service-process-num {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
  font-size: 1rem;
}

.service-process-step h4 {
  font-size: 0.9375rem;
  color: var(--navy);
  margin-bottom: 8px;
}

.service-process-step p {
  font-size: 0.8125rem;
  color: var(--gray-500);
  line-height: 1.55;
}

.service-detail-tech {
  margin-bottom: 0;
  padding-bottom: 8px;
}

.service-tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  max-width: 800px;
  margin: 0 auto;
}

.service-tech-tag {
  padding: 10px 20px;
  background: var(--navy);
  color: var(--white);
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 500;
}

.service-related {
  padding: 64px 0;
  background: var(--gray-50);
  border-top: 1px solid var(--gray-200);
}

.service-related .container > h2 {
  font-size: 1.625rem;
  color: var(--navy);
  text-align: center;
  margin-bottom: 36px;
}

.service-related .services-grid {
  margin-top: 0;
}

.service-card-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
  margin-top: auto;
  padding-top: 4px;
}

.service-card-actions .service-link {
  margin-top: 0;
}

.services-grid .service-card .btn {
  padding: 10px 18px;
  font-size: 0.875rem;
}

.page-hero + .service-detail {
  padding-top: 48px;
}

.service-detail + .service-related {
  margin-top: 0;
}

.service-related + .home-cta {
  margin-top: 0;
}

@media (max-width: 1024px) {
  .service-detail-grid {
    grid-template-columns: 1fr;
  }

  .service-process-steps {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 20px;
  }

  .service-detail-intro {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 20px;
    padding-bottom: 36px;
    margin-bottom: 36px;
  }

  .service-detail-icon {
    margin: 0 auto;
  }

  .service-detail-grid {
    gap: 24px;
    margin-bottom: 36px;
  }

  .service-detail-card {
    padding: 28px 24px;
  }

  .service-detail-process,
  .service-detail-tech {
    margin-bottom: 36px;
  }

  .service-related {
    padding: 48px 0;
  }

  .service-process-steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .home-cta {
    padding: 56px 0;
  }
}

@media (max-width: 480px) {
  .service-process-steps {
    grid-template-columns: 1fr;
  }
}
