/* ============================================
   NFI ENGINEERING (M) SDN BHD — Stylesheet
   ============================================ */

/* ===== RESET & BASE ===== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: 'Inter', sans-serif;
  color: #1e293b;
  overflow-x: hidden;
  background: #ffffff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Space Grotesk', sans-serif;
  line-height: 1.2;
}

img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar { width: 7px; }
::-webkit-scrollbar-track { background: #fef2f2; }
::-webkit-scrollbar-thumb { background: linear-gradient(180deg, #dc2626, #991b1b); border-radius: 10px; }

/* ===== LAYOUT ===== */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 90px 0;
}

@media (min-width: 768px) {
  .section { padding: 110px 0; }
}

.section--white { background: #ffffff; }
.section--light { background: #fafafa; }
.section--dark {
  background: linear-gradient(135deg, #1c1917 0%, #292524 100%);
  color: #e7e5e4;
}


/* ==========================================
   NAVBAR
   ========================================== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0,0,0,0.04);
  transition: all 0.35s ease;
}

.navbar.scrolled {
  background: rgba(255,255,255,0.97);
  box-shadow: 0 4px 30px rgba(0,0,0,0.06);
}

.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo__icon {
  width: 42px; height: 42px;
  border-radius: 12px;
  background: linear-gradient(135deg, #dc2626, #b91c1c);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 14px rgba(220,38,38,0.3);
}

.logo__icon svg {
  width: 22px; height: 22px;
  fill: white;
}

.logo__text {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 800;
  font-size: 1.15rem;
  color: #0f172a;
  line-height: 1.15;
}

.logo__text span {
  display: block;
  font-size: 0.62rem;
  font-weight: 500;
  color: #94a3b8;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* Desktop Nav */
.nav-desktop {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-link {
  position: relative;
  color: #475569;
  font-weight: 500;
  font-size: 0.88rem;
  padding: 6px 0;
  transition: color 0.3s;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 0; height: 2px;
  background: linear-gradient(90deg, #dc2626, #ef4444);
  border-radius: 2px;
  transition: width 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.nav-link:hover { color: #dc2626; }
.nav-link:hover::after,
.nav-link.active::after { width: 100%; }
.nav-link.active { color: #dc2626; }

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #dc2626, #b91c1c);
  color: white;
  padding: 10px 22px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.85rem;
  border: none;
  cursor: pointer;
  transition: all 0.3s;
  box-shadow: 0 4px 14px rgba(220,38,38,0.25);
}

.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(220,38,38,0.35);
}

/* Hamburger */
.hamburger {
  display: none;
  cursor: pointer;
  z-index: 1001;
  background: none;
  border: none;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 22px; height: 2px;
  background: #334155;
  margin: 5px 0;
  transition: all 0.35s ease;
  border-radius: 2px;
}

.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile Menu */
.mobile-menu {
  position: fixed; inset: 0;
  z-index: 999;
  background: rgba(15, 23, 42, 0.96);
  backdrop-filter: blur(24px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.mobile-menu.open { transform: translateX(0); }

.mobile-menu a {
  color: white;
  font-size: 1.25rem;
  font-weight: 600;
  padding: 14px 44px;
  border-radius: 12px;
  transition: background 0.3s;
  text-align: center;
}

.mobile-menu a:hover { background: rgba(220,38,38,0.2); }

@media (max-width: 768px) {
  .hamburger { display: block; }
  .nav-desktop { display: none !important; }
}


/* ==========================================
   HERO
   ========================================== */
.hero {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(15,23,42,0.88) 0%, rgba(30,20,20,0.78) 40%, rgba(127,29,29,0.5) 100%),
    url('https://images.pexels.com/photos/7146867/pexels-photo-7146867.jpeg?auto=compress&cs=tinysrgb&fit=crop&h=1200&w=1920') center/cover no-repeat;
}

.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.025'%3E%3Cpath d='M20 20h20v20H20zM0 0h20v20H0z'/%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

.hero__content {
  position: relative; z-index: 2;
  max-width: 680px;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(220,38,38,0.15);
  border: 1px solid rgba(220,38,38,0.3);
  border-radius: 50px;
  padding: 7px 18px;
  font-size: 0.75rem;
  color: #fca5a5;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 24px;
}

.hero__badge .dot {
  width: 7px; height: 7px;
  background: #ef4444;
  border-radius: 50%;
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(1.6); }
}

.hero__title {
  font-size: clamp(2.2rem, 5.5vw, 3.8rem);
  font-weight: 800;
  color: #ffffff;
  line-height: 1.1;
  margin-bottom: 24px;
}

.hero__title .gradient-text {
  display: block;
  margin-top: 6px;
  background: linear-gradient(135deg, #fca5a5, #ef4444, #f97316);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__desc {
  font-size: clamp(0.95rem, 1.8vw, 1.15rem);
  color: #d1d5db;
  line-height: 1.75;
  margin-bottom: 36px;
  max-width: 560px;
}

.hero__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* Wave */
.wave-divider {
  position: absolute;
  bottom: -1px; left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
  z-index: 3;
}

.wave-divider svg {
  display: block;
  width: 100%;
  height: 50px;
}

@media (min-width: 768px) {
  .wave-divider svg { height: 70px; }
}


/* ==========================================
   BUTTONS
   ========================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 0.92rem;
  border-radius: 12px;
  padding: 14px 28px;
  border: none;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
  white-space: nowrap;
}

.btn svg { flex-shrink: 0; }

.btn--primary {
  background: linear-gradient(135deg, #dc2626, #b91c1c);
  color: white;
  box-shadow: 0 4px 16px rgba(220,38,38,0.3);
}
.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(220,38,38,0.4);
}

.btn--outline {
  background: rgba(255,255,255,0.08);
  border: 1.5px solid rgba(255,255,255,0.25);
  color: white;
  backdrop-filter: blur(10px);
}
.btn--outline:hover {
  background: rgba(255,255,255,0.15);
  border-color: rgba(255,255,255,0.4);
  transform: translateY(-2px);
}

.btn--white {
  background: white;
  color: #b91c1c;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}
.btn--white:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

.btn--full { width: 100%; }


/* ==========================================
   SECTION HEADERS
   ========================================== */
.section-header {
  margin-bottom: 48px;
}

.section-header--center {
  text-align: center;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 56px;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, rgba(220,38,38,0.06), rgba(239,68,68,0.06));
  border: 1px solid rgba(220,38,38,0.12);
  color: #b91c1c;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(1.75rem, 3.8vw, 2.6rem);
  font-weight: 800;
  line-height: 1.15;
  color: #0f172a;
  margin-bottom: 16px;
}

.section-title .highlight {
  background: linear-gradient(135deg, #dc2626, #ef4444);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-desc {
  font-size: 1rem;
  color: #64748b;
  line-height: 1.75;
}


/* ==========================================
   STATS
   ========================================== */
.stats {
  padding: 50px 0;
  background: #fafafa;
}

.stats__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

@media (min-width: 768px) {
  .stats__grid { grid-template-columns: repeat(4, 1fr); }
}

.stat-card {
  text-align: center;
  padding: 20px 10px;
}

.stat-number {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 800;
  background: linear-gradient(135deg, #dc2626, #ef4444);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

.stat-label {
  font-size: 0.7rem;
  font-weight: 700;
  color: #b91c1c;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-top: 6px;
  margin-bottom: 4px;
}

.stat-sub {
  font-size: 0.82rem;
  color: #94a3b8;
}


/* ==========================================
   ABOUT SECTION
   ========================================== */
.about__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}

@media (min-width: 1024px) {
  .about__grid { grid-template-columns: 1fr 1fr; gap: 64px; }
}

.about__text-col .section-desc {
  margin-bottom: 16px;
}

.about__image-col { position: relative; }

.about__image {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(220,38,38,0.08);
  position: relative;
}

.about__image img {
  width: 100%;
  height: 360px;
  object-fit: cover;
}

@media (min-width: 1024px) {
  .about__image img { height: 460px; }
}

.about__image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(127,29,29,0.25), transparent 50%);
  border-radius: 20px;
  pointer-events: none;
}

.about__float-card {
  position: absolute;
  bottom: -16px;
  right: 12px;
  background: white;
  border-radius: 14px;
  box-shadow: 0 10px 35px rgba(0,0,0,0.1);
  padding: 14px 18px;
  border: 1px solid rgba(220,38,38,0.08);
  animation: float 5s ease-in-out infinite;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 12px;
}

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

.about__float-icon {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, #dc2626, #ef4444);
  display: flex; align-items: center; justify-content: center;
  color: white;
  font-size: 18px;
  flex-shrink: 0;
}

.about__float-title {
  font-weight: 700;
  font-size: 0.88rem;
  color: #1e293b;
}

.about__float-sub {
  font-size: 0.72rem;
  color: #94a3b8;
}

/* About highlights */
.about__highlights {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 24px;
}

@media (max-width: 480px) {
  .about__highlights { grid-template-columns: 1fr; }
}

.about__highlight-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.about__highlight-icon {
  width: 30px; height: 30px;
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}

.about__highlight-icon--red { background: #fef2f2; color: #dc2626; }
.about__highlight-icon--orange { background: #fff7ed; color: #ea580c; }
.about__highlight-icon--amber { background: #fffbeb; color: #d97706; }
.about__highlight-icon--green { background: #f0fdf4; color: #16a34a; }

.about__highlight-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: #334155;
}


/* ==========================================
   FEATURE CARDS (Why Choose Us)
   ========================================== */
.features__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 640px) {
  .features__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .features__grid { grid-template-columns: repeat(4, 1fr); }
}

.feature-card {
  background: white;
  border-radius: 18px;
  padding: 28px 22px;
  border: 1px solid #f1f5f9;
  transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, #dc2626, #ef4444, #f97316);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(220,38,38,0.07);
  border-color: rgba(220,38,38,0.15);
}

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

.feature-icon {
  width: 50px; height: 50px;
  border-radius: 13px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}

.feature-icon--red { background: #fef2f2; color: #dc2626; }
.feature-icon--orange { background: #fff7ed; color: #ea580c; }
.feature-icon--amber { background: #fffbeb; color: #d97706; }
.feature-icon--rose { background: #fff1f2; color: #e11d48; }

.feature-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 10px;
  line-height: 1.35;
}

.feature-card p {
  font-size: 0.85rem;
  color: #64748b;
  line-height: 1.65;
}


/* ==========================================
   SERVICES
   ========================================== */
.services__header {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  align-items: end;
  margin-bottom: 48px;
}

@media (min-width: 1024px) {
  .services__header { grid-template-columns: 1fr 1fr; gap: 40px; }
}

.services__header-right .section-desc {
  margin-bottom: 0;
}

.services__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 640px) {
  .services__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .services__grid { grid-template-columns: repeat(3, 1fr); }
}

.service-card {
  background: white;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid #f1f5f9;
  transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(220,38,38,0.07);
  border-color: rgba(220,38,38,0.15);
}

.service-card__img {
  height: 190px;
  overflow: hidden;
  position: relative;
}

.service-card__img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.service-card:hover .service-card__img img { transform: scale(1.06); }

.service-card__badge {
  position: absolute;
  top: 14px; left: 14px;
  background: linear-gradient(135deg, #dc2626, #b91c1c);
  color: white;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 50px;
  letter-spacing: 0.04em;
  z-index: 2;
}

.service-card__body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.service-card__emoji {
  font-size: 1.6rem;
  margin-bottom: 8px;
  line-height: 1;
}

.service-card__body h3 {
  font-size: 1rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 10px;
  line-height: 1.35;
}

.service-card__body p {
  font-size: 0.85rem;
  color: #64748b;
  line-height: 1.65;
  flex: 1;
}

.service-card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #dc2626;
  font-weight: 600;
  font-size: 0.85rem;
  margin-top: 16px;
  transition: gap 0.3s;
}

.service-card__link:hover { gap: 10px; }


/* ==========================================
   CTA SECTION
   ========================================== */
.cta {
  background: linear-gradient(135deg, #7f1d1d 0%, #991b1b 40%, #dc2626 100%);
  position: relative;
  overflow: hidden;
  padding: 90px 0;
}

@media (min-width: 768px) { .cta { padding: 110px 0; } }

.cta::before {
  content: '';
  position: absolute;
  top: -50%; right: -20%;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(239,68,68,0.25), transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.cta::after {
  content: '';
  position: absolute;
  bottom: -40%; left: -15%;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(249,115,22,0.15), transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.cta__inner {
  position: relative; z-index: 2;
  text-align: center;
  max-width: 680px;
  margin: 0 auto;
}

.cta__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 50px;
  padding: 6px 18px;
  color: #fecaca;
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 20px;
  backdrop-filter: blur(8px);
}

.cta__title {
  font-size: clamp(1.8rem, 4.5vw, 2.8rem);
  font-weight: 800;
  color: white;
  line-height: 1.15;
  margin-bottom: 18px;
}

.cta__desc {
  font-size: 1.05rem;
  color: rgba(254,202,202,0.8);
  line-height: 1.7;
  margin-bottom: 36px;
}

.cta__buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}


/* ==========================================
   CONTACT
   ========================================== */
.contact__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: start;
}

@media (min-width: 1024px) {
  .contact__grid { grid-template-columns: 1fr 1fr; gap: 64px; }
}

.contact__info-list {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin-top: 32px;
}

.contact__info-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.contact__info-icon {
  width: 46px; height: 46px;
  border-radius: 13px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}

.contact__info-icon--red { background: #fef2f2; color: #dc2626; }
.contact__info-icon--orange { background: #fff7ed; color: #ea580c; }
.contact__info-icon--green { background: #f0fdf4; color: #16a34a; }

.contact__info-item h4 {
  font-size: 0.92rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 3px;
}

.contact__info-item p {
  font-size: 0.88rem;
  color: #64748b;
}

/* Contact Form */
.contact__form-wrap {
  background: #fafafa;
  border-radius: 22px;
  padding: 28px;
  border: 1px solid #f1f5f9;
}

@media (min-width: 640px) {
  .contact__form-wrap { padding: 36px; }
}

.contact__form-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 4px;
}

.contact__form-sub {
  font-size: 0.82rem;
  color: #94a3b8;
  margin-bottom: 24px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-bottom: 14px;
}

@media (min-width: 640px) {
  .form-row--2 { grid-template-columns: 1fr 1fr; }
}

.form-group { margin-bottom: 14px; }

.form-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  color: #475569;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 7px;
}

.form-input {
  width: 100%;
  padding: 12px 15px;
  border: 1.5px solid #e2e8f0;
  border-radius: 11px;
  font-size: 0.92rem;
  font-family: 'Inter', sans-serif;
  background: white;
  transition: all 0.3s;
  outline: none;
  color: #1e293b;
  appearance: none;
  -webkit-appearance: none;
}

.form-input:focus {
  border-color: #ef4444;
  box-shadow: 0 0 0 3px rgba(239,68,68,0.08);
}

.form-input::placeholder { color: #94a3b8; }

textarea.form-input { resize: vertical; min-height: 100px; }

select.form-input {
  color: #64748b;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%2394a3b8' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 6l3.5 4 3.5-4z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}

.form-success {
  display: none;
  text-align: center;
  padding: 24px;
  border-radius: 14px;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  margin-top: 14px;
}

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

.form-success__icon { font-size: 2rem; margin-bottom: 8px; }
.form-success__title { font-weight: 700; color: #166534; margin-bottom: 4px; }
.form-success__text { font-size: 0.85rem; color: #15803d; }


/* ==========================================
   FOOTER
   ========================================== */
.footer {
  background: #0f0f0f;
  color: #a8a29e;
}

.footer a { color: #a8a29e; transition: color 0.3s; }
.footer a:hover { color: #fca5a5; }

.footer__top {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  padding: 56px 0;
  border-bottom: 1px solid #292524;
}

@media (min-width: 640px) {
  .footer__top { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .footer__top { grid-template-columns: 1.5fr 1fr 1fr 1.2fr; }
}

.footer__brand p {
  font-size: 0.85rem;
  color: #78716c;
  line-height: 1.7;
  margin-bottom: 18px;
  margin-top: 14px;
}

.footer__socials {
  display: flex;
  gap: 10px;
}

.footer__social-link {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: #1c1917;
  display: flex; align-items: center; justify-content: center;
  color: #a8a29e;
  transition: all 0.3s;
}

.footer__social-link:hover {
  background: #dc2626;
  color: white;
}

.footer__heading {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  color: #fafaf9;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 18px;
}

.footer__links li { margin-bottom: 11px; }

.footer__links a {
  font-size: 0.85rem;
  transition: all 0.3s;
}

.footer__links a:hover { padding-left: 4px; }

.footer__contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 14px;
  font-size: 0.85rem;
}

.footer__contact-item svg {
  flex-shrink: 0;
  margin-top: 2px;
  color: #ef4444;
}

.footer__bottom {
  padding: 20px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-align: center;
}

@media (min-width: 640px) {
  .footer__bottom { flex-direction: row; justify-content: space-between; }
}

.footer__bottom p { font-size: 0.75rem; color: #57534e; }


/* ==========================================
   BACK TO TOP
   ========================================== */
.back-to-top {
  position: fixed;
  bottom: 24px; right: 24px;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, #dc2626, #ef4444);
  color: white;
  box-shadow: 0 6px 20px rgba(220,38,38,0.3);
  display: flex; align-items: center; justify-content: center;
  z-index: 50;
  opacity: 0;
  pointer-events: none;
  transform: translateY(20px);
  transition: all 0.35s ease;
  border: none;
  cursor: pointer;
}

.back-to-top.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.back-to-top:hover {
  transform: translateY(-3px) scale(1.06);
  box-shadow: 0 10px 30px rgba(220,38,38,0.4);
}


/* ==========================================
   ANIMATIONS
   ========================================== */
.anim {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.anim.visible {
  opacity: 1;
  transform: translateY(0);
}

.anim--d1 { transition-delay: 0.1s; }
.anim--d2 { transition-delay: 0.2s; }
.anim--d3 { transition-delay: 0.3s; }
.anim--d4 { transition-delay: 0.4s; }
.anim--d5 { transition-delay: 0.5s; }

@media (max-width: 768px) {
  .anim--d1, .anim--d2, .anim--d3,
  .anim--d4, .anim--d5 { transition-delay: 0s; }
}


/* ==========================================
   WHATSAPP FLOAT
   ========================================== */
.whatsapp-float {
  position: fixed;
  bottom: 24px; left: 24px;
  width: 52px; height: 52px;
  border-radius: 50%;
  background: #25D366;
  color: white;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 20px rgba(37,211,102,0.35);
  z-index: 50;
  transition: all 0.3s;
  border: none;
  cursor: pointer;
}

.whatsapp-float:hover {
  transform: scale(1.08);
  box-shadow: 0 10px 30px rgba(37,211,102,0.4);
}

/* ===== UTILITY ===== */
.mb-0 { margin-bottom: 0 !important; }
