@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;500;600;700&family=DM+Sans:ital,wght@0,300;0,400;0,500;0,600;1,400&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'DM Sans', sans-serif; color: #0B2D4F; background: #fff; -webkit-font-smoothing: antialiased; }

:root {
  --navy: #0B2D4F;
  --navy-dark: #071E35;
  --navy-mid: #1D4A70;
  --navy-light: #4A7A9B;
  --amber: #EF9F27;
  --amber-dark: #BA7517;
  --amber-light: #FDF3E0;
  --gray-bg: #F5F4F0;
  --gray-mid: #B4B2A9;
  --gray-text: #5A6A7E;
  --border: #E2DFD8;
}

h1, h2, h3 { font-family: 'Cormorant Garamond', serif; font-weight: 600; line-height: 1.15; color: var(--navy); }
h1 { font-size: clamp(2.6rem, 5vw, 4.2rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); }
p { font-size: 1rem; line-height: 1.8; color: var(--gray-text); }
a { text-decoration: none; color: inherit; }

.container { max-width: 1160px; margin: 0 auto; padding: 0 2rem; }
.section { padding: 6rem 0; }
.section--gray { background: var(--gray-bg); }
.section--navy { background: var(--navy); }
.section--dark { background: var(--navy-dark); }

.label {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--amber-dark);
  font-weight: 500;
  margin-bottom: 1rem;
}
.section--navy .label, .section--dark .label { color: var(--amber); }

/* NAV */
nav {
  position: sticky; top: 0; z-index: 1000;
  background: white; border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1160px; margin: 0 auto; padding: 0 2rem;
  display: flex; align-items: center; justify-content: space-between;
  height: 70px;
}
.nav-logo { display: flex; align-items: center; gap: 12px; }
.logo-divider { width: 1px; height: 26px; background: var(--border); }
.logo-text { display: flex; flex-direction: column; gap: 3px; }
.logo-name { font-size: 11px; letter-spacing: 0.18em; font-weight: 600; color: var(--navy); line-height: 1; }
.logo-sub { font-size: 7px; letter-spacing: 0.25em; color: var(--amber-dark); line-height: 1; }

.nav-links { display: flex; align-items: center; gap: 2rem; list-style: none; }
.nav-links a {
  font-size: 0.78rem; letter-spacing: 0.08em; font-weight: 500;
  color: var(--navy); text-transform: uppercase;
  padding-bottom: 3px; border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--amber-dark); border-bottom-color: var(--amber); }

/* BUTTONS */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.8rem 1.8rem;
  font-size: 0.8rem; font-family: 'DM Sans', sans-serif;
  font-weight: 500; letter-spacing: 0.07em; text-transform: uppercase;
  border-radius: 3px; transition: all 0.2s;
  cursor: pointer; border: none;
}
.btn-primary { background: var(--amber); color: var(--navy); }
.btn-primary:hover { background: #F5AA3A; transform: translateY(-1px); }
.btn-outline-white { background: transparent; color: white; border: 1px solid rgba(255,255,255,0.3); }
.btn-outline-white:hover { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.7); }
.btn-navy { background: var(--navy); color: white; }
.btn-navy:hover { background: var(--navy-mid); transform: translateY(-1px); }
.btn-outline-navy { background: transparent; color: var(--navy); border: 1px solid var(--navy); }
.btn-outline-navy:hover { background: var(--navy); color: white; }

/* HERO */
.hero {
  background: var(--navy); color: white;
  min-height: 88vh; display: flex; align-items: center;
  position: relative; overflow: hidden; padding: 6rem 0;
}
.hero-decor {
  position: absolute; right: -8%; top: 50%;
  transform: translateY(-50%); opacity: 0.055; pointer-events: none;
}
.hero-content { max-width: 1160px; margin: 0 auto; padding: 0 2rem; position: relative; z-index: 1; }
.hero-tag {
  display: inline-block; font-size: 0.72rem; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--amber); font-weight: 500;
  margin-bottom: 1.5rem;
  animation: fadeUp 0.5s ease both;
}
.hero h1 {
  color: white; max-width: 680px; margin-bottom: 1.75rem;
  animation: fadeUp 0.5s ease 0.1s both;
}
.hero h1 em { color: var(--amber); font-style: normal; }
.hero-desc {
  color: rgba(255,255,255,0.65); max-width: 520px;
  font-size: 1.05rem; margin-bottom: 2.5rem; line-height: 1.8;
  animation: fadeUp 0.5s ease 0.2s both;
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; animation: fadeUp 0.5s ease 0.3s both; }

/* PAGE HERO */
.page-hero { background: var(--navy); padding: 5rem 0; position: relative; overflow: hidden; }
.page-hero-content { max-width: 1160px; margin: 0 auto; padding: 0 2rem; position: relative; z-index: 1; }
.page-hero h1 { color: white; max-width: 600px; margin-bottom: 1rem; }
.page-hero p { color: rgba(255,255,255,0.62); max-width: 520px; font-size: 1.05rem; margin-top: 1rem; }
.page-hero-decor {
  position: absolute; right: 3%; top: 50%;
  transform: translateY(-50%); opacity: 0.05; pointer-events: none;
}

/* SERVICE CARDS */
.services-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem; margin-top: 4rem;
}
.service-card {
  background: white; border: 1px solid var(--border);
  border-radius: 6px; padding: 2.25rem;
  display: flex; flex-direction: column;
  transition: all 0.25s;
}
.service-card:hover { box-shadow: 0 12px 40px rgba(11,45,79,0.1); transform: translateY(-3px); border-color: rgba(11,45,79,0.2); }
.service-icon {
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--amber-light); display: flex;
  align-items: center; justify-content: center; margin-bottom: 1.75rem;
}
.service-card h3 { margin-bottom: 0.75rem; }
.service-card p { flex: 1; margin-bottom: 1.5rem; }
.service-link {
  font-size: 0.78rem; letter-spacing: 0.1em; font-weight: 600;
  color: var(--amber-dark); text-transform: uppercase;
  display: flex; align-items: center; gap: 0.4rem; transition: gap 0.2s;
}
.service-link:hover { gap: 0.75rem; }

/* STATS */
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; margin-top: 4rem; }
.stat { text-align: center; padding: 2rem 1rem; }
.stat-number { font-family: 'Cormorant Garamond', serif; font-size: 3.8rem; font-weight: 700; color: var(--amber); line-height: 1; margin-bottom: 0.5rem; }
.stat-label { font-size: 0.75rem; letter-spacing: 0.15em; text-transform: uppercase; color: rgba(255,255,255,0.45); font-weight: 500; margin-bottom: 0.4rem; }
.stat-desc { color: rgba(255,255,255,0.45); font-size: 0.85rem; line-height: 1.6; }

/* MODALITIES */
.modalities-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.875rem; margin-top: 2.5rem; }
.modality-item {
  border: 1px solid var(--border); border-radius: 5px;
  padding: 1.25rem 0.75rem; text-align: center;
  font-size: 0.85rem; font-weight: 500; color: var(--navy);
  background: white; transition: all 0.2s;
}
.modality-item:hover { background: var(--navy); color: white; border-color: var(--navy); }

/* SERVICE DETAIL (services page) */
.service-detail { padding: 5rem 0; border-bottom: 1px solid var(--border); }
.service-detail:last-child { border-bottom: none; }
.service-detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }
.service-detail-grid.reverse { direction: rtl; }
.service-detail-grid.reverse > * { direction: ltr; }
.service-detail h2 { margin-bottom: 1.25rem; }
.service-detail p { margin-bottom: 1.25rem; }
.service-detail ul { list-style: none; margin: 1.5rem 0; }
.service-detail ul li {
  padding: 0.5rem 0 0.5rem 1.5rem;
  position: relative; font-size: 0.9rem;
  color: var(--gray-text); border-bottom: 1px solid var(--border);
}
.service-detail ul li:last-child { border-bottom: none; }
.service-detail ul li::before {
  content: ''; position: absolute; left: 0; top: 50%;
  transform: translateY(-50%);
  width: 6px; height: 6px; border-radius: 50%; background: var(--amber);
}
.service-visual {
  background: var(--gray-bg); border-radius: 8px;
  height: 360px; display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
}
.service-visual-inner { opacity: 0.15; }

/* VALUES */
.values-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; margin-top: 3rem; }
.value-card {
  padding: 1.75rem 1.75rem 1.75rem 1.5rem;
  border-left: 3px solid var(--amber);
  background: white;
  border-radius: 0 6px 6px 0;
  border-top: 1px solid var(--border);
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.value-card h3 { font-size: 1.2rem; margin-bottom: 0.5rem; }

/* MISSION */
.mission-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6rem; align-items: start; }
.mission-text h2 { margin-bottom: 1.5rem; }
.mission-text p { margin-bottom: 1.25rem; }
.mission-visual {
  background: var(--navy); border-radius: 8px;
  padding: 4rem 3rem; display: flex; flex-direction: column;
  justify-content: center; min-height: 420px; position: relative; overflow: hidden;
}
.mission-visual-decor { position: absolute; right: -15%; bottom: -15%; opacity: 0.07; pointer-events: none; }
.mission-quote {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.6rem; font-weight: 500; color: white;
  line-height: 1.5; position: relative; z-index: 1; margin-bottom: 1.5rem;
}
.mission-quote em { color: var(--amber); font-style: normal; }
.mission-attr { font-size: 0.75rem; letter-spacing: 0.15em; text-transform: uppercase; color: rgba(255,255,255,0.4); }

/* CONTACT */
.contact-grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: 5rem; align-items: start; }
.contact-info-item {
  display: flex; gap: 1.25rem; align-items: flex-start;
  margin-bottom: 2rem; padding-bottom: 2rem;
  border-bottom: 1px solid var(--border);
}
.contact-info-item:last-child { border-bottom: none; }
.contact-icon {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--amber-light); display: flex;
  align-items: center; justify-content: center; flex-shrink: 0;
}
.contact-info-text h4 {
  font-family: 'DM Sans', sans-serif; font-size: 0.72rem;
  letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--gray-mid); margin-bottom: 0.3rem;
}
.contact-info-text p { color: var(--navy); font-size: 0.95rem; line-height: 1.6; }

.form-group { margin-bottom: 1.4rem; }
.form-group label {
  display: block; font-size: 0.72rem;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--gray-text); font-weight: 500; margin-bottom: 0.5rem;
}
.form-group input, .form-group textarea, .form-group select {
  width: 100%; padding: 0.875rem 1rem;
  border: 1px solid var(--border); border-radius: 4px;
  font-family: 'DM Sans', sans-serif; font-size: 0.95rem;
  color: var(--navy); background: white;
  transition: border-color 0.2s, box-shadow 0.2s;
  -webkit-appearance: none;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
  outline: none; border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(11,45,79,0.07);
}
.form-group textarea { height: 150px; resize: vertical; line-height: 1.7; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

/* CTA BANNER */
.cta-banner { background: var(--amber); padding: 5rem 2rem; text-align: center; }
.cta-banner h2 { color: var(--navy); margin-bottom: 1rem; }
.cta-banner p { color: var(--navy); opacity: 0.75; max-width: 480px; margin: 0 auto 2rem; }

/* FOOTER */
footer { background: var(--navy-dark); color: white; padding: 4.5rem 2rem 2rem; }
.footer-inner { max-width: 1160px; margin: 0 auto; }
.footer-top {
  display: grid; grid-template-columns: 2fr 1fr 1fr;
  gap: 4rem; padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.07); margin-bottom: 2rem;
}
.footer-brand p { font-size: 0.88rem; color: rgba(255,255,255,0.45); margin-top: 1rem; max-width: 280px; line-height: 1.75; }
.footer-tagline { font-size: 0.68rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--amber); margin-top: 1.25rem; display: block; }
.footer-col h4 { font-size: 0.68rem; letter-spacing: 0.22em; text-transform: uppercase; color: rgba(255,255,255,0.3); margin-bottom: 1.25rem; font-weight: 500; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 0.7rem; }
.footer-col ul li a { font-size: 0.875rem; color: rgba(255,255,255,0.55); transition: color 0.2s; }
.footer-col ul li a:hover { color: white; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; font-size: 0.78rem; color: rgba(255,255,255,0.28); }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 960px) {
  .services-grid { grid-template-columns: 1fr; max-width: 520px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .mission-grid, .contact-grid, .service-detail-grid { grid-template-columns: 1fr; gap: 3rem; }
  .service-detail-grid.reverse { direction: ltr; }
  .values-grid { grid-template-columns: 1fr; }
  .modalities-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr; gap: 2.5rem; }
  .form-row { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .footer-bottom { flex-direction: column; gap: 0.5rem; text-align: center; }
}
@media (max-width: 600px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .hero { min-height: 75vh; }
  .section { padding: 4rem 0; }
}
