/* ============================================================
   PRECISELY TAX SOLUTIONS CORP — STYLES
   ============================================================ */

/* --- Variables --- */
:root {
  --green: #2EA30F;
  --green-dark: #1F7609;
  --green-light: #E8F5E3;
  --orange: #FF8500;
  --orange-dark: #D96F00;
  --orange-light: #FFF0E0;
  --black: #111111;
  --text: #333333;
  --muted: #666666;
  --light: #F7F7F4;
  --white: #FFFFFF;
  --border: #E6E6E6;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
  --shadow: 0 4px 20px rgba(0,0,0,0.08);
  --shadow-md: 0 8px 40px rgba(0,0,0,0.12);
  --shadow-lg: 0 16px 60px rgba(0,0,0,0.18);
  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 20px;
  --transition: 0.3s ease;
  --header-height: 80px;
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Source Sans 3', 'Open Sans', sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  font-size: 16px;
  overflow-x: hidden;
}
h1, h2, h3, h4, h5 {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  line-height: 1.2;
  color: var(--black);
  text-wrap: balance;
}
a { color: inherit; text-decoration: none; transition: var(--transition); }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* --- Container --- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  transition: var(--transition);
  cursor: pointer;
  border: 2px solid transparent;
  text-decoration: none;
  white-space: nowrap;
  line-height: 1;
}
.btn-lg { padding: 16px 36px; font-size: 1rem; }
.btn-block { width: 100%; justify-content: center; }

.btn-primary { background: var(--green); color: var(--white); border-color: var(--green); }
.btn-primary:hover {
  background: var(--green-dark); border-color: var(--green-dark);
  transform: translateY(-2px); box-shadow: 0 8px 24px rgba(46,163,15,0.35);
}
.btn-orange { background: var(--orange); color: var(--white); border-color: var(--orange); }
.btn-orange:hover {
  background: var(--orange-dark); border-color: var(--orange-dark);
  transform: translateY(-2px); box-shadow: 0 8px 24px rgba(255,133,0,0.35);
}
.btn-outline-green { background: transparent; color: var(--green); border-color: var(--green); }
.btn-outline-green:hover { background: var(--green); color: var(--white); transform: translateY(-2px); }
.btn-outline-white { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.5); }
.btn-outline-white:hover { background: rgba(255,255,255,0.12); border-color: var(--white); transform: translateY(-2px); }

/* --- Utilities --- */
.text-green { color: var(--green); }
.text-orange { color: var(--orange); }
.text-center { text-align: center; }
.text-white { color: var(--white); }
.text-white-muted { color: rgba(255,255,255,0.72); }
.mt-4 { margin-top: 1.5rem; }
.mt-5 { margin-top: 2.5rem; }

/* ============================================================
   HEADER
   ============================================================ */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: var(--white);
  border-bottom: 1px solid transparent;
  transition: var(--transition);
  height: var(--header-height);
}
.header.scrolled {
  box-shadow: 0 2px 20px rgba(0,0,0,0.1);
  border-bottom-color: var(--border);
}
.header-inner {
  display: flex; align-items: center;
  height: var(--header-height); gap: 32px;
}

/* Logo */
.logo { display: flex; align-items: center; flex-shrink: 0; }
.logo img { height: 46px; width: auto; }
.logo-fallback { display: none; align-items: center; gap: 10px; }
.logo-icon {
  width: 44px; height: 44px; background: var(--green); color: var(--white);
  border-radius: 10px; display: flex; align-items: center; justify-content: center;
  font-family: 'Poppins', sans-serif; font-weight: 800; font-size: 1.4rem;
}
.logo-text { display: flex; flex-direction: column; line-height: 1.2; }
.logo-name { font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 1.1rem; color: var(--green); }
.logo-sub { font-size: 0.68rem; color: var(--muted); font-weight: 500; letter-spacing: 0.3px; }

/* Nav */
.nav { flex: 1; display: flex; justify-content: center; }
.nav-list { display: flex; align-items: center; gap: 4px; }
.nav-link {
  padding: 8px 14px;
  font-family: 'Poppins', sans-serif; font-weight: 500; font-size: 0.88rem;
  color: var(--text); border-radius: 6px; position: relative; transition: var(--transition);
}
.nav-link::after {
  content: ''; position: absolute; bottom: 3px; left: 14px; right: 14px;
  height: 2px; background: var(--green);
  transform: scaleX(0); transition: transform 0.25s ease; transform-origin: left;
}
.nav-link:hover, .nav-link.active { color: var(--green); }
.nav-link:hover::after, .nav-link.active::after { transform: scaleX(1); }

/* Header actions */
.header-actions { display: flex; align-items: center; gap: 14px; margin-left: auto; }

/* ============================================================
   LANGUAGE SWITCHER
   Two real links, so it works with JavaScript disabled and each
   language keeps its own crawlable URL.
   ============================================================ */
.lang-switch {
  display: inline-flex; align-items: center; gap: 2px;
  background: var(--light); border: 1px solid var(--border);
  border-radius: 50px; padding: 3px; flex-shrink: 0;
}
.lang-opt {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 40px; padding: 6px 11px; border-radius: 50px;
  font-family: 'Poppins', sans-serif; font-weight: 600; font-size: 0.76rem;
  letter-spacing: 0.6px; color: var(--muted); transition: var(--transition);
}
.lang-opt:hover { color: var(--green); background: var(--white); }
.lang-opt.active { background: var(--green); color: var(--white); }
.lang-opt:focus-visible { outline: 2px solid var(--green); outline-offset: 2px; }

/* Drawer version: full width, stacked under a label */
.mobile-lang { margin-bottom: 22px; }
.mobile-lang-label {
  display: block; margin-bottom: 9px;
  font-family: 'Poppins', sans-serif; font-weight: 600; font-size: 0.72rem;
  text-transform: uppercase; letter-spacing: 1px; color: var(--muted);
}
.lang-switch--block { display: flex; width: 100%; }
.lang-switch--block .lang-opt { flex: 1; padding: 11px; font-size: 0.85rem; }

/* Hamburger */
.hamburger { display: none; flex-direction: column; gap: 5px; padding: 8px; border-radius: 6px; }
.hamburger span { display: block; width: 22px; height: 2px; background: var(--black); border-radius: 2px; transition: var(--transition); }
.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Overlay */
.mobile-menu-overlay {
  display: none; position: fixed; inset: 0;
  background: rgba(0,0,0,0.5); z-index: 1001;
}
.mobile-menu-overlay.active { display: block; }

/* Mobile Menu */
.mobile-menu {
  position: fixed; top: 0; right: 0; width: 300px; height: 100%;
  background: var(--white); z-index: 1002; padding: 80px 28px 40px;
  transform: translateX(100%); transition: transform 0.35s cubic-bezier(0.4,0,0.2,1);
  overflow-y: auto; box-shadow: var(--shadow-lg);
}
.mobile-menu.active { transform: translateX(0); }
.mobile-menu-close {
  position: absolute; top: 22px; right: 22px;
  width: 40px; height: 40px; border-radius: 8px;
  background: var(--light); display: flex; align-items: center; justify-content: center;
  font-size: 1rem; color: var(--text); transition: var(--transition);
}
.mobile-menu-close:hover { background: var(--border); }
.mobile-nav-list { display: flex; flex-direction: column; gap: 4px; margin-bottom: 28px; }
.mobile-nav-link {
  display: block; padding: 13px 16px;
  font-family: 'Poppins', sans-serif; font-weight: 600; font-size: 0.95rem;
  color: var(--text); border-radius: 8px; transition: var(--transition);
}
.mobile-nav-link:hover, .mobile-nav-link.active { background: var(--green-light); color: var(--green); }
.mobile-contact-info { margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--border); }
.mobile-contact-info p { display: flex; align-items: center; gap: 10px; padding: 7px 0; font-size: 0.88rem; color: var(--muted); }
.mobile-contact-info i { color: var(--green); width: 16px; }

/* ============================================================
   SECTIONS
   ============================================================ */
.section { padding: clamp(64px, 8vw, 104px) 0; }
.section-white { background: var(--white); }
.section-light { background: var(--light); }
.section-header { max-width: 680px; margin: 0 auto 60px; }

.section-label {
  display: inline-block;
  font-family: 'Poppins', sans-serif; font-weight: 600;
  font-size: 0.82rem; letter-spacing: 1.8px; text-transform: uppercase;
  color: var(--orange); margin-bottom: 12px;
}
.section-label.light { color: rgba(255,255,255,0.65); }
.section-title { font-size: clamp(1.9rem, 4vw, 3rem); margin-bottom: 20px; }
.section-desc { font-size: 1.05rem; color: var(--muted); max-width: 580px; margin: 0 auto; line-height: 1.8; }

/* Divider */
.section-divider {
  display: flex; align-items: center; gap: 12px;
  margin: 16px auto 24px; width: fit-content;
}
.section-divider.left-aligned { margin-left: 0; }
.divider-line { width: 60px; height: 2px; background: var(--border); border-radius: 2px; }
.divider-line.short { width: 36px; }
.divider-icon { color: var(--orange); font-size: 0.82rem; }
.divider-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--orange); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center;
  overflow: hidden; padding-top: var(--header-height);
  background: linear-gradient(135deg, #0d1117 0%, #1a2a1a 100%);
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
/* Lifted a touch so the office reads through the overlay. Applied as a filter
   rather than baked into the JPG, so it stays easy to re-tune. */
.hero-img { width: 100%; height: 100%; object-fit: cover; filter: brightness(1.28) saturate(1.05); }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(8,8,8,0.93) 0%, rgba(8,8,8,0.78) 50%, rgba(8,8,8,0.28) 100%);
}
.hero-inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1fr 300px; gap: 56px; align-items: center;
  padding: 96px 0 84px;
}
.hero-content { max-width: none; }

/* .badge-dot is shared with the hero contact card's "Accepting New Clients" status */
.badge-dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--green);
  animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(1.4); }
}
.hero-title {
  font-size: clamp(3rem, 7.5vw, 5.5rem);
  color: var(--white); line-height: 1.0; margin-bottom: 28px; letter-spacing: -0.02em;
}
.hero-title-accent { color: var(--green); display: block; }
.hero-subtitle {
  font-size: clamp(0.95rem, 1.5vw, 1.06rem);
  color: rgba(255,255,255,0.75); margin-bottom: 32px; max-width: 520px; line-height: 1.8;
}
.hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 48px; }
.hero-trust { display: flex; gap: 28px; flex-wrap: wrap; }
.trust-item { display: flex; align-items: center; gap: 8px; color: rgba(255,255,255,0.8); font-size: 0.88rem; font-weight: 500; }
.trust-item i { color: var(--orange); font-size: 0.9rem; }

/* Hero contact card */
.hero-card {
  background: rgba(8,8,8,0.84);
  border: 1px solid rgba(255,255,255,0.09);
  border-top: 3px solid var(--green);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  display: flex; flex-direction: column; gap: 20px;
  flex-shrink: 0;
}
.hero-card-status {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.78rem; font-weight: 600; color: rgba(255,255,255,0.62);
  text-transform: uppercase; letter-spacing: 1.2px;
}
.hero-card-phone {
  font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 1.55rem;
  color: var(--white); letter-spacing: -0.01em; line-height: 1.2;
  transition: color 0.2s;
}
.hero-card-phone:hover { color: var(--orange); }
.hero-card-details {
  display: flex; flex-direction: column; gap: 11px;
  border-top: 1px solid rgba(255,255,255,0.08); padding-top: 20px;
}
.hero-card-detail { display: flex; align-items: center; gap: 10px; font-size: 0.88rem; color: rgba(255,255,255,0.7); }
.hero-card-detail i { color: var(--green); width: 14px; font-size: 0.82rem; flex-shrink: 0; }
.hero-card-explore { margin-top: -8px; }

.hero-scroll {
  position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%);
  z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: rgba(255,255,255,0.45); font-size: 0.75rem; letter-spacing: 1px; text-transform: uppercase;
}
.scroll-arrow { animation: scroll-cue 2s ease-in-out infinite; }
@keyframes scroll-cue { 0%, 100% { transform: translateY(0); } 60% { transform: translateY(8px); } }

/* ============================================================
   STATS BAR
   ============================================================ */
.stats-bar { background: var(--green-dark); padding: 36px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat-item {
  display: flex; align-items: center; justify-content: center; gap: 12px;
  padding: 22px 16px;
  border-right: 1px solid rgba(255,255,255,0.22);
}
.stat-item:last-child { border-right: none; }
.stat-number {
  font-family: 'Poppins', sans-serif; font-size: 1.6rem; font-weight: 700;
  color: var(--white); line-height: 1; white-space: nowrap;
}
.stat-number span { font-size: 1rem; }
.stat-label { font-size: 0.88rem; color: rgba(255,255,255,0.85); font-weight: 400; line-height: 1.4; }

/* ============================================================
   FEATURE CARDS (3-up)
   ============================================================ */
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; }
.feature-card { padding: 0; }
.feature-icon-wrap { margin-bottom: 20px; }
.feature-icon {
  width: 68px; height: 68px; border-radius: 50%;
  background: var(--green-light); color: var(--green);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.55rem; transition: var(--transition);
}
.feature-card:hover .feature-icon { background: var(--green); color: var(--white); }
.feature-card h3 { font-size: 1.12rem; margin-bottom: 12px; }
.feature-card p { font-size: 0.93rem; color: var(--muted); line-height: 1.75; }

/* ============================================================
   SPLIT LAYOUT
   ============================================================ */
.split-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.split-layout.reverse { direction: rtl; }
.split-layout.reverse > * { direction: ltr; }

.image-frame { position: relative; border-radius: var(--radius-lg); overflow: hidden; }
.image-frame img {
  width: 100%; height: 500px; object-fit: cover; object-position: top center;
  transition: transform 0.6s ease;
  background: linear-gradient(135deg, #e0e0e0, #c8c8c8);
}
.image-frame:hover img { transform: scale(1.03); }
/* Wide group photos: show full width at natural proportions */
.image-frame--natural img {
  height: auto !important;
  object-fit: initial !important;
  object-position: initial !important;
}
.image-badge {
  position: absolute; bottom: 24px; right: 24px;
  background: var(--orange); color: var(--white);
  border-radius: var(--radius); padding: 16px 20px; text-align: center;
  box-shadow: 0 8px 24px rgba(255,133,0,0.4);
}
.badge-num { display: block; font-family: 'Poppins', sans-serif; font-weight: 800; font-size: 1.6rem; line-height: 1; }
.badge-text { font-size: 0.73rem; font-weight: 600; line-height: 1.4; }

.split-content { display: flex; flex-direction: column; }
.split-content .section-title { margin-bottom: 0; }
.split-content p { color: var(--muted); line-height: 1.8; margin: 14px 0; font-size: 0.97rem; }
.check-list { margin: 20px 0 28px; display: flex; flex-direction: column; gap: 12px; }
.check-list li { display: flex; align-items: center; gap: 12px; font-size: 0.94rem; color: var(--text); font-weight: 500; }
.check-list i { color: var(--green); font-size: 0.95rem; flex-shrink: 0; }

/* ============================================================
   SERVICES GRID (homepage preview)
   ============================================================ */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.service-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 32px 28px;
  transition: var(--transition); box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column; position: relative; overflow: hidden;
  text-decoration: none; color: var(--text);
}
.service-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--green), var(--orange));
  transform: scaleX(0); transition: transform 0.3s ease; transform-origin: left;
}
.service-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); border-color: var(--green-light); }
.service-card:hover::before { transform: scaleX(1); }
.service-icon {
  width: 56px; height: 56px; border-radius: var(--radius-sm);
  background: var(--green-light); color: var(--green);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; margin-bottom: 18px; transition: var(--transition);
}
.service-card:hover .service-icon { background: var(--green); color: var(--white); }
.service-card h3 { font-size: 1.05rem; margin-bottom: 10px; color: var(--black); }
.service-card p { font-size: 0.88rem; color: var(--muted); line-height: 1.75; flex: 1; margin-bottom: 18px; }
.service-link { display: flex; align-items: center; gap: 6px; font-family: 'Poppins', sans-serif; font-weight: 600; font-size: 0.85rem; color: var(--green); transition: gap 0.2s; }
.service-card:hover .service-link { gap: 10px; }

/* ============================================================
   WHY CHOOSE US
   ============================================================ */
.why-us { position: relative; overflow: hidden; }
.why-us-bg { position: absolute; inset: 0; z-index: 0; background: #0d1a0d; }
.why-us-bg img { width: 100%; height: 100%; object-fit: cover; }
.why-us-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(10,20,10,0.95) 0%, rgba(31,118,9,0.88) 100%);
}
.why-us-inner { position: relative; z-index: 1; max-width: 820px; }
.why-us-content .section-title.white { color: var(--white); }
.why-us-content > p { margin-bottom: 40px; }
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.why-item {
  display: flex; align-items: flex-start; gap: 16px; padding: 16px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08); transition: transform 0.2s ease;
}
.why-item:last-child { border-bottom: none; }
.why-item:hover { transform: translateX(3px); }
.why-icon {
  width: 44px; height: 44px; border-radius: var(--radius-sm); background: var(--orange);
  color: var(--white); display: flex; align-items: center; justify-content: center;
  font-size: 0.92rem; flex-shrink: 0;
}
.why-item strong { display: block; color: var(--white); font-family: 'Poppins', sans-serif; font-size: 0.92rem; margin-bottom: 3px; }
.why-item p { color: rgba(255,255,255,0.58); font-size: 0.85rem; margin: 0; }

/* ============================================================
   FAQ
   ============================================================ */
.faq-layout { display: grid; grid-template-columns: 1fr 1.65fr; gap: 72px; align-items: start; }
.faq-header { position: sticky; top: 100px; }
.faq-header p { color: var(--muted); font-size: 0.97rem; margin-top: 14px; line-height: 1.75; }
.faq-list { display: flex; flex-direction: column; gap: 10px; }
.faq-item {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden; transition: box-shadow 0.3s, border-color 0.3s;
}
.faq-item.active { border-color: var(--green); box-shadow: 0 4px 20px rgba(46,163,15,0.1); }
.faq-question {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 22px; text-align: left;
  font-family: 'Poppins', sans-serif; font-weight: 600; font-size: 0.97rem;
  color: var(--black); transition: color 0.2s;
}
.faq-question:hover { color: var(--green); }
.faq-icon {
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--light); color: var(--green);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.8rem; flex-shrink: 0; transition: transform 0.3s, background 0.3s, color 0.3s;
}
.faq-item.active .faq-icon { background: var(--green); color: var(--white); transform: rotate(45deg); }
.faq-answer { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.35s ease; }
.faq-item.active .faq-answer { grid-template-rows: 1fr; }
.faq-answer > div { overflow: hidden; min-height: 0; }
.faq-answer p { padding: 0 22px 20px; color: var(--muted); font-size: 0.93rem; line-height: 1.8; }

/* ============================================================
   CTA SECTION
   ============================================================ */
.cta-section { background: #0D0D0D; padding: clamp(64px,8vw,104px) 0; }
.cta-card {
  background: linear-gradient(130deg, var(--green-dark) 0%, #2ea30f 50%, #3dba1a 100%);
  border-radius: var(--radius-lg); overflow: hidden;
  display: grid; grid-template-columns: 1.4fr 1fr; min-height: 380px;
}
.cta-content { padding: 56px 56px 56px 56px; display: flex; flex-direction: column; justify-content: center; }
.cta-content h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); color: var(--white); margin-bottom: 16px; }
.cta-content p { color: rgba(255,255,255,0.8); font-size: 1.02rem; line-height: 1.75; margin-bottom: 36px; }
.cta-buttons { display: flex; gap: 14px; flex-wrap: wrap; }
.cta-image { position: relative; overflow: hidden; }
.cta-image img { width: 100%; height: 100%; object-fit: cover; filter: brightness(0.55) saturate(0.7); }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: #090909; }
.footer-top { padding: 80px 0 56px; }
/* Five columns: brand, Quick Links, Our Services, Contact Us, Internal Documents */
.footer-grid { display: grid; grid-template-columns: 1.4fr 0.9fr 1.2fr 1.3fr 1.2fr; gap: 36px; }
.footer-brand p { color: rgba(255,255,255,0.48); font-size: 0.9rem; line-height: 1.8; margin: 20px 0 26px; max-width: 280px; }
.footer-logo { display: inline-flex; align-items: center; }
/* Uses logo-white.png — the brand lockup as a white silhouette, so no filter
   is needed and the mark keeps its proportions on the dark footer. */
.footer-logo img { height: 44px; width: auto; }
.footer-logo-fallback { display: none; align-items: center; gap: 10px; }
.footer-logo-fallback .logo-name { color: var(--green); }
.footer-logo-fallback .logo-sub { color: rgba(255,255,255,0.35); }
.social-links { display: flex; gap: 10px; }
.social-link {
  width: 38px; height: 38px; border-radius: 8px;
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.09);
  color: rgba(255,255,255,0.6); display: flex; align-items: center; justify-content: center;
  font-size: 0.88rem; transition: var(--transition);
}
.social-link:hover { background: var(--green); border-color: var(--green); color: var(--white); transform: translateY(-2px); }
.footer-title { color: var(--white); font-family: 'Poppins', sans-serif; font-weight: 600; font-size: 0.95rem; margin-bottom: 22px; }
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a {
  color: rgba(255,255,255,0.48); font-size: 0.9rem; transition: var(--transition);
  display: flex; align-items: center; gap: 0;
}
.footer-links a:hover { color: var(--white); padding-left: 6px; }
.footer-contact { display: flex; flex-direction: column; gap: 16px; }
.contact-item { display: flex; align-items: flex-start; gap: 12px; color: rgba(255,255,255,0.48); font-size: 0.9rem; line-height: 1.65; }
.contact-item i { color: var(--orange); font-size: 0.88rem; margin-top: 3px; flex-shrink: 0; }
/* ---- Internal Documents column ----
   No file type, size or download glyph — the file name itself carries the
   affordance. It sits brighter than the surrounding footer links and keeps a
   standing orange underline, so it reads as something to click rather than
   as another navigation item. */
.doc-list { display: flex; flex-direction: column; gap: 14px; }
/* Icon sits on the first line, not the vertical centre, so a name that wraps
   still reads as one item instead of pushing the icon into the gap. */
.doc-link { display: flex; align-items: flex-start; gap: 11px; transition: var(--transition); }
.doc-icon { color: var(--orange); font-size: 1.05rem; flex-shrink: 0; margin-top: 1px; transition: var(--transition); }
.doc-name {
  font-family: 'Poppins', sans-serif; font-weight: 600; font-size: 0.9rem; line-height: 1.45;
  color: rgba(255,255,255,0.92);
  text-decoration: underline;
  text-decoration-color: rgba(255,133,0,0.55);
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
  transition: var(--transition);
}
.doc-link:hover .doc-name { color: var(--orange); text-decoration-color: var(--orange); }
.doc-link:hover .doc-icon { transform: translateY(2px); }
.doc-link:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; border-radius: 4px; }

.footer-bottom { border-top: 1px solid rgba(255,255,255,0.06); padding: 22px 0; }
.footer-bottom .container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; }
.footer-bottom p { color: rgba(255,255,255,0.3); font-size: 0.84rem; }
.footer-bottom a { color: rgba(255,255,255,0.45); }
.footer-bottom a:hover { color: var(--green); }

/* ============================================================
   PAGE HERO (inner pages)
   ============================================================ */
.page-hero {
  position: relative;
  padding: calc(var(--header-height) + 80px) 0 80px;
  background: var(--black); overflow: hidden;
  min-height: 380px; display: flex; align-items: center;
}
.page-hero-bg { position: absolute; inset: 0; z-index: 0; background: #1a1a1a; }
.page-hero-bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.22; }
.page-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(15,15,15,0.75) 0%, rgba(15,15,15,0.9) 100%);
}
.page-hero-content { position: relative; z-index: 1; text-align: center; }
.page-hero-content h1 { font-size: clamp(2rem, 5vw, 3.2rem); color: var(--white); margin-bottom: 16px; }
.page-hero-content p { font-size: 1.08rem; color: rgba(255,255,255,0.68); max-width: 580px; margin: 0 auto 28px; line-height: 1.75; }
.breadcrumb { display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 0.88rem; color: rgba(255,255,255,0.45); margin-top: 20px; }
.breadcrumb a { color: rgba(255,255,255,0.45); }
.breadcrumb a:hover { color: var(--orange); }
.breadcrumb-sep { color: rgba(255,255,255,0.25); }
.breadcrumb-current { color: var(--orange); font-weight: 500; }

/* ============================================================
   ABOUT PAGE
   ============================================================ */
.values-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; margin-top: 48px; }
.value-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 36px; transition: var(--transition);
}
.value-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--green-light); }
.value-icon { width: 48px; height: 48px; border-radius: var(--radius-sm); background: var(--green-light); color: var(--green); display: flex; align-items: center; justify-content: center; font-size: 1.25rem; margin-bottom: 18px; }
.value-card h3 { font-size: 1.2rem; margin-bottom: 12px; }
.value-card p { color: var(--muted); font-size: 0.95rem; line-height: 1.75; }

.approach-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 48px; }
.approach-card {
  background: var(--light); border-radius: var(--radius-lg); padding: 32px 28px;
  text-align: center; transition: var(--transition); border: 1px solid transparent;
}
.approach-card:hover { background: var(--white); border-color: var(--green-light); box-shadow: var(--shadow); transform: translateY(-4px); }
.approach-icon {
  width: 60px; height: 60px; border-radius: 50%; background: var(--green-light); color: var(--green);
  display: flex; align-items: center; justify-content: center; font-size: 1.4rem; margin: 0 auto 20px;
  transition: var(--transition);
}
.approach-card:hover .approach-icon { background: var(--green); color: var(--white); }
.approach-card h3 { font-size: 1.05rem; margin-bottom: 10px; }
.approach-card p { font-size: 0.88rem; color: var(--muted); line-height: 1.7; }

/* ============================================================
   SERVICES PAGE
   ============================================================ */
.service-section { padding: 80px 0; }
.service-section:not(:last-child) { border-bottom: 1px solid var(--border); }
.service-section-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.service-section-inner.reverse { direction: rtl; }
.service-section-inner.reverse > * { direction: ltr; }
.service-section-image { border-radius: var(--radius-lg); overflow: hidden; position: relative; }
.service-section-image img {
  width: 100%; height: 400px; object-fit: cover;
  transition: transform 0.6s ease;
  background: linear-gradient(135deg, #e8e8e8, #d0d0d0);
}
.service-section-image:hover img { transform: scale(1.04); }
.service-section-icon {
  width: 62px; height: 62px; border-radius: var(--radius-sm);
  background: var(--green-light); color: var(--green);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; margin-bottom: 20px;
}
.service-section-content h2 { font-size: 1.9rem; margin-bottom: 14px; }
.service-section-content > p { color: var(--muted); line-height: 1.8; margin-bottom: 24px; font-size: 0.97rem; }
.benefits-list { display: flex; flex-direction: column; gap: 10px; margin-bottom: 32px; }
.benefits-list li { display: flex; align-items: center; gap: 10px; font-size: 0.94rem; color: var(--text); }
.benefits-list i { color: var(--green); font-size: 0.88rem; flex-shrink: 0; }

/* ============================================================
   TEAM PAGE
   ============================================================ */
.team-intro { max-width: 640px; margin: 0 auto 60px; text-align: center; }

/* Values strip under the Team page banner */
.team-values-strip { background: var(--green); padding: 40px 0; }
.team-values-strip .container { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.tv-item { text-align: center; color: rgba(255,255,255,0.9); }
.tv-item i { display: block; font-size: 1.6rem; margin-bottom: 10px; color: rgba(255,255,255,0.75); }
.tv-item strong {
  display: block; margin-bottom: 4px; color: var(--white);
  font-family: 'Poppins', sans-serif; font-weight: 600; font-size: 0.95rem;
}
.tv-item span { font-size: 0.85rem; color: rgba(255,255,255,0.72); }
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.team-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); overflow: hidden;
  transition: var(--transition); box-shadow: var(--shadow-sm);
}
.team-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); }
.team-card-body { padding: 26px; }
.team-card-body h3 { font-size: 1.12rem; margin-bottom: 6px; }
.team-role {
  display: inline-block; padding: 4px 12px;
  background: var(--green-light); color: var(--green);
  border-radius: 50px; font-size: 0.78rem; font-weight: 600; margin-bottom: 14px;
}
.team-card-body p { font-size: 0.88rem; color: var(--muted); line-height: 1.7; }
/* A lone card on the last row is placed in the middle column so it reads as
   centred under the row above instead of hanging off to the left. Only applies
   to the three-column layout; below that the grid flows normally. */
@media (min-width: 901px) {
  .team-card--center { grid-column: 2; }
}

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-layout { display: grid; grid-template-columns: 1fr 1.25fr; gap: 56px; align-items: start; }
.contact-info-block { background: #111; border-radius: var(--radius-lg); padding: 44px; }
.contact-info-block h3 { color: var(--white); font-size: 1.55rem; margin-bottom: 10px; }
.contact-info-block > p { color: rgba(255,255,255,0.58); margin-bottom: 36px; font-size: 0.93rem; }
.contact-detail-list { display: flex; flex-direction: column; gap: 22px; margin-bottom: 36px; }
.contact-detail { display: flex; align-items: flex-start; gap: 14px; }
.detail-icon {
  width: 42px; height: 42px; border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.07); color: var(--orange);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.95rem; flex-shrink: 0;
}
.detail-content strong { display: block; color: rgba(255,255,255,0.55); font-family: 'Poppins', sans-serif; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.8px; margin-bottom: 3px; font-weight: 600; }
.detail-content span, .detail-content a { color: rgba(255,255,255,0.85); font-size: 0.93rem; line-height: 1.6; }
.detail-content a:hover { color: var(--orange); }
.hours-block { border-top: 1px solid rgba(255,255,255,0.09); padding-top: 26px; }
.hours-block h4 { color: rgba(255,255,255,0.55); font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.8px; margin-bottom: 16px; font-weight: 600; }
.hours-row { display: flex; justify-content: space-between; padding: 9px 0; border-bottom: 1px solid rgba(255,255,255,0.05); font-size: 0.9rem; }
.hours-row .day { color: rgba(255,255,255,0.78); }
.hours-row .status-open { color: var(--green); font-weight: 500; }
.hours-row .status-closed { color: rgba(255,255,255,0.3); }
/* Which seasonal schedule is currently showing — filled in by js/hours.js */
.hours-note {
  display: flex; align-items: center; gap: 8px;
  margin-top: 16px; font-size: 0.79rem; color: rgba(255,255,255,0.42);
}
.hours-note i { color: var(--orange); font-size: 0.82rem; flex-shrink: 0; }

/* Contact form */
.contact-form-wrap {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 44px; box-shadow: var(--shadow);
}
.contact-form-wrap h3 { font-size: 1.55rem; margin-bottom: 8px; }
.contact-form-wrap > p { color: var(--muted); margin-bottom: 32px; font-size: 0.93rem; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 18px; }
.form-group { display: flex; flex-direction: column; gap: 7px; }
.form-group.full { grid-column: 1 / -1; }
.form-group label { font-family: 'Poppins', sans-serif; font-weight: 600; font-size: 0.86rem; color: var(--black); }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 13px 16px;
  border: 2px solid var(--border); border-radius: var(--radius-sm);
  font-family: 'Source Sans 3', sans-serif; font-size: 0.93rem; color: var(--text);
  background: var(--white); transition: var(--transition); outline: none; appearance: none;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  border-color: var(--green); box-shadow: 0 0 0 3px rgba(46,163,15,0.1);
}
.form-group input.error, .form-group select.error, .form-group textarea.error { border-color: #ef4444; }
.form-group textarea { resize: vertical; min-height: 130px; }
.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; padding-right: 44px;
}
.form-submit { width: 100%; justify-content: center; margin-top: 6px; }
.form-success {
  display: none; text-align: center; padding: 40px 24px;
  border: 2px solid var(--green); border-radius: var(--radius);
  background: var(--green-light);
}
.form-success i { font-size: 2.8rem; color: var(--green); margin-bottom: 16px; display: block; }
.form-success h4 { color: var(--green-dark); font-size: 1.3rem; margin-bottom: 8px; }
.form-success p { color: var(--muted); font-size: 0.93rem; line-height: 1.7; }
.form-success a { color: var(--green-dark); font-weight: 600; text-decoration: underline; }
.form-success a:hover { color: var(--green); }

/* Bots fill in every field they can find; this one is invisible to people, so
   anything in it marks the submission as automated. Kept out of the tab order
   and the accessibility tree so real visitors never reach it. */
.form-honeypot { display: none !important; }
/* While the request is in flight the button reads "Sending..." and stops
   accepting clicks, so one message cannot be sent twice. */
.form-submit[disabled] { opacity: 0.6; cursor: not-allowed; }

/* Map */
.map-wrapper { border-radius: var(--radius-lg); overflow: hidden; height: 400px; border: 1px solid var(--border); box-shadow: var(--shadow-sm); }
.map-wrapper iframe { width: 100%; height: 100%; border: none; }

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.reveal {
  opacity: 0; transform: translateY(30px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal.revealed { opacity: 1; transform: translateY(0); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  /* Five columns don't halve evenly, so the brand block takes a full row and
     the four link columns pair up beneath it. */
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-brand p { max-width: 460px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(2) { border-right: none; }
  .stat-item:nth-child(3) { border-right: 1px solid rgba(255,255,255,0.22); }
  .cta-card { grid-template-columns: 1fr; }
  .cta-image { height: 280px; }
}

@media (max-width: 900px) {
  .nav { display: none; }
  .hamburger { display: flex; }
  .hero-inner { grid-template-columns: 1fr; padding: 64px 0 56px; }
  .hero-card { max-width: 480px; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .split-layout { grid-template-columns: 1fr; gap: 48px; }
  .split-layout.reverse { direction: ltr; }
  .why-grid { grid-template-columns: 1fr; }
  .faq-layout { grid-template-columns: 1fr; gap: 48px; }
  .faq-header { position: static; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .team-values-strip .container { grid-template-columns: repeat(2, 1fr); }
  .service-section-inner,
  .service-section-inner.reverse { grid-template-columns: 1fr; direction: ltr; gap: 48px; }
  .contact-layout { grid-template-columns: 1fr; gap: 40px; }
  .values-grid { grid-template-columns: 1fr; }
  .approach-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  :root { --header-height: 68px; }
  .header-actions .btn-primary { display: none; }
  .logo img { height: 38px; }
  .header-inner { gap: 12px; }
  .header-actions { gap: 8px; }
  .lang-opt { min-width: 34px; padding: 6px 8px; font-size: 0.72rem; }
  /* Single-line document names leave a ~21px hit area, so pad the links out to
     a comfortable touch target and tighten the list gap to compensate. */
  .doc-list { gap: 4px; }
  .doc-link { padding: 11px 0; }
  .hero-inner { gap: 36px; padding: 48px 0 44px; }
  .hero-card-phone { font-size: 1.35rem; }
  .features-grid, .services-grid, .team-grid { grid-template-columns: 1fr; }
  .approach-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-buttons { flex-direction: column; }
  .hero-buttons .btn { width: 100%; justify-content: center; }
  .hero-trust { gap: 14px; }
  .cta-content { padding: 36px 28px; }
  .cta-buttons { flex-direction: column; }
  .cta-buttons .btn { width: 100%; justify-content: center; }
  .contact-form-wrap, .contact-info-block { padding: 28px 22px; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom .container { flex-direction: column; text-align: center; gap: 4px; }
  .image-frame img { height: 320px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; transition: none; }
}
