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

:root {
  --bg-primary: #0b1120;
  --bg-secondary: #111827;
  --bg-card: #1a2332;
  --bg-card-hover: #1f2b3d;
  --border-card: #1e3a4f;
  --text-primary: #f1f5f9;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --accent-teal: #2dd4bf;
  --accent-cyan: #22d3ee;
  --accent-purple: #a78bfa;
  --accent-indigo: #818cf8;
  --gradient-start: #6366f1;
  --gradient-end: #06b6d4;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-serif: 'Playfair Display', Georgia, serif;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-primary);
  color: var(--text-secondary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

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

img {
  max-width: 100%;
}

/* === Header === */
.header {
  padding: 20px 0;
  position: sticky;
  top: 0;
  z-index: 100;
  background: #000000;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

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

.logo {
  display: flex;
  align-items: center;
}

.logo-img {
  height: 100px;
  width: auto;
}

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

.nav a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color 0.2s;
}

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

.nav-cta {
  background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
  color: #fff !important;
  padding: 10px 22px;
  border-radius: 8px;
  font-weight: 600 !important;
  transition: opacity 0.2s !important;
}

.nav-cta:hover {
  opacity: 0.9;
}

/* Mobile menu button */
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 110;
}

.mobile-menu-btn span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all 0.3s;
}

.mobile-menu-btn.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* === Buttons === */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s;
  border: none;
  font-family: var(--font-sans);
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-teal), #34d399);
  color: #0b1120;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(45, 212, 191, 0.3);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-primary);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-2px);
}

.btn-full {
  width: 100%;
}

/* === Hero === */
.hero {
  padding: 60px 0 80px;
  text-align: center;
  background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.08) 0%, transparent 70%);
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  pointer-events: none;
}

.badge {
  display: inline-block;
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  color: var(--accent-teal);
  border: 1px solid rgba(45, 212, 191, 0.25);
  background: rgba(45, 212, 191, 0.06);
  margin-bottom: 32px;
}

.hero h1 {
  font-family: var(--font-serif);
  font-size: 4rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.15;
  max-width: 700px;
  margin: 0 auto 24px;
}

.gradient-text {
  background: linear-gradient(135deg, var(--accent-purple), var(--accent-cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

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

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* === Section shared styles === */
.section-label {
  display: block;
  text-align: center;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 2.5px;
  color: var(--accent-teal);
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-serif);
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--text-primary);
  text-align: center;
  margin-bottom: 16px;
  line-height: 1.2;
}

.section-sub {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 56px;
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* === Services === */
.services {
  padding: 60px 0;
}

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

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 16px;
  padding: 32px 24px;
  transition: all 0.3s;
}

.service-card:hover {
  background: var(--bg-card-hover);
  transform: translateY(-4px);
  border-color: rgba(45, 212, 191, 0.2);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2), 0 0 0 1px rgba(45, 212, 191, 0.08);
}

.service-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.icon-teal { background: rgba(45, 212, 191, 0.12); color: #2dd4bf; }
.icon-purple { background: rgba(167, 139, 250, 0.12); color: #a78bfa; }
.icon-green { background: rgba(52, 211, 153, 0.12); color: #34d399; }
.icon-violet { background: rgba(139, 92, 246, 0.12); color: #8b5cf6; }

.service-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
  line-height: 1.3;
}

.service-card p {
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--text-muted);
}

/* === Why Us === */
.why-us {
  padding: 60px 0;
  background: var(--bg-secondary);
}

.credentials {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px 40px;
  margin-bottom: 40px;
  padding: 20px 24px;
  background: rgba(45, 212, 191, 0.06);
  border: 1px solid rgba(45, 212, 191, 0.15);
  border-radius: 12px;
}

.credential-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #2dd4bf;
  font-size: 0.95rem;
  font-weight: 500;
}

.credential-item svg {
  flex-shrink: 0;
  color: #2dd4bf;
}

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

.why-card {
  display: flex;
  gap: 20px;
  padding: 32px;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 16px;
  transition: all 0.3s;
}

.why-card:hover {
  border-color: rgba(45, 212, 191, 0.2);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.why-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: rgba(45, 212, 191, 0.2);
  line-height: 1;
  flex-shrink: 0;
}

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

.why-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* === Process === */
.process {
  padding: 60px 0;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
  position: relative;
}

.process-grid::before {
  content: '';
  position: absolute;
  top: 28px;
  left: calc(12.5% + 28px);
  right: calc(12.5% + 28px);
  height: 2px;
  background: linear-gradient(90deg, var(--border-card), rgba(45, 212, 191, 0.15), var(--border-card));
  z-index: 0;
}

.process-step {
  position: relative;
  z-index: 1;
}

.step-number {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 2px solid var(--border-card);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--accent-teal);
  margin: 0 auto 20px;
  transition: all 0.3s;
  background: var(--bg-primary);
}

.process-step:hover .step-number {
  border-color: var(--accent-teal);
  background: rgba(45, 212, 191, 0.08);
}

.process-step h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.process-step p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* === Quote === */
.quote-section {
  padding: 60px 0;
  background: var(--bg-secondary);
}

.quote-card {
  max-width: 800px;
  margin: 0 auto;
  background: var(--bg-card);
  border-left: 4px solid var(--accent-teal);
  border-radius: 0 12px 12px 0;
  padding: 48px 48px 40px;
}

.quote-card blockquote {
  position: relative;
  padding-left: 40px;
}

.quote-card blockquote::before {
  content: "\201C";
  position: absolute;
  left: -6px;
  top: -16px;
  font-family: var(--font-serif);
  font-size: 5rem;
  line-height: 1;
  color: var(--accent-teal);
  opacity: 0.3;
}

.quote-card blockquote p {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-style: italic;
  color: var(--text-primary);
  line-height: 1.6;
}

.quote-author {
  margin-top: 32px;
  padding-top: 24px;
  padding-left: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 16px;
}

.quote-author-photo {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(45, 212, 191, 0.3);
  flex-shrink: 0;
}

.quote-author div {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.quote-author-name {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-primary);
}

.quote-author-title {
  font-size: 0.9rem;
  color: var(--accent-teal);
}

/* === Policy Page === */
.policy-page {
  padding: 40px 0 80px;
}

.policy-header {
  margin-bottom: 48px;
}

.policy-content {
  max-width: 800px;
}

.policy-section {
  margin-bottom: 40px;
}

.policy-section h2 {
  font-family: var(--font-sans);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.policy-section p {
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 12px;
}

.policy-section p a {
  color: var(--accent-teal);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.policy-section ul {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.policy-section ul li {
  color: var(--text-secondary);
  line-height: 1.8;
  padding-left: 20px;
  position: relative;
}

.policy-section ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-teal);
  opacity: 0.5;
}

.policy-section ul ul {
  margin-top: 12px;
}

.policy-section ul ul li::before {
  background: var(--text-muted);
  width: 4px;
  height: 4px;
  top: 13px;
}

.policy-definitions {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.policy-definitions dt {
  color: var(--text-primary);
  font-weight: 600;
  font-size: 0.95rem;
}

.policy-definitions dd {
  color: var(--text-secondary);
  line-height: 1.8;
  margin-left: 0;
  padding-left: 20px;
  border-left: 2px solid rgba(45, 212, 191, 0.15);
}

/* === Contact === */
.contact {
  padding: 60px 0;
}

.contact-form-wrapper {
  max-width: 660px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 20px;
  padding: 48px 40px;
  text-align: center;
}

.contact-form-wrapper h2 {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.contact-form-wrapper > p {
  color: var(--text-muted);
  margin-bottom: 36px;
  font-size: 0.95rem;
}

.contact-form {
  text-align: left;
}

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

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

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

.optional {
  font-weight: 400;
  color: var(--text-muted);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-card);
  border-radius: 10px;
  font-size: 0.9rem;
  color: var(--text-primary);
  font-family: var(--font-sans);
  transition: border-color 0.2s;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-muted);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent-teal);
}

.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

.form-group select option {
  background: var(--bg-card);
  color: var(--text-primary);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

/* === Footer === */
.footer {
  padding: 60px 0 0;
  background: #000000;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.2fr 2fr;
  gap: 60px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-brand .logo {
  margin-bottom: 16px;
}

.footer-tagline {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 300px;
}

.footer-nav-group {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-nav h4 {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
  letter-spacing: 0.5px;
}

.footer-nav a {
  font-size: 0.85rem;
  color: var(--text-muted);
  transition: color 0.2s;
}

.footer-nav a:hover {
  color: var(--accent-teal);
}

.footer-bottom {
  padding: 24px 0;
}

.footer-copy {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-align: center;
}

.footer-credentials {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-align: center;
  margin-top: 6px;
  opacity: 0.8;
}

/* ==================================
   COOKIE CONSENT OVERRIDES
   ================================== */

#cc-main {
  --cc-bg: #f5f5f5;
  --cc-primary-color: #1a1a1a;
  --cc-secondary-color: #555555;
  --cc-btn-primary-bg: #2dd4bf;
  --cc-btn-primary-text: #0b1120;
  --cc-btn-primary-hover-bg: #25b8a6;
  --cc-btn-secondary-bg: #e0e0e0;
  --cc-btn-secondary-text: #1a1a1a;
  --cc-btn-secondary-hover-bg: #d0d0d0;
  --cc-separator-border-color: #ddd;
  --cc-cookie-category-block-bg: #ebebeb;
  --cc-cookie-category-block-hover-bg: #e0e0e0;
  --cc-toggle-on-bg: #2dd4bf;
  --cc-section-category-border: #ddd;
  --cc-font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

#cc-main a {
  color: #0e9b8a;
}

#cc-main a:hover {
  color: #0c7d6f;
}

/* ==================================
   RESPONSIVE BREAKPOINTS
   ================================== */

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

  .process-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .hero h1 {
    font-size: 3.2rem;
  }

  .section-title {
    font-size: 2.4rem;
  }

  .nav {
    gap: 20px;
  }

  .nav-cta {
    padding: 8px 16px;
  }
}

/* Tablet footer */
@media (max-width: 900px) {
  .footer-top {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* Small tablet / large mobile: 640px and below */
@media (max-width: 640px) {
  .logo-img {
    height: 70px;
  }

  .mobile-menu-btn {
    display: flex;
  }

  .nav {
    position: fixed;
    top: 0;
    right: 0;
    width: 280px;
    height: 100vh;
    background: var(--bg-secondary);
    flex-direction: column;
    justify-content: center;
    gap: 24px;
    padding: 40px;
    border-left: 1px solid var(--border-card);
    transition: transform 0.35s ease;
    z-index: 105;
    transform: translateX(100%);
  }

  .nav.open {
    transform: translateX(0);
  }

  .nav a {
    font-size: 1.1rem;
  }

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

/* Tablet and below: 768px */
@media (max-width: 768px) {
  .hero {
    padding: 60px 0 80px;
  }

  .hero h1 {
    font-size: 2.2rem;
  }

  .hero-sub {
    font-size: 1rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .section-sub {
    margin-bottom: 40px;
  }

  .services,
  .why-us,
  .process,
  .quote-section,
  .contact {
    padding: 50px 0;
  }

  .credentials {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }

  .credential-item {
    font-size: 0.85rem;
  }

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

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

  .quote-card blockquote p {
    font-size: 1.35rem;
  }

  .contact-form-wrapper {
    padding: 36px 28px;
  }

  .contact-form-wrapper h2 {
    font-size: 1.8rem;
  }
}

/* Mobile: 480px and below */
@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  .hero {
    padding: 40px 0 60px;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .badge {
    font-size: 0.7rem;
    padding: 6px 14px;
  }

  .hero-sub {
    font-size: 0.9rem;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .hero-buttons .btn {
    width: 100%;
    max-width: 280px;
  }

  .section-title {
    font-size: 1.7rem;
  }

  .section-label {
    font-size: 0.7rem;
  }

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

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

  .services,
  .why-us,
  .process,
  .quote-section,
  .contact {
    padding: 40px 0;
  }

  .why-card {
    flex-direction: column;
    gap: 12px;
    padding: 24px;
  }

  .why-number {
    font-size: 2rem;
  }

  .quote-card {
    padding: 32px 28px 28px;
  }

  .quote-card blockquote {
    padding-left: 28px;
  }

  .quote-card blockquote::before {
    font-size: 3.5rem;
    left: -4px;
    top: -10px;
  }

  .quote-card blockquote p {
    font-size: 1.15rem;
  }

  .quote-author {
    padding-left: 28px;
  }

  .footer-nav-group {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }

  .footer {
    padding: 40px 0 0;
  }

  .footer-top {
    gap: 32px;
    padding-bottom: 32px;
  }

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

  .contact-form-wrapper {
    padding: 28px 20px;
  }

  .contact-form-wrapper h2 {
    font-size: 1.5rem;
  }
}
