/* ==========================================================================
   IT Opener — Global Stylesheet
   ========================================================================== */

:root {
  --color-bg: #f8fafc;
  --color-bg-alt: #eef2f9;
  --color-surface: #ffffff;
  --color-text: #1b2436;
  --color-text-muted: #5b6579;
  --color-border: #e3e8f0;

  --color-navy: #0b1120;
  --color-navy-800: #101a30;
  --color-navy-700: #16223e;

  --color-primary: #2563eb;
  --color-primary-dark: #1d4ed8;
  --color-accent: #06b6d4;

  --gradient-brand: linear-gradient(135deg, #2563eb 0%, #06b6d4 100%);
  --gradient-dark: linear-gradient(160deg, #0b1120 0%, #16223e 60%, #12283a 100%);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-full: 999px;

  --shadow-sm: 0 1px 2px rgba(16, 24, 40, 0.06);
  --shadow-md: 0 8px 24px rgba(16, 24, 40, 0.08);
  --shadow-lg: 0 20px 45px rgba(16, 24, 40, 0.14);

  --container: 1160px;
  --nav-height: 76px;

  --font-base: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-base);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img,
svg {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1, h2, h3, h4 {
  margin: 0;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.02em;
}

p {
  margin: 0;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

section {
  padding: 96px 0;
}

.section-tight {
  padding: 64px 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-primary);
  background: rgba(37, 99, 235, 0.08);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 18px;
}

.section-head {
  max-width: 640px;
  margin-bottom: 56px;
}

.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-head h2 {
  font-size: clamp(28px, 4vw, 40px);
  margin-bottom: 16px;
}

.section-head p {
  color: var(--color-text-muted);
  font-size: 17px;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 15px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
  white-space: nowrap;
}

.btn svg {
  width: 16px;
  height: 16px;
}

.btn-primary {
  background: var(--gradient-brand);
  color: #fff;
  box-shadow: 0 10px 24px rgba(37, 99, 235, 0.28);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(37, 99, 235, 0.34);
}

.btn-ghost {
  background: transparent;
  color: var(--color-text);
  border-color: var(--color-border);
}

.btn-ghost:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.btn-light {
  background: #fff;
  color: var(--color-navy);
}

.btn-light:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-outline-light {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.35);
}

.btn-outline-light:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.btn-block {
  width: 100%;
}

/* ---------- Navbar ---------- */

.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  background: rgba(248, 250, 252, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.navbar.is-scrolled {
  border-bottom-color: var(--color-border);
  box-shadow: 0 6px 20px rgba(16, 24, 40, 0.05);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 19px;
  color: var(--color-navy);
}

.brand-mark {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--gradient-brand);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.brand-mark svg {
  width: 20px;
  height: 20px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 34px;
}

.nav-links a {
  font-size: 15px;
  font-weight: 600;
  color: var(--color-text-muted);
  position: relative;
  padding: 6px 0;
  transition: color 0.15s ease;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--color-navy);
}

.nav-mobile-cta {
  display: none;
}

.nav-links a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 2px;
  border-radius: 2px;
  background: var(--gradient-brand);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-border);
  background: #fff;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  display: block;
  width: 18px;
  height: 2px;
  background: var(--color-navy);
  position: relative;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle span::before {
  position: absolute;
  top: -6px;
}

.nav-toggle span::after {
  position: absolute;
  top: 6px;
}

.nav-toggle[aria-expanded="true"] span {
  background: transparent;
}

.nav-toggle[aria-expanded="true"] span::before {
  top: 0;
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span::after {
  top: 0;
  transform: rotate(-45deg);
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  background: var(--gradient-dark);
  color: #fff;
  padding: 120px 0 100px;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(600px circle at 85% 10%, rgba(6, 182, 212, 0.25), transparent 60%),
    radial-gradient(500px circle at 5% 90%, rgba(37, 99, 235, 0.3), transparent 60%);
  pointer-events: none;
}

.hero .container {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}

.hero-content .eyebrow {
  background: rgba(255, 255, 255, 0.1);
  color: #bcd4ff;
}

.hero h1 {
  font-size: clamp(34px, 5vw, 54px);
  margin-bottom: 22px;
}

.hero h1 .highlight {
  background: linear-gradient(135deg, #7dd3fc, #38bdf8 40%, #22d3ee);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero p.lead {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.78);
  max-width: 520px;
  margin-bottom: 34px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.hero-stats {
  display: flex;
  gap: 36px;
  flex-wrap: wrap;
}

.hero-stats div strong {
  display: block;
  font-size: 26px;
  font-weight: 800;
}

.hero-stats div span {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
}

.hero-visual {
  position: relative;
}

.hero-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  padding: 28px;
  backdrop-filter: blur(6px);
}

.hero-card-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-card-row:last-child {
  border-bottom: none;
}

.hero-card-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: var(--gradient-brand);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hero-card-icon svg {
  width: 20px;
  height: 20px;
  color: #fff;
}

.hero-card-row strong {
  display: block;
  font-size: 15px;
}

.hero-card-row span {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
}

.hero-badge {
  position: absolute;
  top: -22px;
  right: 10px;
  z-index: 2;
  background: #fff;
  color: var(--color-navy);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 10px;
}

.hero-badge strong {
  display: block;
  font-size: 18px;
}

.hero-badge span {
  font-size: 12px;
  color: var(--color-text-muted);
}

/* ---------- Logos strip ---------- */

.logo-strip {
  padding: 40px 0;
  border-bottom: 1px solid var(--color-border);
}

.logo-strip p {
  text-align: center;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: 24px;
}

.logo-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 28px;
  opacity: 0.6;
}

.logo-row span {
  font-weight: 800;
  font-size: 18px;
  color: var(--color-text-muted);
  letter-spacing: -0.01em;
}

/* ---------- Cards / Grids ---------- */

.grid {
  display: grid;
  gap: 26px;
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

.card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(37, 99, 235, 0.25);
}

.card-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--gradient-brand);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.card-icon svg {
  width: 26px;
  height: 26px;
  color: #fff;
}

.card h3 {
  font-size: 19px;
  margin-bottom: 10px;
}

.card p {
  color: var(--color-text-muted);
  font-size: 15px;
  margin-bottom: 16px;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 700;
  color: var(--color-primary);
}

.card-link svg {
  width: 14px;
  height: 14px;
  transition: transform 0.15s ease;
}

.card:hover .card-link svg {
  transform: translateX(3px);
}

.services-section {
  background: var(--color-bg-alt);
}

/* ---------- Why us / feature list ---------- */

.why-wrap {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 64px;
  align-items: center;
}

.feature-list {
  display: grid;
  gap: 22px;
}

.feature-item {
  display: flex;
  gap: 16px;
}

.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(37, 99, 235, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.feature-icon svg {
  width: 22px;
  height: 22px;
  color: var(--color-primary);
}

.feature-item h4 {
  font-size: 16px;
  margin-bottom: 6px;
}

.feature-item p {
  color: var(--color-text-muted);
  font-size: 14.5px;
}

.why-visual {
  position: relative;
  border-radius: var(--radius-lg);
  background: var(--gradient-dark);
  padding: 40px;
  color: #fff;
  overflow: hidden;
}

.why-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(420px circle at 80% 0%, rgba(6, 182, 212, 0.35), transparent 60%);
}

.stat-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.stat-grid .stat strong {
  display: block;
  font-size: 34px;
  font-weight: 800;
  background: linear-gradient(135deg, #7dd3fc, #22d3ee);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.stat-grid .stat span {
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.65);
}

/* ---------- Process ---------- */

.process-section {
  background: var(--color-navy);
  color: #fff;
}

.process-section .section-head p {
  color: rgba(255, 255, 255, 0.62);
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}

.process-step {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  position: relative;
}

.process-step .step-num {
  font-size: 13px;
  font-weight: 800;
  color: #67e8f9;
  letter-spacing: 0.08em;
  margin-bottom: 14px;
  display: block;
}

.process-step h4 {
  font-size: 17px;
  margin-bottom: 10px;
}

.process-step p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.62);
}

/* ---------- Testimonials ---------- */

.testimonial-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 30px;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.testimonial-stars {
  display: flex;
  gap: 4px;
  margin-bottom: 16px;
  color: #f59e0b;
}

.testimonial-stars svg {
  width: 16px;
  height: 16px;
}

.testimonial-card p.quote {
  font-size: 15.5px;
  color: var(--color-text);
  margin-bottom: 22px;
  flex-grow: 1;
}

.testimonial-person {
  display: flex;
  align-items: center;
  gap: 12px;
}

.avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gradient-brand);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  flex-shrink: 0;
}

.testimonial-person strong {
  display: block;
  font-size: 14.5px;
}

.testimonial-person span {
  font-size: 13px;
  color: var(--color-text-muted);
}

/* ---------- CTA banner ---------- */

.cta-banner {
  background: var(--gradient-brand);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

.cta-banner h2 {
  font-size: clamp(24px, 3.4vw, 32px);
  margin-bottom: 10px;
}

.cta-banner p {
  color: rgba(255, 255, 255, 0.85);
  max-width: 460px;
}

.cta-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* ---------- Footer ---------- */

.site-footer {
  background: var(--color-navy);
  color: rgba(255, 255, 255, 0.7);
  padding: 80px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand .brand {
  color: #fff;
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: 14.5px;
  max-width: 300px;
  margin-bottom: 20px;
}

.social-row {
  display: flex;
  gap: 10px;
}

.social-row a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s ease, transform 0.15s ease;
}

.social-row a:hover {
  background: var(--gradient-brand);
  transform: translateY(-2px);
}

.social-row svg {
  width: 16px;
  height: 16px;
  color: #fff;
}

.footer-col h5 {
  color: #fff;
  font-size: 14px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.footer-col li {
  margin-bottom: 12px;
}

.footer-col a {
  font-size: 14.5px;
  color: rgba(255, 255, 255, 0.65);
  transition: color 0.15s ease;
}

.footer-col a:hover {
  color: #fff;
}

.footer-contact li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 14.5px;
  color: rgba(255, 255, 255, 0.7);
}

.footer-contact svg {
  width: 18px;
  height: 18px;
  color: #67e8f9;
  flex-shrink: 0;
  margin-top: 2px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
  font-size: 13.5px;
  flex-wrap: wrap;
  gap: 10px;
}

.footer-bottom-links {
  display: flex;
  gap: 20px;
}

/* ---------- Page hero (inner pages) ---------- */

.page-hero {
  background: var(--gradient-dark);
  color: #fff;
  padding: 72px 0;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(500px circle at 90% 20%, rgba(6, 182, 212, 0.28), transparent 60%);
}

.page-hero .container {
  position: relative;
}

.breadcrumb {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 18px;
}

.breadcrumb a {
  color: rgba(255, 255, 255, 0.75);
}

.page-hero h1 {
  font-size: clamp(30px, 4.4vw, 44px);
  max-width: 700px;
  margin-bottom: 16px;
}

.page-hero p {
  color: rgba(255, 255, 255, 0.72);
  max-width: 600px;
  font-size: 17px;
}

/* ---------- About page ---------- */

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.about-visual {
  background: var(--color-bg-alt);
  border-radius: var(--radius-lg);
  padding: 36px;
  border: 1px solid var(--color-border);
}

.timeline {
  display: grid;
  gap: 0;
}

.timeline-item {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 20px;
  padding-bottom: 32px;
  position: relative;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: 105px;
  top: 30px;
  bottom: 0;
  width: 1px;
  background: var(--color-border);
}

.timeline-item:last-child::before {
  display: none;
}

.timeline-year {
  font-weight: 800;
  color: var(--color-primary);
  font-size: 15px;
  padding-top: 2px;
}

.timeline-item h4 {
  font-size: 16.5px;
  margin-bottom: 6px;
}

.timeline-item p {
  color: var(--color-text-muted);
  font-size: 14.5px;
}

.value-card {
  text-align: left;
}

.team-card {
  text-align: center;
}

.team-photo {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  margin: 0 auto 18px;
  background: var(--gradient-brand);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 800;
  font-size: 26px;
}

.team-card h4 {
  font-size: 16.5px;
  margin-bottom: 4px;
}

.team-card span {
  font-size: 13.5px;
  color: var(--color-primary);
  font-weight: 600;
}

/* ---------- Services page ---------- */

.service-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  padding: 64px 0;
  border-bottom: 1px solid var(--color-border);
}

.service-block:last-child {
  border-bottom: none;
}

.service-block.reverse .service-media {
  order: 2;
}

.service-media {
  background: var(--color-bg-alt);
  border-radius: var(--radius-lg);
  padding: 40px;
  border: 1px solid var(--color-border);
}

.service-media .card-icon {
  width: 64px;
  height: 64px;
  margin-bottom: 26px;
}

.service-media .card-icon svg {
  width: 32px;
  height: 32px;
}

.check-list {
  display: grid;
  gap: 12px;
  margin-top: 20px;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 15px;
  color: var(--color-text);
}

.check-list svg {
  width: 18px;
  height: 18px;
  color: var(--color-primary);
  flex-shrink: 0;
  margin-top: 2px;
}

.service-content .eyebrow {
  margin-bottom: 14px;
}

.service-content h2 {
  font-size: 26px;
  margin-bottom: 14px;
}

.service-content p {
  color: var(--color-text-muted);
  font-size: 15.5px;
}

/* ---------- Pricing ---------- */

.pricing-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 34px 28px;
  display: flex;
  flex-direction: column;
  position: relative;
}

.pricing-card.featured {
  border-color: var(--color-primary);
  box-shadow: var(--shadow-lg);
  transform: scale(1.03);
}

.pricing-badge {
  position: absolute;
  top: -14px;
  right: 28px;
  background: var(--gradient-brand);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: var(--radius-full);
}

.pricing-card h3 {
  font-size: 19px;
  margin-bottom: 6px;
}

.pricing-card .price {
  font-size: 34px;
  font-weight: 800;
  margin: 16px 0 4px;
}

.pricing-card .price span {
  font-size: 14px;
  font-weight: 500;
  color: var(--color-text-muted);
}

.pricing-card > p {
  color: var(--color-text-muted);
  font-size: 14.5px;
  margin-bottom: 24px;
}

.pricing-card .check-list {
  margin-bottom: 28px;
  flex-grow: 1;
}

.pricing-card .check-list li {
  font-size: 14.5px;
}

/* ---------- FAQ ---------- */

.faq-list {
  display: grid;
  gap: 14px;
  max-width: 780px;
  margin: 0 auto;
}

.faq-item {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 15.5px;
  font-weight: 700;
  color: var(--color-text);
  text-align: left;
}

.faq-question svg {
  width: 18px;
  height: 18px;
  color: var(--color-primary);
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.faq-item.open .faq-question svg {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease, padding 0.25s ease;
  padding: 0 24px;
}

.faq-item.open .faq-answer {
  max-height: 300px;
  padding: 0 24px 22px;
}

.faq-answer p {
  color: var(--color-text-muted);
  font-size: 14.5px;
}

/* ---------- Contact page ---------- */

.contact-wrap {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 48px;
  align-items: start;
}

.contact-info-card {
  background: var(--color-navy);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  position: relative;
  overflow: hidden;
}

.contact-info-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(400px circle at 100% 0%, rgba(6, 182, 212, 0.3), transparent 60%);
}

.contact-info-card h3 {
  position: relative;
  font-size: 20px;
  margin-bottom: 8px;
}

.contact-info-card > p {
  position: relative;
  color: rgba(255, 255, 255, 0.65);
  font-size: 14.5px;
  margin-bottom: 28px;
}

.contact-info-list {
  position: relative;
  display: grid;
  gap: 22px;
  margin-bottom: 30px;
}

.contact-info-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.contact-info-list .feature-icon {
  background: rgba(255, 255, 255, 0.1);
}

.contact-info-list .feature-icon svg {
  color: #67e8f9;
}

.contact-info-list strong {
  display: block;
  font-size: 14.5px;
  margin-bottom: 3px;
}

.contact-info-list span,
.contact-info-list a {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.65);
}

.contact-form-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 40px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.field {
  margin-bottom: 20px;
}

.field label {
  display: block;
  font-size: 13.5px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--color-text);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 13px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-border);
  background: var(--color-bg);
  font-family: inherit;
  font-size: 14.5px;
  color: var(--color-text);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.field textarea {
  resize: vertical;
  min-height: 130px;
}

.field-error {
  display: none;
  color: #dc2626;
  font-size: 12.5px;
  margin-top: 6px;
}

.field.has-error input,
.field.has-error select,
.field.has-error textarea {
  border-color: #dc2626;
}

.field.has-error .field-error {
  display: block;
}

.form-note {
  font-size: 12.5px;
  color: var(--color-text-muted);
  margin-top: 14px;
}

.form-success {
  display: none;
  align-items: center;
  gap: 12px;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: #047857;
  padding: 16px 18px;
  border-radius: var(--radius-sm);
  font-size: 14.5px;
  font-weight: 600;
  margin-bottom: 20px;
}

.form-success.show {
  display: flex;
}

.form-success svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.map-wrap {
  margin-top: 56px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-border);
  height: 320px;
  background: var(--color-bg-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-muted);
  font-size: 14.5px;
  gap: 10px;
}

.map-wrap svg {
  width: 22px;
  height: 22px;
  color: var(--color-primary);
}

/* ---------- 404 ---------- */

.error-page {
  min-height: calc(100vh - var(--nav-height));
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 24px;
}

.error-page .code {
  font-size: 110px;
  font-weight: 800;
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1;
}

.error-page h1 {
  font-size: 26px;
  margin: 14px 0 12px;
}

.error-page p {
  color: var(--color-text-muted);
  max-width: 420px;
  margin: 0 auto 28px;
}

/* ---------- Reveal animation ---------- */

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Back to top ---------- */

.back-to-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--gradient-brand);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 900;
  cursor: pointer;
  border: none;
}

.back-to-top.show {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.back-to-top svg {
  width: 20px;
  height: 20px;
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 980px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .why-wrap,
  .about-grid,
  .contact-wrap { grid-template-columns: 1fr; }
  .hero .container { grid-template-columns: 1fr; }
  .hero-visual { order: -1; }
  .process-steps { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .service-block,
  .service-block.reverse { grid-template-columns: 1fr; }
  .service-block.reverse .service-media { order: 0; }
}

@media (max-width: 720px) {
  .nav-links,
  .nav-actions .btn { display: none; }
  .nav-toggle { display: flex; }
  .navbar.menu-open .nav-links {
    display: flex;
    position: absolute;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 24px 28px;
    gap: 18px;
    border-bottom: 1px solid var(--color-border);
    box-shadow: var(--shadow-md);
  }
  .nav-mobile-cta {
    display: none;
  }
  .navbar.menu-open .nav-mobile-cta {
    display: inline-flex;
    margin-top: 6px;
  }
  section { padding: 64px 0; }
  .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .cta-banner { padding: 36px 28px; flex-direction: column; text-align: center; }
  .cta-actions { justify-content: center; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .hero { padding: 90px 0 70px; }
  .hero-badge { position: static; margin-bottom: 20px; display: inline-flex; }
}
