/* ============================================================
   SETT HERITAGE — Shared Base Styles
   Extracted from Heritage HTML designs
   ============================================================ */

:root {
  --sett-green: #AAC737;
  --sett-navy: #071c42;
  --sett-grey: #686868;
  --sett-white: #ffffff;
  --sett-black: #0a0a0a;
  --sett-green-dark: #7a9420;
  --sett-green-light: #c8e050;
  --cream: #f8f7f3;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Montserrat', sans-serif;
  color: var(--sett-navy);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { text-decoration: none; color: inherit; -webkit-tap-highlight-color: transparent; }
img { max-width: 100%; height: auto; }

/* Prevent horizontal overflow on mobile */
main, section, .page-hero, .cta-band, footer { overflow-x: hidden; }

/* ---- Green accent bar ---- */
.sett-bar { height: 4px; background: var(--sett-green); width: 100%; }

/* ---- Icon styles ---- */
.icon-circle {
  width: 48px; height: 48px; min-width: 48px; border-radius: 50%;
  background: rgba(170,199,55,0.12); display: flex; align-items: center; justify-content: center;
}
.icon-circle svg { width: 22px; height: 22px; stroke: var(--sett-green-dark); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.icon-navy {
  width: 56px; height: 56px; min-width: 56px; border-radius: 12px;
  background: var(--sett-navy); display: flex; align-items: center; justify-content: center;
}
.icon-navy svg { width: 26px; height: 26px; stroke: var(--sett-green); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ---- Navigation ---- */
nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 60px; background: var(--sett-white); position: sticky; top: 0; z-index: 100;
  border-bottom: 1px solid rgba(7,28,66,0.06);
}

.nav-logo { display: flex; align-items: center; flex-shrink: 0; }
.nav-logo img { height: 54px; }

.nav-links { display: flex; gap: 32px; align-items: center; }
.nav-links a {
  color: var(--sett-grey); text-decoration: none; font-size: 13px; font-weight: 600;
  letter-spacing: 0.06em; text-transform: uppercase; transition: color 0.3s;
}
.nav-links a:hover { color: var(--sett-navy); }
.nav-links a.active { color: var(--sett-navy); border-bottom: 2px solid var(--sett-green); padding-bottom: 2px; }
.nav-links a.btn-primary { color: var(--sett-white); background: var(--sett-navy); border-radius: 6px; padding: 10px 24px; }
.nav-links a.btn-primary:hover { background: var(--sett-green); color: var(--sett-navy); }
/* Nav button variants */
.nav-links a.nav-btn { border-radius: 6px; padding: 8px 18px; font-size: 12px; transition: all 0.3s; }
.nav-links a.nav-btn-navy { background: var(--sett-navy); color: #fff; }
.nav-links a.nav-btn-navy:hover { background: var(--sett-green); color: var(--sett-navy); }
.nav-links a.nav-btn-green { background: var(--sett-green); color: var(--sett-navy); }
.nav-links a.nav-btn-green:hover { background: var(--sett-green-dark); }
.nav-links a.nav-btn-beige { background: #e8e0d0; color: var(--sett-navy); }
.nav-links a.nav-btn-beige:hover { background: #d4c9b5; }

/* Language toggle */
.lang-toggle {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 6px 12px; border-radius: 6px; font-size: 13px; font-weight: 700;
  color: var(--sett-navy); background: rgba(7,28,66,0.05);
  transition: all 0.2s; margin-left: 8px; white-space: nowrap;
}
.lang-toggle:hover { background: rgba(170,199,55,0.15); color: var(--sett-green-dark); }

/* ---- Mobile toggle ---- */
.sett-mobile-toggle {
  display: none; background: none; border: none; cursor: pointer; padding: 10px;
  flex-direction: column; gap: 5px; z-index: 1001;
}
.sett-mobile-toggle span {
  display: block; width: 24px; height: 2.5px; background: var(--sett-navy); border-radius: 2px;
  transition: all 0.3s;
}
.sett-mobile-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.sett-mobile-toggle.active span:nth-child(2) { opacity: 0; }
.sett-mobile-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ---- Buttons ---- */
.btn-primary {
  background: var(--sett-green); color: var(--sett-navy); font-family: 'Montserrat', sans-serif;
  font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: 0.08em;
  padding: 12px 28px; border: none; border-radius: 4px; cursor: pointer; text-decoration: none;
  display: inline-block; transition: all 0.3s;
}
.btn-primary:hover { background: var(--sett-green-dark); color: var(--sett-white); transform: translateY(-1px); }

.btn-outline {
  background: transparent; color: var(--sett-navy); border: 2px solid var(--sett-navy);
  font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: 13px; text-transform: uppercase;
  letter-spacing: 0.08em; padding: 10px 28px; border-radius: 4px; cursor: pointer;
  text-decoration: none; display: inline-block; transition: all 0.3s;
}
.btn-outline:hover { background: var(--sett-navy); color: var(--sett-white); }

.btn-outline-green {
  background: transparent; color: var(--sett-green); border: 2px solid var(--sett-green);
  font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: 13px; text-transform: uppercase;
  letter-spacing: 0.08em; padding: 10px 28px; border-radius: 4px; cursor: pointer;
  text-decoration: none; display: inline-block; transition: all 0.3s;
}
.btn-outline-green:hover { background: rgba(170,199,55,0.1); }

/* ---- Section tag ---- */
.section-tag {
  font-size: 11px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--sett-green-dark); margin-bottom: 16px;
}

/* ---- Page hero (centered) ---- */
.page-hero {
  padding: 100px 60px 80px; background: var(--cream); text-align: center;
}
.page-hero h1 { font-size: 48px; font-weight: 900; margin-bottom: 20px; line-height: 1.1; }
.page-hero h1 em { font-style: normal; color: var(--sett-green-dark); }
.page-hero p { font-size: 17px; color: var(--sett-grey); max-width: 650px; margin: 0 auto; line-height: 1.8; }

/* ---- Page hero (split) ---- */
.page-hero-inner {
  max-width: 1100px; margin: 0 auto; display: grid;
  grid-template-columns: 1fr 1fr; gap: 60px; align-items: center;
}

/* ---- CTA band ---- */
.cta-band { padding: 80px 60px; background: var(--sett-white); text-align: center; }
.cta-band h2 { font-size: 32px; font-weight: 900; margin-bottom: 14px; }
.cta-band p { font-size: 16px; color: var(--sett-grey); margin-bottom: 32px; }

/* ---- Footer ---- */
footer {
  padding: 40px 60px 24px; background: var(--sett-navy); color: rgba(255,255,255,0.6);
  font-size: 13px; line-height: 1.8;
}
.footer-compact {
  max-width: 1100px; margin: 0 auto 24px;
  display: flex; justify-content: space-between; align-items: flex-start; gap: 40px;
}
.footer-left { display: flex; align-items: center; gap: 16px; flex-shrink: 0; }
.footer-left .footer-logo { height: 36px; filter: brightness(10); }
.footer-brand { display: flex; flex-direction: column; gap: 2px; }
.footer-brand strong { color: var(--sett-white); font-size: 13px; }
.footer-brand span { font-size: 12px; }
.footer-brand a { color: rgba(255,255,255,0.6); transition: color 0.2s; }
.footer-brand a:hover { color: var(--sett-green); }
.footer-right { display: flex; gap: 32px; align-items: flex-start; }
.footer-links { display: flex; gap: 16px; }
.footer-links a {
  color: rgba(255,255,255,0.6); font-size: 12px; font-weight: 600;
  text-decoration: none; transition: color 0.2s; white-space: nowrap;
}
.footer-links a:hover { color: var(--sett-green); }
.footer-emergency {
  display: flex; flex-direction: column; text-align: right; white-space: nowrap;
}
.footer-emergency span { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: rgba(255,255,255,0.4); }
.footer-emergency a { color: var(--sett-white); font-size: 13px; font-weight: 700; transition: color 0.2s; }
.footer-emergency a:hover { color: var(--sett-green); }
.footer-trust {
  max-width: 1100px; margin: 0 auto 16px;
  display: flex; flex-wrap: wrap; justify-content: center; gap: 16px;
  padding-top: 16px; border-top: 1px solid rgba(255,255,255,0.08);
}
.trust-badge {
  font-size: 11px; font-weight: 600; color: rgba(255,255,255,0.45);
  letter-spacing: 0.04em; white-space: nowrap;
  display: inline-flex; align-items: center; gap: 6px;
}
.trust-badge .ico {
  width: 16px; height: 16px; display: inline-block; vertical-align: middle;
  stroke: rgba(255,255,255,0.35); stroke-linecap: round; stroke-linejoin: round;
}
.trust-badge .ico-check {
  stroke: #27ae60;
}
.footer-bottom {
  max-width: 1100px; margin: 0 auto;
  border-top: 1px solid rgba(255,255,255,0.1); padding-top: 16px;
  text-align: center; font-size: 11px; color: rgba(255,255,255,0.3);
}
@media (max-width: 900px) {
  footer { padding: 32px 24px 20px; }
  .footer-compact { flex-direction: column; gap: 24px; }
  .footer-right { flex-direction: column; gap: 16px; }
  .footer-links { flex-wrap: wrap; gap: 12px; }
  .footer-emergency { text-align: left; }
}

/* ---- Animation ---- */
@keyframes fadeUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }

/* ---- Responsive: Tablet (max 900px) ---- */
@media (max-width: 900px) {
  nav { padding: 18px 24px; }
  .nav-links {
    display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0;
    background: var(--sett-white); flex-direction: column; padding: 100px 2rem 2rem; gap: 0; z-index: 999;
    overflow-y: auto;
  }
  .nav-links.open { display: flex; }
  .nav-links a {
    padding: 16px 0; border-bottom: 1px solid rgba(7,28,66,0.06); font-size: 15px;
    color: var(--sett-navy); width: 100%; text-align: left;
  }
  .nav-links a.btn-primary {
    margin-top: 16px; text-align: center; width: 100%;
    padding: 14px 24px;
  }
  /* Nav buttons stack full-width in mobile menu */
  .nav-links a.nav-btn { width: 100%; text-align: center; margin-top: 8px; padding: 14px 18px; font-size: 14px; }
  /* Language toggle in mobile menu */
  .nav-links .lang-toggle {
    margin: 16px 0 0; padding: 14px 0; font-size: 15px;
    background: none; border-bottom: 1px solid rgba(7,28,66,0.06);
    border-radius: 0; width: 100%; text-align: left; justify-content: flex-start;
  }
  /* Minimum 44px touch target for hamburger */
  .sett-mobile-toggle { display: flex; min-width: 44px; min-height: 44px; align-items: center; justify-content: center; }
  .page-hero { padding: 60px 24px; }
  .page-hero h1 { font-size: 32px; }
  .page-hero p { font-size: 15px; }
  .page-hero-inner { grid-template-columns: 1fr; gap: 32px; }
  .cta-band { padding: 60px 24px; }
  .cta-band h2 { font-size: 26px; }
}

/* ---- Responsive: Large phone (max 600px) ---- */
@media (max-width: 600px) {
  nav { padding: 14px 16px; }
  .nav-logo img, .nav-logo > a > img { height: 40px !important; }
  .page-hero { padding: 48px 16px; }
  .page-hero h1 { font-size: 26px; }
  .page-hero p { font-size: 14px; }
  .cta-band { padding: 48px 16px; }
  .cta-band h2 { font-size: 22px; }
  .cta-band p { font-size: 14px; }
  footer { padding: 28px 16px 16px; }
  .footer-compact { gap: 20px; }
  .footer-left { flex-direction: column; align-items: flex-start; gap: 12px; }
  .footer-left .footer-logo { height: 28px; }
  .footer-links { gap: 10px; }
  .footer-trust { gap: 10px; padding-top: 12px; }
  .trust-badge { font-size: 10px; }
  /* Ensure minimum tap target size (44px) */
  .btn-primary, .btn-outline, .btn-outline-green { min-height: 44px; padding: 12px 24px; font-size: 12px; }
  .section-tag { font-size: 10px; }
}

/* ---- Responsive: Small phone (max 380px) ---- */
@media (max-width: 380px) {
  nav { padding: 12px 12px; }
  .nav-logo img, .nav-logo > a > img { height: 36px !important; }
  .page-hero { padding: 40px 12px; }
  .page-hero h1 { font-size: 22px; }
  footer { padding: 24px 12px 12px; }
  .btn-primary, .btn-outline, .btn-outline-green { padding: 10px 16px; font-size: 11px; }
}
