/* ============================================================
   Mulliner Asset Management — Stylesheet
   Refined luxury/editorial aesthetic
   Fonts: Cormorant Garamond (headings) + Jost (body)
   ============================================================ */

:root {
  --navy:    #1a2332;
  --navy-lt: #243047;
  --gold:    #b8986a;
  --gold-lt: #d4b482;
  --cream:   #f5f2ec;
  --light:   #faf8f5;
  --white:   #ffffff;
  --text:    #2c2c2c;
  --text-lt: #666;
  --border:  #e0d9cf;
  --shadow:  0 4px 24px rgba(26,35,50,0.10);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Jost', sans-serif;
  font-weight: 300;
  color: var(--text);
  background: var(--white);
  line-height: 1.75;
}

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

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

/* ---- HEADER ---- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 12px rgba(26,35,50,0.06);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-shrink: 0;
}

.logo-img {
  height: 44px;
  width: 44px;
  object-fit: contain;
  border-radius: 50%;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.logo-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: 0.02em;
}

.logo-tagline {
  font-size: 0.67rem;
  font-weight: 300;
  color: var(--gold);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-link {
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--navy);
  padding: 0.4rem 0.75rem;
  border-radius: 2px;
  transition: color 0.2s, background 0.2s;
  position: relative;
}

.nav-link:hover,
.nav-link.active {
  color: var(--gold);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0.75rem;
  right: 0.75rem;
  height: 1.5px;
  background: var(--gold);
}

/* Dropdown */
.nav-dropdown { position: relative; }

.dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  background: var(--white);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  min-width: 230px;
  padding: 0.5rem 0;
  border-radius: 3px;
  z-index: 200;
}

.nav-dropdown:hover .dropdown-menu { display: block; }

.dropdown-menu a {
  display: block;
  padding: 0.55rem 1.25rem;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text);
  transition: color 0.15s, background 0.15s;
}

.dropdown-menu a:hover {
  color: var(--gold);
  background: var(--cream);
}

/* Mobile toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.4rem;
  cursor: pointer;
  color: var(--navy);
  padding: 0.5rem;
}

/* ---- BUTTONS ---- */
.btn-primary {
  display: inline-block;
  background: var(--navy);
  color: var(--white);
  padding: 0.75rem 2rem;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-family: 'Jost', sans-serif;
  font-weight: 400;
  border: 1px solid var(--navy);
  transition: background 0.2s, color 0.2s;
  cursor: pointer;
}

.btn-primary:hover {
  background: var(--gold);
  border-color: var(--gold);
}

.btn-secondary {
  display: inline-block;
  background: transparent;
  color: var(--navy);
  padding: 0.7rem 2rem;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-family: 'Jost', sans-serif;
  font-weight: 400;
  border: 1px solid var(--navy);
  transition: background 0.2s, color 0.2s;
}

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

.btn-light {
  display: inline-block;
  background: transparent;
  color: var(--white);
  padding: 0.75rem 2rem;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-family: 'Jost', sans-serif;
  font-weight: 400;
  border: 1px solid rgba(255,255,255,0.5);
  transition: background 0.2s, border-color 0.2s;
}

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

/* ---- SECTIONS ---- */
.section { padding: 5rem 0; }
.bg-light { background: var(--light); }
.bg-dark { background: var(--navy); color: var(--white); }

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

.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.4rem;
  font-weight: 400;
  color: var(--navy);
  margin-bottom: 2.5rem;
  letter-spacing: 0.02em;
}

.section-title::after {
  content: '';
  display: block;
  width: 48px;
  height: 2px;
  background: var(--gold);
  margin-top: 0.75rem;
}

.center-btn {
  text-align: center;
  margin-top: 3rem;
}

/* ---- HERO ---- */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right, rgba(26,35,50,0.92) 0%, rgba(26,35,50,0.6) 60%, rgba(26,35,50,0.2) 100%),
    url('https://static.wixstatic.com/media/11062b_c18db2b1461b46f2ad31bae61009fee1f000.jpg/v1/fill/w_1920,h_1080,al_c,q_90,usm_0.66_1.00_0.01,enc_avif,quality_auto/11062b_c18db2b1461b46f2ad31bae61009fee1f000.jpg') center/cover no-repeat;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
  opacity: 0;
  animation: fadeUp 1s ease 0.2s forwards;
}

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

.hero-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.8rem, 6vw, 5.5rem);
  font-weight: 300;
  color: var(--white);
  line-height: 1.08;
  margin-bottom: 1rem;
  letter-spacing: -0.01em;
}

.hero-sub {
  font-size: 1rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-lt);
  margin-bottom: 2.5rem;
  font-weight: 300;
}

/* ---- INTRO ---- */
.intro-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 5rem;
  align-items: center;
}

.intro-text p {
  margin-bottom: 1.25rem;
  font-size: 1.02rem;
  color: var(--text);
  line-height: 1.85;
}

.intro-text .btn-secondary { margin-top: 1rem; }

.intro-image img {
  border-radius: 2px;
  box-shadow: var(--shadow);
}

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

.service-card {
  background: var(--white);
  padding: 2rem 1.75rem;
  border: 1px solid var(--border);
  border-top: 3px solid var(--gold);
  transition: box-shadow 0.2s, transform 0.2s;
}

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

.service-card img {
  height: 60px;
  width: auto;
  margin-bottom: 1.25rem;
  object-fit: contain;
}

.service-card h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.35rem;
  font-weight: 500;
  color: var(--navy);
  margin-bottom: 0.75rem;
}

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

/* ---- LOCATIONS ---- */
.locations-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.location-item {
  border-left: 3px solid var(--gold);
  padding: 0.75rem 0 0.75rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.location-region {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--navy);
}

.location-addr {
  font-size: 0.85rem;
  color: var(--text-lt);
  line-height: 1.5;
}

/* ---- CONTACT CTA ---- */
.contact-cta.section {
  text-align: center;
}

.contact-cta h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.6rem;
  font-weight: 300;
  color: var(--white);
  margin-bottom: 1rem;
}

.contact-cta p {
  color: rgba(255,255,255,0.7);
  margin-bottom: 2rem;
  font-size: 1rem;
}

.cta-contacts {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2rem;
  margin-bottom: 2.5rem;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.8);
}

.cta-contacts a {
  color: var(--gold-lt);
  transition: color 0.2s;
}
.cta-contacts a:hover { color: var(--white); }

/* ---- PAGE HERO (inner pages) ---- */
.page-hero {
  background:
    linear-gradient(to right, rgba(26,35,50,0.88) 0%, rgba(26,35,50,0.55) 100%),
    url('https://static.wixstatic.com/media/11062b_c18db2b1461b46f2ad31bae61009fee1f000.jpg/v1/fill/w_1920,h_1080,al_c,q_90,usm_0.66_1.00_0.01,enc_avif,quality_auto/11062b_c18db2b1461b46f2ad31bae61009fee1f000.jpg') center/cover no-repeat;
  padding: 6rem 2rem;
  color: var(--white);
}

.page-hero .container {}

.page-hero h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 300;
  margin-bottom: 1rem;
  line-height: 1.1;
}

.page-hero p {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.8);
  max-width: 640px;
  line-height: 1.75;
}

/* ---- SERVICES PAGE ---- */
.service-section { padding: 4rem 0; border-bottom: 1px solid var(--border); }
.service-section:last-of-type { border-bottom: none; }

.service-row {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 4rem;
  align-items: start;
}

.service-row.reverse { grid-template-columns: 1fr 380px; }
.service-row.reverse .service-row-img { order: 2; }
.service-row.reverse .service-row-text { order: 1; }

.service-row-img img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  border-radius: 2px;
}

.service-row-text h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.9rem;
  font-weight: 500;
  color: var(--navy);
  margin-bottom: 1.25rem;
}

.service-row-text p {
  font-size: 0.97rem;
  color: var(--text);
  line-height: 1.85;
  margin-bottom: 1rem;
}

.section-group-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem;
  font-weight: 400;
  color: var(--navy);
  margin-bottom: 0.5rem;
  padding-top: 2rem;
}

.section-group-title::after {
  content: '';
  display: block;
  width: 36px;
  height: 2px;
  background: var(--gold);
  margin-top: 0.6rem;
}

/* ---- ABOUT PAGE ---- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 5rem;
  align-items: start;
}

.about-text h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.4rem;
  font-weight: 400;
  color: var(--navy);
  margin-bottom: 1.5rem;
}

.about-text p {
  font-size: 1rem;
  color: var(--text);
  line-height: 1.85;
  margin-bottom: 1.25rem;
}

.about-image img {
  width: 100%;
  border-radius: 2px;
  box-shadow: var(--shadow);
}

.contact-info-box {
  background: var(--light);
  border: 1px solid var(--border);
  border-top: 3px solid var(--gold);
  padding: 2rem;
  margin-top: 2rem;
}

.contact-info-box h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.3rem;
  font-weight: 500;
  color: var(--navy);
  margin-bottom: 1rem;
}

.contact-info-box p {
  font-size: 0.92rem;
  color: var(--text);
  margin-bottom: 0.5rem;
  line-height: 1.6;
}

.contact-info-box a { color: var(--gold); }
.contact-info-box a:hover { text-decoration: underline; }

/* ---- RESOURCES PAGE ---- */
.resources-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.resource-card {
  background: var(--white);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: box-shadow 0.2s, transform 0.2s;
  display: flex;
  flex-direction: column;
}

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

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

.resource-card-body {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.resource-card h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--navy);
  margin-bottom: 0.4rem;
}

.resource-card p {
  font-size: 0.85rem;
  color: var(--text-lt);
  margin-bottom: 1.25rem;
  flex: 1;
}

.resource-card .btn-secondary {
  align-self: flex-start;
  padding: 0.5rem 1.25rem;
  font-size: 0.72rem;
}

/* ---- CONTACT PAGE ---- */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 5rem;
  align-items: start;
}

.contact-form-group {
  margin-bottom: 1.5rem;
}

.contact-form-group label {
  display: block;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-lt);
  margin-bottom: 0.4rem;
  font-weight: 400;
}

.contact-form-group input,
.contact-form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border);
  background: var(--light);
  font-family: 'Jost', sans-serif;
  font-size: 0.93rem;
  font-weight: 300;
  color: var(--text);
  transition: border-color 0.2s;
  outline: none;
  border-radius: 1px;
}

.contact-form-group input:focus,
.contact-form-group textarea:focus {
  border-color: var(--gold);
}

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

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

.form-success {
  display: none;
  background: #f0f7f0;
  border: 1px solid #b8d8b8;
  color: #2a6e2a;
  padding: 1rem 1.25rem;
  font-size: 0.92rem;
  margin-top: 1rem;
  border-radius: 2px;
}

.contact-sidebar h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--navy);
  margin-bottom: 1.25rem;
}

.contact-sidebar p {
  font-size: 0.93rem;
  color: var(--text);
  line-height: 1.75;
  margin-bottom: 1rem;
}

.contact-detail {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  margin-bottom: 1.25rem;
}

.contact-detail .label {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-lt);
}

.contact-detail a,
.contact-detail span {
  font-size: 0.97rem;
  color: var(--navy);
}

.contact-detail a:hover { color: var(--gold); }

/* ---- RESOURCE ARTICLE ---- */
.article-content {
  max-width: 760px;
  margin: 0 auto;
}

.article-content h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.8rem;
  font-weight: 500;
  color: var(--navy);
  margin: 2.5rem 0 1rem;
}

.article-content p {
  font-size: 1rem;
  color: var(--text);
  line-height: 1.9;
  margin-bottom: 1.25rem;
}

.article-content ul {
  margin: 1rem 0 1.5rem 1.5rem;
}

.article-content li {
  font-size: 0.97rem;
  color: var(--text);
  line-height: 1.8;
  margin-bottom: 0.4rem;
}

/* ---- HERO EYEBROW & ACTIONS ---- */
.hero-eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-lt);
  margin-bottom: 1rem;
  font-weight: 400;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ---- SECTION HEADER ---- */
.section-header {
  margin-bottom: 3rem;
}

.section-intro {
  max-width: 680px;
  font-size: 1rem;
  color: var(--text-lt);
  line-height: 1.8;
  margin-top: 0.75rem;
}

/* ---- TEST CARDS ---- */
.test-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.test-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--border);
  padding: 2rem 1.75rem;
  transition: box-shadow 0.2s, transform 0.2s;
  cursor: pointer;
  color: var(--text);
}

.test-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-3px);
  color: var(--text);
}

.test-card-icon {
  font-size: 1.75rem;
  margin-bottom: 1rem;
  line-height: 1;
}

.test-card h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.3rem;
  font-weight: 500;
  color: var(--navy);
  margin-bottom: 0.65rem;
}

.test-card p {
  font-size: 0.9rem;
  color: var(--text-lt);
  line-height: 1.75;
  flex: 1;
  margin-bottom: 1.25rem;
}

.test-card-link {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 400;
  transition: color 0.2s;
}

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

/* ---- PROCESS STEPS ---- */
.process-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
}

.process-steps::before {
  content: '';
  position: absolute;
  left: 28px;
  top: 0;
  bottom: 0;
  width: 1px;
  background: var(--border);
}

.process-step {
  display: flex;
  gap: 2.5rem;
  padding: 2.5rem 0;
  border-bottom: 1px solid var(--border);
  position: relative;
}

.process-step:last-child {
  border-bottom: none;
}

.step-number {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--white);
  background: var(--navy);
  min-width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  letter-spacing: 0.05em;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

.step-body h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.45rem;
  font-weight: 500;
  color: var(--navy);
  margin-bottom: 0.75rem;
}

.step-body p {
  font-size: 0.97rem;
  color: var(--text);
  line-height: 1.85;
}

/* ---- SERVE GRID ---- */
.serve-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.serve-item {
  border-top: 2px solid var(--gold);
  padding-top: 1.25rem;
}

.serve-item h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--navy);
  margin-bottom: 0.6rem;
}

.serve-item p {
  font-size: 0.9rem;
  color: var(--text-lt);
  line-height: 1.75;
}

/* ---- ABOUT STRIP ---- */
.about-strip-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 5rem;
  align-items: start;
}

.about-strip p {
  font-size: 1rem;
  color: var(--text);
  line-height: 1.85;
  margin-bottom: 1.1rem;
}

.about-strip-certs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.cert-box {
  background: var(--light);
  border: 1px solid var(--border);
  border-top: 3px solid var(--gold);
  padding: 1.25rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.cert-label {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy);
}

.cert-desc {
  font-size: 0.8rem;
  color: var(--text-lt);
  line-height: 1.5;
}

/* ---- FOOTER ---- */
.site-footer {
  background: var(--navy);
  color: rgba(255,255,255,0.55);
  text-align: center;
  padding: 2rem;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
}

/* ---- RESPONSIVE ---- */
@media (max-width: 960px) {
  .intro-grid,
  .about-grid,
  .contact-layout,
  .about-strip-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .services-grid,
  .test-cards,
  .serve-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .locations-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .service-row,
  .service-row.reverse {
    grid-template-columns: 1fr;
  }

  .service-row.reverse .service-row-img { order: unset; }
  .service-row.reverse .service-row-text { order: unset; }

  .resources-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .process-steps::before { display: none; }
}

@media (max-width: 640px) {
  .main-nav {
    display: none;
    flex-direction: column;
    align-items: flex-start;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    padding: 1rem 1.5rem;
    gap: 0;
  }

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

  .nav-toggle { display: block; }

  .dropdown-menu {
    position: static;
    box-shadow: none;
    border: none;
    background: var(--light);
    padding: 0.25rem 0 0.25rem 1rem;
    display: none;
  }

  .nav-dropdown.open .dropdown-menu { display: block; }

  .services-grid,
  .resources-grid,
  .locations-grid,
  .test-cards,
  .serve-grid,
  .about-strip-certs {
    grid-template-columns: 1fr;
  }

  .form-row { grid-template-columns: 1fr; }

  .hero-title { font-size: 3rem; }

  .logo-tagline { display: none; }
}
