/* UnityBrand — unified AI brand systems */

:root {
  --indigo: #4F46E5;
  --indigo-dark: #4338CA;
  --indigo-light: #818CF8;
  --slate: #334155;
  --slate-dark: #1E293B;
  --white: #FFFFFF;
  --grey: #94A3B8;
  --grey-light: #E2E8F0;
  --sky: #0EA5E9;
  --sky-dark: #0284C7;
  --font-heading: 'Plus Jakarta Sans', sans-serif;
  --font-body: 'Inter', sans-serif;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow: 0 4px 24px rgba(51, 65, 85, 0.08);
  --shadow-lg: 0 12px 48px rgba(79, 70, 229, 0.12);
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --container: 1200px;
}

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

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

body {
  font-family: var(--font-body);
  color: var(--slate);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

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

a {
  color: var(--indigo);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--sky);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--slate-dark);
  line-height: 1.25;
  font-weight: 700;
}

h1 { font-size: clamp(2.25rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.5rem); }

p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

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

.section {
  padding: 5rem 0;
}

.section-label {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--indigo);
  margin-bottom: 0.75rem;
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 3rem;
}

.section-header p {
  color: var(--grey);
  font-size: 1.125rem;
  margin-top: 0.75rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9375rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
}

.btn-primary {
  background: var(--indigo);
  color: var(--white);
  border-color: var(--indigo);
}

.btn-primary:hover {
  background: var(--indigo-dark);
  border-color: var(--indigo-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

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

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

.btn-sky {
  background: var(--sky);
  color: var(--white);
  border-color: var(--sky);
}

.btn-sky:hover {
  background: var(--sky-dark);
  border-color: var(--sky-dark);
  color: var(--white);
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1rem;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--grey-light);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  gap: 1.5rem;
}

.logo {
  font-family: var(--font-heading);
  font-size: 1.375rem;
  font-weight: 800;
  color: var(--slate-dark);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo span {
  color: var(--indigo);
}

.logo:hover {
  color: var(--indigo);
}

.main-nav ul {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.main-nav a {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 0.9375rem;
  color: var(--slate);
  position: relative;
}

.main-nav a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--indigo);
  transition: width var(--transition);
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--indigo);
}

.main-nav a:hover::after,
.main-nav a.active::after {
  width: 100%;
}

.header-cta {
  flex-shrink: 0;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--slate);
  transition: var(--transition);
}

/* Hero */
.hero {
  position: relative;
  padding: 6rem 0 5rem;
  background: linear-gradient(135deg, #F8FAFC 0%, #EEF2FF 50%, #F0F9FF 100%);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(79, 70, 229, 0.08) 0%, transparent 70%);
  border-radius: 50%;
  animation: converge 8s ease-in-out infinite alternate;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(14, 165, 233, 0.06) 0%, transparent 70%);
  border-radius: 50%;
  animation: converge 10s ease-in-out infinite alternate-reverse;
}

@keyframes converge {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(30px, -20px) scale(1.1); }
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-content .tagline {
  font-size: 1.125rem;
  color: var(--grey);
  margin: 1rem 0 1.5rem;
  max-width: 520px;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.hero-visual {
  position: relative;
}

.hero-visual img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.hero-badge {
  position: absolute;
  bottom: -1rem;
  left: -1rem;
  background: var(--white);
  padding: 1rem 1.25rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.hero-badge-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--indigo), var(--sky));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.25rem;
}

.hero-badge strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.875rem;
  color: var(--slate-dark);
}

.hero-badge span {
  font-size: 0.75rem;
  color: var(--grey);
}

/* Stats */
.stats-bar {
  background: var(--slate-dark);
  padding: 3rem 0;
}

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

.stat-item {
  color: var(--white);
}

.stat-number {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  background: linear-gradient(135deg, var(--indigo-light), var(--sky));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.1;
}

.stat-label {
  font-size: 0.9375rem;
  color: var(--grey);
  margin-top: 0.5rem;
}

/* Package Cards */
.packages-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.package-card {
  background: var(--white);
  border: 1px solid var(--grey-light);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  transition: all var(--transition);
  position: relative;
  display: flex;
  flex-direction: column;
}

.package-card:hover {
  border-color: var(--indigo-light);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.package-card.featured {
  border-color: var(--indigo);
  box-shadow: var(--shadow-lg);
}

.package-card.featured::before {
  content: 'Most Popular';
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--indigo);
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 1rem;
  border-radius: 20px;
}

.package-tier {
  font-family: var(--font-heading);
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--indigo);
  margin-bottom: 0.5rem;
}

.package-card h3 {
  margin-bottom: 0.75rem;
}

.package-price {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  color: var(--slate-dark);
  margin-bottom: 0.25rem;
}

.package-price span {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--grey);
}

.package-features {
  list-style: none;
  margin: 1.25rem 0;
  flex-grow: 1;
}

.package-features li {
  padding: 0.375rem 0;
  font-size: 0.9375rem;
  color: var(--slate);
  padding-left: 1.5rem;
  position: relative;
}

.package-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--indigo);
  font-weight: 700;
}

.package-card .btn {
  width: 100%;
  margin-top: auto;
}

/* One System Strip */
.one-system-strip {
  background: linear-gradient(135deg, var(--indigo) 0%, var(--sky) 100%);
  padding: 4rem 0;
  text-align: center;
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.one-system-strip::before,
.one-system-strip::after {
  content: '';
  position: absolute;
  width: 200px;
  height: 200px;
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  animation: converge-ring 6s ease-in-out infinite;
}

.one-system-strip::before {
  top: -50px;
  left: 10%;
}

.one-system-strip::after {
  bottom: -50px;
  right: 10%;
  animation-delay: 3s;
}

@keyframes converge-ring {
  0%, 100% { transform: scale(1); opacity: 0.3; }
  50% { transform: scale(1.3); opacity: 0.6; }
}

.one-system-strip h2 {
  color: var(--white);
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
}

.one-system-strip p {
  font-size: 1.125rem;
  opacity: 0.9;
  max-width: 640px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

/* Why Grid */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.why-card {
  padding: 2rem;
  border-radius: var(--radius-lg);
  background: #F8FAFC;
  border: 1px solid var(--grey-light);
  transition: all var(--transition);
}

.why-card:hover {
  background: var(--white);
  box-shadow: var(--shadow);
  border-color: var(--indigo-light);
}

.why-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--indigo), var(--sky));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.25rem;
  margin-bottom: 1.25rem;
}

.why-card h3 {
  margin-bottom: 0.75rem;
}

.why-card p {
  color: var(--grey);
  font-size: 0.9375rem;
}

/* Full Bleed CTA */
.full-bleed {
  position: relative;
  min-height: 400px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.full-bleed-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.full-bleed-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.full-bleed-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(30, 41, 59, 0.85) 0%, rgba(79, 70, 229, 0.75) 100%);
  z-index: 1;
}

.full-bleed-content {
  position: relative;
  z-index: 2;
  color: var(--white);
  max-width: 600px;
  padding: 4rem 1.5rem;
}

.full-bleed-content h2 {
  color: var(--white);
  margin-bottom: 1rem;
}

.full-bleed-content p {
  opacity: 0.9;
  margin-bottom: 1.5rem;
}

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

.service-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--grey-light);
  transition: all var(--transition);
}

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

.service-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.service-card-body {
  padding: 1.5rem;
}

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

.service-card p {
  color: var(--grey);
  font-size: 0.9375rem;
  margin-bottom: 1rem;
}

.service-card a {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.875rem;
}

/* Testimonials */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.testimonial-card {
  background: var(--white);
  border: 1px solid var(--grey-light);
  border-radius: var(--radius-lg);
  padding: 2rem;
  position: relative;
}

.testimonial-card::before {
  content: '"';
  font-family: var(--font-heading);
  font-size: 4rem;
  color: var(--indigo-light);
  opacity: 0.3;
  position: absolute;
  top: 0.5rem;
  left: 1.5rem;
  line-height: 1;
}

.testimonial-text {
  font-size: 0.9375rem;
  color: var(--slate);
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--indigo), var(--sky));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.875rem;
}

.testimonial-author strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.875rem;
  color: var(--slate-dark);
}

.testimonial-author span {
  font-size: 0.8125rem;
  color: var(--grey);
}

/* CTA Section */
.cta-section {
  background: #F8FAFC;
  text-align: center;
}

.cta-section .section-header {
  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, #F8FAFC 0%, #EEF2FF 100%);
  padding: 4rem 0 3rem;
  text-align: center;
}

.page-hero p {
  color: var(--grey);
  font-size: 1.125rem;
  max-width: 600px;
  margin: 0.75rem auto 0;
}

.breadcrumb {
  font-size: 0.875rem;
  color: var(--grey);
  margin-bottom: 1rem;
}

.breadcrumb a {
  color: var(--indigo);
}

/* Collection */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-bottom: 3rem;
}

.filter-btn {
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 500;
  padding: 0.5rem 1.25rem;
  border-radius: 30px;
  border: 1px solid var(--grey-light);
  background: var(--white);
  color: var(--slate);
  cursor: pointer;
  transition: all var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--indigo);
  color: var(--white);
  border-color: var(--indigo);
}

.collection-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.collection-card {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 1.5rem;
  background: var(--white);
  border: 1px solid var(--grey-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition);
}

.collection-card:hover {
  box-shadow: var(--shadow-lg);
  border-color: var(--indigo-light);
}

.collection-card.hidden {
  display: none;
}

.collection-card img {
  width: 100%;
  height: 100%;
  min-height: 180px;
  object-fit: cover;
}

.collection-card-body {
  padding: 1.5rem 1.5rem 1.5rem 0;
}

.collection-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
}

.collection-ref {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--indigo);
  background: #EEF2FF;
  padding: 0.25rem 0.625rem;
  border-radius: 4px;
}

.collection-category {
  font-size: 0.75rem;
  color: var(--grey);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.collection-price {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--slate-dark);
  margin: 0.75rem 0;
}

.collection-card p {
  color: var(--grey);
  font-size: 0.9375rem;
  margin-bottom: 1rem;
}

/* Services Page */
.services-detail-grid {
  display: grid;
  gap: 3rem;
}

.service-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.service-detail:nth-child(even) {
  direction: rtl;
}

.service-detail:nth-child(even) > * {
  direction: ltr;
}

.service-detail img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.service-detail-content h2 {
  margin-bottom: 1rem;
}

.service-detail-content p {
  color: var(--grey);
  margin-bottom: 1rem;
}

.service-detail-list {
  list-style: none;
  margin-top: 1rem;
}

.service-detail-list li {
  padding: 0.375rem 0;
  padding-left: 1.5rem;
  position: relative;
  font-size: 0.9375rem;
}

.service-detail-list li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--indigo);
}

/* About Page */
.about-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  margin-bottom: 4rem;
}

.about-intro img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.cert-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin: 3rem 0;
}

.cert-card {
  text-align: center;
  padding: 2rem 1rem;
  background: #F8FAFC;
  border-radius: var(--radius-lg);
  border: 1px solid var(--grey-light);
}

.cert-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--indigo), var(--sky));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.5rem;
  margin: 0 auto 1rem;
}

.cert-card h4 {
  font-family: var(--font-heading);
  font-size: 0.9375rem;
  margin-bottom: 0.5rem;
}

.cert-card p {
  font-size: 0.8125rem;
  color: var(--grey);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.team-card {
  text-align: center;
  padding: 2rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--grey-light);
  transition: all var(--transition);
}

.team-card:hover {
  box-shadow: var(--shadow);
}

.team-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--indigo), var(--sky));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.5rem;
  margin: 0 auto 1rem;
}

.team-card h3 {
  margin-bottom: 0.25rem;
}

.team-role {
  color: var(--indigo);
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 0.75rem;
}

.team-card p {
  font-size: 0.875rem;
  color: var(--grey);
}

/* Contact Page */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3rem;
}

.contact-info-block {
  background: #F8FAFC;
  border-radius: var(--radius-lg);
  padding: 2.5rem;
}

.contact-info-block h2 {
  margin-bottom: 1.5rem;
}

.contact-detail {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.contact-detail-icon {
  width: 40px;
  height: 40px;
  background: var(--indigo);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  flex-shrink: 0;
  font-size: 1rem;
}

.contact-detail strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.875rem;
  color: var(--slate-dark);
  margin-bottom: 0.25rem;
}

.contact-detail span,
.contact-detail a {
  font-size: 0.9375rem;
  color: var(--grey);
}

.contact-form-wrap {
  background: var(--white);
  border: 1px solid var(--grey-light);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
}

.contact-form-wrap h2 {
  margin-bottom: 1.5rem;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--slate-dark);
  margin-bottom: 0.375rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--grey-light);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.9375rem;
  color: var(--slate);
  transition: border-color var(--transition);
  background: var(--white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--indigo);
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

.form-group input.error,
.form-group select.error,
.form-group textarea.error {
  border-color: #EF4444;
}

.form-error {
  display: none;
  font-size: 0.8125rem;
  color: #EF4444;
  margin-top: 0.375rem;
}

.form-error.visible {
  display: block;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.form-success {
  display: none;
  background: linear-gradient(135deg, #EEF2FF, #F0F9FF);
  border: 1px solid var(--indigo-light);
  border-radius: var(--radius-lg);
  padding: 2rem;
  text-align: center;
  margin-bottom: 2rem;
}

.form-success.visible {
  display: block;
}

.form-success h3 {
  color: var(--indigo);
  margin-bottom: 0.75rem;
}

.form-success p {
  color: var(--slate);
}

/* Legal Pages */
.legal-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 3rem 1.5rem 5rem;
}

.legal-content h1 {
  margin-bottom: 0.5rem;
}

.legal-meta {
  color: var(--grey);
  font-size: 0.875rem;
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--grey-light);
}

.legal-content h2 {
  font-size: 1.375rem;
  margin: 2rem 0 1rem;
}

.legal-content h3 {
  font-size: 1.125rem;
  margin: 1.5rem 0 0.75rem;
}

.legal-content p,
.legal-content li {
  color: var(--slate);
  font-size: 0.9375rem;
  margin-bottom: 0.75rem;
}

.legal-content ul,
.legal-content ol {
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}

.legal-content a {
  color: var(--indigo);
  text-decoration: underline;
}

/* Footer */
.site-footer {
  background: var(--slate-dark);
  color: var(--grey);
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand .logo {
  color: var(--white);
  margin-bottom: 1rem;
}

.footer-brand p {
  font-size: 0.9375rem;
  line-height: 1.7;
}

.footer-col h4 {
  font-family: var(--font-heading);
  color: var(--white);
  font-size: 0.9375rem;
  margin-bottom: 1.25rem;
}

.footer-col ul {
  list-style: none;
}

.footer-col li {
  margin-bottom: 0.625rem;
}

.footer-col a {
  color: var(--grey);
  font-size: 0.9375rem;
  transition: color var(--transition);
}

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

.footer-contact p {
  font-size: 0.875rem;
  margin-bottom: 0.5rem;
  line-height: 1.6;
}

.footer-contact a {
  color: var(--grey-light);
}

.footer-bottom {
  border-top: 1px solid rgba(148, 163, 184, 0.2);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.8125rem;
}

.footer-bottom a {
  color: var(--grey);
}

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

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--slate-dark);
  color: var(--grey-light);
  padding: 1.25rem 1.5rem;
  z-index: 9999;
  transform: translateY(100%);
  transition: transform 0.4s ease;
  box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.15);
}

.cookie-banner.visible {
  transform: translateY(0);
}

.cookie-inner {
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.cookie-inner p {
  font-size: 0.875rem;
  margin: 0;
  flex: 1;
  min-width: 280px;
}

.cookie-inner a {
  color: var(--sky);
  text-decoration: underline;
}

.cookie-actions {
  display: flex;
  gap: 0.75rem;
  flex-shrink: 0;
}

.cookie-actions .btn {
  padding: 0.5rem 1.25rem;
  font-size: 0.875rem;
}

.btn-accept {
  background: var(--indigo);
  color: var(--white);
  border: none;
}

.btn-accept:hover {
  background: var(--indigo-dark);
  color: var(--white);
}


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

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

  .cert-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

  .main-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--white);
    padding: 5rem 2rem 2rem;
    box-shadow: -4px 0 24px rgba(0, 0, 0, 0.1);
    transition: right var(--transition);
    z-index: 999;
  }

  .main-nav.open {
    right: 0;
  }

  .main-nav ul {
    flex-direction: column;
    gap: 1.5rem;
  }

  .header-cta {
    display: none;
  }

  .hero-grid,
  .about-intro,
  .contact-grid,
  .service-detail {
    grid-template-columns: 1fr;
  }

  .service-detail:nth-child(even) {
    direction: ltr;
  }

  .stats-grid,
  .why-grid,
  .services-grid,
  .testimonials-grid,
  .team-grid {
    grid-template-columns: 1fr;
  }

  .packages-grid,
  .collection-grid,
  .collection-card {
    grid-template-columns: 1fr;
  }

  .collection-card img {
    min-height: 160px;
  }

  .collection-card-body {
    padding: 1.5rem;
  }

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

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

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .section {
    padding: 3rem 0;
  }

  .hero {
    padding: 4rem 0 3rem;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
  }
}

/* Scroll Animations — progressive enhancement */
.slide-up, .fade-in {
  opacity: 1;
  transform: none;
  transition: opacity .4s ease, transform .4s ease;
}
html.js .slide-up, html.js .fade-in {
  opacity: 0;
  transform: translateY(28px);
}
html.js .slide-up.visible, html.js .fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}
