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

:root {
  --navy: #1B2A4A;
  --navy-light: #2C3E5F;
  --grey: #9EA8AD;
  --grey-light: #C8CDD2;
  --grey-dark: #6B7280;
  --bg-light: #F7F8FA;
  --bg-white: #FFFFFF;
  --border: #E5E7EB;
  --text-primary: #1B2A4A;
  --text-secondary: #4B5563;
  --text-light: #6B7280;
  --max-width: 1140px;
}

html {
  scroll-behavior: auto;
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--text-primary);
  background-color: var(--bg-white);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--navy);
  text-decoration: none;
}

h1, h2, h3, h4 {
  font-family: 'Libre Baskerville', Georgia, serif;
  font-weight: 700;
  line-height: 1.3;
  color: var(--navy);
}

h1 { font-size: 2.75rem; }
h2 { font-size: 2rem; margin-bottom: 1.25rem; }
h3 { font-size: 1.5rem; margin-bottom: 1rem; }

p {
  margin-bottom: 1rem;
  color: var(--text-secondary);
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
}

/* ===== HEADER / NAV ===== */
.site-header {
  background: var(--bg-white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-wrapper {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo img {
  width: 168px; height: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  letter-spacing: 0.02em;
}

.nav-links a:hover {
  color: var(--navy);
}

.nav-links a.nav-cta {
  background-color: var(--navy);
  color: #fff;
  padding: 0.6rem 1.5rem;
  border-radius: 4px;
  font-weight: 600;
}

.nav-links a.nav-cta:hover {
  background-color: var(--navy-light);
}

.nav-links .active {
  color: var(--navy);
  font-weight: 600;
}

/* 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: var(--navy);
  margin: 5px 0;
}

/* ===== FOOTER ===== */
.site-footer {
  background: var(--navy);
  color: #fff;
  padding: 3rem 0;
  margin-top: 5rem;
}

.footer-content {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
}

.footer-contact p {
  color: rgba(255,255,255,0.85);
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
}

.footer-contact a {
  color: rgba(255,255,255,0.85);
}

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

.footer-copyright {
  text-align: right;
  color: rgba(255,255,255,0.6);
  font-size: 0.85rem;
  align-self: flex-end;
}

/* ===== HERO (Home) ===== */
.hero {
  min-height: calc(100vh - 80px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4rem 2rem;
}

.hero h1 {
  font-size: 4rem;
  margin-bottom: 1.5rem;
  letter-spacing: 0.02em;
}

.hero .subtext {
  font-size: 1.2rem;
  color: var(--text-secondary);
  max-width: 640px;
  margin: 0 auto 2.5rem;
  line-height: 1.8;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-block;
  background-color: var(--navy);
  color: #fff;
  padding: 0.85rem 2.25rem;
  border-radius: 4px;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  border: none;
  cursor: pointer;
}

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

/* ===== PAGE HEADER BANNER ===== */
.page-banner {
  background: var(--bg-light);
  padding: 4rem 0;
  text-align: center;
  border-bottom: 1px solid var(--border);
}

.page-banner h1 {
  font-size: 2.5rem;
}

/* ===== SECTIONS ===== */
.section {
  padding: 5rem 0;
}

.section + .section {
  border-top: 1px solid var(--border);
}

.section-label {
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--grey);
  margin-bottom: 0.75rem;
}

/* ===== TWO-COLUMN LAYOUT (About photo sections) ===== */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.two-col.reverse {
  direction: rtl;
}

.two-col.reverse > * {
  direction: ltr;
}

.two-col-image img {
  border-radius: 6px;
  max-width: 100%;
  width: auto;
  object-fit: cover;
}

.two-col-text p {
  font-size: 1.05rem;
}

/* ===== CARD GRID (Criteria, Terra Mar Model) ===== */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.card {
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 2rem;
}

.card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
}

.card p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-bottom: 0;
}

/* ===== CRITERIA LISTS ===== */
.criteria-list {
  list-style: none;
  padding: 0;
}

.criteria-list li {
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 1.05rem;
  color: var(--text-secondary);
}

.criteria-list li:last-child {
  border-bottom: none;
}

/* ===== PROCESS STEPS ===== */
.process-steps {
  max-width: 780px;
  margin: 0 auto;
}

.step {
  display: flex;
  gap: 2rem;
  margin-bottom: 3rem;
}

.step-number {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background: var(--navy);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
  margin-top: 0.25rem;
}

.step-content h3 {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}

.step-content p {
  font-size: 1rem;
  margin-bottom: 0;
}

/* ===== CONTACT FORM ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: flex-start;
}

.contact-message p {
  font-size: 1.1rem;
  line-height: 1.8;
}

.contact-info {
  margin-top: 2.5rem;
}

.contact-info p {
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}

.contact-info strong {
  color: var(--navy);
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.35rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border);
  border-radius: 4px;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  color: var(--text-primary);
  background: var(--bg-white);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 2px rgba(27, 42, 74, 0.1);
}

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

/* ===== QUOTE / FEATURED TEXT ===== */
.featured-quote {
  font-family: 'Libre Baskerville', Georgia, serif;
  font-size: 1.35rem;
  line-height: 1.8;
  color: var(--navy);
  max-width: 800px;
  margin: 0 auto 3rem;
  text-align: center;
}

/* ===== MODEL CARDS (5 across for Process page) ===== */
.model-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.model-card {
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 1.75rem;
  text-align: center;
}

.model-card h3 {
  font-family: 'Libre Baskerville', Georgia, serif;
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
  color: var(--navy);
}

.model-card p {
  font-size: 0.9rem;
  margin-bottom: 0;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .model-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.6rem; }

  .hero h1 { font-size: 2.75rem; }
  .hero .subtext { font-size: 1.05rem; }

  .nav-toggle { display: block; }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg-white);
    flex-direction: column;
    padding: 1.5rem 2rem;
    gap: 1rem;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  }

  .nav-links.open {
    display: flex;
  }

  .two-col,
  .two-col.reverse {
    grid-template-columns: 1fr;
    gap: 2rem;
    direction: ltr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

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

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

  .footer-copyright {
    text-align: center;
  }

  .step {
    gap: 1.25rem;
  }

  .featured-quote {
    font-size: 1.15rem;
  }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 2.25rem; }

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

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



