/* ============================================================
   ASTONISHING CONTENT — Main Stylesheet
   ============================================================ */

/* --- Google Fonts imported in HTML <head> --- */

/* --- Reset & Base --- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Source Sans 3', system-ui, sans-serif;
  color: #1a2744;
  line-height: 1.6;
  background: #fff;
}

h1,
h2,
h3,
h4 {
  font-family: 'Playfair Display', Georgia, serif;
  line-height: 1.2;
}

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

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

ul {
  list-style: none;
}

/* --- Colour tokens --- */
:root {
  --navy: #1a2744;
  --navy-light: #243256;
  --gold: #c9a84c;
  --gold-light: #e8c96a;
  --gray-50: #f9fafb;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --white: #ffffff;
  --red: #ef4444;
}

/* --- Utility --- */
.container {
  max-width: 1152px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.btn-gold {
  display: inline-block;
  background: var(--gold);
  color: var(--navy);
  font-weight: 600;
  padding: 0.875rem 2rem;
  border-radius: 6px;
  transition: background 0.2s;
  font-size: 1rem;
  border: none;
  cursor: pointer;
}
.btn-gold:hover {
  background: var(--gold-light);
}

.btn-outline {
  display: inline-block;
  border: 2px solid var(--white);
  color: var(--white);
  font-weight: 600;
  padding: 0.875rem 2rem;
  border-radius: 6px;
  transition:
    border-color 0.2s,
    color 0.2s;
  font-size: 1rem;
}
.btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.btn-navy {
  display: inline-block;
  background: var(--navy);
  color: var(--white);
  font-weight: 600;
  padding: 0.875rem 2rem;
  border-radius: 6px;
  transition: background 0.2s;
  font-size: 1rem;
}
.btn-navy:hover {
  background: var(--navy-light);
}

/* ============================================================
   HEADER / NAVBAR
   ============================================================ */
header {
  background: var(--navy);
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

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

.nav-logo {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--white);
  white-space: nowrap;
}
.nav-logo span {
  color: var(--gold);
}

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

.nav-links a {
  color: var(--white);
  font-weight: 500;
  transition: color 0.2s;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--gold);
  font-weight: 600;
}

/* Hamburger */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--white);
  padding: 4px;
}
.nav-toggle svg {
  width: 26px;
  height: 26px;
  stroke: currentColor;
  fill: none;
}

/* Mobile menu — always in DOM, hidden with CSS */
.nav-mobile {
  display: none;
  flex-direction: column;
  gap: 0.75rem;
  padding: 0.75rem 0 1rem;
  border-top: 1px solid var(--navy-light);
}
.nav-mobile.open {
  display: flex;
}
.nav-mobile a {
  color: var(--white);
  font-weight: 500;
  transition: color 0.2s;
}
.nav-mobile a:hover {
  color: var(--gold);
}
.nav-mobile .btn-gold {
  text-align: center;
}

@media (max-width: 767px) {
  .nav-links {
    display: none;
  }
  .nav-toggle {
    display: block;
  }
}

/* ============================================================
   FOOTER
   ============================================================ */
footer {
  background: var(--navy);
  color: var(--white);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 2rem;
  padding: 3rem 0;
}

.footer-brand .nav-logo {
  font-size: 1.25rem;
  display: inline-block;
  margin-bottom: 0.75rem;
}

.footer-brand p,
.footer-col p,
.footer-col a {
  color: #d1d5db;
  font-size: 0.875rem;
  line-height: 1.7;
}
.footer-col a:hover {
  color: var(--white);
}

.footer-col h4 {
  font-family: 'Source Sans 3', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold);
  margin-bottom: 0.75rem;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-bottom {
  border-top: 1px solid var(--navy-light);
  padding: 1.25rem 0;
  text-align: center;
  font-size: 0.75rem;
  color: #9ca3af;
}

@media (max-width: 767px) {
  .footer-inner {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   PAGE HERO (shared)
   ============================================================ */
.page-hero {
  background: var(--navy);
  color: var(--white);
  padding: 5rem 0;
  text-align: center;
}
.page-hero h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  margin-bottom: 1rem;
}
.page-hero p {
  color: #d1d5db;
  font-size: 1.125rem;
  max-width: 600px;
  margin: 0 auto;
}

/* ============================================================
   HOME — HERO
   ============================================================ */
.hero {
  background: var(--navy);
  color: var(--white);
  padding: 6rem 0;
  text-align: center;
}
.hero h1 {
  font-size: clamp(2.25rem, 6vw, 3.75rem);
  margin-bottom: 1.25rem;
}
.hero h1 span {
  color: var(--gold);
}
.hero p {
  font-size: 1.125rem;
  color: #d1d5db;
  max-width: 640px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}
.hero-btns {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================================================
   HOME — SERVICES
   ============================================================ */
.services {
  padding: 5rem 0;
  background: var(--white);
}

.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}
.section-header h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  color: var(--navy);
  margin-bottom: 0.75rem;
}
.section-header p {
  color: var(--gray-600);
  font-size: 1.125rem;
  max-width: 520px;
  margin: 0 auto;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 3rem;
}
.service-card {
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  padding: 2rem;
  transition: box-shadow 0.2s;
}
.service-card:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.09);
}

.service-icon {
  width: 48px;
  height: 48px;
  background: var(--gold);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}
.service-icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--navy);
  fill: none;
}

.service-card h3 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.25rem;
  color: var(--navy);
  margin-bottom: 0.75rem;
}
.service-card p {
  color: var(--gray-600);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* Wide card spans 2 columns on last row */
.service-card.wide {
  grid-column: span 2;
}

.services-cta {
  text-align: center;
}

@media (max-width: 900px) {
  .services-grid {
    grid-template-columns: 1fr 1fr;
  }
  .service-card.wide {
    grid-column: span 2;
  }
}
@media (max-width: 600px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
  .service-card.wide {
    grid-column: span 1;
  }
}

/* ============================================================
   HOME — WHY US
   ============================================================ */
.why-us {
  padding: 5rem 0;
  background: var(--gray-50);
  text-align: center;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}
.stat-item {
}
.stat-item .stat-number {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 0.5rem;
}
.stat-item h3 {
  font-family: 'Source Sans 3', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.5rem;
}
.stat-item p {
  color: var(--gray-600);
  font-size: 0.95rem;
}

@media (max-width: 600px) {
  .stats-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials {
  padding: 5rem 0;
  background: var(--white);
}
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
blockquote {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  padding: 2rem;
}
blockquote p {
  color: var(--gray-700);
  font-size: 0.95rem;
  line-height: 1.75;
  margin-bottom: 1.25rem;
}
blockquote footer {
  font-weight: 600;
  color: var(--navy);
  font-size: 0.9rem;
  background: none;
  padding: 0;
}
.quote-icon {
  width: 32px;
  height: 32px;
  fill: var(--gold);
  margin-bottom: 1rem;
}

@media (max-width: 900px) {
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   CTA BANNER
   ============================================================ */
.cta-banner {
  background: var(--navy);
  color: var(--white);
  padding: 5rem 0;
  text-align: center;
}
.cta-banner h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  margin-bottom: 1rem;
}
.cta-banner p {
  color: #d1d5db;
  font-size: 1.125rem;
  max-width: 580px;
  margin: 0 auto 2rem;
  line-height: 1.7;
}

/* ============================================================
   ABOUT PAGE
   ============================================================ */
.about-story {
  padding: 5rem 0;
  background: var(--white);
}
.about-story-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}
.about-story-text h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--navy);
  margin-bottom: 1.5rem;
}
.about-story-text p {
  color: var(--gray-600);
  line-height: 1.75;
  margin-bottom: 1.25rem;
}
.about-story-text p:last-child {
  margin-bottom: 0;
}

.stats-box {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: 16px;
  padding: 2.5rem;
  text-align: center;
}
.stats-box-item {
  margin-bottom: 1.5rem;
}
.stats-box-item:last-child {
  margin-bottom: 0;
}
.stats-box-item .big-number {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 3rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}
.stats-box-item .big-label {
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--navy);
  margin-top: 0.25rem;
}
.divider {
  width: 48px;
  height: 4px;
  background: var(--gold);
  border-radius: 2px;
  margin: 1.25rem auto;
}

@media (max-width: 767px) {
  .about-story-inner {
    grid-template-columns: 1fr;
  }
}

/* Expertise grid */
.expertise {
  padding: 5rem 0;
  background: var(--gray-50);
}
.expertise-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.expertise-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  padding: 1.5rem;
}
.expertise-dot {
  width: 12px;
  height: 12px;
  min-width: 12px;
  border-radius: 50%;
  background: var(--gold);
  margin-top: 6px;
}
.expertise-item h3 {
  font-family: 'Source Sans 3', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.25rem;
}
.expertise-item p {
  color: var(--gray-600);
  font-size: 0.875rem;
  line-height: 1.6;
}

@media (max-width: 600px) {
  .expertise-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-section {
  padding: 5rem 0;
  background: var(--white);
}
.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3.5rem;
  align-items: start;
}

.contact-info h2 {
  font-size: 1.75rem;
  color: var(--navy);
  margin-bottom: 1rem;
}
.contact-info > p {
  color: var(--gray-600);
  line-height: 1.75;
  margin-bottom: 2rem;
}
.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.contact-info-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.info-icon {
  width: 40px;
  height: 40px;
  min-width: 40px;
  background: var(--gold);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.info-icon svg {
  width: 20px;
  height: 20px;
  stroke: var(--navy);
  fill: none;
}
.info-text strong {
  display: block;
  font-weight: 600;
  color: var(--navy);
  font-size: 0.95rem;
}
.info-text a,
.info-text span {
  color: var(--gray-600);
  font-size: 0.9rem;
}
.info-text a:hover {
  color: var(--gold);
}

/* Form */
.contact-form-wrap {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: 16px;
  padding: 2rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1.25rem;
}
.form-group {
  margin-bottom: 1.25rem;
}
.form-group:last-of-type {
  margin-bottom: 1.75rem;
}

label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.4rem;
}
label .req {
  color: var(--red);
}

input[type='text'],
input[type='email'],
select,
textarea {
  width: 100%;
  border: 1px solid var(--gray-300);
  border-radius: 8px;
  padding: 0.75rem 1rem;
  font-family: 'Source Sans 3', sans-serif;
  font-size: 0.95rem;
  color: #111827;
  background: var(--white);
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
  outline: none;
}
input:focus,
select:focus,
textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.2);
}
textarea {
  resize: none;
}

.btn-submit {
  width: 100%;
  background: var(--gold);
  color: var(--navy);
  font-weight: 700;
  font-size: 1rem;
  font-family: 'Source Sans 3', sans-serif;
  padding: 1rem;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s;
}
.btn-submit:hover {
  background: var(--gold-light);
}

@media (max-width: 900px) {
  .contact-inner {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 500px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}

/* EC-BTN-104 + EC-NAV-121: Re-assert hero / CTA text-white on buttons & links.
   Uses class~= (word match) not class*= (substring) to avoid matching hover:text-white etc. */
button[class~='text-white/90'],
a[class~='text-white/90'] {
  color: rgba(255, 255, 255, 0.9);
}
button[class~='text-white/80'],
a[class~='text-white/80'] {
  color: rgba(255, 255, 255, 0.8);
}
button[class~='text-white/70'],
a[class~='text-white/70'] {
  color: rgba(255, 255, 255, 0.7);
}
button[class~='text-white/60'],
a[class~='text-white/60'] {
  color: rgba(255, 255, 255, 0.6);
}
button[class~='text-white/50'],
a[class~='text-white/50'] {
  color: rgba(255, 255, 255, 0.5);
}
button[class~='text-white/40'],
a[class~='text-white/40'] {
  color: rgba(255, 255, 255, 0.4);
}
button[class~='text-white'],
a[class~='text-white'] {
  --tw-text-opacity: 1;
  color: rgb(255 255 255 / var(--tw-text-opacity, 1));
}

/* EC-ANIM-008b / EC-ANIM-009: carousel-only override — scroll-reveal elements animate via IO in functions.php */
.scroll-fade-up:has([aria-roledescription='carousel']),
.scroll-fade-up:has([data-wpconvert-blog-filter-bar]),
.scroll-fade-left:has([aria-roledescription='carousel']),
.scroll-fade-right:has([aria-roledescription='carousel']),
.scroll-scale-in:has([aria-roledescription='carousel']) {
  opacity: 1 !important;
  transform: none !important;
}
