/* ============================================================
   Studio Silvestri — Main Stylesheet
   Complete, production-ready, mobile-first
   v2.0 — 2026-03-18
   ============================================================ */

/* ============================================================
   CSS Variables
   ============================================================ */
:root {
  --primary: #5C2E3E;
  --primary-dark: #4a2430;
  --primary-light: rgba(92,46,62,0.08);
  --light-gray: #f9f9f9;
  --border: #eeeeee;
  --text: #333333;
  --text-light: #666666;
  --white: #ffffff;
  --radius: 4px;
  --radius-lg: 8px;
  --shadow: 0 2px 8px rgba(0,0,0,0.08);
  --shadow-hover: 0 8px 24px rgba(92,46,62,0.12);
  --transition: 0.25s ease;
  --header-height: 70px;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* ============================================================
   Reset & Base
   ============================================================ */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font);
  color: var(--text);
  background-color: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

/* ============================================================
   Navbar — fixed, 70px, white, shadow, logo left, links right
   ============================================================ */
#header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: var(--header-height);
  background: var(--white);
  box-shadow: var(--shadow);
  z-index: 1000;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  position: relative;
}

.logo-text {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 3px;
  text-decoration: none;
  color: var(--text);
  white-space: nowrap;
}

/* Desktop nav */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-menu > a,
.nav-menu > .nav-dropdown > .nav-dropdown-toggle {
  text-decoration: none;
  color: var(--text-light);
  font-size: 15px;
  padding: 8px 14px;
  border-radius: var(--radius);
  transition: color var(--transition), background-color var(--transition);
  cursor: pointer;
  background: none;
  border: none;
  font-family: var(--font);
  line-height: 1;
}

.nav-menu > a:hover,
.nav-menu > .nav-dropdown.open > .nav-dropdown-toggle {
  color: var(--primary);
}

.nav-menu > a.active {
  color: var(--primary);
  font-weight: 500;
}

/* Nav CTA button */
.nav-cta {
  background: var(--primary) !important;
  color: var(--white) !important;
  border-radius: var(--radius) !important;
  padding: 10px 20px !important;
  font-weight: 500 !important;
  transition: background var(--transition) !important;
}

.nav-cta:hover {
  background: var(--primary-dark) !important;
  color: var(--white) !important;
}

/* ============================================================
   Dropdown menu
   ============================================================ */
.nav-dropdown {
  position: relative;
}

.nav-dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-dropdown-toggle::after {
  content: '';
  display: inline-block;
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
  transition: transform var(--transition);
  margin-top: 1px;
}

.nav-dropdown.open .nav-dropdown-toggle::after {
  transform: rotate(180deg);
}

.nav-dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-hover);
  padding: 8px 0;
  z-index: 100;
}

.nav-dropdown.open .nav-dropdown-menu {
  display: block;
}

.nav-dropdown-menu a {
  display: block;
  padding: 10px 20px;
  color: var(--text-light);
  font-size: 14px;
  transition: color var(--transition), background-color var(--transition);
}

.nav-dropdown-menu a:hover {
  color: var(--primary);
  background: var(--primary-light);
}

/* ============================================================
   Hamburger — 3 spans, animates to X when .active
   ============================================================ */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
  outline: none;
  z-index: 1001;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  transition: 0.3s ease;
  border-radius: 2px;
}

.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 nav — full-screen overlay when .active
   ============================================================ */
.nav-overlay {
  display: none;
  position: fixed;
  top: var(--header-height);
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--white);
  z-index: 999;
  overflow-y: auto;
  padding: 24px;
  flex-direction: column;
  gap: 0;
}

.nav-overlay.active {
  display: flex;
}

.nav-overlay a,
.nav-overlay .mobile-section-label {
  display: block;
  padding: 14px 0;
  color: var(--text);
  font-size: 16px;
  border-bottom: 1px solid var(--border);
  text-decoration: none;
  transition: color var(--transition);
}

.nav-overlay a:hover {
  color: var(--primary);
}

.nav-overlay .mobile-section-label {
  font-weight: 600;
  color: var(--text-light);
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: default;
}

.nav-overlay .mobile-sub-link {
  padding-left: 16px;
  font-size: 15px;
  color: var(--text-light);
}

.nav-overlay .mobile-cta {
  margin-top: 24px;
  background: var(--primary);
  color: var(--white) !important;
  text-align: center;
  border-radius: var(--radius);
  padding: 14px !important;
  font-weight: 600;
  border-bottom: none !important;
}

.nav-overlay .mobile-cta:hover {
  background: var(--primary-dark);
}

/* ============================================================
   Hero — homepage
   ============================================================ */
.hero {
  padding-top: var(--header-height);
  min-height: 620px;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #fdf8f9 0%, #f5f0f2 40%, #ffffff 100%);
}

.hero-inner {
  max-width: 820px;
  margin: 0 auto;
  padding: 80px 24px;
  text-align: center;
}

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 700;
  color: var(--text);
  line-height: 1.15;
  letter-spacing: -0.5px;
  margin-bottom: 24px;
}

.hero-sub {
  font-size: 1.1rem;
  color: var(--text-light);
  line-height: 1.7;
  max-width: 580px;
  margin: 0 auto 40px;
}

/* Trust stats in hero */
.hero-stats {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-top: 48px;
  flex-wrap: wrap;
}

.hero-stat {
  text-align: center;
}

.hero-stat strong {
  display: block;
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 4px;
}

.hero-stat span {
  font-size: 0.875rem;
  color: var(--text-light);
}

/* ============================================================
   Page hero — inner pages, gradient bg
   ============================================================ */
.page-hero {
  padding-top: calc(var(--header-height) + 60px);
  padding-bottom: 60px;
  background: linear-gradient(135deg, #fdf8f9 0%, #f5f0f2 40%, #ffffff 100%);
  text-align: center;
}

.page-hero h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--text);
  line-height: 1.2;
  margin-bottom: 16px;
}

.page-hero p {
  font-size: 1.1rem;
  color: var(--text-light);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ============================================================
   Buttons
   ============================================================ */
.btn-primary {
  display: inline-block;
  background: var(--primary);
  color: var(--white);
  padding: 16px 36px;
  border-radius: var(--radius);
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.3px;
  transition: background-color var(--transition), transform var(--transition);
  border: none;
  cursor: pointer;
  font-family: var(--font);
  line-height: 1;
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
}

.btn-outline {
  display: inline-block;
  background: transparent;
  color: var(--primary);
  padding: 14px 32px;
  border-radius: var(--radius);
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  border: 2px solid var(--primary);
  cursor: pointer;
  font-family: var(--font);
  transition: background var(--transition), color var(--transition);
  line-height: 1;
}

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

.btn-white {
  display: inline-block;
  background: var(--white);
  color: var(--primary);
  padding: 16px 36px;
  border-radius: var(--radius);
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  border: 2px solid var(--white);
  cursor: pointer;
  font-family: var(--font);
  transition: background var(--transition), color var(--transition);
  line-height: 1;
}

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

/* ============================================================
   Section shared
   ============================================================ */
.section-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 80px 24px;
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 60px;
}

.section-header h2 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 700;
  color: var(--text);
  margin-bottom: 16px;
  line-height: 1.2;
}

.section-header p {
  color: var(--text-light);
  font-size: 1.05rem;
  line-height: 1.7;
}

.section-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 12px;
}

/* ============================================================
   Service cards grid
   4-col desktop, 2-col tablet, 1-col mobile
   hover: lift + border change
   ============================================================ */
.services-section {
  background: var(--light-gray);
}

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

.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  border: 1px solid var(--border);
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
  text-decoration: none;
  display: block;
}

.service-card:hover {
  border-color: var(--primary);
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.card-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 1px;
  margin-bottom: 20px;
  color: var(--white);
  flex-shrink: 0;
}

.icon-ss { background: #3D3D3D; }
.icon-sn { background: var(--primary); }
.icon-vs { background: #4a1942; }
.icon-fc { background: #2d5a8a; }

.service-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 10px;
}

.service-card p {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.65;
  margin-bottom: 16px;
}

.card-link {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.card-link::after {
  content: '→';
  transition: transform var(--transition);
}

.service-card:hover .card-link::after {
  transform: translateX(3px);
}

/* ============================================================
   About section — 2-col: text + quote card
   ============================================================ */
.about-section {
  background: var(--white);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.about-text h2 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 700;
  color: var(--text);
  margin-bottom: 20px;
  line-height: 1.2;
}

.about-text p {
  font-size: 1rem;
  color: var(--text-light);
  line-height: 1.75;
  margin-bottom: 16px;
}

.about-text p:last-child {
  margin-bottom: 0;
}

.quote-card {
  background: var(--light-gray);
  border-left: 4px solid var(--primary);
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
  padding: 40px 36px;
}

.quote-card blockquote {
  font-size: 1.15rem;
  font-style: italic;
  color: var(--text);
  line-height: 1.7;
  margin-bottom: 24px;
}

.quote-author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.author-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 700;
  font-size: 14px;
  flex-shrink: 0;
}

.author-info strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
}

.author-info span {
  font-size: 0.85rem;
  color: var(--text-light);
}

/* ============================================================
   Stats grid — 3-col, large numbers in bordeaux
   ============================================================ */
.stats-section {
  background: var(--light-gray);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
  text-align: center;
}

.stat-item strong {
  display: block;
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-item h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
}

.stat-item p {
  font-size: 0.875rem;
  color: var(--text-light);
  line-height: 1.5;
}

/* ============================================================
   Values grid — 4-col desktop, wrappable tags
   ============================================================ */
.values-section {
  background: var(--white);
}

.values-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.value-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border: 2px solid var(--primary);
  border-radius: 100px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--primary);
  background: transparent;
  transition: background var(--transition), color var(--transition);
}

.value-tag:hover {
  background: var(--primary);
  color: var(--white);
}

.value-tag::before {
  content: '✦';
  font-size: 0.6rem;
}

/* ============================================================
   CTA Banner — bordeaux background, white text
   ============================================================ */
.cta-banner {
  background: var(--primary);
  color: var(--white);
  text-align: center;
  padding: 80px 24px;
}

.cta-banner h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  margin-bottom: 16px;
  line-height: 1.2;
}

.cta-banner p {
  font-size: 1.1rem;
  opacity: 0.85;
  margin-bottom: 36px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

/* ============================================================
   Profile card — about page
   ============================================================ */
.profile-section {
  background: var(--white);
}

.profile-card {
  display: flex;
  gap: 48px;
  align-items: flex-start;
  background: var(--light-gray);
  border-radius: var(--radius-lg);
  padding: 48px;
  border: 1px solid var(--border);
}

.profile-avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 700;
  font-size: 24px;
  flex-shrink: 0;
}

.profile-info h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 6px;
}

.profile-title {
  font-size: 0.95rem;
  color: var(--text-light);
  margin-bottom: 20px;
  line-height: 1.5;
}

.profile-info p {
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.75;
  margin-bottom: 12px;
}

.profile-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.tag {
  display: inline-block;
  padding: 6px 14px;
  background: var(--primary-light);
  color: var(--primary);
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 500;
}

/* ============================================================
   Vision & Mission section
   ============================================================ */
.vision-section {
  background: var(--light-gray);
}

.vision-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.vision-block {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  border-top: 4px solid var(--primary);
}

.vision-block h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 16px;
}

.vision-block p {
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.75;
}

/* ============================================================
   Service detail page — 2-col: content + sidebar
   ============================================================ */
.service-detail-section {
  background: var(--white);
}

.service-detail-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 48px;
  align-items: start;
}

.service-detail-content h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 20px;
}

.service-detail-content p {
  font-size: 1rem;
  color: var(--text-light);
  line-height: 1.75;
  margin-bottom: 24px;
}

.service-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.service-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.95rem;
  color: var(--text);
}

.service-list li:last-child {
  border-bottom: none;
}

.service-list li::before {
  content: '✓';
  color: var(--primary);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

/* Sidebar */
.service-sidebar {
  position: sticky;
  top: calc(var(--header-height) + 24px);
}

.sidebar-cta-card {
  background: var(--light-gray);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  border: 1px solid var(--border);
  text-align: center;
}

.sidebar-cta-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 12px;
}

.sidebar-cta-card p {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 24px;
}

.sidebar-cta-card .btn-primary {
  width: 100%;
  text-align: center;
  display: block;
}

/* Related studios section */
.related-section {
  background: var(--light-gray);
}

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

/* ============================================================
   Contact page — 2-col: info + form
   ============================================================ */
.contact-section {
  background: var(--white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 64px;
  align-items: start;
}

.contact-info h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 20px;
}

.contact-info p {
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.75;
  margin-bottom: 32px;
}

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

.contact-detail-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 18px;
  flex-shrink: 0;
}

.contact-detail-text strong {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}

.contact-detail-text span,
.contact-detail-text a {
  font-size: 0.95rem;
  color: var(--text);
  text-decoration: none;
}

.contact-detail-text a:hover {
  color: var(--primary);
}

/* ============================================================
   Form styles
   ============================================================ */
.form-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 28px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--text);
  margin-bottom: 8px;
}

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

/* Base input styles */
input:not([type="checkbox"]),
select,
textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 16px;
  font-family: var(--font);
  color: var(--text);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
  -webkit-appearance: none;
  appearance: none;
}

select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23666' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 44px;
  cursor: pointer;
}

input:not([type="checkbox"]):focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(92,46,62,0.1);
}

input.error,
select.error,
textarea.error {
  border-color: #c0392b;
}

textarea {
  resize: vertical;
  min-height: 140px;
}

.field-error {
  display: block;
  font-size: 0.8rem;
  color: #c0392b;
  margin-top: 4px;
  min-height: 18px;
}

/* Checkbox — CRITICAL: must be clickable */
input[type="checkbox"] {
  -webkit-appearance: checkbox !important;
  appearance: checkbox !important;
  width: 18px !important;
  min-width: 18px !important;
  height: 18px !important;
  max-height: 18px !important;
  padding: 0 !important;
  border: 1px solid #ccc !important;
  border-radius: 3px !important;
  background: var(--white) !important;
  box-shadow: none !important;
  cursor: pointer !important;
  flex-shrink: 0;
  margin-top: 2px;
  accent-color: var(--primary);
}

.form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 4px;
}

.form-checkbox label {
  font-size: 0.875rem;
  color: var(--text-light);
  line-height: 1.5;
  font-weight: 400;
  cursor: pointer;
  margin-bottom: 0;
}

.form-checkbox label a {
  color: var(--primary);
  text-decoration: underline;
}

/* ============================================================
   Thank you page — centered card, full height
   ============================================================ */
.thankyou-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: var(--light-gray);
}

.thankyou-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: 0 4px 24px rgba(0,0,0,0.07);
  max-width: 520px;
  width: 100%;
  padding: 56px 40px;
  text-align: center;
}

.checkmark-circle {
  width: 72px;
  height: 72px;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 28px;
  font-size: 30px;
  color: var(--white);
}

.thankyou-card h1 {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 16px;
  letter-spacing: -0.3px;
  line-height: 1.2;
}

.thankyou-card p {
  color: var(--text-light);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 12px;
}

.thankyou-back {
  display: inline-block;
  margin-top: 32px;
  background: var(--primary);
  color: var(--white);
  text-decoration: none;
  padding: 14px 32px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  transition: background var(--transition);
}

.thankyou-back:hover {
  background: var(--primary-dark);
}

.thankyou-logo {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 3px;
  color: #aaa;
  margin-top: 40px;
  text-transform: uppercase;
}

/* ============================================================
   Legal pages — max-width 760px, readable
   ============================================================ */
.legal-section {
  background: var(--white);
  padding-top: var(--header-height);
  min-height: 100vh;
}

.legal-inner {
  max-width: 760px;
  margin: 0 auto;
  padding: 60px 24px 80px;
}

.legal-inner h1 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 700;
  color: var(--text);
  margin-bottom: 40px;
  padding-bottom: 20px;
  border-bottom: 2px solid var(--primary);
}

.legal-inner h2 {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text);
  margin: 36px 0 12px;
}

.legal-inner p {
  font-size: 1rem;
  color: var(--text-light);
  line-height: 1.75;
  margin-bottom: 16px;
}

.legal-inner a {
  color: var(--primary);
  text-decoration: underline;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--primary);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9rem;
  margin-bottom: 32px;
  transition: opacity var(--transition);
}

.back-link:hover {
  opacity: 0.75;
}

/* ============================================================
   Footer — dark bg, 4-col grid, bottom bar
   ============================================================ */
.site-footer {
  background: #1a1a1a;
  color: #cccccc;
  padding: 64px 24px 0;
}

.footer-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
}

.footer-col-title {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #888888;
  margin-bottom: 16px;
}

.footer-brand .logo-text {
  color: var(--white);
  display: block;
  margin-bottom: 12px;
  font-size: 16px;
  text-decoration: none;
}

.footer-brand p {
  font-size: 0.875rem;
  color: #888888;
  line-height: 1.6;
  margin-bottom: 16px;
}

.footer-brand a {
  color: #aaaaaa;
  text-decoration: none;
  font-size: 0.875rem;
  transition: color var(--transition);
}

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

.footer-col a {
  display: block;
  color: #aaaaaa;
  font-size: 0.875rem;
  text-decoration: none;
  padding: 5px 0;
  transition: color var(--transition);
}

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

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  border-top: 1px solid #333333;
  padding: 20px 0;
  font-size: 0.8rem;
  text-align: center;
  color: #666666;
}

/* ============================================================
   Utility
   ============================================================ */
.hidden {
  display: none !important;
}

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

.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mb-0 { margin-bottom: 0; }

/* ============================================================
   Responsive — 1024px
   ============================================================ */
@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .service-detail-grid {
    grid-template-columns: 1fr;
  }

  .service-sidebar {
    position: static;
  }

  .related-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .profile-card {
    flex-direction: column;
    gap: 24px;
  }

  .vision-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   Responsive — 768px
   ============================================================ */
@media (max-width: 768px) {
  /* Show hamburger, hide desktop nav */
  .nav-menu {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  /* All grids go 1-col */
  .services-grid {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .related-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  /* Hero adjustments */
  .hero-inner {
    padding: 60px 20px;
  }

  .hero-stats {
    gap: 24px;
  }

  /* Page hero */
  .page-hero {
    padding-top: calc(var(--header-height) + 40px);
    padding-bottom: 40px;
  }

  /* Section padding */
  .section-inner {
    padding: 60px 20px;
  }

  /* Form */
  .form-row {
    grid-template-columns: 1fr;
  }

  /* Profile card */
  .profile-card {
    padding: 32px 24px;
  }

  /* Thank you card */
  .thankyou-card {
    padding: 40px 24px;
  }

  /* CTA banner */
  .cta-banner {
    padding: 60px 20px;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 1.9rem;
  }

  .btn-primary {
    width: 100%;
    text-align: center;
  }

  .stat-item strong {
    font-size: 2.8rem;
  }
}
