/* ===== Theme tokens (edit here to restyle the whole site) ===== */
:root {
  --green: #172f2f;
  --green-2: #1f3d3c;
  --gold: #c4914c;
  --gold-dark: #ad7d3c;
  --cream: #f7f4ee;
  --white: #ffffff;
  --text: #555a58;
  --heading: #172f2f;
  --line: #e2ddd3;
  --wa: #25d366;
  --serif: "DM Serif Display", Georgia, serif;
  --sans: "Poppins", system-ui, sans-serif;
  --radius-xl: 64px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.75;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; color: var(--heading); line-height: 1.2; margin: 0 0 .5em; }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: 1.6rem; }
p { margin: 0 0 1.2em; }

.container { width: min(1200px, 100% - 32px); margin-inline: auto; }
.section { padding: clamp(64px, 9vw, 110px) 0; }
.cream { background: var(--cream); }

.section-head { text-align: center; max-width: 720px; margin: 0 auto clamp(40px, 6vw, 70px); }
.section-head p { margin: 0; }
.section-head.light h2 { color: var(--white); }
.section-head.light p { color: rgba(255,255,255,.88); }

.eyebrow {
  display: inline-block;
  color: var(--gold);
  font-size: .95rem;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  margin-bottom: 1.2rem;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: 1rem 2.2rem;
  border-radius: 999px;
  border: 2px solid transparent;
  font: 500 1rem var(--sans);
  text-transform: uppercase;
  letter-spacing: .02em;
  cursor: pointer;
  transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn-gold { background: var(--gold); color: var(--white); }
.btn-gold:hover { background: var(--gold-dark); }
.btn-light { background: var(--white); color: var(--green); }
.btn-light:hover { background: var(--gold); color: var(--white); }
.btn-outline-light { border-color: rgba(255,255,255,.7); color: var(--white); background: transparent; }
.btn-outline-light:hover { background: var(--white); color: var(--green); }
.ico { width: 1.25em; height: 1.25em; flex: none; }

/* ===== Header ===== */
.header {
  position: sticky; top: 0; z-index: 50;
  background: var(--green);
  transition: box-shadow .25s;
}
.header.scrolled { box-shadow: 0 6px 24px rgba(0,0,0,.25); }
.header-inner { display: flex; align-items: center; gap: 2rem; height: 96px; }
.logo { font-family: var(--serif); font-size: 2rem; color: var(--gold); }
.nav { display: flex; gap: 2.4rem; margin-left: auto; }
.nav a { color: var(--white); font-size: 1.05rem; transition: color .2s; }
.nav a:hover, .nav a.active { color: var(--gold); }
.nav .nav-cta-mobile { display: none; }
.header-cta { margin-left: 2rem; }
.menu-toggle { display: none; }

/* ===== Hero ===== */
.hero { background: var(--green); color: var(--white); padding: clamp(48px, 8vw, 120px) 0 clamp(64px, 9vw, 120px); }
.hero-inner { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(32px, 6vw, 100px); align-items: center; }
.hero h1 { color: var(--white); font-size: clamp(2.6rem, 5.5vw, 4.4rem); line-height: 1.15; margin-bottom: 1.6rem; }
.hero p { font-size: 1.1rem; color: rgba(255,255,255,.92); max-width: 640px; margin-bottom: 2.4rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; }

/* Photo blocks: drop images/hero.jpg and images/about.jpg to replace the fallback art */
.photo {
  background-color: #2c4a44;
  background-size: cover;
  background-position: center;
  border-radius: var(--radius-xl) 0 var(--radius-xl) 0;
}
.photo-hero {
  aspect-ratio: 7 / 8;
  background-image:
    url("../images/hero.jpg"),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 460'%3E%3Crect width='400' height='460' fill='%232f5a4c'/%3E%3Cg transform='rotate(-8 200 230)'%3E%3Crect x='70' y='90' width='260' height='320' rx='6' fill='%23f4f1ea'/%3E%3Crect x='100' y='125' width='120' height='14' fill='%23172f2f'/%3E%3Crect x='100' y='155' width='200' height='6' fill='%23b8d9dd'/%3E%3Crect x='100' y='175' width='200' height='6' fill='%23d6d2c9'/%3E%3Crect x='100' y='195' width='170' height='6' fill='%23d6d2c9'/%3E%3Crect x='100' y='215' width='200' height='6' fill='%23d6d2c9'/%3E%3Crect x='100' y='245' width='200' height='60' fill='%23e3f0f1'/%3E%3Crect x='100' y='325' width='150' height='6' fill='%23d6d2c9'/%3E%3Crect x='100' y='345' width='190' height='6' fill='%23d6d2c9'/%3E%3C/g%3E%3Crect x='250' y='40' width='14' height='240' rx='7' fill='%23c9c9c9' transform='rotate(70 257 160)'/%3E%3Ccircle cx='350' cy='120' r='26' fill='%23c4914c'/%3E%3Ccircle cx='350' cy='112' r='26' fill='%23d9a75e'/%3E%3C/svg%3E");
}
.photo-about {
  aspect-ratio: 4 / 3.3;
  background-image:
    url("../images/about.jpg"),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 480 400'%3E%3Crect width='480' height='400' fill='%23ecebe7'/%3E%3Cg transform='rotate(-6 240 220)'%3E%3Crect x='80' y='110' width='230' height='280' fill='%23fff'/%3E%3Crect x='105' y='135' width='90' height='10' fill='%23172f2f'/%3E%3Crect x='105' y='160' width='180' height='5' fill='%23b8d9dd'/%3E%3Crect x='105' y='178' width='180' height='5' fill='%23ddd'/%3E%3Crect x='105' y='196' width='150' height='5' fill='%23ddd'/%3E%3Crect x='105' y='214' width='180' height='5' fill='%23ddd'/%3E%3C/g%3E%3Cg transform='rotate(28 330 250)'%3E%3Crect x='220' y='210' width='230' height='110' fill='%23fff' stroke='%23e5e5e5'/%3E%3Ctext x='335' y='285' font-family='Arial Black,Arial' font-weight='900' font-size='46' text-anchor='middle' fill='%23111'%3ETAXES%3C/text%3E%3C/g%3E%3Crect x='330' y='40' width='80' height='110' rx='10' fill='%23f0e6d6' stroke='%23d8c7aa' transform='rotate(20 370 95)'/%3E%3Cg fill='%23e08a2c' transform='rotate(20 370 95)'%3E%3Ccircle cx='350' cy='85' r='6'/%3E%3Ccircle cx='370' cy='85' r='6'/%3E%3Ccircle cx='390' cy='85' r='6'/%3E%3Ccircle cx='350' cy='105' r='6'/%3E%3Ccircle cx='370' cy='105' r='6'/%3E%3Ccircle cx='390' cy='105' r='6'/%3E%3Ccircle cx='350' cy='125' r='6'/%3E%3Ccircle cx='370' cy='125' r='6'/%3E%3Ccircle cx='390' cy='125' r='6'/%3E%3C/g%3E%3C/svg%3E");
}

/* ===== Services ===== */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.service { padding: clamp(32px, 4vw, 70px); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.service:nth-child(3n) { border-right: 0; }
.service:nth-last-child(-n+3) { border-bottom: 0; }
.service h3 { font-size: clamp(1.6rem, 2.4vw, 2rem); }
.service h3::after { content: ""; display: block; width: 64px; height: 3px; background: var(--gold); margin: 1.4rem 0 1.6rem; }
.service p { font-size: 1.05rem; }
.s-link { color: var(--gold-dark); font-weight: 500; font-size: .95rem; }
.s-link:hover { color: var(--green); }

/* ===== About ===== */
.about { padding-top: 0; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 100px); align-items: center; }
.about h2 { font-size: clamp(2rem, 3.6vw, 3rem); margin-bottom: 1.4rem; }
.about .strong { font-weight: 500; color: #4a4f4d; }

/* ===== Why choose ===== */
.why { background: var(--cream); padding-bottom: clamp(64px, 9vw, 110px); }
.why-top { background: var(--green); padding: clamp(64px, 8vw, 100px) 0 220px; }
.why-top .section-head { margin-bottom: 0; }
.why-card {
  margin-top: -170px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: clamp(28px, 5vw, 80px);
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 2.5rem clamp(32px, 6vw, 110px);
}
.why-card h3 { font-size: clamp(1.5rem, 2.3vw, 2rem); margin-bottom: .4rem; }
.why-card p { margin: 0; font-size: 1.05rem; }

/* ===== Testimonials ===== */
.testi-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 8vw, 130px); }
.testi { margin: 0; }
.quote { display: block; font-family: var(--serif); font-size: 6rem; line-height: .7; color: var(--gold); height: 3.4rem; }
.testi blockquote { margin: 0 0 1.8rem; font-size: clamp(1.1rem, 1.6vw, 1.3rem); line-height: 1.7; }
.testi figcaption { color: var(--heading); font-size: 1.1rem; }

/* ===== Team ===== */
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 4vw, 60px); }
.member .avatar, .founder .avatar {
  width: 100%; aspect-ratio: 1 / 1.05; object-fit: cover;
  display: grid; place-items: center;
  background: linear-gradient(150deg, var(--green-2), var(--green));
  color: var(--gold);
  font-family: var(--serif); font-size: clamp(3rem, 6vw, 5rem);
  border-radius: var(--radius-xl) 0 var(--radius-xl) 0;
  margin-bottom: 1.8rem;
}
.member .avatar.alt, .founder .avatar.alt { background: linear-gradient(150deg, #d7a663, var(--gold-dark)); color: var(--white); }
.member h3 { font-size: clamp(1.6rem, 2.4vw, 2rem); margin-bottom: .2rem; }
.member .role { color: var(--gold-dark); font-weight: 500; margin-bottom: .6rem; }
.member p:last-child { margin: 0; }

/* ===== Founders ===== */
.founders { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 48px); margin-bottom: clamp(48px, 6vw, 80px); }
.founder {
  display: grid; grid-template-columns: 150px 1fr; gap: 1.8rem; align-items: start;
  background: var(--cream); border: 1px solid var(--line); border-radius: 24px;
  padding: clamp(24px, 3vw, 40px);
}
.founder .avatar { width: 150px; aspect-ratio: 1; margin: 0; font-size: 3rem; border-radius: 40px 0 40px 0; }
.founder h3 { font-size: clamp(1.6rem, 2.4vw, 2rem); margin-bottom: .2rem; }
.founder .role { color: var(--gold-dark); font-weight: 500; margin-bottom: .8rem; }
.founder p:last-child { margin: 0; font-size: .98rem; }
.member .avatar.sm { aspect-ratio: 16 / 11; font-size: clamp(2.4rem, 4vw, 3.6rem); }

/* ===== Blog ===== */
.center { text-align: center; }
.narrow { width: min(820px, 100% - 32px); }
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 32px); margin-bottom: 2.5rem; }
.post-card { background: var(--white); border: 1px solid var(--line); border-radius: 20px; transition: transform .2s, box-shadow .2s; }
.post-card:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(23,47,47,.1); }
.post-card-link { display: flex; flex-direction: column; height: 100%; padding: 28px; }
.post-card .tag { align-self: flex-start; background: var(--green); color: var(--gold); font-size: .78rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; padding: .3rem .8rem; border-radius: 999px; margin-bottom: 1.1rem; }
.post-card h3 { font-size: 1.45rem; }
.post-card p { font-size: .95rem; flex: 1; }
.post-card .meta { font-size: .85rem; color: var(--gold-dark); }

.page-hero { background: var(--green); color: rgba(255,255,255,.9); padding: clamp(56px, 8vw, 100px) 0; }
.page-hero h1 { color: var(--white); font-size: clamp(2.2rem, 5vw, 3.6rem); margin-bottom: 1rem; }
.page-hero p { margin: 0; }
.page-hero .meta { color: rgba(255,255,255,.75); font-size: .95rem; }
.breadcrumb { font-size: .9rem; color: rgba(255,255,255,.65); margin-bottom: 1.4rem; }
.breadcrumb a:hover { color: var(--gold); }

.prose { font-size: 1.06rem; }
.prose h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); margin: 2.2rem 0 .8rem; }
.prose ul, .prose ol { padding-left: 1.3rem; margin: 0 0 1.4rem; }
.prose li { margin-bottom: .45rem; }
.prose strong { color: var(--heading); font-weight: 600; }
.post-cta { margin: 3rem 0 2rem; padding: clamp(24px, 4vw, 40px); background: var(--cream); border-left: 4px solid var(--gold); border-radius: 0 20px 20px 0; }
.post-cta h2 { margin-top: 0; }
.btn-outline-dark { border-color: var(--green); color: var(--green); background: transparent; }
.btn-outline-dark:hover { background: var(--green); color: var(--white); }
.disclaimer { font-size: .88rem; color: #8a8f8c; font-style: italic; }
.contact-slim { padding: 0 0 clamp(40px, 5vw, 64px); }
.contact-slim .contact-info { margin-top: 0; border-top: 0; }

@media (max-width: 1080px) {
  .founders { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .blog-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .founder { grid-template-columns: 1fr; }
  .founder .avatar { width: 110px; font-size: 2.4rem; }
  .blog-grid { grid-template-columns: 1fr; }
}

/* ===== Contact ===== */
.contact { background: var(--green); color: var(--white); padding: clamp(72px, 9vw, 120px) 0 clamp(48px, 6vw, 80px); }
.contact-form {
  max-width: 760px; margin: 0 auto;
  background: var(--green-2);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 24px;
  padding: clamp(24px, 4vw, 48px);
}
.contact-form h3 { color: var(--white); font-size: 1.8rem; margin-bottom: 1.4rem; text-align: center; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.contact-form label { display: block; font-size: .92rem; color: rgba(255,255,255,.85); margin-bottom: 1rem; }
.contact-form input, .contact-form select, .contact-form textarea {
  display: block; width: 100%; margin-top: .4rem;
  padding: .85rem 1rem;
  font: 400 1rem var(--sans);
  color: var(--heading);
  background: var(--white);
  border: 2px solid transparent; border-radius: 12px;
  outline: none;
}
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { border-color: var(--gold); }
.contact-form textarea { resize: vertical; }
.form-error { color: #ffb4a6; min-height: 1.2em; margin: 0 0 .6rem; font-size: .92rem; }
.form-actions { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; }

.contact-info {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem;
  margin-top: clamp(56px, 7vw, 90px);
  padding-top: clamp(40px, 5vw, 64px);
  border-top: 1px solid rgba(255,255,255,.25);
}
.contact-info h4 { font: 500 1.4rem var(--sans); color: var(--white); margin: 0 0 .5rem; }
.contact-info a, .contact-info p { color: rgba(255,255,255,.92); margin: 0; word-break: break-word; }
.contact-info a:hover { color: var(--gold); }

.footer { text-align: center; padding: 1.6rem 16px; font-size: 1.05rem; }
.footer p { margin: 0; }

/* ===== Floating buttons ===== */
.floating { position: fixed; right: 20px; bottom: 20px; z-index: 60; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.fab {
  display: grid; place-items: center;
  width: 56px; height: 56px; border-radius: 50%;
  color: var(--white);
  box-shadow: 0 8px 20px rgba(0,0,0,.25);
  transition: transform .2s;
}
.fab:hover { transform: scale(1.08); }
.fab svg { width: 28px; height: 28px; }
.fab-wa { background: var(--wa); width: 60px; height: 60px; animation: pulse 2.4s infinite; }
.fab-wa svg { width: 32px; height: 32px; }
.fab-email { background: var(--green); border: 2px solid var(--gold); }
.fab-email svg { width: 24px; height: 24px; }
.fab-top { background: var(--gold); width: 46px; height: 46px; border-radius: 4px; opacity: 0; pointer-events: none; transition: opacity .25s, transform .2s; }
.fab-top.show { opacity: 1; pointer-events: auto; }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(37,211,102,.55); }
  70% { box-shadow: 0 0 0 16px rgba(37,211,102,0); }
  100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .fab-wa { animation: none; }
}

/* ===== Responsive ===== */
@media (max-width: 1080px) {
  .header-cta { display: none; }
  .nav .nav-cta-mobile { display: inline-flex; }
  .menu-toggle {
    display: flex; flex-direction: column; justify-content: center; gap: 6px;
    margin-left: auto; width: 44px; height: 44px; padding: 10px;
    background: none; border: 0; cursor: pointer;
  }
  .menu-toggle span { height: 2px; background: var(--white); transition: transform .25s, opacity .25s; }
  .menu-toggle.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .menu-toggle.open span:nth-child(2) { opacity: 0; }
  .menu-toggle.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
  .nav {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; gap: 0;
    background: var(--green); padding: 0 16px;
    max-height: 0; overflow: hidden; transition: max-height .3s, padding .3s;
  }
  .nav.open { max-height: 480px; padding: 8px 16px 24px; border-top: 1px solid rgba(255,255,255,.1); }
  .nav a { padding: .8rem 0; }
  .nav .nav-cta-mobile { margin-top: .8rem; padding: .9rem 1.5rem; }
}
@media (max-width: 900px) {
  .hero-inner, .about-grid { grid-template-columns: 1fr; }
  .photo-hero { aspect-ratio: 4 / 3; }
  .services-grid { grid-template-columns: 1fr 1fr; }
  .service { border-right: 1px solid var(--line) !important; border-bottom: 1px solid var(--line) !important; }
  .service:nth-child(2n) { border-right: 0 !important; }
  .service:nth-last-child(-n+2) { border-bottom: 0 !important; }
  .why-card, .testi-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr 1fr; }
  .contact-info { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  :root { --radius-xl: 40px; }
  .header-inner { height: 76px; }
  .logo { font-size: 1.6rem; }
  .services-grid, .team-grid, .contact-info, .form-row { grid-template-columns: 1fr; }
  .service { border-right: 0 !important; border-bottom: 1px solid var(--line) !important; padding: 32px 4px; }
  .service:last-child { border-bottom: 0 !important; }
  .btn { padding: .9rem 1.6rem; font-size: .92rem; }
  .hero-actions .btn, .form-actions .btn { width: 100%; }
  .why-top { padding-bottom: 200px; }
  .fab { width: 50px; height: 50px; }
  .fab-wa { width: 56px; height: 56px; }
}
