/* JFAWYA Educational Consultant */

:root {
  --red: #990000;
  --red-dark: #7a0000;
  --red-deep: #5c0000;
  --red-light: #c41e1e;
  --red-soft: #fde8e8;
  --red-glow: rgba(153, 0, 0, 0.18);
  --black: #0a0a0a;
  --black-soft: #171717;
  --bg: #ffffff;
  --surface: #f8f8f8;
  --surface-2: #f0f0f0;
  --text: #0a0a0a;
  --text-muted: #525252;
  --border: #e5e5e5;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 20px 50px rgba(10, 10, 10, 0.08);
  --shadow-red: 0 20px 50px rgba(153, 0, 0, 0.15);
  --font-serif: "Libre Baskerville", Georgia, serif;
  --font-sans: "Montserrat", system-ui, sans-serif;
  --max: 1140px;
  --gradient-red: linear-gradient(135deg, var(--red-light) 0%, var(--red) 50%, var(--red-dark) 100%);
  --gradient-dark: linear-gradient(135deg, #1a1a1a 0%, var(--black) 100%);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

.container {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

/* Top accent bar */

.top-bar {
  height: 4px;
  background: var(--gradient-red);
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 84px;
}

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

.logo-img {
  height: 76px;
  width: auto;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.logo:hover .logo-img {
  transform: scale(1.03);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

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

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--red);
}

.nav-cta {
  padding: 0.65rem 1.35rem;
  border-radius: 999px;
  background: var(--gradient-red);
  color: #fff !important;
  box-shadow: 0 4px 16px var(--red-glow);
}

.nav-cta:hover,
.nav-cta:focus-visible {
  background: var(--red-dark);
  color: #fff !important;
}

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

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--black);
  border-radius: 2px;
  transition: transform 0.2s, opacity 0.2s;
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 1.6rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s, background 0.2s, border-color 0.2s, box-shadow 0.2s;
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background: var(--gradient-red);
  color: #fff;
  box-shadow: 0 8px 24px var(--red-glow);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  box-shadow: 0 12px 32px rgba(153, 0, 0, 0.3);
}

.btn-secondary {
  background: transparent;
  border-color: var(--black);
  color: var(--black);
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
  border-color: var(--red);
  color: var(--red);
}

.btn-whatsapp {
  background: #25d366;
  color: #fff;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.25);
}

.btn-whatsapp:hover,
.btn-whatsapp:focus-visible {
  background: #1fb855;
  color: #fff;
}

.btn-light {
  background: #fff;
  color: var(--red);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.btn-light:hover,
.btn-light:focus-visible {
  background: var(--red-soft);
}

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

.btn-full {
  width: 100%;
}

/* Hero */

.hero {
  position: relative;
  padding: 4rem 0 5rem;
  overflow: hidden;
  background: linear-gradient(160deg, #fff 0%, #fafafa 40%, #fff5f5 100%);
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.45;
}

.hero-orb-1 {
  width: 420px;
  height: 420px;
  top: -120px;
  right: -80px;
  background: rgba(153, 0, 0, 0.12);
}

.hero-orb-2 {
  width: 300px;
  height: 300px;
  bottom: -60px;
  left: -60px;
  background: rgba(10, 10, 10, 0.06);
}

.hero-grid-pattern {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(153, 0, 0, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(153, 0, 0, 0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, black 20%, transparent 70%);
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3.5rem;
  align-items: center;
}

.hero-label {
  display: inline-block;
  margin: 0 0 1rem;
  padding: 0.4rem 0.9rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--red);
  background: var(--red-soft);
  border-radius: 999px;
  border: 1px solid rgba(153, 0, 0, 0.12);
}

.hero h1 {
  margin: 0 0 1.25rem;
  font-family: var(--font-serif);
  font-size: clamp(2.1rem, 4.5vw, 3.4rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  font-weight: 700;
}

.hero-line {
  display: block;
}

.hero-accent {
  color: var(--red);
  font-style: italic;
}

.hero-sub {
  margin: 0 0 1.5rem;
  max-width: 46ch;
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.75rem;
}

.hero-badges span {
  padding: 0.35rem 0.85rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-muted);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 999px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-logo-ring {
  position: absolute;
  width: min(100%, 420px);
  aspect-ratio: 1;
  border-radius: 50%;
  border: 2px dashed rgba(153, 0, 0, 0.2);
  animation: spinSlow 30s linear infinite;
}

.hero-logo-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2.5rem;
  background: #fff;
  border-radius: 24px;
  box-shadow: var(--shadow), 0 0 0 1px rgba(153, 0, 0, 0.06);
}

.hero-logo {
  width: min(100%, 340px);
  height: auto;
  object-fit: contain;
}

.about-logo-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2.5rem;
  background: linear-gradient(145deg, #fff, var(--surface));
  border: 1px solid var(--border);
  border-radius: 24px;
  box-shadow: var(--shadow);
  min-height: 400px;
}

.about-logo-wrap img {
  width: min(100%, 320px);
  object-fit: contain;
}

/* Stats */

.stats-bar {
  padding: 0;
  background: var(--gradient-dark);
  color: #fff;
  position: relative;
}

.stats-bar::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--gradient-red);
  opacity: 0.08;
}

.stats-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.stat-item {
  padding: 2.25rem 1.5rem;
  text-align: center;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.stat-item:last-child {
  border-right: 0;
}

.stat-icon {
  display: flex;
  justify-content: center;
  margin-bottom: 0.75rem;
}

.stat-icon svg {
  width: 28px;
  height: 28px;
  color: var(--red-light);
  opacity: 0.9;
}

.stat-item strong {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  color: #fff;
  line-height: 1;
}

.stat-item span {
  display: block;
  margin-top: 0.45rem;
  font-size: 0.85rem;
  color: #a3a3a3;
  font-weight: 500;
}

/* Trust bar */

.trust-bar {
  padding: 2rem 0;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}

.trust-inner p {
  margin: 0 0 1.25rem;
  text-align: center;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.trust-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.trust-logos li span {
  display: inline-block;
  padding: 0.55rem 1.25rem;
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--text);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 999px;
  transition: all 0.25s ease;
}

.trust-logos li:hover span {
  border-color: var(--red);
  color: var(--red);
  box-shadow: 0 4px 16px var(--red-glow);
}

/* Sections */

.section {
  padding: 5rem 0;
}

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

.section-head-light {
  color: inherit;
}

.section-kicker {
  display: inline-block;
  margin: 0 0 0.65rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--red);
}

.section h2 {
  margin: 0 0 0.85rem;
  font-family: var(--font-serif);
  font-size: clamp(1.85rem, 3.5vw, 2.6rem);
  letter-spacing: -0.02em;
  line-height: 1.12;
}

.section-lead {
  margin: 0;
  color: var(--text-muted);
  font-size: 1.02rem;
  line-height: 1.65;
}

.section-head .section-lead {
  margin: 0 auto;
}

/* Services */

.services {
  background: #fff;
}

.service-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.tilt-cards-grid {
  perspective: 1400px;
}

.tilt-card {
  position: relative;
  transform-style: preserve-3d;
  will-change: transform;
  transition: transform 0.15s ease-out, box-shadow 0.3s ease;
  --tilt-base: 0deg;
}

.tilt-card:nth-child(5n + 1) { --tilt-base: -3deg; }
.tilt-card:nth-child(5n + 2) { --tilt-base: 2.2deg; }
.tilt-card:nth-child(5n + 3) { --tilt-base: -1.5deg; }
.tilt-card:nth-child(5n + 4) { --tilt-base: 2.8deg; }
.tilt-card:nth-child(5n + 5) { --tilt-base: -2deg; }

.tilt-card.is-tilt-active {
  transition: transform 0.08s ease-out, box-shadow 0.3s ease;
  z-index: 2;
}

.tilt-glare {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
  background: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.35), transparent 55%);
  z-index: 3;
}

.tilt-card.is-tilt-active .tilt-glare {
  opacity: 1;
}

.service-card.tilt-card {
  transform: rotate(var(--tilt-base));
}

.process-list .tilt-card:nth-child(1) { --tilt-base: -1.2deg; }
.process-list .tilt-card:nth-child(2) { --tilt-base: 1deg; }
.process-list .tilt-card:nth-child(3) { --tilt-base: -0.8deg; }

.testimonials-grid .tilt-card:nth-child(1) { --tilt-base: -2deg; }
.testimonials-grid .tilt-card:nth-child(2) { --tilt-base: 2deg; }

.contact-cards .tilt-card:nth-child(1) { --tilt-base: -2.5deg; }
.contact-cards .tilt-card:nth-child(2) { --tilt-base: 1.5deg; }
.contact-cards .tilt-card:nth-child(3) { --tilt-base: -1.8deg; }
.contact-cards .tilt-card:nth-child(4) { --tilt-base: 2.2deg; }

.service-card {
  position: relative;
  padding: 1.75rem;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-card:hover {
  box-shadow: var(--shadow);
  border-color: rgba(153, 0, 0, 0.15);
}

.service-card.tilt-card:hover {
  transform: rotate(var(--tilt-base));
}

.service-card-featured {
  grid-column: span 1;
  background: linear-gradient(160deg, #fff 0%, #fff8f8 100%);
  border-color: rgba(153, 0, 0, 0.2);
}

.service-icon-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  margin-bottom: 1rem;
  background: var(--red-soft);
  border-radius: 14px;
  color: var(--red);
}

.service-icon-wrap svg {
  width: 26px;
  height: 26px;
}

.service-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--black);
}

.service-card > p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.6;
}

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

.service-list li {
  position: relative;
  padding-left: 1.1rem;
  color: var(--text-muted);
  font-size: 0.86rem;
}

.service-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--red);
}

.service-list li + li {
  margin-top: 0.35rem;
}

/* Approach */

.approach {
  background: var(--surface);
}

.approach-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 4rem;
  align-items: center;
}

.process-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 1.25rem;
}

.process-list li {
  display: flex;
  gap: 1.15rem;
  align-items: flex-start;
  padding: 1.25rem;
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  transition: box-shadow 0.25s ease;
  overflow: hidden;
}

.process-list li:hover {
  box-shadow: var(--shadow);
}

.step-num {
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--gradient-red);
  color: #fff;
  font-weight: 800;
  font-size: 0.95rem;
  box-shadow: 0 4px 12px var(--red-glow);
}

.process-list h3 {
  margin: 0 0 0.3rem;
  font-size: 1.05rem;
  font-weight: 700;
}

.process-list p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.92rem;
}

.approach-frame {
  position: relative;
}

.approach-frame img {
  border-radius: 20px;
  box-shadow: var(--shadow);
  object-fit: cover;
  width: 100%;
  aspect-ratio: 4 / 5;
}

.approach-badge {
  position: absolute;
  bottom: 1.5rem;
  left: -1.25rem;
  padding: 1rem 1.25rem;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border-left: 4px solid var(--red);
}

.approach-badge strong {
  display: block;
  font-size: 1.5rem;
  color: var(--red);
  line-height: 1;
}

.approach-badge span {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 600;
}

/* Why us */

.why-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 1rem;
}

.why-list li {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.15rem;
  background: var(--surface);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
  overflow: hidden;
}

.why-list li:hover {
  border-color: rgba(153, 0, 0, 0.25);
}

.why-icon {
  flex-shrink: 0;
  color: var(--red);
  font-size: 0.6rem;
  margin-top: 0.35rem;
}

.why-list strong {
  display: block;
  margin-bottom: 0.15rem;
  font-size: 0.98rem;
}

.why-list span {
  color: var(--text-muted);
  font-size: 0.92rem;
}

.why-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3rem;
  align-items: start;
}

.why-aside {
  border-radius: 20px;
  overflow: hidden;
  background: var(--gradient-dark);
  box-shadow: var(--shadow);
}

.why-aside-inner {
  padding: 2rem;
  color: #fff;
}

.why-aside h3 {
  margin: 0 0 1rem;
  font-family: var(--font-serif);
  font-size: 1.35rem;
  color: var(--red-light);
}

.why-aside p {
  margin: 0 0 0.85rem;
  color: #d4d4d4;
  font-size: 0.95rem;
  line-height: 1.65;
}

.why-aside .btn {
  margin-top: 1rem;
}

/* Testimonials */

.testimonial {
  background: var(--black);
  color: #fff;
}

.testimonial .section-kicker {
  color: var(--red-light);
}

.testimonial h2 {
  color: #fff;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.testimonials-grid blockquote {
  position: relative;
  margin: 0;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}

.testimonials-grid blockquote:hover {
  border-color: rgba(153, 0, 0, 0.4);
  background: rgba(153, 0, 0, 0.08);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.quote-mark {
  display: block;
  font-family: var(--font-serif);
  font-size: 3rem;
  line-height: 1;
  color: var(--red-light);
  opacity: 0.7;
  margin-bottom: 0.25rem;
}

.testimonials-grid blockquote p {
  margin: 0 0 1.25rem;
  font-size: 1.02rem;
  line-height: 1.65;
  font-weight: 500;
  color: #e5e5e5;
}

.testimonials-grid cite {
  font-style: normal;
  font-weight: 700;
  color: #fff;
}

.testimonials-grid footer span {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.85rem;
  color: #a3a3a3;
}

/* FAQ */

.faq {
  background: var(--surface);
}

.faq-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 3rem;
  align-items: start;
}

.faq-intro .section-lead {
  margin-top: 0.5rem;
}

.faq-list {
  display: grid;
  gap: 0.75rem;
}

.faq-item {
  padding: 1.15rem 1.35rem;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.faq-item[open] {
  border-color: var(--red);
  box-shadow: 0 8px 28px var(--red-glow);
}

.faq-item summary {
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  list-style: none;
  padding-right: 1.5rem;
  position: relative;
}

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 0;
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--red);
  transition: transform 0.25s ease;
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item[open] summary {
  color: var(--red);
}

.faq-item p {
  margin: 0.85rem 0 0;
  color: var(--text-muted);
  font-size: 0.93rem;
  line-height: 1.65;
}

/* About */

.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 4rem;
  align-items: center;
}

.credential-list {
  margin: 1.75rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.75rem;
}

.credential-list li {
  position: relative;
  padding: 0.75rem 1rem 0.75rem 2rem;
  color: var(--text-muted);
  font-size: 0.93rem;
  background: var(--surface);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
}

.credential-list li::before {
  content: "";
  position: absolute;
  left: 0.85rem;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gradient-red);
}

/* CTA Banner */

.cta-banner {
  padding: 4rem 0;
  background: var(--gradient-red);
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.12) 0%, transparent 50%),
    radial-gradient(circle at 80% 50%, rgba(0, 0, 0, 0.15) 0%, transparent 50%);
}

.cta-banner-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.cta-banner h2 {
  margin: 0 0 0.5rem;
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: #fff;
}

.cta-banner p {
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1rem;
  max-width: 48ch;
}

/* Contact */

.contact {
  background: #fff;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 3.5rem;
  align-items: start;
}

.contact-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
  margin-top: 2rem;
}

.contact-card {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 1.1rem 1.25rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: all 0.25s ease;
}

a.contact-card:hover,
a.contact-card:focus-visible {
  border-color: var(--red);
  background: var(--red-soft);
  box-shadow: 0 8px 20px var(--red-glow);
}

.contact-card-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.contact-card-value {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
}

a.contact-card .contact-card-value {
  color: var(--red);
}

.contact-form {
  display: grid;
  gap: 1rem;
  padding: 2rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  box-shadow: var(--shadow);
}

.honey-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.contact-form .btn:disabled {
  opacity: 0.7;
  cursor: wait;
  transform: none;
}

.form-title {
  margin: 0 0 0.5rem;
  font-size: 1.15rem;
  font-weight: 700;
}

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

.field label {
  display: block;
  margin-bottom: 0.4rem;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font: inherit;
  background: #fff;
  color: var(--text);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--red);
  box-shadow: 0 0 0 3px var(--red-soft);
}

.field input::placeholder,
.field textarea::placeholder {
  color: #a3a3a3;
}

.form-note {
  margin: 0;
  font-size: 0.9rem;
  color: #15803d;
  font-weight: 600;
}

.form-note.error {
  color: #b91c1c;
}

/* Footer */

.footer-top-line {
  height: 3px;
  background: var(--gradient-red);
}

.site-footer {
  padding: 3rem 0 2rem;
  background: var(--black);
  color: #d4d4d4;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 2rem;
  align-items: start;
}

.footer-logo {
  height: 88px;
  width: auto;
  object-fit: contain;
  margin-bottom: 0.75rem;
}

.footer-tagline {
  margin: 0 0 0.5rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--red-light);
}

.footer-brand p:last-child {
  font-size: 0.9rem;
  line-height: 1.5;
  color: #a3a3a3;
}

.footer-contact h4,
.footer-nav h4 {
  margin: 0 0 0.85rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #737373;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.footer-contact a {
  font-size: 0.92rem;
  color: #fff;
  transition: color 0.2s;
}

.footer-contact a:hover,
.footer-contact a:focus-visible {
  color: var(--red-light);
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  align-items: flex-start;
}

.footer-nav a {
  font-size: 0.92rem;
  color: #a3a3a3;
  transition: color 0.2s;
}

.footer-nav a:hover,
.footer-nav a:focus-visible {
  color: #fff;
}

.footer-copy {
  grid-column: 1 / -1;
  margin: 1.5rem 0 0;
  padding-top: 1.5rem;
  border-top: 1px solid #262626;
  font-size: 0.85rem;
  color: #737373;
}

:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 2px;
}

/* Mobile */

@media (max-width: 900px) {
  .hero-grid,
  .approach-grid,
  .about-grid,
  .contact-grid,
  .why-grid,
  .faq-layout {
    grid-template-columns: 1fr;
  }

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

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

  .stat-item {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .stat-item:nth-child(odd) {
    border-right: 1px solid rgba(255, 255, 255, 0.08);
  }

  .stat-item:nth-last-child(-n+2) {
    border-bottom: 0;
  }

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

  .contact-cards {
    grid-template-columns: 1fr;
  }

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

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

  .logo-img {
    height: 58px;
  }

  .tilt-card {
    --tilt-base: 0deg !important;
    transform: none !important;
  }

  .hero-visual {
    order: -1;
  }

  .approach-badge {
    left: 1rem;
    bottom: 1rem;
  }

  .cta-banner-inner {
    flex-direction: column;
    text-align: center;
  }

  .nav-toggle {
    display: flex;
  }

  .site-nav {
    position: fixed;
    inset: 84px 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 1rem;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.25s, opacity 0.25s;
  }

  .site-nav.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .site-nav a {
    padding: 0.85rem 0.5rem;
    border-bottom: 1px solid var(--border);
  }

  .site-nav .nav-cta {
    margin-top: 0.75rem;
    text-align: center;
  }

  .site-header.menu-open .nav-toggle span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .site-header.menu-open .nav-toggle span:nth-child(2) {
    opacity: 0;
  }

  .site-header.menu-open .nav-toggle span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }
}

/* Animations */

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(28px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes heroFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes logoGlow {
  0%, 100% { box-shadow: var(--shadow), 0 0 0 1px rgba(153, 0, 0, 0.06); }
  50% { box-shadow: var(--shadow-red), 0 0 0 1px rgba(153, 0, 0, 0.12); }
}

@keyframes spinSlow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .reveal {
    opacity: 1 !important;
    transform: none !important;
  }

  .hero-logo-ring {
    animation: none !important;
  }

  .tilt-card {
    transform: none !important;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .site-header {
    transition: box-shadow 0.3s ease, background 0.3s ease;
  }

  .site-header.scrolled {
    box-shadow: 0 8px 32px rgba(10, 10, 10, 0.08);
  }

  .site-header .logo-img {
    animation: fadeIn 0.8s ease both;
  }

  .hero-copy > * {
    animation: fadeUp 0.75s cubic-bezier(0.16, 1, 0.3, 1) both;
  }

  .hero-copy > *:nth-child(1) { animation-delay: 0.05s; }
  .hero-copy > *:nth-child(2) { animation-delay: 0.12s; }
  .hero-copy > *:nth-child(3) { animation-delay: 0.2s; }
  .hero-copy > *:nth-child(4) { animation-delay: 0.28s; }
  .hero-copy > *:nth-child(5) { animation-delay: 0.36s; }
  .hero-copy > *:nth-child(6) { animation-delay: 0.44s; }

  .hero-logo-wrap {
    animation:
      fadeUp 0.9s 0.2s cubic-bezier(0.16, 1, 0.3, 1) both,
      heroFloat 6s 1.2s ease-in-out infinite,
      logoGlow 4s 1.2s ease-in-out infinite;
  }

  .reveal {
    opacity: 0;
    transform: translateY(24px);
    transition:
      opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1),
      transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
    transition-delay: var(--reveal-delay, 0ms);
  }

  .reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
  }

  .reveal-fade {
    opacity: 0;
    transition: opacity 0.7s ease;
    transition-delay: var(--reveal-delay, 0ms);
  }

  .reveal-fade.is-visible {
    opacity: 1;
  }

  .stat-item.is-visible strong {
    animation: fadeUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) both;
  }

  @media (min-width: 901px) {
    .site-nav a:not(.nav-cta) {
      position: relative;
    }

    .site-nav a:not(.nav-cta)::after {
      content: "";
      position: absolute;
      left: 0;
      bottom: -4px;
      width: 100%;
      height: 2px;
      background: var(--red);
      transform: scaleX(0);
      transform-origin: left;
      transition: transform 0.25s ease;
    }

    .site-nav a:not(.nav-cta):hover::after,
    .site-nav a:not(.nav-cta):focus-visible::after {
      transform: scaleX(1);
    }
  }
}
