/* ==========================================================================
   HOMEPAGE STYLES — SorbiTech Carbon
   ========================================================================== */

/* ==========================================================================
   HERO / SLIDER
   ========================================================================== */
.hero {
  position: relative;
  height: calc(100vh - var(--header-height) - var(--top-strip-height));
  min-height: 620px;
  background: var(--ink);
  color: var(--white);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 75% 50%, rgba(51, 153, 255, 0.12), transparent 60%),
    radial-gradient(ellipse at 15% 85%, rgba(51, 153, 255, 0.08), transparent 50%),
    var(--ink);
}

.hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 80px 80px;
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
}

.slide {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  align-items: center;
  padding: 0 var(--space-lg);
  gap: 60px;
  opacity: 0;
  transition: opacity 0.9s ease;
  pointer-events: none;
}

.slide.active {
  opacity: 1;
  pointer-events: auto;
}

.slide-content {
  max-width: 640px;
}

.slide-meta {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 28px;
  background: rgba(51, 153, 255, 0.1);
  border: 1px solid rgba(51, 153, 255, 0.25);
  padding: 8px 16px;
  border-radius: var(--radius-full);
}

.slide-meta .num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--blue);
  font-weight: 500;
}

.slide-meta .label,
.slide-meta h1.slide-label,
.slide-meta h2.slide-label {
  font-family: var(--font-mono);
  font-size: 11px !important;
  font-weight: 500 !important;
  letter-spacing: 0.12em;
  color: var(--white);
  text-transform: uppercase;
  margin: 0 !important;
  padding: 0 !important;
  line-height: 1 !important;
  background: none !important;
  border: none !important;
  display: inline !important;
}

.slide-meta .dot {
  width: 4px;
  height: 4px;
  background: var(--blue);
  border-radius: 50%;
}

.slide h1,
.slide h2.slide-heading,
.slide p.slide-heading-p {
  font-family: var(--font-sans) !important;
  font-weight: 300 !important;
  font-size: clamp(40px, 5.4vw, 76px) !important;
  line-height: 1.02 !important;
  letter-spacing: -0.03em !important;
  margin-bottom: 24px !important;
  color: var(--white) !important;
}

.slide h1 strong,
.slide h2.slide-heading strong,
.slide p.slide-heading-p strong {
  font-weight: 700 !important;
  color: var(--blue) !important;
}

.slide h1 .light,
.slide h2.slide-heading .light,
.slide p.slide-heading-p .light {
  font-weight: 300 !important;
  color: var(--white) !important;
}

.slide-desc {
  font-size: 17px;
  line-height: 1.65;
  color: var(--grey-light);
  max-width: 520px;
  margin-bottom: 40px;
}

.slide-cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.slide-visual {
  position: relative;
  height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.slide-visual-wrap {
  position: relative;
  width: 100%;
  max-width: 480px;
  height: 100%;
}

.slide-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-2xl);
  box-shadow: 0 24px 60px -12px rgba(0, 0, 0, 0.5),
              0 0 0 1px rgba(51, 153, 255, 0.2);
}

.slide-image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 40%, rgba(51, 153, 255, 0.15) 100%);
  border-radius: var(--radius-2xl);
  pointer-events: none;
}

.slide-badge {
  position: absolute;
  bottom: 24px;
  left: 24px;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 12px 18px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--white);
  text-transform: uppercase;
}

.slide-badge .accent {
  color: var(--blue);
  font-weight: 600;
}

.slide-controls {
  position: absolute;
  bottom: 32px;
  left: var(--space-lg);
  right: var(--space-lg);
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 5;
}

.indicators {
  display: flex;
  gap: 8px;
}

.indicator {
  width: 40px;
  height: 3px;
  background: rgba(255, 255, 255, 0.2);
  border: none;
  cursor: pointer;
  transition: all 0.4s;
  border-radius: 2px;
  padding: 0;
}

.indicator.active {
  background: var(--blue);
  width: 60px;
}

.slide-counter {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.15em;
  color: var(--grey-light);
}

.slide-counter span {
  color: var(--blue);
  font-weight: 600;
}

/* ==========================================================================
   TRUST BAR
   ========================================================================== */
/* ==========================================================================
   FOUR PILLARS BAR
   ========================================================================== */
.pillars-bar {
  background: var(--white);
  border-bottom: 1px solid var(--line);
  padding: 28px var(--space-lg);
}

.pillars-bar-inner {
  max-width: var(--container-wide);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  align-items: center;
  gap: 0;
}

/* Each pillar */
.pillar-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 8px 32px;
  transition: background var(--transition-base);
  border-radius: var(--radius-md);
}

.pillar-item:hover {
  background: var(--blue-soft);
}

/* Icon circle */
.pillar-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 2px solid var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  flex-shrink: 0;
  transition: all var(--transition-base);
}

.pillar-item:hover .pillar-icon {
  background: var(--blue);
  color: var(--white);
}

/* Text */
.pillar-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.pillar-text strong {
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.01em;
}

.pillar-text span {
  font-size: 12px;
  color: var(--grey);
  font-family: var(--font-mono);
  letter-spacing: 0.03em;
}

/* Vertical divider between pillars */
.pillar-divider {
  width: 1px;
  height: 48px;
  background: var(--line);
}

/* Responsive */
@media (max-width: 1024px) {
  .pillars-bar-inner {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }
  .pillar-divider { display: none; }
  .pillar-item { padding: 12px 16px; }
}

@media (max-width: 640px) {
  .pillars-bar-inner {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   PRODUCT INFO SECTION
   ========================================================================== */
.info {
  background: var(--white);
}

.info-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 80px;
  align-items: center;
  max-width: var(--container-max);
  margin: 0 auto;
}

.info-content .section-title {
  margin-bottom: 28px;
}

.info-lead {
  font-size: 17px;
  line-height: 1.75;
  color: var(--ink-light);
  margin-bottom: 36px;
  max-width: 520px;
}

.info-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 40px 0;
  padding: 32px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.stat-num {
  font-family: var(--font-sans);
  font-size: 42px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.03em;
  line-height: 1;
}

.stat-num strong {
  color: var(--blue);
}

.stat-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.15em;
  color: var(--grey);
  margin-top: 10px;
  text-transform: uppercase;
  font-weight: 500;
}

.info-features {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.feature {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.feature:last-child {
  border-bottom: none;
}

.feature-icon {
  width: 44px;
  height: 44px;
  background: var(--blue-soft);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--blue);
}

.feature-text strong {
  display: block;
  font-weight: 700;
  font-size: 15px;
  color: var(--ink);
  margin-bottom: 4px;
}

.feature-text p {
  font-size: 14px;
  color: var(--grey);
  line-height: 1.5;
}

.info-visual {
  position: relative;
  aspect-ratio: 1/1;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--ink);
}

.info-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.info-visual-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(51, 51, 51, 0.4) 0%, transparent 60%);
}

.info-visual-badge {
  position: absolute;
  top: 24px;
  left: 24px;
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  padding: 10px 16px;
  border-radius: var(--radius-full);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--ink);
  font-weight: 600;
  text-transform: uppercase;
}

.info-visual-badge .dot {
  width: 6px;
  height: 6px;
  background: var(--blue);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

/* ==========================================================================
   GRADES / PRODUCTS SECTION
   ========================================================================== */
.grades {
  background: var(--grey-bg);
  position: relative;
  overflow: hidden;
}

.grades-header {
  text-align: center;
  margin-bottom: 64px;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
}

.grades-header .section-tag {
  margin-left: auto;
  margin-right: auto;
  
}

.grades-header .section-subtitle {
  margin-left: auto;
  margin-right: auto;
}

.grade-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  max-width: var(--container-max);
  margin: 0 auto;
}

.grade-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  overflow: hidden;
  position: relative;
  transition: all 0.4s cubic-bezier(0.7, 0, 0.3, 1);
  display: flex;
  flex-direction: column;
}

.grade-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.grade-card-image {
  position: relative;
  width: 100%;
  height: 240px;
  overflow: hidden;
  background: var(--ink);
}

.grade-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.grade-card:hover .grade-card-image img {
  transform: scale(1.05);
}

.grade-card-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(0, 0, 0, 0.3) 100%);
}

.grade-card-tag {
  position: absolute;
  top: 16px;
  right: 16px;
  background: rgba(51, 153, 255, 0.95);
  color: var(--white);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  letter-spacing: 0.08em;
  z-index: 2;
}

.grade-card-num {
  position: absolute;
  top: 16px;
  left: 16px;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(10px);
  color: var(--white);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  z-index: 2;
}

.grade-card-body {
  padding: 28px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.grade-name {
  font-family: var(--font-sans);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 6px;
  line-height: 1.2;
  color: var(--ink);
}

.grade-de {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--grey);
  margin-bottom: 16px;
  text-transform: uppercase;
  font-weight: 500;
}

.grade-desc {
  font-size: 14px;
  line-height: 1.65;
  color: var(--ink-light);
  margin-bottom: 20px;
  flex: 1;
}

.grade-specs {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 16px;
  background: var(--grey-bg);
  border-radius: var(--radius-md);
  margin-bottom: 20px;
}

.spec-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
}

.spec-row span:first-child {
  color: var(--grey);
  font-weight: 500;
}

.spec-row span:last-child {
  color: var(--ink);
  font-weight: 600;
  font-family: var(--font-mono);
  font-size: 12px;
}

.grade-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--blue);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  transition: gap var(--transition-base);
}

.grade-link:hover {
  gap: 14px;
}

/* ==========================================================================
   TRUST / WHY SECTION
   ========================================================================== */
.trust {
  background: var(--ink);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.trust::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(51, 153, 255, 0.12), transparent 60%);
  pointer-events: none;
}

.trust::after {
  content: '';
  position: absolute;
  bottom: -200px;
  left: -200px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(51, 153, 255, 0.08), transparent 60%);
  pointer-events: none;
}

.trust-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 72px;
  position: relative;
  z-index: 2;
}

.trust-header .section-tag {
  background: rgba(51, 153, 255, 0.12);
  margin-left: auto;
  margin-right: auto;
}

.trust-header .section-title {
  color: var(--white);
}

.trust-header .section-subtitle {
  color: var(--grey-light);
  margin: 0 auto;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 72px;
  position: relative;
  z-index: 2;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
}

.trust-stat {
  text-align: center;
  padding: 36px 24px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  transition: all 0.4s;
}

.trust-stat:hover {
  background: rgba(51, 153, 255, 0.06);
  border-color: rgba(51, 153, 255, 0.3);
  transform: translateY(-4px);
}

.trust-stat-num {
  font-family: var(--font-sans);
  font-size: 52px;
  font-weight: 700;
  color: var(--blue);
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 12px;
}

.trust-stat-num .plus,
.trust-stat-num .pct {
  font-size: 32px;
  vertical-align: top;
  font-weight: 600;
}

.trust-stat-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 6px;
}

.trust-stat-desc {
  font-size: 12px;
  color: var(--grey-light);
  line-height: 1.5;
}

.certs {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: 40px 48px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 48px;
  align-items: center;
  position: relative;
  z-index: 2;
  max-width: var(--container-max);
  margin: 0 auto;
}

.certs-label {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.certs-label-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  color: var(--blue);
  text-transform: uppercase;
  font-weight: 500;
}

.certs-label-title {
  font-family: var(--font-sans);
  font-size: 20px;
  font-weight: 600;
  color: var(--white);
  line-height: 1.3;
  max-width: 240px;
}

.certs-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.cert-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 20px 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  transition: all var(--transition-base);
}

.cert-item:hover {
  border-color: var(--blue);
  background: rgba(51, 153, 255, 0.08);
}

.cert-icon {
  width: 36px;
  height: 36px;
  margin-bottom: 10px;
  color: var(--blue);
}

.cert-name {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  color: var(--white);
  letter-spacing: 0.05em;
  line-height: 1.2;
  margin-bottom: 4px;
}

.cert-desc {
  font-size: 10px;
  color: var(--grey-light);
  letter-spacing: 0.02em;
}

/* ==========================================================================
   ABOUT SECTION
   ========================================================================== */
.about {
  background: var(--white);
  position: relative;
  overflow: hidden;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 80px;
  align-items: center;
  max-width: var(--container-max);
  margin: 0 auto;
}

.about-visual {
  position: relative;
  aspect-ratio: 4/5;
  background: var(--ink);
  overflow: hidden;
  border-radius: var(--radius-xl);
}

.about-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-visual-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(51, 51, 51, 0.6) 100%);
}

.about-visual-info {
  position: absolute;
  bottom: 24px;
  left: 24px;
  right: 24px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  color: var(--white);
}

.about-visual-info .label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.15em;
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
  margin-bottom: 4px;
}

.about-visual-info .value {
  font-size: 16px;
  font-weight: 600;
}

.about-content .section-title {
  margin-bottom: 28px;
}

.about-text {
  font-size: 16px;
  line-height: 1.8;
  color: var(--ink-light);
  margin-bottom: 20px;
}

.about-text:last-of-type {
  margin-bottom: 36px;
}

.about-pillars {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 36px;
}

.pillar {
  padding: 24px;
  background: var(--grey-bg);
  border-radius: var(--radius-lg);
  border-left: 3px solid var(--blue);
}

.pillar-num {
  font-family: var(--font-sans);
  font-size: 32px;
  font-weight: 700;
  color: var(--blue);
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 8px;
}

.pillar-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 8px;
}

.pillar p {
  font-size: 13px;
  color: var(--grey);
  line-height: 1.5;
}

/* ==========================================================================
   INQUIRY FORM
   ========================================================================== */
.inquiry {
  background: var(--grey-bg);
  padding: 120px var(--space-lg);
  position: relative;
}

.inquiry-wrap {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 0;
  background: var(--white);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 32px 64px -24px rgba(51, 51, 51, 0.15);
}

.inquiry-info {
  padding: 60px 48px;
  background: var(--ink);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.inquiry-info::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(51, 153, 255, 0.15), transparent 60%);
}

.inquiry-info .section-tag {
  background: rgba(51, 153, 255, 0.12);
}

.inquiry-info .section-title {
  color: var(--white);
  font-size: 36px;
  margin-bottom: 20px;
  position: relative;
  z-index: 2;
}

.inquiry-info > p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--grey-light);
  margin-bottom: 40px;
  position: relative;
  z-index: 2;
}

.contact-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
  z-index: 2;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-item:last-child {
  border-bottom: none;
}

.contact-icon {
  width: 40px;
  height: 40px;
  background: rgba(51, 153, 255, 0.1);
  border: 1px solid rgba(51, 153, 255, 0.3);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--blue);
}

.contact-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.15em;
  color: var(--grey-light);
  margin-bottom: 4px;
  text-transform: uppercase;
}

.contact-value {
  font-size: 15px;
  color: var(--white);
  font-weight: 500;
  line-height: 1.5;
}

.contact-value a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-base);
}

.contact-value a:hover {
  color: var(--blue);
}

.inquiry-form {
  padding: 60px 48px;
  background: var(--white);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-bottom: 18px;
}

.form-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 18px;
}

.form-group label {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 8px;
}

.form-group label .req {
  color: var(--blue);
}

.form-input,
.form-select,
.form-textarea {
  background: var(--white);
  border: 1.5px solid var(--line);
  border-radius: var(--radius-md);
  padding: 13px 16px;
  color: var(--ink);
  font-family: inherit;
  font-size: 14px;
  transition: all var(--transition-base);
  width: 100%;
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--grey);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(51, 153, 255, 0.1);
}

.form-input.error,
.form-select.error,
.form-textarea.error {
  border-color: var(--error);
}

.form-error-msg {
  font-size: 12px;
  color: var(--error);
  margin-top: 4px;
  display: none;
}

.form-error-msg.show {
  display: block;
}

.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%233399ff' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
  cursor: pointer;
}

.form-textarea {
  resize: vertical;
  min-height: 110px;
  font-family: inherit;
}

.form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 24px 0;
  font-size: 13px;
  color: var(--ink-light);
  line-height: 1.6;
  cursor: pointer;
}

.form-checkbox input {
  margin-top: 3px;
  accent-color: var(--blue);
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  cursor: pointer;
}

.form-checkbox a {
  color: var(--blue);
  text-decoration: underline;
}

/* Honeypot field - hidden from users, catches bots */
.form-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.submit-btn {
  width: 100%;
  padding: 16px;
  background: var(--blue);
  color: var(--white);
  border: none;
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: all var(--transition-base);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-blue);
}

.submit-btn:hover:not(:disabled) {
  background: var(--blue-dark);
  gap: 16px;
  box-shadow: var(--shadow-blue-hover);
}

.submit-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.submit-btn.success {
  background: var(--success);
}

.submit-btn.error {
  background: var(--error);
}

.form-trust {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  font-size: 12px;
  color: var(--grey);
}

.form-trust svg {
  color: var(--blue);
  flex-shrink: 0;
}

.spinner {
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: var(--white);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

/* ==========================================================================
   RESPONSIVE — HOMEPAGE
   ========================================================================== */
@media (max-width: 1024px) {
  section {
    padding: 80px var(--space-md);
  }

  .hero {
    padding: 0;
  }

  .slide {
    grid-template-columns: 1fr;
    padding: 60px var(--space-md);
    gap: 32px;
    text-align: left;
  }

  .slide-visual {
    height: 320px;
  }

  .slide-controls {
    left: var(--space-md);
    right: var(--space-md);
    bottom: 20px;
  }

  .trust-bar {
    padding: 20px var(--space-md);
  }

  .trust-logos {
    gap: 24px;
  }

  .info-grid,
  .about-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .info-stats {
    grid-template-columns: 1fr;
  }

  .grade-cards {
    grid-template-columns: 1fr;
  }

  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .certs {
    grid-template-columns: 1fr;
    padding: 32px;
    gap: 32px;
  }

  .certs-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .inquiry {
    padding: 80px var(--space-md);
  }

  .inquiry-wrap {
    grid-template-columns: 1fr;
  }

  .inquiry-info,
  .inquiry-form {
    padding: 40px 32px;
  }

  .about-pillars {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .slide h1 {
    font-size: clamp(32px, 8vw, 44px);
  }

  .slide-desc {
    font-size: 15px;
  }

  .trust-grid {
    grid-template-columns: 1fr;
  }

  .certs-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .info-stats {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .stat-num {
    font-size: 36px;
  }

  .trust-stat-num {
    font-size: 44px;
  }

  .inquiry-info,
  .inquiry-form {
    padding: 32px 24px;
  }
}

/* Animations specific to homepage */
.slide.active h1,
.slide.active .slide-desc,
.slide.active .slide-cta,
.slide.active .slide-meta {
  animation: fadeUp 0.9s cubic-bezier(0.2, 0.6, 0.2, 1) backwards;
}

.slide.active .slide-meta {
  animation-delay: 0.1s;
}

.slide.active h1 {
  animation-delay: 0.2s;
}

.slide.active .slide-desc {
  animation-delay: 0.4s;
}

.slide.active .slide-cta {
  animation-delay: 0.55s;
}

.slide.active .slide-visual {
  animation: fadeUp 1.2s cubic-bezier(0.2, 0.6, 0.2, 1) backwards;
  animation-delay: 0.3s;
}

/* ==========================================================================
   FULL RESPONSIVE AUDIT — ALL SCREENS
   ========================================================================== */

/* Large screens 1440px+ */
@media (min-width: 1440px) {
  .slide { padding: 100px 80px; }
  .slide h1,
  .slide h2.slide-heading { font-size: 84px; }
}

/* Tablet portrait 768px */
@media (max-width: 768px) {
  .slide {
    grid-template-columns: 1fr;
    padding: 48px 20px 80px;
    min-height: auto;
  }
  .slide h1,
  .slide h2.slide-heading {
    font-size: clamp(30px, 7vw, 44px);
    margin-bottom: 16px;
  }
  .slide-desc { font-size: 14px; line-height: 1.6; }
  .slide-visual { height: 260px; }
  .slide-cta { flex-direction: column; gap: 10px; }
  .slide-cta .btn { width: 100%; justify-content: center; }
  .slide-meta { margin-bottom: 16px; }

  /* Pillars — 2 columns on tablet */
  .pillars-bar-inner,
  aside[style*="grid-template-columns:1fr 1px 1fr 1px 1fr 1px 1fr"] {
    grid-template-columns: 1fr 1fr !important;
    gap: 0;
  }
}

/* Mobile 640px */
@media (max-width: 640px) {
  .slide { padding: 40px 16px 72px; }
  .slide h1,
  .slide h2.slide-heading { font-size: clamp(28px, 8vw, 40px); }
  .slide-visual { height: 220px; }
  .slide-badge { font-size: 9px; padding: 5px 10px; }
  .slide-controls { bottom: 12px; }

  /* Pillars — 1 column on mobile */
  .pillars-bar-inner,
  aside[style*="grid-template-columns"] > div[style*="width:1px"] {
    display: none !important;
  }
}

/* Small mobile 375px */
@media (max-width: 375px) {
  .slide { padding: 32px 12px 64px; }
  .slide h1,
  .slide h2.slide-heading { font-size: 28px; }
  .slide-desc { font-size: 13px; }
}

/* Homepage pillars bar — 2 per row on mobile/tablet */
@media (max-width: 1024px) {
  .home-pillars-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 0 !important;
  }
  /* Hide the 1px divider columns when wrapping */
  .home-pillars-grid > div[style*="width:1px"] {
    display: none !important;
  }
  /* Add bottom borders to first 2 pillars to separate from second row */
  .home-pillars-grid > .pillar-animate:nth-child(1),
  .home-pillars-grid > .pillar-animate:nth-child(3) {
    border-right: 1px solid #e5e5e5;
    border-bottom: 1px solid #e5e5e5;
  }
  .home-pillars-grid > .pillar-animate:nth-child(5) {
    border-right: 1px solid #e5e5e5;
  }
}

/* Single column on very small phones */
@media (max-width: 480px) {
  .home-pillars-grid {
    grid-template-columns: 1fr !important;
  }
  .home-pillars-grid > .pillar-animate {
    border-right: none !important;
    border-bottom: 1px solid #e5e5e5 !important;
  }
}