/* =============================================
   Lorin Diesel — Landing Page Styles
   ============================================= */

:root {
  --color-bg: #0f1419;
  --color-bg-light: #f4f5f7;
  --color-bg-card: #1a2332;
  --color-primary: #e8a020;
  --color-primary-dark: #c8870a;
  --color-accent: #2d6a9f;
  --color-text: #1a1f26;
  --color-text-muted: #5a6577;
  --color-text-light: #c8d0db;
  --color-white: #ffffff;
  --color-border: #dde2ea;
  --color-whatsapp: #25d366;

  --font-display: 'Barlow Condensed', sans-serif;
  --font-body: 'Barlow', sans-serif;

  --radius: 8px;
  --radius-lg: 16px;
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.12);
  --shadow-lg: 0 12px 48px rgba(0, 0, 0, 0.2);
  --transition: 0.25s ease;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-white);
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

.container {
  width: min(1140px, 92%);
  margin-inline: auto;
}

/* ---- Buttons ---- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}

.btn--primary {
  background: var(--color-primary);
  color: var(--color-bg);
  border-color: var(--color-primary);
}

.btn--primary:hover {
  background: var(--color-primary-dark);
  border-color: var(--color-primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(232, 160, 32, 0.35);
}

.btn--ghost {
  background: transparent;
  color: var(--color-white);
  border-color: rgba(255, 255, 255, 0.35);
}

.btn--ghost:hover {
  border-color: var(--color-white);
  background: rgba(255, 255, 255, 0.08);
}

.btn--whatsapp {
  background: var(--color-whatsapp);
  color: var(--color-white);
  border-color: var(--color-whatsapp);
}

.btn--whatsapp:hover {
  background: #1fb855;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.35);
}

.btn--small {
  padding: 0.5rem 1.125rem;
  font-size: 0.875rem;
}

.btn--block {
  width: 100%;
}

/* ---- Header ---- */

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(15, 20, 25, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: box-shadow var(--transition);
}

.header.scrolled {
  box-shadow: var(--shadow);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo__mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  background: var(--color-primary);
  color: var(--color-bg);
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 700;
  border-radius: var(--radius);
}

.logo__text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.logo__text strong {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-white);
  letter-spacing: 0.02em;
}

.logo__text small {
  font-size: 0.6875rem;
  color: var(--color-text-light);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.nav a {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--color-text-light);
  transition: color var(--transition);
}

.nav a:hover {
  color: var(--color-primary);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-white);
  transition: all var(--transition);
}

.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ---- Hero ---- */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  background: var(--color-bg);
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(15, 20, 25, 0.95) 0%, rgba(26, 35, 50, 0.85) 50%, rgba(45, 106, 159, 0.15) 100%),
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 80px,
      rgba(255, 255, 255, 0.015) 80px,
      rgba(255, 255, 255, 0.015) 81px
    ),
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 80px,
      rgba(255, 255, 255, 0.015) 80px,
      rgba(255, 255, 255, 0.015) 81px
    );
}

.hero__bg::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 120px;
  background: linear-gradient(to top, var(--color-white), transparent);
}

.hero__content {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 3rem;
  align-items: center;
}

.badge {
  display: inline-block;
  padding: 0.375rem 0.875rem;
  background: rgba(232, 160, 32, 0.15);
  color: var(--color-primary);
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-radius: 100px;
  border: 1px solid rgba(232, 160, 32, 0.3);
  margin-bottom: 1.25rem;
}

.hero__text h1 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 3.75rem);
  font-weight: 700;
  line-height: 1.05;
  color: var(--color-white);
  margin-bottom: 1.25rem;
  text-transform: uppercase;
  letter-spacing: 0.01em;
}

.hero__text h1 span {
  color: var(--color-primary);
}

.hero__text > p {
  font-size: 1.125rem;
  color: var(--color-text-light);
  max-width: 520px;
  margin-bottom: 2rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.hero__stats {
  display: flex;
  gap: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.hero__stats li {
  display: flex;
  flex-direction: column;
}

.hero__stats strong {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1;
}

.hero__stats span {
  font-size: 0.8125rem;
  color: var(--color-text-light);
  margin-top: 0.25rem;
}

.hero__card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: 2rem;
  backdrop-filter: blur(8px);
}

.hero__card-icon {
  width: 56px;
  height: 56px;
  color: var(--color-primary);
  margin-bottom: 1rem;
}

.hero__card h2 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-white);
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.hero__card p {
  font-size: 0.9375rem;
  color: var(--color-text-light);
  margin-bottom: 1.5rem;
}

/* ---- Brands ---- */

.brands {
  background: var(--color-white);
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--color-border);
}

.brands__inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.brands__inner > span {
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-text-muted);
  white-space: nowrap;
}

.brands__inner ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
}

.brands__inner li {
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--color-text-muted);
  letter-spacing: 0.02em;
}

/* ---- Sections ---- */

.section {
  padding: 5rem 0;
}

.section--dark {
  background: var(--color-bg);
  color: var(--color-white);
}

.section-label {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-accent);
  margin-bottom: 0.75rem;
}

.section-label--light {
  color: var(--color-primary);
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 3rem;
}

.section-header h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1.1;
  margin-bottom: 1rem;
}

.section-header p {
  color: var(--color-text-muted);
  font-size: 1.0625rem;
}

.section--dark .section-header p {
  color: var(--color-text-light);
}

/* ---- About ---- */

.about {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  align-items: center;
}

.about__image-inner {
  aspect-ratio: 1;
  background: linear-gradient(135deg, var(--color-bg) 0%, var(--color-accent) 100%);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  box-shadow: var(--shadow-lg);
}

.about__image-inner svg {
  width: 50%;
  height: 50%;
}

.about__content h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.5rem);
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1.1;
  margin-bottom: 1.25rem;
}

.about__content p {
  color: var(--color-text-muted);
  margin-bottom: 1rem;
}

.check-list {
  margin-top: 1.5rem;
}

.check-list li {
  position: relative;
  padding-left: 1.75rem;
  margin-bottom: 0.75rem;
  color: var(--color-text);
  font-weight: 500;
}

.check-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--color-primary);
  font-weight: 700;
}

/* ---- Cards ---- */

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.card {
  background: var(--color-bg-card);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: all var(--transition);
}

.card:hover {
  border-color: rgba(232, 160, 32, 0.4);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.card__icon {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.card h3 {
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
  color: var(--color-white);
}

.card p {
  font-size: 0.9375rem;
  color: var(--color-text-light);
  line-height: 1.55;
}

/* ---- Features ---- */

.features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.feature {
  padding: 1.5rem 0;
  border-top: 3px solid var(--color-primary);
}

.feature__num {
  display: block;
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  color: rgba(232, 160, 32, 0.2);
  line-height: 1;
  margin-bottom: 0.75rem;
}

.feature h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.feature p {
  font-size: 0.9375rem;
  color: var(--color-text-muted);
}

/* ---- CTA Banner ---- */

.cta-banner {
  background: linear-gradient(135deg, var(--color-accent) 0%, #1a4a72 100%);
  padding: 4rem 0;
}

.cta-banner__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.cta-banner h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 700;
  text-transform: uppercase;
  color: var(--color-white);
  margin-bottom: 0.5rem;
}

.cta-banner p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.0625rem;
}

/* ---- Contact ---- */

.contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.contact__info h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.5rem);
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1.1;
  margin-bottom: 1rem;
}

.contact__info > p {
  color: var(--color-text-muted);
  margin-bottom: 2rem;
}

.contact__list li {
  margin-bottom: 1.5rem;
}

.contact__list strong {
  display: block;
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-text-muted);
  margin-bottom: 0.25rem;
}

.contact__list a {
  color: var(--color-accent);
  font-weight: 600;
  transition: color var(--transition);
}

.contact__list a:hover {
  color: var(--color-primary-dark);
}

.contact__form {
  background: var(--color-bg-light);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  border: 1px solid var(--color-border);
}

.contact__form h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 0.375rem;
  color: var(--color-text);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: var(--color-white);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(45, 106, 159, 0.15);
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-note {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  text-align: center;
  margin-top: 1rem;
}

.form-alert {
  padding: 0.875rem 1rem;
  margin-bottom: 1.25rem;
  background: #fdecea;
  border: 1px solid #f5c2c0;
  border-radius: var(--radius);
  color: #9b1c1c;
  font-size: 0.875rem;
  font-weight: 500;
}

.form-error {
  display: block;
  margin-top: 0.375rem;
  font-size: 0.8125rem;
  color: #c0392b;
}

.form-group--error input,
.form-group--error textarea {
  border-color: #e74c3c;
}

/* ---- Footer ---- */

.footer {
  background: var(--color-bg);
  color: var(--color-text-light);
  padding-top: 4rem;
}

.footer__inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
}

.footer__brand p {
  margin-top: 1rem;
  font-size: 0.9375rem;
  max-width: 320px;
  line-height: 1.6;
}

.logo--footer .logo__text strong {
  font-size: 1.125rem;
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.footer__links strong {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--color-white);
  margin-bottom: 0.5rem;
}

.footer__links a {
  font-size: 0.9375rem;
  transition: color var(--transition);
}

.footer__links a:hover {
  color: var(--color-primary);
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1.5rem 0;
}

.footer__bottom p {
  font-size: 0.8125rem;
  text-align: center;
  color: var(--color-text-muted);
}

/* ---- WhatsApp Float ---- */

.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 99;
  width: 60px;
  height: 60px;
  background: var(--color-whatsapp);
  color: var(--color-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.45);
  transition: all var(--transition);
}

.whatsapp-float:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 28px rgba(37, 211, 102, 0.55);
}

/* ---- Responsive ---- */

@media (max-width: 1024px) {
  .hero__content {
    grid-template-columns: 1fr;
  }

  .hero__card {
    max-width: 400px;
  }

  .cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .features {
    grid-template-columns: repeat(2, 1fr);
  }

  .about {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .about__image {
    max-width: 360px;
  }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .nav {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--color-bg);
    flex-direction: column;
    padding: 1.5rem;
    gap: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: all var(--transition);
  }

  .nav.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }

  .nav .btn--small {
    width: 100%;
    margin-top: 0.5rem;
  }

  .hero {
    padding: 100px 0 60px;
    min-height: auto;
  }

  .hero__stats {
    flex-direction: column;
    gap: 1.25rem;
  }

  .cards {
    grid-template-columns: 1fr;
  }

  .features {
    grid-template-columns: 1fr;
  }

  .cta-banner__inner {
    flex-direction: column;
    text-align: center;
  }

  .contact {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer__inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .brands__inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 480px) {
  .hero__actions {
    flex-direction: column;
  }

  .hero__actions .btn {
    width: 100%;
  }

  .contact__form {
    padding: 1.5rem;
  }
}
