:root {
  --green: #0A2E1A;       /* Deep British Racing Green */
  --green-dark: #051A0E;  /* Very Dark Green */
  --green-light: #F2F5F3; /* Elegant off-white neutral */
  --red: #8B1E1E;         /* Deep Crimson */
  --gold: #C09F52;        /* Champagne Gold */
  --gold-light: #FDF9F1;  /* Soft Warm Neutral */
  --white: #ffffff;
  --off-white: #F9FAFC;   /* Soft Pearl/Grey for body */
  --text: #222222;        /* Soft Charcoal */
  --text-light: #5A5A5A;  /* Muted Text */
  --border: #E5E8E6;
}

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  line-height: 1.7;
  background: var(--off-white);
  -webkit-font-smoothing: antialiased;
}

a { color: var(--gold); text-decoration: none; transition: color 0.2s; }
a:hover { color: #A8863A; text-decoration: underline; }

h1, h2, h3, .verse-box strong, .section-title, .header-text h1, .badge-founding {
  font-family: 'Montserrat', sans-serif;
}

/* ── Header ── */
header {
  background: var(--white);
  padding: 24px 0;
  border-bottom: 1px solid var(--border);
}

.header-inner {
  max-width: 1150px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: nowrap;
}

.header-logo {
  width: 60px;
  height: 60px;
  object-fit: contain;
  flex-shrink: 0;
}

.header-text h1 { font-size: 1.55rem; font-weight: 700; color: var(--green); line-height: 1.2; letter-spacing: -0.01em; }
.header-text p  { font-size: .88rem; color: var(--text-light); font-weight: 500; margin-top: 4px; }

/* ── Nav ── */
nav { background: var(--green); position: sticky; top: 0; z-index: 100; box-shadow: 0 4px 16px rgba(0,0,0,.08); }

.nav-inner {
  max-width: 1150px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

.nav-links { display: flex; flex-wrap: wrap; opacity: 1; max-height: none; overflow: visible; }

nav a {
  display: inline-block;
  color: #D3DCD7;
  padding: 16px 20px;
  font-size: .95rem;
  font-weight: 500;
  transition: all .2s;
}

nav a:hover, nav a.active {
  background: var(--green-dark);
  color: var(--white);
  text-decoration: none;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 13px 17px;
  margin-left: auto;
  flex-shrink: 0;
  line-height: 1;
}

/* ── Hero ── */
.hero {
  position: relative;
  color: white;
  text-align: center;
  padding: 160px 24px 150px;
  overflow: hidden;
  min-height: 500px;
}

.hero-slider {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  z-index: 0;
}

.hero-slider img {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  object-fit: cover;
  object-position: center top;
  opacity: 0;
  transition: opacity 1.5s ease-in-out, transform 6s linear;
  transform: scale(1.05);
}

.hero-slider img.active {
  opacity: 1;
  transform: scale(1);
}

.hero-overlay {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(10, 46, 26, 0.75); /* British Racing Green overlay */
  z-index: 1;
  opacity: 1 !important;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-content h2 { font-size: clamp(1.75rem, 5vw, 3rem); margin-bottom: 18px; line-height: 1.15; letter-spacing: -0.02em; }
.hero-content p  { font-size: clamp(1rem, 2.5vw, 1.15rem); max-width: 660px; margin: 0 auto 40px; opacity: .9; font-weight: 300; }

.hero-buttons { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; position: relative; z-index: 2; }

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 30px;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none !important;
  transition: all .2s ease;
  cursor: pointer;
  border: none;
  font-family: inherit;
}

.btn-gold         { background: var(--gold); color: var(--white); }
.btn-gold:hover   { background: #D4B365; color: var(--white); text-decoration: none; transform: translateY(-2px) scale(1.02); box-shadow: 0 6px 16px rgba(192, 159, 82, 0.4); }

.btn-white        { background: var(--white); color: var(--green); }
.btn-white:hover  { background: var(--green-light); transform: translateY(-1px); box-shadow: 0 4px 12px rgba(255, 255, 255, 0.2); }

.btn-green        { background: var(--green); color: var(--white); }
.btn-green:hover  { background: var(--green-dark); color: var(--white); text-decoration: none; transform: translateY(-1px); box-shadow: 0 4px 12px rgba(10, 46, 26, 0.3); }

.btn-red          { background: var(--red); color: var(--white); }
.btn-red:hover    { background: #7A1A1A; }

.btn-whatsapp       { background: #25d366; color: white; }
.btn-whatsapp:hover { background: #128C7E; color: white; text-decoration: none; transform: translateY(-2px) scale(1.02); box-shadow: 0 6px 16px rgba(37, 211, 102, 0.4); }

.btn-outline {
  background: transparent;
  color: white;
  border: 2px solid rgba(255,255,255,0.3);
}
.btn-outline:hover { background: white; color: var(--green); border-color: white; }

.btn-outline-green {
  border: 2px solid var(--green);
  color: var(--green);
  background: transparent;
}
.btn-outline-green:hover {
  background: var(--green);
  color: white;
}

/* ── Page banner ── */
.page-banner {
  background: var(--green);
  color: white;
  padding: 70px 24px;
  text-align: center;
}

.page-banner h1 { font-size: 2.4rem; margin-bottom: 12px; letter-spacing: -0.01em; }
.page-banner p  { opacity: .85; max-width: 600px; margin: 0 auto; font-size: 1.1rem; font-weight: 300; }

/* ── Main wrapper ── */
main { max-width: 1150px; margin: 0 auto; padding: 0 32px; }

section { padding: 80px 0; }
section + section { border-top: 1px solid var(--border); }

h2.section-title { font-size: 2rem; color: var(--green); margin-bottom: 10px; letter-spacing: -0.01em; }
.section-subtitle { color: var(--text-light); margin-bottom: 40px; font-size: 1.1rem; }

/* ── Cards ── */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.card {
  background: var(--white);
  border: 1px solid rgba(0,0,0,0.04);
  border-radius: 12px;
  padding: 40px 32px;
  transition: all .3s ease;
  box-shadow: 0 8px 24px rgba(0,0,0,0.03);
}

.card:hover { box-shadow: 0 16px 40px rgba(0,0,0,.06); transform: translateY(-4px); border-color: rgba(0,0,0,0.08); }

.card-image { padding: 0; overflow: hidden; }
.card-img-top { width: 100%; height: 200px; object-fit: cover; object-position: top; border-bottom: 1px solid var(--border); display: block; }
.card-body { padding: 32px; }

.card-icon { font-size: 2.2rem; margin-bottom: 16px; color: var(--gold); }
.card h3   { font-size: 1.25rem; color: var(--green); margin-bottom: 10px; }
.card p    { color: var(--text-light); font-size: .98rem; }

/* ── Gallery ── */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr));
  gap: 20px;
}
.gallery-item {
  border-radius: 12px;
  overflow: hidden;
  height: 240px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.03);
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.gallery-item:hover img {
  transform: scale(1.05);
}

/* ── Info boxes ── */
.info-banner {
  background: var(--green-light);
  border-left: 4px solid var(--green);
  padding: 24px 30px;
  border-radius: 0 8px 8px 0;
  margin: 30px 0;
}

.info-banner h3 { color: var(--green); margin-bottom: 8px; }

.highlight-box {
  background: var(--gold-light);
  border: 1px solid rgba(192, 159, 82, 0.3);
  border-radius: 12px;
  padding: 30px;
  margin: 30px 0;
}

.highlight-box h3 { color: var(--gold); margin-bottom: 10px; }

.red-banner {
  background: #fff5f5;
  border-left: 4px solid var(--red);
  padding: 24px 30px;
  border-radius: 0 8px 8px 0;
  margin: 30px 0;
}

/* ── Two-column layout ── */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

/* ── Table ── */
table { width: 100%; border-collapse: separate; border-spacing: 0; margin: 20px 0; border-radius: 8px; overflow: hidden; border: 1px solid var(--border); }
th, td { text-align: left; padding: 16px 20px; border-bottom: 1px solid var(--border); }
th { background: var(--green-light); color: var(--green); font-weight: 600; }
tr:last-child td { border-bottom: none; }
tr td { background: var(--white); }

/* ── Forms ── */
.form-group { margin-bottom: 24px; }

label {
  display: block;
  font-weight: 600;
  margin-bottom: 8px;
  font-size: .95rem;
  color: var(--green);
}

input[type="text"],
input[type="email"],
input[type="tel"],
select,
textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid #D0D5D2;
  border-radius: 8px;
  font-size: 1rem;
  font-family: inherit;
  transition: all .2s ease;
  background: var(--white);
  color: var(--text);
}

input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(192, 159, 82, 0.15);
}

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

/* ── CTA strip ── */
.cta-section {
  background: var(--green-light);
  color: var(--green);
  text-align: center;
  padding: 80px 24px;
  margin: 80px -32px 0;
  border-top: 1px solid var(--border);
}

.cta-section h2 { font-size: 2.2rem; margin-bottom: 12px; }
.cta-section p  { font-size: 1.1rem; opacity: .8; margin-bottom: 32px; max-width: 600px; margin-left: auto; margin-right: auto; }

/* ── Staff cards ── */
.staff-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 30px;
}

.staff-card {
  background: var(--white);
  border: 1px solid rgba(0,0,0,0.04);
  border-radius: 12px;
  padding: 32px 24px;
  text-align: center;
  box-shadow: 0 8px 24px rgba(0,0,0,0.03);
}

.staff-avatar {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: var(--green-light);
  color: var(--gold);
  border: 2px solid var(--green-light);
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.4rem;
}

.staff-card h3     { color: var(--green); font-size: 1.15rem; margin-bottom: 4px; }
.staff-card .role  { color: var(--gold); font-size: .9rem; font-weight: 600; margin-bottom: 12px; text-transform: uppercase; letter-spacing: 0.05em; }
.staff-card p      { font-size: .95rem; color: var(--text-light); }

/* ── Verse / pledge box ── */
.verse-box {
  background: var(--white);
  border-left: 4px solid var(--gold);
  padding: 30px 32px;
  border-radius: 0 8px 8px 0;
  margin: 20px 0;
  box-shadow: 0 8px 24px rgba(0,0,0,0.03);
}

.verse-box p { font-style: italic; font-size: 1.1rem; color: var(--text-light); }

/* ── Steps ── */
.steps { counter-reset: step; list-style: none; }

.steps li {
  counter-increment: step;
  display: flex;
  gap: 20px;
  align-items: flex-start;
  margin-bottom: 28px;
}

.steps li::before {
  content: counter(step);
  min-width: 40px;
  height: 40px;
  background: var(--green-light);
  color: var(--green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
  flex-shrink: 0;
}

.steps li div strong { display: block; margin-bottom: 4px; color: var(--green); font-size: 1.05rem; }
.steps li div span   { font-size: .95rem; color: var(--text-light); }

/* ── Contact info ── */
.contact-info-item { display: flex; gap: 20px; align-items: flex-start; margin-bottom: 28px; }
.contact-icon { font-size: 1.5rem; flex-shrink: 0; margin-top: 2px; color: var(--gold); }
.contact-info-item h3 { color: var(--green); margin-bottom: 4px; font-size: 1.1rem; }

/* ── Footer ── */
footer { background: var(--green-dark); color: #94A89C; padding: 80px 0 0; }

.footer-inner {
  max-width: 1150px;
  margin: 0 auto;
  padding: 0 32px 48px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 40px;
}

.footer-logo {
  height: 60px;
  width: auto;
  margin-bottom: 15px;
  display: block;
}

footer h3  { color: var(--gold); margin-bottom: 20px; font-size: 1.05rem; letter-spacing: 0.02em; }
footer p   { font-size: .95rem; line-height: 1.7; }
footer ul  { list-style: none; }
footer li  { font-size: .95rem; margin-bottom: 10px; }
footer li a { color: #94A89C; transition: color 0.2s; }
footer li a:hover { color: var(--gold); text-decoration: none; }

.footer-bottom {
  text-align: center;
  padding: 24px 32px;
  margin-top: 0;
  border-top: 1px solid rgba(255,255,255,.08);
  font-size: .85rem;
  color: #728A7C;
}

.badge-founding {
  display: inline-block;
  background: var(--gold);
  color: var(--white);
  font-size: .75rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 20px;
  margin-left: 10px;
  vertical-align: middle;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
  letter-spacing: 0.05em;
}

/* ── Animations ── */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Editorial Layout ── */
.editorial-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: center;
  position: relative;
  margin: 60px 0;
}

.editorial-image-wrapper {
  position: relative;
}

.editorial-image-wrapper img {
  width: 100%;
  height: 600px;
  object-fit: cover;
  object-position: top;
  border-radius: 12px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

.editorial-image-wrapper::before {
  content: '';
  position: absolute;
  top: -20px;
  left: -20px;
  right: 20px;
  bottom: 20px;
  background: var(--gold);
  border-radius: 12px;
  z-index: -1;
  opacity: 0.15;
}

.editorial-content {
  position: relative;
  z-index: 2;
}

.editorial-content h2.section-title, 
.editorial-content p.section-subtitle {
  text-align: left;
}

.editorial-content h2.section-title::after {
  left: 0;
  transform: none;
}

.editorial-card {
  background: var(--white);
  padding: 28px 32px;
  border-radius: 12px;
  box-shadow: 0 12px 32px rgba(0,0,0,0.06);
  margin-bottom: 24px;
  position: relative;
  margin-left: -80px;
  transition: transform 0.3s;
  overflow: hidden;
  word-wrap: break-word;
}

.editorial-card:hover {
  transform: translateX(10px);
}

.editorial-card .card-icon {
  margin: 0 0 16px 0;
  width: 48px;
  height: 48px;
  font-size: 1.2rem;
}

.editorial-card h3 {
  margin-bottom: 12px;
  font-size: 1.25rem;
}

/* Reversed Layout */
.editorial-layout.reversed {
  grid-template-columns: 1.2fr 1fr;
}

.editorial-layout.reversed .editorial-image-wrapper {
  order: 2;
}

.editorial-layout.reversed .editorial-content {
  order: 1;
}

.editorial-layout.reversed .editorial-card {
  margin-left: 0;
  margin-right: -80px;
}

.editorial-layout.reversed .editorial-image-wrapper::before {
  left: 20px;
  right: -20px;
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .header-logo   { width: 52px; height: 52px; }
  .header-text h1 { font-size: 1.15rem; }
  .header-text p  { font-size: .78rem; }

  .page-banner h1 { font-size: 2rem; }
  .page-banner    { padding: 50px 20px; }

  .two-col       { grid-template-columns: 1fr; gap: 32px; }

  /* Hero */
  .hero          { padding: 90px 20px 80px; min-height: 420px; }

  /* Editorial layout — stack vertically */
  .editorial-layout {
    grid-template-columns: 1fr;
    gap: 32px;
    margin: 32px 0;
  }
  .editorial-layout.reversed { grid-template-columns: 1fr; }
  .editorial-layout.reversed .editorial-image-wrapper { order: 1; }
  .editorial-layout.reversed .editorial-content { order: 2; }

  /* Images within editorial */
  .editorial-image-wrapper img { height: 260px; object-position: center top; }
  .editorial-image-wrapper::before { display: none; } /* hide decorative bg on mobile */

  /* Cards — remove negative margins that cause overflow */
  .editorial-card,
  .editorial-layout.reversed .editorial-card {
    margin-left: 0;
    margin-right: 0;
    padding: 24px;
  }

  /* Nav slide-over */
  .nav-toggle    { display: block; }
  .nav-links {
    max-height: 0;
    overflow: hidden;
    flex-direction: column;
    width: 100%;
    transition: max-height 0.35s ease, opacity 0.3s ease;
    opacity: 0;
    display: flex;
  }
  .nav-links.open {
    max-height: 400px;
    opacity: 1;
  }
  nav a {
    border-bottom: 1px solid rgba(255,255,255,.05);
    padding: 14px 20px;
  }
  .nav-inner { flex-wrap: wrap; }

  .cta-section   { margin: 60px -20px 0; padding: 60px 20px; }
  h2.section-title { font-size: 1.6rem; }
  .section-subtitle { font-size: 1rem; }
  .footer-inner  { grid-template-columns: 1fr 1fr; gap: 28px; }
  section        { padding: 56px 0; }
  main           { padding: 0 20px; }

  /* Gallery */
  .gallery-grid { gap: 16px; }
  .gallery-item { height: 200px; }

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

@media (max-width: 480px) {
  .header-inner  { padding: 0 16px; gap: 12px; }
  .header-logo   { width: 46px; height: 46px; }
  .header-text h1 { font-size: 1rem; }
  .header-text p  { display: none; }  /* hide tagline on very small screens */

  .footer-inner   { grid-template-columns: 1fr; }
  .hero           { padding: 70px 16px 60px; }
  main            { padding: 0 16px; }
  .btn            { padding: 12px 20px; font-size: .95rem; }
  .editorial-image-wrapper img { height: 220px; }
  .gallery-item   { height: 180px; }
  .page-banner h1 { font-size: 1.6rem; }
}
