/* ============================================
   FLG Facas Laser — Landing Page Styles
   Font: Outfit | Floating rounded navbar
   ============================================ */

:root {
  --red-50: #fef2f2;
  --red-100: #fee2e2;
  --red-200: #fecaca;
  --red-300: #fca5a5;
  --red-400: #f87171;
  --red-500: #ef4444;
  --red-600: #dc2626;
  --red-700: #b91c1c;
  --red-800: #991b1b;
  --red-900: #7f1d1d;
  --red-950: #450a0a;

  --gradient-primary: linear-gradient(135deg, #b91c1c 0%, #dc2626 50%, #ef4444 100%);
  --gradient-dark: linear-gradient(135deg, #7f1d1d 0%, #991b1b 50%, #b91c1c 100%);
  --gradient-hero: linear-gradient(135deg, #450a0a 0%, #7f1d1d 40%, #991b1b 100%);
  --gradient-subtle: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);

  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;
  --gray-950: #030712;

  --white: #ffffff;
  --black: #000000;

  --font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- Reset & Base --- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-family);
  color: var(--gray-800);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  font-size: 0.95rem;
  font-weight: 600;
  font-family: var(--font-family);
  border-radius: var(--radius-full);
  border: none;
  cursor: pointer;
  transition: var(--transition);
  letter-spacing: 0.01em;
}
.btn-primary {
  background: var(--gradient-primary);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(185, 28, 28, 0.4);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(185, 28, 28, 0.5);
}
.btn-secondary {
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(4px);
}
.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.22);
  border-color: rgba(255, 255, 255, 0.6);
  transform: translateY(-2px);
}
.btn-outline {
  background: transparent;
  color: var(--red-700);
  border: 2px solid var(--red-700);
}
.btn-outline:hover {
  background: var(--red-700);
  color: var(--white);
  transform: translateY(-2px);
}
.btn-lg { padding: 18px 44px; font-size: 1.05rem; }

/* ============================================
   NAVBAR — Floating & Rounded
   ============================================ */
.navbar {
  position: fixed;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  width: calc(100% - 48px);
  max-width: 1200px;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: var(--radius-full);
  transition: var(--transition);
}
.navbar.scrolled {
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}
.navbar-container {
  padding: 0 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.navbar-logo img { height: 100px; width: auto; }
.navbar-menu { display: flex; align-items: center; gap: 4px; }
.navbar-menu li a {
  padding: 8px 18px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--gray-700);
  border-radius: var(--radius-full);
  transition: var(--transition);
}
.navbar-menu li a:hover { color: var(--red-700); background: var(--red-50); }
.navbar-cta {
  display: inline-flex;
  align-items: center;
  padding: 10px 24px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--white);
  background: var(--gradient-primary);
  border-radius: var(--radius-full);
  box-shadow: 0 2px 8px rgba(185, 28, 28, 0.3);
  transition: var(--transition);
}
.navbar-cta:hover { transform: translateY(-1px); box-shadow: 0 4px 12px rgba(185, 28, 28, 0.4); }

/* Mobile toggle */
.navbar-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.navbar-toggle span { display: block; width: 22px; height: 2px; background: var(--gray-800); border-radius: 2px; transition: var(--transition); }
.navbar-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.navbar-toggle.active span:nth-child(2) { opacity: 0; }
.navbar-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ============================================
   HERO — Slide-up Animations
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--gray-950);
}
.hero-bg { position: absolute; inset: 0; z-index: 1; }
.hero-video, .hero-image { width: 100%; height: 100%; object-fit: cover; }
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(to bottom, rgba(0,0,0,0.5) 0%, rgba(69,10,10,0.6) 50%, rgba(0,0,0,0.75) 100%);
}
.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  max-width: 850px;
  padding: 0 24px;
}

/* Hero text hierarchy */
.hero-line {
  font-size: clamp(3rem, 2vw, 1.3rem);
  font-weight: 400;
  color: rgba(255,255,255,0.7);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 35px;
}
.hero-line strong { color: var(--red-400); font-weight: 700; }

.hero-content h1 {
  font-size: clamp(2.4rem, 5.5vw, 4.4rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
  text-transform: uppercase;
}

.hero-tagline {
  font-size: clamp(1.1rem, 2.2vw, 1.5rem);
  font-weight: 500;
  color: rgba(255,255,255,0.8);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.hero-deadline {
  font-size: clamp(1.1rem, 2.2vw, 1.5rem);
  font-weight: 700;
  color: var(--red-400);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 40px;
}

.hero-ctas { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* Slide-up animations */
.hero-anim {
  opacity: 0;
  transform: translateY(40px);
  animation: heroSlideUp 0.8s ease forwards;
}
.hero-anim-1 { animation-delay: 0.2s; }
.hero-anim-2 { animation-delay: 0.5s; }
.hero-anim-3 { animation-delay: 0.8s; }
.hero-anim-4 { animation-delay: 1.1s; }
.hero-anim-5 { animation-delay: 1.4s; }

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

/* ============================================
   ABOUT SECTION
   ============================================ */
.about-section {
  padding: 100px 0;
  background: var(--white);
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.about-content .section-title { margin-bottom: 24px; }
.about-badge {
  display: inline-block;
  padding: 6px 18px;
  background: var(--red-50);
  color: var(--red-700);
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  margin-bottom: 24px;
  border: 1px solid var(--red-200);
}
.about-text {
  font-size: 1rem;
  color: var(--gray-600);
  line-height: 1.8;
  margin-bottom: 20px;
}
.about-text strong { color: var(--gray-900); }
.about-image-placeholder {
  width: 100%;
  height: 480px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--gray-200);
}
.about-image-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ============================================
   SERVICES SECTION
   ============================================ */
.services-section { padding: 100px 0; background: var(--gray-50); }
.section-title {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 800;
  color: var(--gray-900);
  letter-spacing: -0.02em;
  text-align: center;
  margin-bottom: 16px;
  line-height: 1.15;
}
.section-title.text-left { text-align: left; }
.section-subtitle {
  text-align: center;
  font-size: 1.05rem;
  color: var(--gray-500);
  max-width: 600px;
  margin: 0 auto 56px;
  line-height: 1.7;
}
.services-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 24px; }
.services-grid .service-card { flex: 0 1 calc(33.333% - 16px); min-width: 0; }
.service-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-xl); border-color: var(--red-200); }
.service-image-placeholder {
  width: 100%;
  height: 200px;
  background: var(--gradient-subtle);
  overflow: hidden;
}
.service-image-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.service-card:hover .service-image-placeholder img { transform: scale(1.05); }
.service-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--gray-900);
  padding: 20px 20px 8px;
}
.service-card p { font-size: 0.9rem; color: var(--gray-500); padding: 0 20px; line-height: 1.6; }
.service-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 16px 20px 20px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--red-700);
  transition: var(--transition);
}
.service-link:hover { color: var(--red-500); gap: 10px; }

/* ============================================
   PORTFOLIO SECTION
   ============================================ */
.cases-section { padding: 100px 0; background: var(--white); }
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.portfolio-item {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
  cursor: pointer;
  position: relative;
  transition: var(--transition);
}
.portfolio-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.4) 0%, transparent 50%);
  opacity: 0;
  transition: var(--transition);
}
.portfolio-item:hover::after { opacity: 1; }
.portfolio-item:hover { transform: translateY(-4px); box-shadow: var(--shadow-xl); }
.portfolio-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.portfolio-item:hover img { transform: scale(1.06); }

/* ============================================
   WHY CHOOSE US — Card Grid
   ============================================ */
.why-section { padding: 100px 0; background: var(--gray-50); }
.why-grid-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 8px;
}
.why-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: var(--transition);
}
.why-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--red-200); }
.why-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  background: var(--gradient-primary);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  margin-bottom: 20px;
}
.why-icon svg { width: 20px; height: 20px; }
.why-card strong {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--gray-900);
  display: block;
  margin-bottom: 8px;
  line-height: 1.3;
}
.why-card p { font-size: 0.9rem; color: var(--gray-500); line-height: 1.65; }

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonials-section { padding: 100px 0; background: var(--white); }
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.testimonial-card {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition);
}
.testimonial-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--red-200); }
.testimonial-quote { position: relative; margin-bottom: 24px; }
.testimonial-quote svg { position: absolute; top: -8px; left: -4px; color: var(--red-600); }
.testimonial-quote p { font-size: 0.95rem; color: var(--gray-600); line-height: 1.7; font-style: italic; padding-top: 20px; }
.testimonial-author { display: flex; align-items: center; gap: 14px; padding-top: 20px; border-top: 1px solid var(--gray-200); }
.testimonial-avatar {
  width: 44px; height: 44px;
  background: var(--gradient-primary);
  border-radius: var(--radius-full);
  display: flex; align-items: center; justify-content: center;
  color: var(--white); font-size: 0.85rem; font-weight: 700; flex-shrink: 0;
}
.testimonial-avatar-img {
  width: 44px; height: 44px;
  border-radius: var(--radius-full);
  object-fit: cover;
  flex-shrink: 0;
  border: 2px solid var(--red-200);
}
.testimonial-author strong { font-size: 0.9rem; font-weight: 700; color: var(--gray-900); display: block; }
.testimonial-author span { font-size: 0.8rem; color: var(--gray-400); }

/* ============================================
   FAQ SECTION
   ============================================ */
.faq-section { padding: 100px 0; background: var(--gray-50); }
.faq-list { max-width: 780px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item { border: 1px solid var(--gray-200); border-radius: var(--radius-md); overflow: hidden; transition: var(--transition); background: var(--white); }
.faq-item.active { border-color: var(--red-200); box-shadow: 0 4px 12px rgba(185,28,28,0.08); }
.faq-question {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  padding: 20px 24px; background: none; border: none; cursor: pointer;
  font-family: var(--font-family); font-size: 0.95rem; font-weight: 600;
  color: var(--gray-800); text-align: left; gap: 16px; transition: var(--transition);
}
.faq-question:hover { color: var(--red-700); }
.faq-chevron { flex-shrink: 0; transition: transform 0.3s ease; color: var(--gray-400); }
.faq-item.active .faq-chevron { transform: rotate(180deg); color: var(--red-600); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.35s cubic-bezier(0.4,0,0.2,1); }
.faq-item.active .faq-answer { max-height: 300px; }
.faq-answer p { padding: 0 24px 20px; font-size: 0.9rem; color: var(--gray-500); line-height: 1.7; }
.faq-cta { text-align: center; margin-top: 48px; }
.faq-cta p { font-size: 1rem; color: var(--gray-500); margin-bottom: 20px; }

/* ============================================
   FINAL CTA SECTION
   ============================================ */
.final-cta-section {
  padding: 100px 0;
  background: var(--gradient-hero);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.final-cta-section::before {
  content: '';
  position: absolute; top: -50%; left: -50%;
  width: 200%; height: 200%;
  background: radial-gradient(circle at 30% 50%, rgba(239,68,68,0.15) 0%, transparent 50%);
  pointer-events: none;
}
.final-cta-section h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); font-weight: 800; color: var(--white); letter-spacing: -0.02em; margin-bottom: 16px; position: relative; }
.final-cta-section p { font-size: 1.05rem; color: rgba(255,255,255,0.75); max-width: 560px; margin: 0 auto 36px; line-height: 1.7; position: relative; }
.final-cta-section .btn-primary { background: var(--white); color: var(--red-700); box-shadow: 0 4px 14px rgba(0,0,0,0.2); position: relative; }
.final-cta-section .btn-primary:hover { box-shadow: 0 6px 20px rgba(0,0,0,0.3); }

/* ============================================
   FOOTER
   ============================================ */
.footer { background: var(--gray-950); color: var(--gray-400); padding: 72px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 48px; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,0.08); }
.footer-logo img { height: 150px; width: auto; margin-bottom: 10px; filter: none; }
.footer-desc { font-size: 0.875rem; line-height: 1.7; color: var(--gray-500); }
.footer-col h4 { font-size: 0.85rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--gray-300); margin-bottom: 20px; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { font-size: 0.875rem; color: var(--gray-500); transition: var(--transition); }
.footer-col ul li a:hover { color: var(--red-400); }
.footer-contact li { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 14px !important; }
.footer-contact li svg { flex-shrink: 0; margin-top: 3px; color: var(--red-500); }
.footer-contact li span { font-size: 0.875rem; line-height: 1.6; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; padding: 24px 0; }
.footer-bottom p { font-size: 0.8rem; color: var(--gray-600); }
.footer-links { display: flex; gap: 24px; }
.footer-links a { font-size: 0.8rem; color: var(--gray-600); }
.footer-links a:hover { color: var(--red-400); }
.footer-social { display: flex; gap: 12px; }
.footer-social a {
  width: 36px; height: 36px; border-radius: var(--radius-full);
  border: 1px solid rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: center;
  color: var(--gray-500); transition: var(--transition);
}
.footer-social a:hover { background: var(--red-700); border-color: var(--red-700); color: var(--white); }

/* ============================================
   FLOATING WHATSAPP BUTTON
   ============================================ */
.whatsapp-float {
  position: fixed; bottom: 28px; right: 28px; z-index: 999;
  width: 60px; height: 60px; background: #25d366;
  border-radius: var(--radius-full);
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
  box-shadow: 0 4px 16px rgba(37,211,102,0.4);
  transition: var(--transition);
  animation: whatsappPulse 2s infinite;
}
.whatsapp-float:hover { transform: scale(1.1); box-shadow: 0 6px 24px rgba(37,211,102,0.5); }
@keyframes whatsappPulse {
  0%, 100% { box-shadow: 0 4px 16px rgba(37,211,102,0.4); }
  50% { box-shadow: 0 4px 24px rgba(37,211,102,0.6); }
}

/* ============================================
   SCROLL ANIMATIONS
   ============================================ */
.fade-in { opacity: 0; transform: translateY(30px); transition: opacity 0.7s ease, transform 0.7s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 1024px) {
  .services-grid .service-card { flex: 0 1 calc(50% - 12px); }
  .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid-cards { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid .testimonial-card:last-child { grid-column: 1 / -1; max-width: 50%; margin: 0 auto; }
  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .about-image-placeholder { height: 350px; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .navbar { top: 10px; width: calc(100% - 24px); border-radius: var(--radius-xl); }
  .navbar-container { padding: 0 20px; height: 56px; }
  .navbar-logo img { height: 70px; }
  .navbar-menu {
    display: none; position: absolute;
    top: 60px; left: 12px; right: 12px;
    background: var(--white);
    flex-direction: column; padding: 16px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-200);
    box-shadow: var(--shadow-lg); gap: 4px;
  }
  .navbar-menu.active { display: flex; }
  .navbar-menu li a { display: block; padding: 12px 16px; font-size: 1rem; border-radius: var(--radius-sm); }
  .navbar-toggle { display: flex; }
  .navbar-cta { display: none; }

  .hero-content h1 { font-size: 2rem; }
  .hero-ctas { flex-direction: column; align-items: center; }
  .hero-ctas .btn { width: 100%; max-width: 300px; }

  .services-grid .service-card { flex: 0 1 100%; }
  .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid-cards { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .testimonials-grid .testimonial-card:last-child { max-width: 100%; }

  .about-content .section-title { text-align: center; }

  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .hero-content h1 { font-size: 1.75rem; }
  .section-title { font-size: 1.5rem; }
  .portfolio-grid { grid-template-columns: 1fr; }
}
