/* ================================================
   Sudski Tumač za Turski Jezik — Main Stylesheet
   Colors: #161940 (navy) | #c40e0e (red)
   ================================================ */

/* ---------- Custom Properties ---------- */
:root {
  --navy: #161940;
  --navy-light: #1e2457;
  --navy-dark: #0e1130;
  --red: #c40e0e;
  --red-dark: #8b0707;
  --white: #ffffff;
  --off-white: #f7f8fc;
  --light-gray: #f0f2f7;
  --border: #e2e5ef;
  --text: #1a1c2e;
  --text-muted: #6b7280;
  --shadow-sm: 0 1px 3px rgba(22,25,64,.08), 0 1px 2px rgba(22,25,64,.06);
  --shadow: 0 4px 16px rgba(22,25,64,.12);
  --shadow-lg: 0 10px 40px rgba(22,25,64,.16);
  --radius: 8px;
  --radius-lg: 16px;
  --transition: 0.28s ease;
  --container: 1180px;
  --font-body: 'Inter', system-ui, sans-serif;
  --font-heading: 'Playfair Display', Georgia, serif;
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  line-height: 1.25;
  color: var(--navy);
  font-weight: 700;
}
h1 { font-size: clamp(2rem, 5vw, 3.25rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.75rem); }
h4 { font-size: 1.2rem; }
p { margin-bottom: 1rem; color: var(--text); }
p:last-child { margin-bottom: 0; }
strong { font-weight: 600; }

/* ---------- Container ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: all var(--transition);
  white-space: nowrap;
}
.btn-primary {
  background: var(--red);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(196,14,14,.35);
}
.btn-primary:hover {
  background: var(--red-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(196,14,14,.45);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,.7);
}
.btn-outline:hover {
  background: var(--white);
  color: var(--navy);
  border-color: var(--white);
}
.btn-navy {
  background: var(--navy);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(22,25,64,.3);
}
.btn-navy:hover {
  background: var(--navy-light);
  transform: translateY(-2px);
}
.btn-lg { padding: 1rem 2.25rem; font-size: 1rem; }

/* ---------- Section helpers ---------- */
.section-py { padding: 5rem 0; }
.section-py-sm { padding: 3rem 0; }
.section-title {
  text-align: center;
  margin-bottom: 3rem;
}
.section-title h2 { margin-bottom: 0.75rem; }
.section-title p {
  max-width: 600px;
  margin: 0 auto;
  color: var(--text-muted);
  font-size: 1.05rem;
}
.section-label {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--red);
  margin-bottom: 0.5rem;
}

/* ---------- Top Bar ---------- */
.top-bar {
  background: var(--navy-dark);
  color: rgba(255,255,255,.75);
  font-size: 0.82rem;
  padding: 0.5rem 0;
}
.top-bar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.top-bar-contacts {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.top-bar-contacts a {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: rgba(255,255,255,.75);
  transition: color var(--transition);
}
.top-bar-contacts a:hover { color: var(--white); }
.top-bar-contacts svg { flex-shrink: 0; }
.top-bar-right {
  font-size: 0.78rem;
  color: rgba(255,255,255,.5);
}

/* ---------- Header & Navigation ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--white);
  box-shadow: var(--shadow);
  transition: box-shadow var(--transition);
}
.site-header.scrolled {
  box-shadow: 0 4px 24px rgba(22,25,64,.18);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 0;
  gap: 1rem;
}
.logo a {
  display: flex;
  align-items: center;
}
.logo img {
  height: 54px;
  width: auto;
}
.main-nav ul {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.main-nav a {
  display: block;
  padding: 0.5rem 0.85rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--navy);
  border-radius: var(--radius);
  transition: all var(--transition);
  position: relative;
}
.main-nav a::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 0.85rem;
  right: 0.85rem;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transition: transform var(--transition);
  border-radius: 2px;
}
.main-nav a:hover, .main-nav a.active {
  color: var(--red);
  background: rgba(196,14,14,.06);
}
.main-nav a:hover::after, .main-nav a.active::after {
  transform: scaleX(1);
}
.header-cta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
/* Mobile menu toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 30px;
  padding: 4px 0;
}
.menu-toggle span {
  display: block;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: all var(--transition);
}
.menu-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.menu-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('/images/hero-bg.jpg');
  background-size: cover;
  background-position: center 30%;
  z-index: 0;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(14,17,48,.92) 0%,
    rgba(22,25,64,.82) 50%,
    rgba(22,25,64,.6) 100%
  );
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
  padding: 5rem 0;
  max-width: 780px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(196,14,14,.2);
  border: 1px solid rgba(196,14,14,.4);
  color: #ff8080;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.4rem 1rem;
  border-radius: 50px;
  margin-bottom: 1.5rem;
}
.hero-content h1 {
  color: var(--white);
  font-size: clamp(2.2rem, 5.5vw, 4rem);
  margin-bottom: 1.25rem;
  line-height: 1.15;
}
.hero-content h1 span { color: #ff6b6b; }
.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(255,255,255,.82);
  margin-bottom: 2.25rem;
  max-width: 560px;
  line-height: 1.7;
}
.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
}
.hero-trust {
  display: flex;
  gap: 2rem;
  margin-top: 3.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,.15);
  flex-wrap: wrap;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: rgba(255,255,255,.85);
}
.trust-icon {
  width: 40px;
  height: 40px;
  background: rgba(196,14,14,.25);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.trust-item strong { display: block; font-size: 0.85rem; font-weight: 700; color: var(--white); }
.trust-item span { font-size: 0.75rem; opacity: .7; }

/* ---------- About Preview ---------- */
.about-section { background: var(--white); }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.about-image {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.about-image img {
  width: 100%;
  height: 520px;
  object-fit: cover;
}
.about-image-badge {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  background: var(--red);
  color: var(--white);
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius);
  font-size: 0.85rem;
  font-weight: 600;
  box-shadow: var(--shadow);
}
.about-text .section-label { display: block; }
.about-text h2 { margin-bottom: 1.25rem; }
.about-text p { color: var(--text-muted); line-height: 1.8; }
.about-features {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin: 1.5rem 0 2rem;
}
.about-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}
.feature-icon-sm {
  width: 22px;
  height: 22px;
  background: rgba(196,14,14,.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}
.feature-icon-sm svg { color: var(--red); }
.about-feature-item p { margin: 0; font-size: 0.95rem; }

/* ---------- Services ---------- */
.services-section { background: var(--light-gray); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}
.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.25rem 2rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--red);
  transform: scaleX(0);
  transition: transform var(--transition);
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(196,14,14,.2);
}
.service-card:hover::before { transform: scaleX(1); }
.service-icon {
  width: 60px;
  height: 60px;
  background: rgba(22,25,64,.06);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  transition: all var(--transition);
}
.service-card:hover .service-icon {
  background: rgba(196,14,14,.1);
  color: var(--red);
}
.service-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
  color: var(--navy);
}
.service-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 1.25rem;
}
.service-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--red);
  font-size: 0.88rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  transition: gap var(--transition);
}
.service-link:hover { gap: 0.7rem; }

/* ---------- Stats ---------- */
.stats-section {
  background: var(--navy);
  color: var(--white);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}
.stat-item { padding: 1rem 0; }
.stat-number {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1;
  margin-bottom: 0.5rem;
}
.stat-number span { color: var(--red); }
.stat-label {
  font-size: 0.9rem;
  color: rgba(255,255,255,.65);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 500;
}
.stats-divider {
  width: 1px;
  background: rgba(255,255,255,.1);
  display: none;
}

/* ---------- Why Choose Me ---------- */
.why-section { background: var(--white); }
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.why-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 2rem;
}
.why-item {
  display: flex;
  gap: 1rem;
}
.why-num {
  width: 40px;
  height: 40px;
  background: var(--red);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  flex-shrink: 0;
}
.why-item h4 { font-family: var(--font-body); font-weight: 700; margin-bottom: 0.3rem; color: var(--navy); }
.why-item p { margin: 0; color: var(--text-muted); font-size: 0.95rem; }
.why-image {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.why-image img {
  width: 100%;
  height: 480px;
  object-fit: cover;
}
.cert-badge {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: var(--navy);
  color: var(--white);
  padding: 1rem 1.25rem;
  border-radius: var(--radius);
  text-align: center;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  box-shadow: var(--shadow);
}
.cert-badge strong { display: block; font-size: 1.1rem; color: #ff8080; }

/* ---------- CTA Banner ---------- */
.cta-section {
  background: linear-gradient(135deg, var(--red) 0%, var(--red-dark) 100%);
  color: var(--white);
  text-align: center;
}
.cta-section h2 { color: var(--white); margin-bottom: 0.75rem; }
.cta-section p { color: rgba(255,255,255,.85); font-size: 1.1rem; margin-bottom: 2rem; }
.cta-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ---------- Page Hero (inner pages) ---------- */
.page-hero {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 100%);
  padding: 5rem 0 3.5rem;
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: rgba(196,14,14,.08);
  border-radius: 50%;
  pointer-events: none;
}
.page-hero h1 { color: var(--white); margin-bottom: 0.5rem; }
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.88rem;
  color: rgba(255,255,255,.6);
  margin-top: 0.75rem;
}
.breadcrumb a { color: rgba(255,255,255,.7); transition: color var(--transition); }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb-sep { opacity: .4; }

/* ---------- About page ---------- */
.bio-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}
.bio-text p { color: var(--text-muted); line-height: 1.85; }
.bio-text h2 { margin-bottom: 1.25rem; }
.quote-block {
  background: var(--light-gray);
  border-left: 4px solid var(--red);
  padding: 1.5rem 1.75rem;
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 2rem 0;
}
.quote-block blockquote {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--navy);
  line-height: 1.6;
  margin-bottom: 0.5rem;
}
.quote-block cite {
  font-size: 0.88rem;
  color: var(--text-muted);
  font-style: normal;
}
.credentials-section { background: var(--light-gray); }
.credentials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}
.credential-card {
  background: var(--white);
  padding: 2rem;
  border-radius: var(--radius-lg);
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
}
.credential-icon {
  width: 64px;
  height: 64px;
  background: rgba(22,25,64,.06);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  color: var(--navy);
}
.credential-card h4 { font-family: var(--font-body); font-weight: 700; color: var(--navy); margin-bottom: 0.5rem; }
.credential-card p { color: var(--text-muted); font-size: 0.9rem; margin: 0; }

/* ---------- Services page ---------- */
.service-tabs {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}
.tab-btn {
  padding: 0.65rem 1.5rem;
  border-radius: 50px;
  font-size: 0.88rem;
  font-weight: 600;
  border: 2px solid var(--border);
  color: var(--text-muted);
  background: var(--white);
  transition: all var(--transition);
  cursor: pointer;
}
.tab-btn.active, .tab-btn:hover {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
}
.tab-pane { display: none; }
.tab-pane.active { display: block; }
.tab-content-box {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 3rem;
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
  box-shadow: var(--shadow);
}
.tab-content-box h3 { margin-bottom: 1rem; }
.tab-content-box p { color: var(--text-muted); font-size: 1.05rem; line-height: 1.8; }
.specialized-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}
.spec-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}
.spec-card:hover {
  border-color: rgba(196,14,14,.3);
  box-shadow: var(--shadow);
}
.spec-icon {
  font-size: 2rem;
  margin-bottom: 0.75rem;
}
.spec-card h4 { font-family: var(--font-body); font-weight: 700; color: var(--navy); margin-bottom: 0.5rem; }
.spec-card p { color: var(--text-muted); font-size: 0.9rem; margin: 0; }
.pdf-download-box {
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem 2.5rem;
  display: flex;
  align-items: center;
  gap: 2rem;
  margin: 2rem 0;
}
.pdf-icon {
  width: 56px;
  height: 56px;
  background: rgba(196,14,14,.3);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #ff8080;
}
.pdf-text { flex: 1; }
.pdf-text h4 { color: var(--white); font-family: var(--font-body); font-weight: 700; margin-bottom: 0.25rem; }
.pdf-text p { color: rgba(255,255,255,.7); font-size: 0.9rem; margin: 0; }
.btn-pdf {
  background: var(--red);
  color: var(--white);
  padding: 0.65rem 1.4rem;
  border-radius: var(--radius);
  font-size: 0.85rem;
  font-weight: 600;
  white-space: nowrap;
  transition: all var(--transition);
}
.btn-pdf:hover { background: var(--red-dark); transform: translateY(-1px); }

/* ---------- Contact page ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 3.5rem;
  align-items: start;
}
.contact-info h3 {
  font-size: 1.4rem;
  margin-bottom: 1.5rem;
}
.contact-items {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-bottom: 2rem;
}
.contact-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.contact-item-icon {
  width: 44px;
  height: 44px;
  background: rgba(22,25,64,.07);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--navy);
}
.contact-item-text strong { display: block; font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-muted); margin-bottom: 0.2rem; }
.contact-item-text a, .contact-item-text span { font-weight: 600; color: var(--navy); font-size: 0.97rem; }
.contact-item-text a:hover { color: var(--red); }
.hours-box {
  background: var(--light-gray);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
}
.hours-box h4 { font-family: var(--font-body); font-weight: 700; color: var(--navy); margin-bottom: 1rem; font-size: 0.95rem; text-transform: uppercase; letter-spacing: 0.08em; }
.hours-list { display: flex; flex-direction: column; gap: 0.5rem; }
.hours-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  padding: 0.4rem 0;
  border-bottom: 1px solid var(--border);
}
.hours-row:last-child { border-bottom: none; }
.hours-row .day { color: var(--text-muted); }
.hours-row .time { font-weight: 600; color: var(--navy); }
/* Contact Form */
.contact-form-wrapper {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}
.contact-form-wrapper h3 { margin-bottom: 0.5rem; }
.form-subtitle { color: var(--text-muted); margin-bottom: 2rem; font-size: 0.95rem; }
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.form-group.full { grid-column: 1 / -1; }
.form-group label {
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--text-muted);
}
.form-group input,
.form-group textarea,
.form-group select {
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
  width: 100%;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(22,25,64,.1);
}
.form-group textarea { resize: vertical; min-height: 140px; }
.form-honeypot { display: none !important; }
.form-submit { margin-top: 0.75rem; }
.form-submit .btn { width: 100%; justify-content: center; }
.form-message {
  padding: 0.85rem 1.25rem;
  border-radius: var(--radius);
  font-size: 0.92rem;
  font-weight: 500;
  margin-top: 1rem;
  display: none;
}
.form-message.success { background: #d1fae5; color: #065f46; border: 1px solid #6ee7b7; display: block; }
.form-message.error { background: #fee2e2; color: #991b1b; border: 1px solid #fca5a5; display: block; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-dark); color: rgba(255,255,255,.75); }
.footer-main {
  padding: 4rem 0 2.5rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr;
  gap: 3rem;
}
.footer-brand .logo-footer img {
  height: 48px;
  width: auto;
  margin-bottom: 1.25rem;
  filter: brightness(0) invert(1);
}
.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.75;
  color: rgba(255,255,255,.6);
  margin-bottom: 1.25rem;
}
.footer-brand blockquote {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 0.95rem;
  color: rgba(255,255,255,.5);
  border-left: 2px solid rgba(196,14,14,.5);
  padding-left: 1rem;
  line-height: 1.6;
}
.footer-brand blockquote cite { display: block; font-style: normal; font-size: 0.82rem; margin-top: 0.25rem; color: rgba(255,255,255,.35); }
.footer-col h5 {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--white);
  margin-bottom: 1.25rem;
}
.footer-links { display: flex; flex-direction: column; gap: 0.6rem; }
.footer-links a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: rgba(255,255,255,.6);
  transition: color var(--transition), gap var(--transition);
}
.footer-links a::before {
  content: '›';
  color: var(--red);
  font-size: 1.1rem;
  line-height: 1;
}
.footer-links a:hover { color: var(--white); gap: 0.75rem; }
.footer-contact-items { display: flex; flex-direction: column; gap: 0.85rem; }
.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.88rem;
  color: rgba(255,255,255,.6);
}
.footer-contact-item a { color: rgba(255,255,255,.6); transition: color var(--transition); }
.footer-contact-item a:hover { color: var(--white); }
.footer-contact-item svg { color: var(--red); flex-shrink: 0; }
.footer-bottom {
  padding: 1.25rem 0;
  border-top: 1px solid rgba(255,255,255,.08);
}
.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.82rem;
  color: rgba(255,255,255,.4);
  gap: 1rem;
  flex-wrap: wrap;
}
.back-to-top {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: rgba(255,255,255,.5);
  font-size: 0.82rem;
  transition: color var(--transition);
}
.back-to-top:hover { color: var(--white); }

/* ---------- Animations ---------- */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}
.fade-in-delay-1 { transition-delay: 0.1s; }
.fade-in-delay-2 { transition-delay: 0.2s; }
.fade-in-delay-3 { transition-delay: 0.3s; }
.fade-in-delay-4 { transition-delay: 0.4s; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .credentials-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .about-grid, .why-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .bio-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .contact-grid { grid-template-columns: 1fr; }
  .about-image img, .why-image img { height: 380px; }
}

@media (max-width: 768px) {
  .menu-toggle { display: flex; }
  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    box-shadow: var(--shadow-lg);
    padding: 1rem;
    display: none;
    border-top: 2px solid var(--red);
  }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; gap: 0.25rem; }
  .main-nav a { padding: 0.75rem 1rem; font-size: 1rem; }
  .main-nav a::after { display: none; }
  .header-cta .btn { display: none; }
  .top-bar-right { display: none; }
  .hero-trust { gap: 1.5rem; }
  .services-grid { grid-template-columns: 1fr; }
  .specialized-grid { grid-template-columns: 1fr; }
  .credentials-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .pdf-download-box { flex-direction: column; text-align: center; }
  .form-grid { grid-template-columns: 1fr; }
  .form-group.full { grid-column: auto; }
  .tab-content-box { padding: 2rem 1.5rem; }
  .contact-form-wrapper { padding: 1.75rem; }
}

@media (max-width: 540px) {
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .cta-actions { flex-direction: column; align-items: center; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-trust { flex-direction: column; gap: 1rem; }
  .section-py { padding: 3.5rem 0; }
}
