/* ===== RESET & BASE ===== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --navy: #0f1f3d;
  --navy-light: #162a52;
  --navy-dark: #0a1528;
  --accent: #2E9CCA;
  --accent-light: #4db8e0;
  --accent-dark: #1f7da6;
  --white: #ffffff;
  --gray-50: #f8f9fb;
  --gray-100: #eef1f5;
  --gray-200: #dce1e9;
  --gray-300: #b0b8c9;
  --gray-600: #5a6478;
  --gray-700: #3d4555;
  --gray-800: #2a3040;
  --text: #1a1e28;
  --text-light: #5a6478;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 4px 24px rgba(15, 31, 61, 0.08);
  --shadow-lg: 0 8px 40px rgba(15, 31, 61, 0.12);
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: 'DM Sans', sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}

/* ===== SKIP LINK ===== */
.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  background: var(--accent);
  color: var(--white);
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  z-index: 10000;
  font-weight: 600;
  text-decoration: none;
}
.skip-link:focus {
  top: 16px;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4 {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  line-height: 1.2;
  color: var(--navy);
}

h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
h3 { font-size: clamp(1.1rem, 2vw, 1.35rem); }

p { max-width: 65ch; }

a {
  color: var(--accent);
  text-decoration: none;
  transition: color var(--transition);
}
a:hover { color: var(--accent-light); }

/* ===== UTILITY ===== */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-pad {
  padding: 100px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}
.section-header h2 {
  margin-bottom: 16px;
}
.section-header p {
  color: var(--text-light);
  font-size: 1.1rem;
  margin: 0 auto;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  border: none;
  transition: all var(--transition);
  text-decoration: none;
}
.btn-primary {
  background: var(--accent);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(46, 156, 202, 0.3);
}
.btn-primary:hover {
  background: var(--accent-light);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(46, 156, 202, 0.4);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.4);
}
.btn-outline:hover {
  border-color: var(--white);
  color: var(--white);
  background: rgba(255,255,255,0.1);
}
.btn-pulse {
  animation: pulse 2.5s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 4px 16px rgba(46, 156, 202, 0.3); }
  50% { box-shadow: 0 4px 32px rgba(46, 156, 202, 0.55); }
}

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 16px 0;
  transition: all var(--transition);
}
.navbar.scrolled {
  background: rgba(15, 31, 61, 0.97);
  backdrop-filter: blur(12px);
  padding: 10px 0;
  box-shadow: 0 2px 20px rgba(0,0,0,0.15);
}
.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--white);
}
.nav-logo-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: var(--accent);
  border-radius: 10px;
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--white);
  letter-spacing: -0.5px;
}
.nav-logo-text {
  font-family: 'Syne', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--gray-200);
  line-height: 1.2;
}
.nav-logo-text span {
  display: block;
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--gray-300);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}
.nav-links a {
  color: var(--gray-200);
  font-size: 0.95rem;
  font-weight: 500;
  transition: color var(--transition);
  text-decoration: none;
}
.nav-links a:hover {
  color: var(--white);
}
.nav-cta {
  background: var(--accent);
  color: var(--white) !important;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  font-weight: 600 !important;
}
.nav-cta:hover {
  background: var(--accent-light);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 26px;
  height: 2.5px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--transition);
}
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile nav */
.mobile-nav {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(15, 31, 61, 0.98);
  backdrop-filter: blur(16px);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
}
.mobile-nav.active {
  display: flex;
}
.mobile-nav a {
  color: var(--white);
  font-family: 'Syne', sans-serif;
  font-size: 1.5rem;
  font-weight: 600;
  text-decoration: none;
  transition: color var(--transition);
}
.mobile-nav a:hover { color: var(--accent); }

@media (max-width: 900px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--navy);
  overflow: hidden;
}
.hero-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.4;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(15,31,61,0.85) 0%, rgba(15,31,61,0.6) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
  padding: 120px 0 80px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(46,156,202,0.15);
  border: 1px solid rgba(46,156,202,0.3);
  color: var(--accent-light);
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 24px;
}
.hero-badge svg {
  width: 16px;
  height: 16px;
}
.hero h1 {
  color: var(--white);
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}
.hero h1 .typed-cursor {
  display: inline-block;
  width: 3px;
  height: 0.8em;
  background: var(--accent);
  margin-left: 4px;
  animation: blink 1s step-end infinite;
  vertical-align: baseline;
}
@keyframes blink {
  50% { opacity: 0; }
}
.hero-sub {
  color: var(--gray-300);
  font-size: clamp(1rem, 2vw, 1.2rem);
  margin-bottom: 36px;
  max-width: 560px;
  line-height: 1.8;
}
.hero-btns {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* ===== SERVICES ===== */
.services {
  background: var(--gray-50);
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}
.service-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px 28px;
  transition: all var(--transition);
  border: 1px solid var(--gray-100);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.service-card:hover::before {
  transform: scaleX(1);
}
.service-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  background: rgba(46, 156, 202, 0.1);
  border-radius: var(--radius-sm);
  margin-bottom: 20px;
  color: var(--accent);
}
.service-icon svg {
  width: 28px;
  height: 28px;
}
.service-card h3 {
  margin-bottom: 12px;
}
.service-card p {
  color: var(--text-light);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 16px;
}
.service-link {
  font-weight: 600;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.service-link svg {
  width: 16px;
  height: 16px;
  transition: transform var(--transition);
}
.service-link:hover svg {
  transform: translateX(4px);
}

/* ===== WHY US ===== */
.why-us {
  background: var(--white);
}
.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}
.why-card {
  display: flex;
  gap: 20px;
  padding: 32px;
  background: var(--gray-50);
  border-radius: var(--radius);
  border: 1px solid var(--gray-100);
  transition: all var(--transition);
}
.why-card:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow);
}
.why-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  background: rgba(46, 156, 202, 0.1);
  border-radius: var(--radius-sm);
  color: var(--accent);
}
.why-icon svg {
  width: 26px;
  height: 26px;
}
.why-text h3 {
  margin-bottom: 8px;
}
.why-text p {
  color: var(--text-light);
  font-size: 0.95rem;
}

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

/* ===== STATS ===== */
.stats {
  background: var(--navy);
  padding: 72px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}
.stat-item {
  color: var(--white);
}
.stat-number {
  font-family: 'Syne', sans-serif;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 800;
  color: var(--accent-light);
  margin-bottom: 8px;
}
.stat-label {
  color: var(--gray-300);
  font-size: 0.95rem;
}

@media (max-width: 700px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 40px; }
}

/* ===== ABOUT ===== */
.about {
  background: var(--gray-50);
}
.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.about-text p {
  color: var(--text-light);
  font-size: 1.05rem;
  margin-bottom: 20px;
}
.about-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}
.about-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background: rgba(46, 156, 202, 0.1);
  color: var(--accent-dark);
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 500;
}
.about-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.about-person {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  border: 1px solid var(--gray-100);
}
.about-avatar {
  width: 80px;
  height: 80px;
  background: var(--gray-100);
  border-radius: 50%;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-300);
}
.about-avatar svg {
  width: 40px;
  height: 40px;
}
.about-person h4 {
  font-size: 1rem;
  margin-bottom: 4px;
}
.about-person span {
  font-size: 0.85rem;
  color: var(--text-light);
}

@media (max-width: 800px) {
  .about-content { grid-template-columns: 1fr; }
}

/* ===== AREA ===== */
.area {
  background: var(--white);
}
.area-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.area-text p {
  color: var(--text-light);
  font-size: 1.05rem;
  margin-bottom: 24px;
}
.area-cities {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.area-city {
  padding: 6px 14px;
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: 50px;
  font-size: 0.9rem;
  color: var(--text);
  font-weight: 500;
}
.area-map {
  background: var(--gray-100);
  border-radius: var(--radius);
  min-height: 340px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-300);
  font-size: 0.95rem;
  border: 1px solid var(--gray-200);
  overflow: hidden;
}
.area-map iframe {
  width: 100%;
  height: 100%;
  min-height: 340px;
  border: 0;
  border-radius: var(--radius);
}

@media (max-width: 800px) {
  .area-content { grid-template-columns: 1fr; }
}

/* ===== CONTACT ===== */
.contact {
  background: var(--gray-50);
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.form-group label {
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--gray-700);
}
.form-group input,
.form-group textarea {
  padding: 12px 16px;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-family: 'DM Sans', sans-serif;
  font-size: 1rem;
  color: var(--text);
  background: var(--white);
  transition: border-color var(--transition);
  outline: none;
}
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(46,156,202,0.1);
}
.form-group textarea {
  resize: vertical;
  min-height: 120px;
}
.form-success {
  display: none;
  padding: 16px 20px;
  background: #e8f7ee;
  color: #1a7a3a;
  border-radius: var(--radius-sm);
  font-weight: 500;
}
.form-success.show {
  display: block;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.contact-info-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.contact-info-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background: rgba(46,156,202,0.1);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
}
.contact-info-icon svg {
  width: 22px;
  height: 22px;
}
.contact-info-text h4 {
  font-size: 1rem;
  margin-bottom: 4px;
}
.contact-info-text p,
.contact-info-text a {
  color: var(--text-light);
  font-size: 0.95rem;
}
.contact-response {
  margin-top: auto;
  padding: 20px 24px;
  background: rgba(46,156,202,0.08);
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--accent);
}
.contact-response p {
  font-weight: 500;
  color: var(--navy);
  font-size: 0.95rem;
}

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

/* ===== FOOTER ===== */
.footer {
  background: var(--navy-dark);
  padding: 60px 0 24px;
  color: var(--gray-300);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand p {
  font-size: 0.95rem;
  line-height: 1.7;
  margin-top: 16px;
  color: var(--gray-300);
  max-width: 340px;
}
.footer-links h4,
.footer-contact h4 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 16px;
}
.footer-links ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-links a {
  color: var(--gray-300);
  font-size: 0.9rem;
  transition: color var(--transition);
}
.footer-links a:hover {
  color: var(--accent-light);
}
.footer-contact p {
  font-size: 0.9rem;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.footer-contact svg {
  width: 16px;
  height: 16px;
  color: var(--accent);
  flex-shrink: 0;
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.85rem;
  color: var(--gray-600);
}

@media (max-width: 700px) {
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
}

/* ===== ANIMATIONS ===== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }
.reveal-delay-6 { transition-delay: 0.6s; }
.reveal-delay-7 { transition-delay: 0.7s; }

/* ===== FOCUS STYLES ===== */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
