/* Hill Country Bookkeeping, LLC — shared stylesheet */

:root {
  --navy: #1B2A4A;
  --navy-deep: #14203a;
  --blue: #4A6FA5;
  --blue-light: #8FA8CC;
  --sage: #7C8B66;
  --sage-dark: #5C6B47;
  --cream: #FAF8F4;
  --cream-deep: #F3EFE6;
  --ink: #2A2A28;
  --ink-soft: #5A5A55;
  --border: #E4DFD3;
  --radius: 10px;
  --max-width: 1120px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Karla', Arial, sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
}

h1, h2, h3 {
  font-family: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  color: var(--navy);
  margin: 0 0 0.5em;
  font-weight: 600;
  line-height: 1.15;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.3rem); }
h3 { font-size: 1.3rem; }

p { margin: 0 0 1em; color: var(--ink-soft); }

a { color: var(--blue); }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--sage-dark);
  display: block;
  margin-bottom: 0.75em;
}

/* Header */
header.site-header {
  background: var(--cream);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 50;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  max-width: var(--max-width);
  margin: 0 auto;
  gap: 20px;
}

.logo-link img {
  height: 56px;
  width: auto;
  display: block;
}

nav.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

nav.main-nav a {
  color: var(--navy);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
}

nav.main-nav a:hover { color: var(--blue); }

.lang-switch {
  border: 1px solid var(--navy);
  border-radius: 999px;
  padding: 6px 14px !important;
  font-size: 0.85rem !important;
}

.lang-switch:hover { background: var(--navy); color: #fff !important; }

.nav-cta {
  background: var(--navy);
  color: #fff !important;
  padding: 10px 20px !important;
  border-radius: 999px;
}

.nav-cta:hover { background: var(--blue); }

/* Hero */
.hero {
  padding: 72px 0 64px;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.hero h1 { margin-bottom: 0.4em; }

.hero .lede {
  font-size: 1.15rem;
  color: var(--ink-soft);
  max-width: 46ch;
}

.btn {
  display: inline-block;
  background: var(--navy);
  color: #fff;
  text-decoration: none;
  padding: 14px 30px;
  border-radius: 999px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  font-family: inherit;
  transition: background 0.15s ease;
}

.btn:hover { background: var(--blue); }

.btn-outline {
  background: transparent;
  color: var(--navy);
  border: 1.5px solid var(--navy);
}

.btn-outline:hover { background: var(--navy); color: #fff; }

.hero-actions { display: flex; gap: 16px; margin-top: 1.6em; flex-wrap: wrap; }

.hero-art {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--cream-deep);
  box-shadow: 0 20px 40px rgba(20,32,58,0.18);
}

.hero-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.trust-strip {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--cream-deep);
  padding: 22px 0;
}

.trust-strip ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 40px;
}

.trust-strip li {
  font-weight: 700;
  color: var(--navy);
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.trust-strip li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--sage);
  display: inline-block;
}

/* Sections */
section { padding: 72px 0; }

.section-head {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 48px;
}

/* About */
.about-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 48px;
  align-items: center;
}

.about-photo {
  width: 100%;
  aspect-ratio: 4/5;
  background: var(--cream-deep);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 16px 32px rgba(20,32,58,0.12);
}

.about-photo img { width: 100%; height: 100%; object-fit: cover; }

/* Services */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 26px;
}

.service-card .icon-mark {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--cream-deep);
  color: var(--sage-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Cormorant Garamond', serif;
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 16px;
}

.service-card h3 { margin-bottom: 0.4em; }
.service-card p { margin: 0; font-size: 0.95rem; }

/* Why us */
.why-section { background: var(--navy); color: #fff; }
.why-section h2 { color: #fff; }
.why-section .section-head p { color: #C7D0DE; }

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.why-card { text-align: center; }

.why-card .num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.2rem;
  color: var(--blue-light);
  margin-bottom: 8px;
}

.why-card h3 { color: #fff; font-size: 1.1rem; }
.why-card p { color: #C7D0DE; font-size: 0.9rem; }

/* Contact */
.contact-wrap {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
}

.contact-info h2 { margin-bottom: 0.3em; }

.contact-detail {
  display: flex;
  gap: 14px;
  margin-bottom: 18px;
  align-items: flex-start;
}

.contact-detail .label {
  font-weight: 700;
  color: var(--navy);
  display: block;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.contact-detail .value { color: var(--ink-soft); }

form.lead-form {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 36px;
}

.form-row { margin-bottom: 18px; }

.form-row label {
  display: block;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--navy);
  margin-bottom: 6px;
}

.form-row input,
.form-row textarea,
.form-row select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-family: inherit;
  font-size: 1rem;
  background: var(--cream);
}

.form-row input:focus,
.form-row textarea:focus,
.form-row select:focus {
  outline: 2px solid var(--blue);
  outline-offset: 1px;
}

.form-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-note {
  font-size: 0.8rem;
  color: var(--ink-soft);
  margin-top: 10px;
}

/* Footer */
footer.site-footer {
  background: var(--cream-deep);
  border-top: 1px solid var(--border);
  padding: 48px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 32px;
}

.footer-logo img { height: 48px; margin-bottom: 14px; }

.footer-grid h4 {
  color: var(--navy);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 14px;
}

.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li { margin-bottom: 10px; }
.footer-grid a { color: var(--ink-soft); text-decoration: none; font-size: 0.92rem; }
.footer-grid a:hover { color: var(--blue); }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 20px;
  text-align: center;
  font-size: 0.85rem;
  color: var(--ink-soft);
}

/* Mobile nav toggle */
.nav-toggle { display: none; }

@media (max-width: 860px) {
  .hero-inner, .about-grid, .contact-wrap { grid-template-columns: 1fr; }
  .hero-art { order: -1; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  nav.main-nav {
    position: fixed;
    inset: 0 0 0 30%;
    background: var(--cream);
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 40px;
    transform: translateX(100%);
    transition: transform 0.2s ease;
  }
  nav.main-nav.open { transform: translateX(0); }
  .nav-toggle {
    display: block;
    background: none;
    border: none;
    font-size: 1.6rem;
    color: var(--navy);
    cursor: pointer;
  }
}

@media (max-width: 600px) {
  .services-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .form-two-col { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
