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

:root {
  --navy:    #0d1b2a;
  --navy2:   #162436;
  --gold:    #c9a84c;
  --gold2:   #e0bb6a;
  --white:   #ffffff;
  --light:   #f5f4f0;
  --muted:   #6b7280;
  --border:  #e5e7eb;
  --radius:  8px;
  --shadow:  0 4px 24px rgba(13,27,42,.10);
  --trans:   .3s ease;
}

html { scroll-behavior: smooth; font-size: 16px; }

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

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

.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }

.section        { padding: 96px 0; }
.section-dark   { background: var(--navy); color: var(--white); }
.section-accent { background: var(--navy2); color: var(--white); }

/* ===== SECTION HEADER ===== */
.section-header { text-align: center; margin-bottom: 60px; }
.section-header p { max-width: 540px; margin: 12px auto 0; color: var(--muted); }
.section-dark .section-header p,
.section-accent .section-header p { color: rgba(255,255,255,.65); }

.section-tag {
  display: inline-block;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
}
.section-tag.light { color: var(--gold2); }

h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  line-height: 1.25;
  font-weight: 600;
}
h3 { font-size: 1.15rem; font-weight: 600; margin-bottom: 8px; }
h4 { font-size: 1rem;    font-weight: 600; margin-bottom: 4px; }

/* ===== BUTTONS ===== */
.btn-primary, .btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: var(--radius);
  font-size: .9rem;
  font-weight: 600;
  letter-spacing: .03em;
  transition: var(--trans);
  cursor: pointer;
  border: 2px solid transparent;
}
.btn-primary {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
}
.btn-primary:hover { background: var(--gold2); border-color: var(--gold2); transform: translateY(-2px); box-shadow: 0 8px 20px rgba(201,168,76,.35); }

.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,.5);
}
.btn-ghost:hover { border-color: var(--white); background: rgba(255,255,255,.08); }

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

/* ===== NAVBAR ===== */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 999;
  padding: 0;
  transition: background var(--trans), box-shadow var(--trans), padding var(--trans);
}
#navbar.scrolled {
  background: var(--navy);
  box-shadow: 0 2px 20px rgba(0,0,0,.25);
  padding: 0;
}

.nav-container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 32px;
  height: 72px;
}

.logo { display: flex; align-items: center; }
.logo-img {
  height: 48px;
  width: auto;
  background: var(--white);
  border-radius: 6px;
  padding: 4px 10px;
  display: block;
}
.footer-logo-img {
  height: 60px;
  background: var(--white);
  border-radius: 8px;
  padding: 6px 12px;
}

.nav-links {
  display: flex;
  gap: 4px;
  margin-left: auto;
}
.nav-links a {
  display: block;
  padding: 6px 14px;
  font-size: .88rem;
  font-weight: 500;
  color: rgba(255,255,255,.8);
  border-radius: 4px;
  transition: color var(--trans), background var(--trans);
}
.nav-links a:hover { color: var(--gold); background: rgba(255,255,255,.06); }
.nav-links a.active { color: var(--gold); }

.nav-right { display: flex; align-items: center; gap: 12px; }

/* Language toggle */
.lang-toggle {
  display: flex;
  align-items: center;
  gap: 4px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 20px;
  padding: 4px 12px;
  font-size: .8rem;
  font-weight: 600;
  color: var(--white);
  cursor: pointer;
  transition: var(--trans);
  letter-spacing: .04em;
}
.lang-toggle:hover { background: rgba(255,255,255,.18); }
.lang-active  { color: var(--gold); }
.lang-sep     { opacity: .4; }
.lang-inactive{ opacity: .55; }

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

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  background:
    linear-gradient(160deg, rgba(13,27,42,.88) 0%, rgba(13,27,42,.65) 60%, rgba(13,27,42,.82) 100%),
    url('https://images.unsplash.com/photo-1504307651254-35680f356dfd?w=1600&q=80') center/cover no-repeat;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to right, rgba(13,27,42,.6) 0%, transparent 60%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 680px;
  padding: 120px 24px 80px;
  margin-left: calc((100vw - 1180px) / 2);
  margin-left: max(24px, calc((100vw - 1180px) / 2));
}

.hero-eyebrow {
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}

.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  line-height: 1.15;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 24px;
}
.hero-title em {
  font-style: italic;
  color: var(--gold);
}

.hero-sub {
  font-size: 1.05rem;
  color: rgba(255,255,255,.78);
  margin-bottom: 40px;
  max-width: 500px;
}

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

.hero-scroll-hint {
  position: absolute;
  bottom: 36px; left: 50%;
  transform: translateX(-50%);
  display: flex; align-items: center; justify-content: center;
}
.hero-scroll-hint span {
  display: block;
  width: 2px; height: 48px;
  background: linear-gradient(to bottom, rgba(255,255,255,0), var(--gold));
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse { 0%,100%{opacity:.3;transform:scaleY(1)} 50%{opacity:1;transform:scaleY(1.15)} }

/* ===== STATS BAR ===== */
.stats-bar {
  background: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0;
  padding: 28px 24px;
}
.stat-item {
  display: flex; flex-direction: column; align-items: center;
  padding: 8px 40px;
}
.stat-number {
  font-size: 2rem; font-weight: 700;
  color: var(--navy); line-height: 1;
}
.stat-label {
  font-size: .78rem; font-weight: 600;
  letter-spacing: .06em; text-transform: uppercase;
  color: var(--navy); opacity: .75; margin-top: 4px;
  text-align: center;
}
.stat-divider { width: 1px; height: 40px; background: rgba(13,27,42,.2); }

/* ===== ABOUT ===== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 80px;
  align-items: center;
}

.about-img-wrap { position: relative; }
.about-img-placeholder {
  aspect-ratio: 4/5;
  background: linear-gradient(135deg, #1a2f45 0%, #243d56 100%);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 5rem;
  color: var(--gold);
  opacity: .85;
}
.about-badge {
  position: absolute;
  bottom: -24px; right: -24px;
  background: var(--gold);
  color: var(--navy);
  padding: 16px 20px;
  border-radius: var(--radius);
  display: flex; align-items: center; gap: 10px;
  font-weight: 700; font-size: .85rem;
  box-shadow: var(--shadow);
}

.about-text { padding-left: 8px; }
.about-text h2 { margin-bottom: 20px; }
.about-text p  { color: var(--muted); margin-bottom: 16px; font-size: .95rem; }

.about-values {
  display: flex; flex-wrap: wrap; gap: 10px;
  margin-top: 28px;
}
.value-chip {
  display: flex; align-items: center; gap: 7px;
  background: var(--light);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 6px 14px;
  font-size: .82rem; font-weight: 600; color: var(--navy);
}
.value-chip i { color: var(--gold); font-size: .85rem; }

/* ===== SERVICES ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service-card {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 12px;
  padding: 32px 28px;
  transition: var(--trans);
}
.service-card:hover {
  background: rgba(255,255,255,.08);
  border-color: var(--gold);
  transform: translateY(-4px);
}
.service-icon {
  width: 52px; height: 52px;
  background: rgba(201,168,76,.15);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; color: var(--gold);
  margin-bottom: 20px;
}
.service-card h3 { color: var(--white); margin-bottom: 10px; }
.service-card p  { color: rgba(255,255,255,.6); font-size: .9rem; line-height: 1.65; }

/* ===== PROJECTS ===== */
.projects-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 24px;
}
.project-card {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
  transition: var(--trans);
  background: var(--white);
}
.project-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }

.project-img-wrap { position: relative; }
.project-img-placeholder {
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, #1a2f45 0%, #243d56 100%);
  display: flex; align-items: center; justify-content: center;
  font-size: 3rem; color: var(--gold); opacity: .7;
}
.project-card.featured .project-img-placeholder { aspect-ratio: 4/3; }

.project-tag {
  position: absolute;
  top: 14px; left: 14px;
  background: var(--gold);
  color: var(--navy);
  font-size: .72rem; font-weight: 700;
  letter-spacing: .07em; text-transform: uppercase;
  padding: 4px 10px; border-radius: 4px;
}
.project-info { padding: 22px 24px; }
.project-location { font-size: .78rem; color: var(--muted); margin-bottom: 8px; display: block; }
.project-location i { color: var(--gold); margin-right: 4px; }
.project-info h3 { font-size: 1rem; margin-bottom: 8px; }
.project-info p  { font-size: .88rem; color: var(--muted); line-height: 1.6; }

.projects-cta { text-align: center; margin-top: 48px; }

/* ===== WHY US ===== */
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: start;
}
.why-text h2 { color: var(--white); margin: 12px 0 16px; }
.why-text p  { color: rgba(255,255,255,.65); font-size: .95rem; }

.why-items { display: flex; flex-direction: column; gap: 28px; }
.why-item  { display: flex; gap: 20px; align-items: flex-start; }
.why-icon  {
  width: 46px; height: 46px; flex-shrink: 0;
  background: rgba(201,168,76,.15);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; color: var(--gold);
}
.why-item h4 { color: var(--white); }
.why-item p  { color: rgba(255,255,255,.6); font-size: .88rem; }

/* ===== CONTACT ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 60px;
  align-items: start;
}

.contact-info { display: flex; flex-direction: column; gap: 20px; }
.contact-card {
  display: flex; gap: 18px; align-items: flex-start;
  background: var(--light);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 22px;
  transition: var(--trans);
}
.contact-card:hover { border-color: var(--gold); }
.contact-icon {
  width: 42px; height: 42px; flex-shrink: 0;
  background: var(--gold);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; color: var(--navy);
}
.contact-card h4 { font-size: .8rem; text-transform: uppercase; letter-spacing: .07em; color: var(--muted); margin-bottom: 4px; }
.contact-card a, .contact-card span { font-size: .95rem; font-weight: 500; color: var(--navy); }
.contact-card a:hover { color: var(--gold); }

/* Form */
.contact-form {
  background: var(--light);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 36px 32px;
  display: flex; flex-direction: column; gap: 18px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-group { display: flex; flex-direction: column; gap: 7px; }
.form-group label { font-size: .82rem; font-weight: 600; color: var(--navy); }

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  font-family: inherit;
  font-size: .92rem;
  color: var(--navy);
  transition: border-color var(--trans), box-shadow var(--trans);
  outline: none;
  resize: vertical;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201,168,76,.12);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: #bbb; }

.form-success {
  display: flex; align-items: center; gap: 10px;
  background: #f0fdf4; border: 1px solid #bbf7d0;
  color: #166534; border-radius: var(--radius); padding: 12px 16px;
  font-size: .9rem; font-weight: 500;
}
.form-success i { font-size: 1.1rem; }

/* ===== FOOTER ===== */
.footer { background: var(--navy); color: rgba(255,255,255,.7); padding: 64px 0 0; }
.footer-container {
  max-width: 1180px; margin: 0 auto; padding: 0 24px;
  display: grid; grid-template-columns: 1.5fr 1fr 1.3fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer-brand .logo { margin-bottom: 14px; }
.footer-brand p { font-size: .88rem; line-height: 1.65; max-width: 260px; }

.footer-links h5, .footer-contact h5 {
  color: var(--white); font-size: .82rem;
  letter-spacing: .1em; text-transform: uppercase;
  margin-bottom: 18px;
}
.footer-links ul { display: flex; flex-direction: column; gap: 10px; }
.footer-links a { font-size: .88rem; transition: color var(--trans); }
.footer-links a:hover { color: var(--gold); }

.footer-contact p { font-size: .88rem; margin-bottom: 10px; display: flex; align-items: center; gap: 10px; }
.footer-contact i { color: var(--gold); width: 14px; }
.footer-contact a:hover { color: var(--gold); }

.footer-social { margin-top: 18px; display: flex; gap: 12px; }
.footer-social a {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.2);
  display: flex; align-items: center; justify-content: center;
  font-size: .95rem; color: rgba(255,255,255,.7);
  transition: var(--trans);
}
.footer-social a:hover { background: var(--gold); border-color: var(--gold); color: var(--navy); }

.footer-bottom {
  max-width: 1180px; margin: 0 auto; padding: 18px 24px;
  font-size: .8rem; text-align: center; opacity: .5;
}

/* ===== TOPICS BAR ===== */
.topics-bar {
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  padding: 22px 24px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.topic-item {
  display: flex; align-items: center; gap: 9px;
  padding: 8px 28px;
  font-size: .82rem; font-weight: 600;
  letter-spacing: .05em; text-transform: uppercase;
  color: rgba(255,255,255,.7);
}
.topic-item i { color: var(--gold); font-size: .9rem; }
.topic-divider { width: 1px; height: 28px; background: rgba(255,255,255,.12); }

/* ===== BLOG ===== */
.blog { background: var(--light); }

/* Featured */
.blog-featured {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--white);
  margin-bottom: 32px;
  box-shadow: var(--shadow);
}
.blog-featured-img { position: relative; min-height: 340px; }
.blog-featured-img .blog-img-placeholder {
  width: 100%; height: 100%;
  background: linear-gradient(135deg, #0d1b2a 0%, #1e3a55 100%);
  display: flex; align-items: center; justify-content: center;
  font-size: 4.5rem; color: var(--gold); opacity: .75;
  min-height: 340px;
}
.blog-featured-body {
  padding: 44px 40px;
  display: flex; flex-direction: column; justify-content: center; gap: 16px;
}
.blog-featured-body h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.45rem; font-weight: 600; line-height: 1.35;
  color: var(--navy);
}
.blog-featured-body p { font-size: .93rem; color: var(--muted); line-height: 1.75; }

/* Post grid */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}
.blog-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  transition: var(--trans);
  display: flex; flex-direction: column;
}
.blog-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--gold); }

.blog-card-img { position: relative; }
.blog-img-placeholder {
  background: linear-gradient(135deg, #0d1b2a 0%, #1e3a55 100%);
  display: flex; align-items: center; justify-content: center;
  font-size: 2.4rem; color: var(--gold); opacity: .7;
}
.blog-img-placeholder.small { height: 160px; }

.blog-tag {
  position: absolute; top: 12px; left: 12px;
  background: var(--gold); color: var(--navy);
  font-size: .7rem; font-weight: 700;
  letter-spacing: .07em; text-transform: uppercase;
  padding: 3px 9px; border-radius: 4px;
}

.blog-card-body {
  padding: 20px 22px 24px;
  display: flex; flex-direction: column; gap: 10px; flex: 1;
}
.blog-date { font-size: .76rem; color: var(--muted); display: flex; align-items: center; gap: 6px; }
.blog-date i { color: var(--gold); }
.blog-card-body h4 { font-size: .97rem; line-height: 1.45; color: var(--navy); }
.blog-card-body p  { font-size: .85rem; color: var(--muted); line-height: 1.65; flex: 1; }

.blog-read-more {
  display: inline-flex; align-items: center;
  font-size: .82rem; font-weight: 700;
  color: var(--gold); margin-top: 4px;
  transition: gap var(--trans), color var(--trans);
  gap: 4px;
}
.blog-read-more:hover { color: var(--navy); gap: 8px; }

/* Featured read more */
.blog-featured-body .blog-read-more { font-size: .88rem; margin-top: 4px; }

.blog-cta {
  text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 18px;
}
.blog-cta p { font-size: 1.05rem; font-weight: 500; color: var(--navy); }

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

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .about-grid    { grid-template-columns: 1fr; gap: 48px; }
  .about-visual  { order: -1; max-width: 440px; margin: 0 auto; }
  .about-badge   { right: 0; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .blog-featured { grid-template-columns: 1fr; }
  .blog-featured-img { min-height: 220px; }
  .blog-featured-img .blog-img-placeholder { min-height: 220px; }
  .blog-grid     { grid-template-columns: 1fr 1fr; }
  .why-grid      { grid-template-columns: 1fr; gap: 40px; }
  .footer-container { grid-template-columns: 1fr 1fr; }
}

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

  .nav-links { display: none; flex-direction: column; position: fixed; top: 72px; left: 0; right: 0; background: var(--navy); padding: 24px; gap: 4px; }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 16px; font-size: 1rem; }
  .hamburger { display: flex; }

  .hero-content { margin-left: 0; padding: 120px 24px 80px; }

  .stats-bar { gap: 0; }
  .stat-item { padding: 12px 20px; }
  .stat-divider { display: none; }

  .services-grid { grid-template-columns: 1fr; }
  .blog-grid     { grid-template-columns: 1fr; }
  .blog-featured-body { padding: 28px 24px; }

  .contact-grid { grid-template-columns: 1fr; }
  .form-row     { grid-template-columns: 1fr; }
  .contact-form { padding: 24px 20px; }

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

@media (max-width: 480px) {
  .hero-cta { flex-direction: column; }
  .btn-primary, .btn-ghost { justify-content: center; }
}
