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

html { scroll-behavior: smooth; }

body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: #1E1D1A;
  background: #FCF9F7;
  overflow-x: hidden;
}

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

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

/* === NAVIGATION (.main-nav — class selector, NOT bare nav) === */
.main-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: #15222E;
  padding: 0 24px;
  transition: background 0.3s;
}

.main-nav.scrolled { background: #0F1822; box-shadow: 0 2px 20px rgba(0,0,0,0.25); }

.main-nav .nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  max-width: 1200px;
  margin: 0 auto;
}

.nav-logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: #FCF9F7;
  letter-spacing: -0.5px;
}
.nav-logo span { color: #E8604C; }

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

.nav-links a {
  color: #C5C0B8;
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.25s;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: #34B4A6;
  transition: width 0.25s;
}
.nav-links a:hover { color: #FCF9F7; }
.nav-links a:hover::after { width: 100%; }

.nav-cta {
  background: #E8604C;
  color: #FFFFFF;
  padding: 10px 24px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: background 0.25s;
}
.nav-cta:hover { background: #C04432; }

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

@media (max-width: 900px) {
  .hamburger { display: flex; }
  .nav-links {
    position: fixed;
    top: 72px;
    left: 0;
    width: 100%;
    background: #15222E;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    padding: 0 24px;
  }
  .nav-links.open { max-height: 420px; }
  .nav-links a {
    padding: 16px 0;
    border-bottom: 1px solid #2A3A4A;
    font-size: 1.05rem;
  }
  .nav-cta { margin: 16px 0; text-align: center; border-radius: 6px; }
}

/* === HERO === */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: #15222E;
  position: relative;
  overflow: hidden;
  padding-top: 72px;
}

.hero-bg-pattern {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 15% 30%, rgba(52,180,166,0.12) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(232,96,76,0.10) 0%, transparent 50%),
    radial-gradient(circle at 50% 50%, rgba(46,76,109,0.15) 0%, transparent 60%);
  pointer-events: none;
}

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

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

.hero-badge {
  display: inline-block;
  background: rgba(52,180,166,0.15);
  color: #34B4A6;
  padding: 6px 18px;
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  margin-bottom: 24px;
}

.hero h1 {
  font-size: 3.4rem;
  font-weight: 800;
  line-height: 1.15;
  color: #FCF9F7;
  margin-bottom: 20px;
}
.hero h1 span { color: #E8604C; }

.hero p {
  color: #C5C0B8;
  font-size: 1.15rem;
  line-height: 1.75;
  margin-bottom: 32px;
  max-width: 520px;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.25s;
  border: none;
  cursor: pointer;
}
.btn-primary {
  background: #E8604C;
  color: #FFFFFF;
}
.btn-primary:hover { background: #C04432; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(232,96,76,0.35); }
.btn-outline {
  background: transparent;
  color: #FCF9F7;
  border: 2px solid #3D6291;
}
.btn-outline:hover { background: #2E4C6D; border-color: #2E4C6D; color: #FFFFFF; }

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

.hero-illustration {
  width: 380px;
  height: 380px;
  background: linear-gradient(135deg, rgba(46,76,109,0.2) 0%, rgba(52,180,166,0.12) 50%, rgba(232,96,76,0.15) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.hero-illustration::before {
  content: '';
  position: absolute;
  width: 300px;
  height: 300px;
  border: 2px dashed rgba(61,98,145,0.5);
  border-radius: 50%;
  animation: spin 25s linear infinite;
}
.hero-illustration::after {
  content: '';
  position: absolute;
  width: 220px;
  height: 220px;
  border: 2px dashed rgba(52,180,166,0.4);
  border-radius: 50%;
  animation: spin 20s linear infinite reverse;
}
.hero-icon-center {
  width: 120px;
  height: 120px;
  background: #E8604C;
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2;
  box-shadow: 0 12px 40px rgba(232,96,76,0.3);
}
.hero-icon-center svg { width: 56px; height: 56px; fill: #FFFFFF; }

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

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; gap: 40px; }
  .hero h1 { font-size: 2.3rem; }
  .hero p { max-width: 100%; }
  .hero-buttons { justify-content: center; }
  .hero-visual { order: -1; }
  .hero-illustration { width: 260px; height: 260px; }
  .hero-illustration::before { width: 210px; height: 210px; }
  .hero-illustration::after { width: 150px; height: 150px; }
  .hero-icon-center { width: 90px; height: 90px; border-radius: 18px; }
  .hero-icon-center svg { width: 42px; height: 42px; }
}

/* === SECTION COMMON === */
.section { padding: 100px 0; }
.section-label {
  display: inline-block;
  color: #E8604C;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  color: #15222E;
  line-height: 1.2;
  margin-bottom: 16px;
}
.section-subtitle {
  color: #5A5652;
  font-size: 1.1rem;
  max-width: 600px;
  line-height: 1.7;
}
.section-header { text-align: center; margin-bottom: 60px; }
.section-header .section-subtitle { margin: 0 auto; }

/* === SERVICES === */
.services { background: #FFFFFF; }

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

.service-card {
  padding: 40px 32px;
  border-radius: 12px;
  background: #FCF9F7;
  border: 1px solid #F0EDE9;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 0;
  background: #34B4A6;
  transition: height 0.3s;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(21,34,46,0.08);
  border-color: #D1CDC7;
}
.service-card:hover::before { height: 100%; }

.service-icon {
  width: 56px;
  height: 56px;
  background: #15222E;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.service-icon svg { width: 28px; height: 28px; fill: #34B4A6; }
.service-card h3 { font-size: 1.25rem; font-weight: 700; color: #15222E; margin-bottom: 10px; }
.service-card p { color: #5A5652; font-size: 0.95rem; line-height: 1.7; }

@media (max-width: 900px) {
  .services-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
}

/* === STATS === */
.stats { background: #15222E; }

.stats .section-label { color: #34B4A6; }
.stats .section-title { color: #FCF9F7; }
.stats .section-subtitle { color: #C5C0B8; }

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

.stat-item { padding: 24px; }

.stat-number {
  font-size: 3rem;
  font-weight: 800;
  color: #34B4A6;
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  color: #C5C0B8;
  font-size: 0.95rem;
  font-weight: 500;
}

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

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

/* === ABOUT === */
.about { background: #FCF9F7; }

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

.about-text .section-label { margin-bottom: 12px; }
.about-text .section-title { margin-bottom: 16px; }
.about-text p {
  color: #5A5652;
  margin-bottom: 16px;
  line-height: 1.75;
}

.about-features { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 28px; }
.about-feat {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #15222E;
  font-weight: 600;
  font-size: 0.95rem;
}
.about-feat-icon {
  width: 28px;
  height: 28px;
  background: #34B4A6;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.about-feat-icon::after {
  content: '✓';
  color: #FFFFFF;
  font-weight: 700;
  font-size: 0.7rem;
}

.about-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-card-stack {
  position: relative;
  width: 100%;
  max-width: 440px;
}

.about-main-card {
  background: #FFFFFF;
  border: 1px solid #F0EDE9;
  border-radius: 16px;
  padding: 40px;
  box-shadow: 0 8px 32px rgba(21,34,46,0.06);
  position: relative;
  z-index: 2;
}

.about-card-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid #F0EDE9;
}
.about-card-row:last-child { border-bottom: none; }

.about-card-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  flex-shrink: 0;
}
.about-card-dot.teal { background: #34B4A6; }
.about-card-dot.coral { background: #E8604C; }
.about-card-dot.blue { background: #2E4C6D; }

.about-card-row h4 { font-size: 1rem; font-weight: 700; color: #15222E; }
.about-card-row p { font-size: 0.85rem; color: #5A5652; }

.about-accent-card {
  position: absolute;
  top: 24px;
  right: -24px;
  width: 100%;
  height: 100%;
  background: #2E4C6D;
  border-radius: 16px;
  z-index: 1;
}

@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-accent-card { right: 0; top: 16px; }
  .about-visual { order: -1; }
}

/* === CONTACT === */
.contact { background: #FFFFFF; }

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

.contact-info h3 {
  font-size: 1.8rem;
  font-weight: 700;
  color: #15222E;
  margin-bottom: 12px;
}
.contact-info p { color: #5A5652; margin-bottom: 28px; line-height: 1.7; }

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 20px;
}
.contact-detail-icon {
  width: 44px;
  height: 44px;
  background: #F0EDE9;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-detail-icon svg { width: 20px; height: 20px; fill: #2E4C6D; }
.contact-detail h4 { font-size: 0.95rem; font-weight: 700; color: #15222E; margin-bottom: 2px; }
.contact-detail span { font-size: 0.9rem; color: #5A5652; }

.contact-form-wrap {
  background: #FCF9F7;
  border: 1px solid #F0EDE9;
  border-radius: 16px;
  padding: 40px;
}

.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-weight: 600;
  color: #15222E;
  margin-bottom: 6px;
  font-size: 0.9rem;
}
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid #D1CDC7;
  border-radius: 8px;
  font-size: 1rem;
  font-family: inherit;
  color: #1E1D1A;
  background: #FFFFFF;
  transition: border-color 0.25s;
}
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #34B4A6;
}
.form-group textarea { min-height: 140px; resize: vertical; }
.form-submit { width: 100%; }

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

/* === FOOTER === */
.site-footer {
  background: #15222E;
  padding: 60px 0 32px;
  color: #C5C0B8;
}

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

.footer-brand h3 {
  font-size: 1.4rem;
  font-weight: 700;
  color: #FCF9F7;
  margin-bottom: 12px;
}
.footer-brand span { color: #E8604C; }
.footer-brand p { font-size: 0.9rem; line-height: 1.7; }

.footer-col h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: #FCF9F7;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.footer-col a {
  display: block;
  color: #C5C0B8;
  font-size: 0.9rem;
  padding: 6px 0;
  transition: color 0.25s;
}
.footer-col a:hover { color: #34B4A6; }

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid #2A3A4A;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
}

@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 500px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
}

/* === SCROLL TO TOP === */
.scroll-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 48px;
  height: 48px;
  background: #E8604C;
  color: #FFFFFF;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  font-size: 1.3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: all 0.3s;
  z-index: 999;
}
.scroll-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.scroll-top:hover { background: #C04432; }

/* === ANIMATIONS === */
.fade-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }
