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

:root {
  --navy: #1a3a5c;
  --navy-dark: #0f2338;
  --gold: #c8a84b;
  --gold-light: #d9bc70;
  --gray-light: #f4f4f2;
  --gray-mid: #e2e2de;
  --gray-text: #5a5a5a;
  --text: #1e1e1e;
  --white: #ffffff;
  --border: #d0cfc9;
  --radius-sm: 3px;
  --radius: 5px;
  --shadow: 0 2px 12px rgba(0,0,0,0.10);
  --shadow-lg: 0 6px 32px rgba(0,0,0,0.13);
  --transition: 0.22s ease;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Segoe UI', Arial, sans-serif;
  color: var(--text);
  background: var(--white);
  font-size: 16px;
  line-height: 1.7;
}

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

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

ul { list-style: none; }

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

.section {
  padding: 80px 0;
}

.section-alt {
  background: var(--gray-light);
}

.section-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 12px;
  letter-spacing: -0.5px;
}

.section-subtitle {
  color: var(--gray-text);
  font-size: 1.05rem;
  margin-bottom: 48px;
  max-width: 560px;
}

.gold-line {
  width: 48px;
  height: 3px;
  background: var(--gold);
  margin-bottom: 16px;
}

/* ===== HEADER ===== */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 8px rgba(0,0,0,0.07);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 1.18rem;
  color: var(--navy);
  letter-spacing: -0.3px;
}

.logo img {
  width: 46px;
  height: 46px;
}

.logo span {
  color: var(--gold);
}

nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

nav a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--gray-text);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition: color var(--transition), background var(--transition);
  letter-spacing: 0.2px;
}

nav a:hover, nav a.active {
  color: var(--navy);
  background: var(--gray-light);
}

.nav-cta {
  background: var(--navy) !important;
  color: var(--white) !important;
  padding: 9px 20px !important;
  border-radius: var(--radius-sm) !important;
  font-weight: 600 !important;
  transition: background var(--transition) !important;
}

.nav-cta:hover {
  background: var(--navy-dark) !important;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}

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

/* ===== HERO ===== */
.hero {
  position: relative;
  height: 580px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--navy-dark);
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.38;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 620px;
}

.hero-tag {
  display: inline-block;
  background: var(--gold);
  color: var(--navy-dark);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: var(--radius-sm);
  margin-bottom: 20px;
}

.hero h1 {
  font-size: 2.9rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1.18;
  margin-bottom: 22px;
  letter-spacing: -1px;
}

.hero p {
  color: rgba(255,255,255,0.82);
  font-size: 1.08rem;
  margin-bottom: 36px;
  max-width: 500px;
}

.btn {
  display: inline-block;
  padding: 13px 30px;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  border: none;
  transition: background var(--transition), color var(--transition), box-shadow var(--transition);
  letter-spacing: 0.2px;
}

.btn-primary {
  background: var(--gold);
  color: var(--navy-dark);
}

.btn-primary:hover {
  background: var(--gold-light);
  box-shadow: 0 4px 16px rgba(200,168,75,0.30);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.6);
  margin-left: 12px;
}

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

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

.btn-navy:hover {
  background: var(--navy-dark);
}

/* ===== STATS BAR ===== */
.stats-bar {
  background: var(--navy);
  padding: 32px 0;
}

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

.stat-item {
  padding: 8px 16px;
  border-right: 1px solid rgba(255,255,255,0.12);
}

.stat-item:last-child { border-right: none; }

.stat-number {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 4px;
}

.stat-label {
  color: rgba(255,255,255,0.72);
  font-size: 0.85rem;
  letter-spacing: 0.3px;
}

/* ===== SERVICES GRID ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow var(--transition), transform var(--transition);
}

.service-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}

.service-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.service-card-body {
  padding: 24px;
}

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

.service-card-body p {
  color: var(--gray-text);
  font-size: 0.93rem;
  line-height: 1.6;
}

.service-link {
  display: inline-block;
  margin-top: 14px;
  color: var(--gold);
  font-weight: 600;
  font-size: 0.88rem;
  letter-spacing: 0.3px;
  transition: color var(--transition);
}

.service-link:hover {
  color: var(--navy);
}

/* ===== PROJECTS GRID ===== */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.project-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  cursor: pointer;
}

.project-card img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.project-card:hover img {
  transform: scale(1.04);
}

.project-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15,35,56,0.90) 0%, rgba(15,35,56,0.20) 60%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
}

.project-overlay h3 {
  color: var(--white);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.project-overlay span {
  color: var(--gold);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

/* ===== WHY US ===== */
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.why-img {
  width: 100%;
  height: 460px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}

.why-list {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.why-item {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}

.why-icon {
  width: 44px;
  height: 44px;
  background: var(--navy);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.why-icon svg {
  width: 22px;
  height: 22px;
  fill: var(--gold);
}

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

.why-item p {
  color: var(--gray-text);
  font-size: 0.92rem;
}

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

.testimonial-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
}

.testimonial-card p {
  color: var(--gray-text);
  font-size: 0.95rem;
  font-style: italic;
  line-height: 1.65;
  margin-bottom: 20px;
}

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

.testimonial-author img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
}

.testimonial-author strong {
  display: block;
  font-size: 0.93rem;
  color: var(--navy);
  font-weight: 700;
}

.testimonial-author span {
  font-size: 0.82rem;
  color: var(--gray-text);
}

/* ===== CTA BAND ===== */
.cta-band {
  background: var(--navy);
  padding: 64px 0;
  text-align: center;
}

.cta-band h2 {
  font-size: 2rem;
  color: var(--white);
  font-weight: 700;
  margin-bottom: 12px;
}

.cta-band p {
  color: rgba(255,255,255,0.72);
  margin-bottom: 32px;
  font-size: 1.05rem;
}

/* ===== FOOTER ===== */
footer {
  background: var(--navy-dark);
  color: rgba(255,255,255,0.72);
  padding: 56px 0 0;
}

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

.footer-brand .logo {
  color: var(--white);
  margin-bottom: 14px;
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.65;
  max-width: 260px;
}

.footer-col h4 {
  color: var(--white);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

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

.footer-col ul li a {
  font-size: 0.9rem;
  transition: color var(--transition);
}

.footer-col ul li a:hover {
  color: var(--gold);
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 0.9rem;
}

.footer-contact-item svg {
  width: 16px;
  height: 16px;
  fill: var(--gold);
  flex-shrink: 0;
  margin-top: 3px;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.10);
  padding: 18px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.84rem;
}

.footer-bottom a {
  color: var(--gold);
  transition: color var(--transition);
}

.footer-bottom a:hover {
  color: var(--gold-light);
}

/* ===== PAGE HERO (interior pages) ===== */
.page-hero {
  background: var(--navy);
  padding: 64px 0;
  position: relative;
  overflow: hidden;
}

.page-hero::after {
  content: '';
  position: absolute;
  right: 0;
  top: 0;
  width: 40%;
  height: 100%;
  background: rgba(200,168,75,0.08);
  clip-path: polygon(20% 0, 100% 0, 100% 100%, 0% 100%);
}

.page-hero h1 {
  color: var(--white);
  font-size: 2.4rem;
  font-weight: 800;
  margin-bottom: 10px;
}

.page-hero p {
  color: rgba(255,255,255,0.72);
  font-size: 1.05rem;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
  margin-bottom: 16px;
}

.breadcrumb a { color: var(--gold); }
.breadcrumb span { color: rgba(255,255,255,0.35); }

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

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

.contact-info p {
  color: var(--gray-text);
  margin-bottom: 32px;
  font-size: 0.95rem;
}

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 20px;
}

.contact-detail-icon {
  width: 40px;
  height: 40px;
  background: var(--navy);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-detail-icon svg {
  width: 18px;
  height: 18px;
  fill: var(--gold);
}

.contact-detail strong {
  display: block;
  color: var(--navy);
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 2px;
}

.contact-detail span {
  color: var(--gray-text);
  font-size: 0.9rem;
}

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

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

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.93rem;
  color: var(--text);
  background: var(--white);
  font-family: inherit;
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(26,58,92,0.09);
}

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

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

/* ===== ABOUT PAGE ===== */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.team-card {
  text-align: center;
}

.team-card img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: var(--radius);
  margin-bottom: 16px;
}

.team-card h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 4px;
}

.team-card span {
  color: var(--gold);
  font-size: 0.85rem;
  font-weight: 600;
}

/* ===== VALUES ===== */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.value-card {
  padding: 32px 28px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  border-top: 3px solid var(--gold);
}

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

.value-card p {
  color: var(--gray-text);
  font-size: 0.92rem;
}

/* ===== COOKIE BANNER ===== */
#cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--navy-dark);
  color: rgba(255,255,255,0.88);
  padding: 20px 32px;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  box-shadow: 0 -4px 24px rgba(0,0,0,0.18);
  border-top: 2px solid var(--gold);
  font-size: 0.9rem;
}

#cookie-banner p {
  max-width: 720px;
  line-height: 1.55;
}

#cookie-banner a {
  color: var(--gold);
  text-decoration: underline;
}

.cookie-actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

.cookie-accept {
  background: var(--gold);
  color: var(--navy-dark);
  border: none;
  padding: 9px 22px;
  font-weight: 700;
  font-size: 0.88rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background var(--transition);
}

.cookie-accept:hover { background: var(--gold-light); }

.cookie-decline {
  background: transparent;
  color: rgba(255,255,255,0.6);
  border: 1px solid rgba(255,255,255,0.25);
  padding: 9px 18px;
  font-size: 0.88rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: border-color var(--transition), color var(--transition);
}

.cookie-decline:hover {
  border-color: rgba(255,255,255,0.5);
  color: var(--white);
}

/* ===== PRIVACY PAGE ===== */
.privacy-content {
  max-width: 760px;
}

.privacy-content h2 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--navy);
  margin: 36px 0 10px;
}

.privacy-content p {
  color: var(--gray-text);
  font-size: 0.95rem;
  margin-bottom: 14px;
}

.privacy-content ul {
  list-style: disc;
  padding-left: 24px;
  color: var(--gray-text);
  font-size: 0.95rem;
  margin-bottom: 14px;
}

.privacy-content ul li { margin-bottom: 6px; }

/* ===== MOBILE NAV ===== */
@media (max-width: 900px) {
  .hamburger { display: flex; }

  nav {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 16px;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow);
    gap: 4px;
  }

  nav.open { display: flex; }
  nav a { width: 100%; }

  .hero h1 { font-size: 2rem; }
  .hero { height: auto; padding: 80px 0; }

  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.12); }
  .stat-item:nth-child(2n) { border-right: none; }

  .services-grid, .projects-grid, .testimonials-grid, .values-grid { grid-template-columns: 1fr 1fr; }
  .why-grid, .contact-grid { grid-template-columns: 1fr; }
  .why-img { height: 280px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .team-grid { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
}

@media (max-width: 580px) {
  .services-grid, .projects-grid, .testimonials-grid, .values-grid, .team-grid { grid-template-columns: 1fr; }
  .section { padding: 56px 0; }
  .section-title { font-size: 1.6rem; }
  .hero h1 { font-size: 1.7rem; }
  #cookie-banner { flex-direction: column; align-items: flex-start; }
  .footer-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
}
