/* ============================================================
   Bozkurt Bookkeeping Limited — stylesheet
   ============================================================ */

:root {
  --ink: #0F2A3D;
  --ink-soft: #24455C;
  --bg: #FAF8F5;
  --bg-alt: #F1ECE3;
  --accent: #B8925A;
  --accent-dark: #96723E;
  --line: #DDD5C7;
  --text: #1E2B33;
  --text-muted: #52626B;
  --white: #FFFFFF;
  --radius-sm: 8px;
  --radius-md: 12px;
  --shadow-sm: 0 1px 2px rgba(15, 42, 61, 0.06), 0 1px 1px rgba(15, 42, 61, 0.04);
  --shadow-md: 0 8px 24px rgba(15, 42, 61, 0.08);
  --max-width: 1100px;
  --font-serif: "Fraunces", Georgia, "Times New Roman", serif;
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  color: var(--ink);
  line-height: 1.15;
  margin: 0 0 0.5em;
  font-weight: 600;
}

h1 { font-size: clamp(2.1rem, 4.5vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
h3 { font-size: 1.25rem; }

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

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

img, svg { max-width: 100%; display: block; }

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

section {
  padding: clamp(3.5rem, 8vw, 6rem) 0;
}

.section-heading {
  max-width: 640px;
  margin: 0 auto 2.5rem;
  text-align: center;
}

.section-heading p {
  color: var(--text-muted);
  font-size: 1.05rem;
}

.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-dark);
  font-weight: 600;
  margin-bottom: 0.75rem;
}

/* Focus states — accessible, visible on all interactive elements */
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--accent-dark);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.6rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.98rem;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease, transform 0.1s ease;
  line-height: 1.2;
}

.btn:active {
  transform: translateY(1px);
}

.btn-primary {
  background: var(--accent);
  color: var(--ink);
}

.btn-primary:hover {
  background: var(--accent-dark);
  color: var(--white);
}

.btn-outline {
  background: transparent;
  border-color: var(--ink);
  color: var(--ink);
}

.btn-outline:hover {
  background: var(--ink);
  color: var(--white);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}

.btn-ghost:hover {
  border-color: var(--ink);
}

.btn-sm {
  padding: 0.55rem 1rem;
  font-size: 0.88rem;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 248, 245, 0.92);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--line);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4.5rem;
}

.logo {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: -0.01em;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.main-nav ul {
  list-style: none;
  display: flex;
  gap: 1.75rem;
  margin: 0;
  padding: 0;
}

.main-nav a:not(.btn) {
  text-decoration: none;
  color: var(--ink-soft);
  font-weight: 500;
  font-size: 0.96rem;
  padding: 0.25rem 0;
  border-bottom: 2px solid transparent;
  transition: border-color 0.15s ease, color 0.15s ease;
}

.main-nav a:not(.btn):hover {
  color: var(--ink);
  border-bottom-color: var(--accent);
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 0.5rem;
  cursor: pointer;
}

.nav-toggle svg {
  width: 24px;
  height: 24px;
  color: var(--ink);
}

/* ---------- Hero ---------- */
.hero {
  padding: clamp(3.5rem, 10vw, 7rem) 0 3rem;
}

.hero .container {
  max-width: 800px;
  text-align: center;
}

.hero p.lede {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 620px;
  margin: 0 auto 2rem;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 3rem;
}

.trust-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 2rem;
  padding: 1.25rem 1.5rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  font-size: 0.92rem;
  color: var(--ink-soft);
  font-weight: 500;
}

.trust-strip span {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  white-space: nowrap;
}

.trust-strip svg {
  width: 18px;
  height: 18px;
  color: var(--accent-dark);
  flex-shrink: 0;
}

/* ---------- Services ---------- */
.services {
  background: var(--bg-alt);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.service-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.service-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  margin-bottom: 1rem;
  color: var(--accent-dark);
}

.service-icon svg {
  width: 24px;
  height: 24px;
}

.service-card h3 {
  margin-bottom: 0.4rem;
}

.service-card p {
  color: var(--text-muted);
  font-size: 0.96rem;
  margin: 0;
}

/* ---------- About ---------- */
.about .container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: start;
}

.about-copy p {
  color: var(--text-muted);
  font-size: 1.05rem;
}

.about-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.about-list li {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 1rem 1.1rem;
  box-shadow: var(--shadow-sm);
}

.about-list svg {
  width: 20px;
  height: 20px;
  color: var(--accent-dark);
  flex-shrink: 0;
  margin-top: 0.15rem;
}

.about-list span {
  font-size: 0.96rem;
  color: var(--text);
}

/* ---------- How it works ---------- */
.how {
  background: var(--bg-alt);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.75rem;
  counter-reset: step;
}

.step {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 2rem 1.5rem 1.5rem;
  box-shadow: var(--shadow-sm);
  text-align: center;
}

.step-number {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--bg);
  font-family: var(--font-serif);
  font-size: 1.15rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}

.step p {
  color: var(--text-muted);
  font-size: 0.96rem;
  margin: 0;
}

/* ---------- Contact ---------- */
.contact .container {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 3rem;
  align-items: start;
}

.contact-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
}

.contact-row {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
  margin-bottom: 1.4rem;
}

.contact-row:last-child {
  margin-bottom: 0;
}

.contact-row svg {
  width: 22px;
  height: 22px;
  color: var(--accent-dark);
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.contact-row h3 {
  font-size: 1rem;
  font-family: var(--font-sans);
  font-weight: 600;
  color: var(--ink);
  margin: 0 0 0.2rem;
}

.contact-row p,
.contact-row a {
  margin: 0;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.96rem;
}

.contact-row a:hover {
  color: var(--ink);
  text-decoration: underline;
}

.contact-actions {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}

.map-wrap {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  height: 100%;
  min-height: 320px;
}

.map-wrap iframe {
  width: 100%;
  height: 100%;
  min-height: 320px;
  border: 0;
  display: block;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink);
  color: #C9D3D9;
  padding: 3rem 0 2rem;
}

.site-footer .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2rem;
}

.footer-brand {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  color: var(--white);
  margin-bottom: 0.5rem;
}

.site-footer address {
  font-style: normal;
  font-size: 0.92rem;
  color: #9FB0B9;
  line-height: 1.6;
}

.site-footer address a {
  color: #C9D3D9;
  text-decoration: underline;
}

.site-footer address a:hover {
  color: var(--white);
}

.footer-meta {
  font-size: 0.85rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  text-align: center;
}

.footer-meta .container {
  display: block;
}

.footer-meta p {
  color: #7C8F99;
}

.footer-meta a {
  color: #C9D3D9;
  text-decoration: underline;
}

.footer-meta a:hover {
  color: var(--white);
}

.footer-links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links a {
  color: #C9D3D9;
  text-decoration: none;
  font-size: 0.92rem;
}

.footer-links a:hover {
  color: var(--white);
  text-decoration: underline;
}

/* ---------- Floating WhatsApp button (mobile) ---------- */
.whatsapp-float {
  display: none;
  position: fixed;
  bottom: 1.25rem;
  right: 1.25rem;
  z-index: 200;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--white);
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 18px rgba(15, 42, 61, 0.35);
  text-decoration: none;
}

.whatsapp-float svg {
  width: 28px;
  height: 28px;
}

@media (max-width: 768px) {
  .whatsapp-float {
    display: flex;
  }
}

/* ---------- Fade-up scroll animation ---------- */
.fade-up {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .fade-up {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ---------- Visually hidden (skip link support) ---------- */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -3rem;
  background: var(--ink);
  color: var(--white);
  padding: 0.6rem 1rem;
  border-radius: var(--radius-sm);
  z-index: 300;
  text-decoration: none;
  transition: top 0.15s ease;
}

.skip-link:focus {
  top: 1rem;
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .about .container,
  .contact .container {
    grid-template-columns: 1fr;
  }

  .map-wrap {
    min-height: 260px;
  }
}

@media (max-width: 720px) {
  .main-nav ul {
    display: none;
  }

  .main-nav .btn {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .site-header.nav-open .main-nav {
    position: absolute;
    top: 4.5rem;
    left: 0;
    right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    padding: 1rem 1.5rem 1.5rem;
    box-shadow: var(--shadow-md);
  }

  .site-header.nav-open .main-nav ul {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    margin-bottom: 1rem;
  }

  .site-header.nav-open .main-nav ul a {
    display: block;
    padding: 0.6rem 0;
  }

  .site-header.nav-open .main-nav .btn {
    display: inline-flex;
    width: 100%;
  }

  .hero-ctas {
    flex-direction: column;
    align-items: stretch;
  }

  .trust-strip {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.6rem;
  }
}
