:root {
  --navy: #0d1b2a;
  --royal: #0066ff;
  --cyan: #00d4ff;
  --white: #ffffff;
  --light: #f4f7fb;
  --text: #4a5568;
  --heading: #0d1b2a;
  --radius: 8px;
  --shadow: 0 10px 40px rgba(13, 27, 42, 0.08);
  --font-sans: "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-serif: Georgia, "Times New Roman", serif;
}

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

html {
  scroll-behavior: smooth;
}

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

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--text);
  line-height: 1.65;
  background: var(--white);
}

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

a {
  color: var(--royal);
  text-decoration: none;
  transition: color 0.2s;
}

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

h1,
h2,
h3,
h4,
h5 {
  color: var(--heading);
  line-height: 1.25;
  margin-top: 0;
}

.container {
  width: min(1200px, 92%);
  margin: 0 auto;
}

.section {
  padding: 90px 0;
}

.section-light {
  background: var(--light);
}

.section-navy {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.85);
}

.section-navy h2,
.section-navy h3 {
  color: var(--white);
}

.section-title {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 50px;
}

.section-title h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 3vw, 2.35rem);
  margin-bottom: 12px;
}

.section-title p {
  margin: 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}

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

.btn-primary:hover {
  background: #0052cc;
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(0, 102, 255, 0.35);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--white);
  color: var(--white);
}

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

.btn-cyan {
  background: var(--cyan);
  color: var(--navy);
}

/* Top bar */
.top-bar {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.85rem;
  padding: 10px 0;
}

.top-bar-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.top-bar a {
  color: rgba(255, 255, 255, 0.9);
}

.top-bar a:hover {
  color: var(--cyan);
}

.top-contacts {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.top-social {
  display: flex;
  gap: 12px;
}

.top-social a {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
}

/* Header */
.site-header {
  background: var(--white);
  box-shadow: 0 2px 20px rgba(13, 27, 42, 0.06);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 0;
}

.logo img {
  height: 44px;
  width: auto;
}

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

.main-nav a {
  color: var(--heading);
  font-weight: 500;
  font-size: 0.95rem;
}

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

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--navy);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.search-btn {
  background: none;
  border: none;
  font-size: 1.1rem;
  cursor: pointer;
  color: var(--navy);
}

/* Hero */
.hero {
  position: relative;
  min-height: 580px;
  display: flex;
  align-items: center;
  background: var(--navy);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(13, 27, 42, 0.75) 0%, rgba(13, 27, 42, 0.35) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 80px 0 140px;
  max-width: 620px;
  color: var(--white);
}

.hero-content h1 {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  color: var(--white);
  margin-bottom: 20px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}

.play-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 2px solid var(--cyan);
  background: rgba(0, 212, 255, 0.15);
  color: var(--cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.hero-cards {
  position: relative;
  z-index: 5;
  margin-top: -80px;
  margin-bottom: 40px;
}

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

.hero-card {
  background: var(--white);
  padding: 28px 24px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.hero-card-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--royal), var(--cyan));
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--white);
  font-size: 1.4rem;
}

.hero-card h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.hero-card p {
  margin: 0;
  font-size: 0.9rem;
}

/* About block */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.about-content h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 24px 0;
}

.check-list li {
  padding-left: 28px;
  position: relative;
  margin-bottom: 10px;
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--royal);
  font-weight: 700;
}

.about-media {
  position: relative;
}

.about-media img {
  border-radius: var(--radius);
  width: 100%;
}

.experience-badge {
  position: absolute;
  bottom: 24px;
  left: -20px;
  background: var(--royal);
  color: var(--white);
  padding: 20px 24px;
  border-radius: var(--radius);
  text-align: center;
  box-shadow: var(--shadow);
}

.experience-badge strong {
  display: block;
  font-size: 2rem;
  line-height: 1;
}

.stats-row {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 30px;
}

.stat-item strong {
  display: block;
  font-size: 1.75rem;
  color: var(--royal);
}

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

.service-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(0, 212, 255, 0.15);
  padding: 28px 22px;
  border-radius: var(--radius);
  transition: transform 0.2s, border-color 0.2s;
}

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

.service-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(0, 212, 255, 0.12);
  border: 1px solid rgba(0, 212, 255, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 16px;
  box-shadow: 0 0 20px rgba(0, 212, 255, 0.25);
}

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

.service-card p {
  margin: 0;
  font-size: 0.88rem;
}

/* Work together */
.work-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: start;
}

.work-grid img {
  border-radius: var(--radius);
}

.accordion-item {
  border-bottom: 1px solid #e2e8f0;
}

.accordion-header {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 18px 0;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--heading);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.accordion-body-inner {
  padding-bottom: 18px;
}

.accordion-item.active .accordion-body {
  max-height: 400px;
}

/* CTA strip */
.cta-strip {
  background: var(--navy);
  padding: 36px 0;
}

.cta-strip-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: var(--white);
}

.cta-strip h3 {
  color: var(--white);
  margin: 0;
  font-family: var(--font-serif);
}

/* Partners */
.partners-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
  opacity: 0.45;
  filter: grayscale(1);
  padding: 40px 0;
}

.partner-icon {
  font-size: 2rem;
  color: var(--navy);
}

/* Quote section */
.quote-section {
  background: var(--light);
}

.quote-grid {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 50px;
  align-items: center;
}

.quote-image-wrap {
  position: relative;
  width: 280px;
  margin: 0 auto;
}

.quote-image-wrap img {
  width: 260px;
  height: 260px;
  object-fit: cover;
  border-radius: 50%;
  margin: 0 auto;
}

.quote-image-wrap::before {
  content: "";
  position: absolute;
  inset: -12px;
  border: 2px dashed var(--cyan);
  border-radius: 50%;
  pointer-events: none;
}

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group.full {
  grid-column: 1 / -1;
}

.form-group label {
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--heading);
}

.form-group input:not([type="checkbox"]),
.form-group select,
.form-group textarea {
  padding: 14px 16px;
  border: 1px solid #d1d9e6;
  border-radius: var(--radius);
  font: inherit;
  background: var(--white);
}

.form-group input:not([type="checkbox"]):focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: 2px solid rgba(0, 102, 255, 0.35);
  border-color: var(--royal);
}

.form-group.error input:not([type="checkbox"]),
.form-group.error select,
.form-group.error textarea {
  border-color: #e53e3e;
}

.field-error {
  color: #e53e3e;
  font-size: 0.8rem;
  min-height: 1em;
}

.checkbox-group {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  column-gap: 12px;
  row-gap: 6px;
  align-items: start;
  grid-column: 1 / -1;
}

/* Override .form-group column flex on consent rows */
.checkbox-group.form-group {
  flex-direction: unset;
}

.checkbox-group input[type="checkbox"] {
  grid-column: 1;
  grid-row: 1;
  width: 18px;
  height: 18px;
  margin: 0.2em 0 0;
  padding: 0;
  border: none;
  border-radius: 4px;
  flex-shrink: 0;
  accent-color: var(--royal);
  cursor: pointer;
  justify-self: start;
}

.checkbox-group label {
  grid-column: 2;
  grid-row: 1;
  font-weight: 400;
  font-size: 0.9rem;
  line-height: 1.55;
  cursor: pointer;
  margin: 0;
}

.checkbox-group .field-error {
  grid-column: 1 / -1;
  grid-row: 2;
  padding-left: 34px;
  margin: 0;
}

.checkbox-group.error input[type="checkbox"] {
  outline: 2px solid #e53e3e;
  outline-offset: 1px;
}

.form-success {
  display: none;
  background: #ecfdf5;
  border: 1px solid #6ee7b7;
  color: #065f46;
  padding: 16px 20px;
  border-radius: var(--radius);
  margin-top: 16px;
  grid-column: 1 / -1;
}

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

/* Process */
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}

.process-step {
  text-align: center;
  position: relative;
}

.step-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 1.5rem;
  color: var(--royal);
  box-shadow: var(--shadow);
}

/* Testimonials */
.testimonial-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 50px;
}

.testimonial-cards {
  display: grid;
  gap: 24px;
}

.testimonial-card {
  background: var(--white);
  padding: 24px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: flex;
  gap: 16px;
}

.testimonial-card img {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  object-fit: cover;
}

.stars {
  color: #f59e0b;
  letter-spacing: 2px;
  font-size: 0.85rem;
}

/* Blog */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.blog-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

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

.blog-card-body {
  padding: 22px;
}

.blog-meta {
  font-size: 0.8rem;
  color: var(--royal);
  margin-bottom: 8px;
}

/* Page banner */
.page-banner {
  background: linear-gradient(135deg, var(--navy) 0%, #1a3a5c 100%);
  padding: 70px 0;
  text-align: center;
  color: var(--white);
}

.page-banner h1 {
  font-family: var(--font-serif);
  color: var(--white);
  font-size: clamp(2rem, 4vw, 2.75rem);
  margin-bottom: 12px;
}

.breadcrumb {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 0.9rem;
}

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

.breadcrumb span {
  opacity: 0.7;
}

/* Cards grid generic */
.card-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.card-box {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

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

.card-box-body {
  padding: 22px;
}

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

.team-member {
  text-align: center;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.team-member img {
  width: 100%;
  height: 260px;
  object-fit: cover;
}

.team-member-body {
  padding: 20px;
}

.team-member-body span {
  color: var(--royal);
  font-size: 0.88rem;
}

/* Pricing */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.pricing-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px 28px;
  box-shadow: var(--shadow);
  border: 2px solid transparent;
  text-align: center;
}

.pricing-card.featured {
  border-color: var(--royal);
  transform: scale(1.03);
}

.pricing-price {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--royal);
}

.pricing-card ul {
  list-style: none;
  padding: 0;
  margin: 24px 0;
  text-align: left;
}

.pricing-card li {
  padding: 8px 0 8px 24px;
  position: relative;
  border-bottom: 1px solid #edf2f7;
}

.pricing-card li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--royal);
}

/* Legal content */
.legal-content {
  max-width: 900px;
  margin: 0 auto;
}

.legal-content h2 {
  font-size: 1.35rem;
  margin-top: 2rem;
}

.legal-content h3 {
  font-size: 1.1rem;
  margin-top: 1.5rem;
}

/* Footer */
.site-footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.75);
  padding-top: 70px;
}

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

.footer-grid h4 {
  color: var(--white);
  margin-bottom: 20px;
  font-size: 1.1rem;
}

.footer-about p {
  font-size: 0.92rem;
}

.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

.footer-social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 0.8rem;
}

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

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.75);
}

.footer-links a:hover {
  color: var(--cyan);
}

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

.footer-gallery img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 4px;
}

.newsletter-form {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin-top: 12px;
}

.newsletter-form .form-success {
  flex: 1 1 100%;
}

.newsletter-form input {
  flex: 1;
  padding: 12px 14px;
  border: none;
  border-radius: var(--radius) 0 0 var(--radius);
  font: inherit;
}

.newsletter-form button {
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 12px 18px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 50px;
  padding: 22px 0;
  text-align: center;
  font-size: 0.88rem;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-top: 10px;
}

.footer-legal a {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.85rem;
}

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

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

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

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

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

  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 20px;
    box-shadow: var(--shadow);
    display: none;
  }

  .main-nav.open {
    display: flex;
  }

  .header-actions .btn-primary {
    display: none;
  }

  .hero-cards-grid,
  .about-grid,
  .work-grid,
  .quote-grid,
  .testimonial-grid,
  .form-grid,
  .blog-grid,
  .card-grid-3,
  .pricing-grid {
    grid-template-columns: 1fr;
  }

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

  .experience-badge {
    left: 10px;
  }

  .quote-image-wrap {
    margin-bottom: 30px;
  }

  .pricing-card.featured {
    transform: none;
  }

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