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

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

body {
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

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

.section {
  padding: 96px 0;
}

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

.section-tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #d4a017;
  margin-bottom: 12px;
}

.section-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 700;
  color: #102a43;
  line-height: 1.2;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.05rem;
  color: #486581;
  line-height: 1.7;
}

/* ===== NAVBAR ===== */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(16, 42, 67, 0.08);
  transition: box-shadow 0.3s ease;
}

header.nav-scrolled {
  box-shadow: 0 4px 24px rgba(16, 42, 67, 0.1);
}

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

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: #102a43;
}

.nav-logo-text {
  display: none;
}

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

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: #334e68;
  transition: color 0.2s;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: #d4a017;
  transition: width 0.3s;
}

.nav-links a:hover {
  color: #d4a017;
}

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

.nav-cta-btn {
  background: #102a43;
  color: #fff !important;
  padding: 10px 20px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  transition: background 0.2s, transform 0.2s;
}

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

.nav-cta-btn:hover {
  background: #243b53;
  color: #fff !important;
  transform: translateY(-1px);
}

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 1001;
}

.hamburger-line {
  display: block;
  width: 24px;
  height: 2px;
  background: #102a43;
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

.nav-toggle[aria-expanded="true"] .hamburger-line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .hamburger-line:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] .hamburger-line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #102a43 0%, #243b53 40%, #334e68 70%, #1e3a5f 100%);
  overflow: hidden;
  padding: 120px 24px 80px;
}

.hero-gradient {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 20% 80%, rgba(212, 160, 23, 0.15) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 80% 20%, rgba(212, 160, 23, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

.hero-pattern {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.6;
}

.hero-container {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 800px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(212, 160, 23, 0.15);
  border: 1px solid rgba(212, 160, 23, 0.3);
  color: #f5c452;
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 28px;
}

.hero-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(2rem, 5vw, 3.4rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 24px;
}

.hero-accent {
  color: #f5c452;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: #bcccdc;
  line-height: 1.75;
  max-width: 600px;
  margin: 0 auto 40px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 56px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 600;
  font-family: 'Inter', system-ui, sans-serif;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.25s ease;
  text-decoration: none;
}

.btn-primary {
  background: #d4a017;
  color: #102a43;
  border-color: #d4a017;
}

.btn-primary:hover {
  background: #e0b020;
  border-color: #e0b020;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(212, 160, 23, 0.3);
}

.btn-secondary {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-2px);
}

.btn-outline-light {
  background: transparent;
  color: #102a43;
  border-color: #102a43;
}

.btn-outline-light:hover {
  background: #102a43;
  color: #fff;
  transform: translateY(-2px);
}

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

.btn-lg {
  padding: 16px 32px;
  font-size: 1rem;
}

/* Trust items */
.hero-trust {
  display: flex;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #d9e2ec;
  font-size: 0.85rem;
  font-weight: 500;
}

.hero-wave {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  line-height: 0;
}

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

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

.service-card {
  background: #fff;
  border-radius: 20px;
  padding: 36px 28px;
  box-shadow: 0 2px 12px rgba(16, 42, 67, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(16, 42, 67, 0.05);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(16, 42, 67, 0.1);
}

.service-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(212, 160, 23, 0.1);
  border-radius: 16px;
  margin-bottom: 20px;
}

.service-card h3 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.2rem;
  font-weight: 600;
  color: #102a43;
  margin-bottom: 10px;
}

.service-card p {
  font-size: 0.92rem;
  color: #486581;
  line-height: 1.7;
}

/* ===== WHY US ===== */
.why-us {
  background: #fff;
}

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

.why-image {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
}

.why-image img {
  width: 100%;
  height: 620px;
  object-fit: cover;
  border-radius: 24px;
}

.why-image-accent {
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 160px;
  height: 160px;
  background: #d4a017;
  border-radius: 24px;
  z-index: -1;
  opacity: 0.3;
}

.why-content {
  max-width: 520px;
}

.why-intro {
  font-size: 1.05rem;
  color: #486581;
  line-height: 1.75;
  margin-bottom: 36px;
}

.why-feature {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
}

.why-check {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  background: rgba(212, 160, 23, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}

.why-feature h4 {
  font-size: 1rem;
  font-weight: 600;
  color: #102a43;
  margin-bottom: 4px;
}

.why-feature p {
  font-size: 0.9rem;
  color: #486581;
  line-height: 1.65;
}

/* ===== PROCESS ===== */
.process {
  background: #102a43;
  color: #fff;
}

.process .section-tag {
  color: #f5c452;
}

.process .section-title {
  color: #fff;
}

.process .section-subtitle {
  color: #9fb3c8;
}

.process-steps {
  display: flex;
  align-items: flex-start;
  gap: 0;
  max-width: 900px;
  margin: 0 auto;
}

.process-step {
  flex: 1;
  text-align: center;
  padding: 0 24px;
}

.step-number {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  background: rgba(212, 160, 23, 0.15);
  border: 2px solid #d4a017;
  border-radius: 50%;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: #f5c452;
}

.step-content h3 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: #fff;
}

.step-content p {
  font-size: 0.92rem;
  color: #bcccdc;
  line-height: 1.7;
}

.process-step-connector {
  flex-shrink: 0;
  width: 48px;
  align-self: flex-start;
  margin-top: 32px;
}

.process-step-connector::before {
  content: '';
  display: block;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, #d4a017 0%, rgba(212, 160, 23, 0.2) 100%);
  border-radius: 2px;
}

/* ===== TESTIMONIALS ===== */
.testimonials {
  background: #f0f4f8;
}

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

.testimonial-card {
  background: #fff;
  border-radius: 20px;
  padding: 36px 28px;
  box-shadow: 0 2px 12px rgba(16, 42, 67, 0.06);
  border: 1px solid rgba(16, 42, 67, 0.05);
  position: relative;
}

.testimonial-quote {
  position: absolute;
  top: 20px;
  right: 28px;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 5rem;
  line-height: 1;
  color: rgba(212, 160, 23, 0.15);
  pointer-events: none;
}

.testimonial-text {
  font-size: 0.95rem;
  color: #334e68;
  line-height: 1.75;
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-avatar {
  flex-shrink: 0;
}

.testimonial-name {
  font-weight: 600;
  font-size: 0.95rem;
  color: #102a43;
}

.testimonial-location {
  font-size: 0.8rem;
  color: #627d98;
}

/* ===== CTA BANNER ===== */
.cta-banner {
  background: linear-gradient(135deg, #d4a017 0%, #b8860b 100%);
  padding: 80px 24px;
}

.cta-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.cta-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 700;
  color: #102a43;
  line-height: 1.2;
  margin-bottom: 8px;
}

.cta-subtitle {
  font-size: 1rem;
  color: #4c3008;
  line-height: 1.6;
}

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

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

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

.contact-intro {
  font-size: 1.05rem;
  color: #486581;
  line-height: 1.75;
  margin-bottom: 36px;
}

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

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

.contact-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(212, 160, 23, 0.1);
  border-radius: 12px;
}

.contact-detail strong {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #d4a017;
  margin-bottom: 4px;
}

.contact-detail a,
.contact-detail span {
  font-size: 0.95rem;
  color: #334e68;
  line-height: 1.6;
}

.contact-detail a:hover {
  color: #d4a017;
}

/* Form */
.contact-form-wrap {
  background: #f0f4f8;
  border-radius: 24px;
  padding: 40px;
}

.form-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: #102a43;
  margin-bottom: 28px;
}

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

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: #334e68;
  margin-bottom: 6px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid #d9e2ec;
  border-radius: 12px;
  font-size: 0.95rem;
  font-family: 'Inter', system-ui, sans-serif;
  color: #102a43;
  background: #fff;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #9fb3c8;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: #d4a017;
  box-shadow: 0 0 0 3px rgba(212, 160, 23, 0.15);
}

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

.form-success {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
  padding: 14px 18px;
  background: rgba(22, 163, 74, 0.08);
  border: 1px solid rgba(22, 163, 74, 0.2);
  border-radius: 12px;
  color: #16a34a;
  font-size: 0.9rem;
  font-weight: 500;
}

/* ===== MAP ===== */
.map-section {
  background: #f0f4f8;
}

.map-container {
  border-radius: 0;
  overflow: hidden;
  box-shadow: 0 -2px 16px rgba(16, 42, 67, 0.06);
}

/* ===== FOOTER ===== */
.footer {
  background: #0a1e30;
  color: #bcccdc;
  padding: 64px 0 0;
}

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

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: #fff;
  margin-bottom: 16px;
}

.footer-desc {
  font-size: 0.9rem;
  line-height: 1.7;
  color: #627d98;
  max-width: 300px;
}

.footer-links h4,
.footer-contact h4 {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #d4a017;
  margin-bottom: 16px;
}

.footer-links ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  font-size: 0.9rem;
  color: #627d98;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: #f5c452;
}

.footer-contact address {
  font-style: normal;
  font-size: 0.9rem;
  line-height: 1.7;
  color: #627d98;
  margin-bottom: 12px;
}

.footer-contact p {
  font-size: 0.9rem;
  line-height: 1.7;
}

.footer-contact a {
  color: #9fb3c8;
  transition: color 0.2s;
}

.footer-contact a:hover {
  color: #f5c452;
}

.footer-bottom {
  border-top: 1px solid rgba(16, 42, 67, 0.6);
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p {
  font-size: 0.8rem;
  color: #486581;
}

/* ===== SCROLL REVEAL ===== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ===== RESPONSIVE ===== */
@media (min-width: 640px) {
  .nav-logo-text {
    display: inline;
  }
}

@media (max-width: 1023px) {
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: #fff;
    flex-direction: column;
    align-items: flex-start;
    padding: 100px 32px 40px;
    gap: 20px;
    box-shadow: -8px 0 32px rgba(16, 42, 67, 0.15);
    transition: right 0.3s ease;
  }

  .nav-links.open {
    right: 0;
  }

  .nav-toggle {
    display: flex;
  }

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

  .why-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .why-image img {
    height: 400px;
  }

  .process-steps {
    flex-direction: column;
    gap: 32px;
  }

  .process-step-connector {
    display: none;
  }

  .cta-container {
    flex-direction: column;
    text-align: center;
  }

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

@media (max-width: 639px) {
  .section {
    padding: 64px 0;
  }

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

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

  .hero {
    padding: 100px 20px 60px;
  }

  .hero-trust {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: center;
  }

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

  .contact-form-wrap {
    padding: 24px;
  }

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

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

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  html {
    scroll-behavior: auto;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
}
