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

:root {
  --navy: #1e2d3d;
  --navy-light: #2a3f54;
  --slate: #3a5068;
  --blue-gray: #e8eef1;
  --blue-gray-dark: #c8d5dc;
  --cream: #f5f7f8;
  --white: #ffffff;
  --text: #2c3e50;
  --text-light: #8a9bac;
  --accent: #5a7a8a;
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'DM Sans', 'Segoe UI', sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  color: var(--text);
  line-height: 1.7;
  background: var(--blue-gray);
}

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

/* ===== HEADER ===== */
.site-header {
  background: var(--navy);
  padding: 0 2rem;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 100;
}

.site-header .logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: #fff;
}

.site-header .logo img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
}

.site-header .logo span {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-left: 2rem;
}

.header-cta {
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: opacity 0.2s;
}
.header-cta:hover { opacity: 0.8; }

.lang-switch {
  color: rgba(255,255,255,0.5);
  font-size: 0.8rem;
  font-weight: 500;
  border: 1px solid rgba(255,255,255,0.25);
  padding: 0.25rem 0.6rem;
  border-radius: 4px;
  transition: color 0.2s, border-color 0.2s;
  white-space: nowrap;
}
.lang-switch:hover {
  color: #fff;
  border-color: rgba(255,255,255,0.5);
}

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  margin: 5px 0;
  transition: 0.3s;
}

/* Desktop nav */
.main-nav {
  display: flex;
  gap: 1.25rem;
  align-items: center;
}
.main-nav a {
  color: rgba(255,255,255,0.85);
  font-size: 0.8rem;
  font-weight: 500;
  white-space: nowrap;
  transition: color 0.2s;
}
.main-nav a:hover { color: #fff; }

/* Mobile nav */
.mobile-nav {
  display: none;
  position: fixed;
  top: 70px;
  left: 0;
  right: 0;
  background: var(--navy);
  padding: 1.5rem 2rem 2rem;
  flex-direction: column;
  gap: 1.25rem;
  z-index: 99;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  color: rgba(255,255,255,0.9);
  font-size: 1rem;
  font-weight: 500;
}

/* ===== SPLIT HERO ===== */
.hero-split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  min-height: 50vh;
  max-height: 520px;
  background: var(--navy);
}
.hero-split-image {
  overflow: hidden;
}
.hero-split-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
}
.hero-split-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 3.5rem 3.5rem 3.5rem 3rem;
  color: #fff;
}
.hero-split-content .hero-subtitle {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: 1rem;
  color: rgba(255,255,255,0.6);
  margin-bottom: 0.75rem;
}
.hero-split-content h1 {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 2.6rem;
  line-height: 1.15;
  margin-bottom: 1rem;
}
.hero-split-content p {
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 1.75rem;
  color: rgba(255,255,255,0.85);
}

@media (max-width: 900px) {
  .hero-split {
    grid-template-columns: 1fr;
  }
  .hero-split-image {
    max-height: 400px;
  }
  .hero-split-content {
    padding: 2.5rem 1.5rem;
  }
  .hero-split-content h1 {
    font-size: 2rem;
  }
}

/* ===== HERO SECTIONS ===== */
.hero {
  position: relative;
  background-size: cover;
  background-position: center;
  color: #fff;
  display: flex;
  align-items: center;
  min-height: 55vh;
  padding: 3rem 2rem;
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(30,45,61,0.3), rgba(30,45,61,0.8) 50%);
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
  margin-left: auto;
}
.hero-subtitle {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: 1.1rem;
  color: rgba(255,255,255,0.7);
  margin-bottom: 0.75rem;
}
.hero h1 {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 2.8rem;
  line-height: 1.15;
  margin-bottom: 1rem;
}
.hero p {
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 2rem;
  color: rgba(255,255,255,0.9);
}

/* Page hero (no background image) */
.page-hero {
  background: var(--slate);
  color: #fff;
  text-align: center;
  padding: 2.5rem 2rem;
}
.page-hero .hero-subtitle {
  font-family: var(--font-serif);
  font-style: italic;
  color: rgba(255,255,255,0.6);
  margin-bottom: 0.5rem;
}
.page-hero h1 {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 2.8rem;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-block;
  padding: 0.9rem 2rem;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
}
.btn:active { transform: scale(0.98); }

.btn-navy {
  background: var(--navy);
  color: #fff;
}
.btn-navy:hover { background: var(--navy-light); }

.btn-white {
  background: #fff;
  color: var(--navy);
}
.btn-white:hover { background: var(--blue-gray); }

/* ===== SECTIONS ===== */
.section {
  padding: 3.5rem 2rem;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
}

.section-subtitle {
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--accent);
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.section-title {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 2.2rem;
  color: var(--navy);
  margin-bottom: 1.5rem;
}

/* ===== TWO-COLUMN LAYOUT ===== */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

/* ===== SERVICE CARDS (Homepage) ===== */
.services-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  margin-top: 2rem;
}

.service-card {
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(30,45,61,0.06);
  transition: transform 0.2s, box-shadow 0.2s;
}
.service-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 24px rgba(30,45,61,0.1);
}
.service-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}
.service-card-body {
  padding: 2rem;
}
.service-card h3 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--navy);
  margin-bottom: 1rem;
}
.service-card p {
  font-size: 0.95rem;
  color: var(--text);
  margin-bottom: 1.5rem;
}
.service-card .link {
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--navy);
  border-bottom: 2px solid var(--navy);
  padding-bottom: 2px;
}

/* ===== ABOUT PREVIEW (Homepage) ===== */
.about-preview {
  background: var(--white);
}
.about-preview img {
  border-radius: 10px;
  width: 100%;
  max-height: 500px;
  object-fit: contain;
}
.about-preview .credentials {
  margin: 1.5rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  color: var(--text);
  font-size: 0.95rem;
}

/* ===== TESTIMONIAL ===== */
.testimonial-section {
  background: var(--navy);
  color: #fff;
  text-align: center;
}
.testimonial-section .container {
  max-width: 800px;
}
.testimonial-quote {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-style: italic;
  line-height: 1.8;
  margin-bottom: 1.5rem;
  color: rgba(255,255,255,0.9);
}
.testimonial-author {
  font-weight: 600;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
}

/* ===== CTA CARD ===== */
.cta-card-section {
  background: var(--blue-gray);
}
.cta-card {
  background: var(--white);
  border-radius: 16px;
  padding: 2.5rem;
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
  box-shadow: 0 2px 12px rgba(30,45,61,0.06);
}
.cta-card h2 {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  color: var(--navy);
  margin-bottom: 1rem;
}
.cta-card p {
  font-size: 1rem;
  margin-bottom: 2rem;
  color: var(--text);
}

/* ===== CONTENT PAGES ===== */
.content-section {
  background: var(--blue-gray);
}
.content-body {
  max-width: 800px;
  margin: 0 auto;
}
.content-body h2 {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  color: var(--navy);
  margin: 2.5rem 0 1rem;
}
.content-body h3 {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  color: var(--navy);
  margin: 2rem 0 0.75rem;
}
.content-body p {
  margin-bottom: 1.25rem;
  font-size: 1rem;
}
.content-body ul, .content-body ol {
  margin: 1rem 0 1.5rem 1.5rem;
  list-style: disc;
}
.content-body ol { list-style: decimal; }
.content-body li {
  margin-bottom: 0.75rem;
  font-size: 1rem;
}
.content-body li strong {
  color: var(--navy);
}

/* ===== CONTACT FORM ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}
.form-group { margin-bottom: 1.25rem; }
.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--navy);
  margin-bottom: 0.35rem;
}
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--blue-gray-dark);
  border-radius: 8px;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  background: var(--white);
  color: var(--text);
  outline: none;
  transition: border-color 0.2s;
}
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--slate);
}
.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.contact-info h3 {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  color: var(--navy);
  margin-bottom: 0.5rem;
}
.contact-info-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
  font-size: 1rem;
}
.contact-info-item .icon {
  width: 40px;
  height: 40px;
  background: var(--navy);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

/* ===== CALENDLY EMBED ===== */
.calendly-section {
  background: var(--blue-gray);
}
.calendly-container {
  max-width: 900px;
  margin: 0 auto;
  min-height: 700px;
}

/* ===== FOOTER ===== */
.site-footer {
  background: var(--navy);
  color: rgba(255,255,255,0.8);
  padding: 3.5rem 2rem 1.5rem;
}
.footer-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 2.5rem;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
}
.footer-brand img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
}
.footer-brand span {
  font-size: 0.95rem;
  font-weight: 500;
}
.footer-heading {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 1.25rem;
}
.footer-links a {
  display: block;
  color: rgba(255,255,255,0.75);
  font-size: 0.9rem;
  margin-bottom: 0.7rem;
  transition: color 0.2s;
}
.footer-links a:hover { color: #fff; }
.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 0.85rem;
  font-size: 0.9rem;
}
.footer-contact-item .icon {
  font-size: 0.85rem;
  opacity: 0.6;
}
.footer-bottom {
  max-width: 1100px;
  margin: 2.5rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 0.78rem;
  color: rgba(255,255,255,0.4);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .two-col, .services-grid, .contact-grid, .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .hero h1 { font-size: 2.4rem; }
  .hero-content { margin-left: 0; }
  .page-hero h1 { font-size: 2rem; }
  .section-title { font-size: 1.8rem; }
  .cta-card { padding: 2.5rem 1.5rem; }

  .main-nav { display: none; }
  .header-cta { display: none; }
  .nav-toggle { display: block; }
}

@media (max-width: 600px) {
  .hero { min-height: 50vh; padding: 3rem 1.25rem; }
  .hero h1 { font-size: 2rem; }
  .section { padding: 3rem 1.25rem; }
  .service-card img { height: 180px; }
}
