@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@400;500;600;700&family=Inter:wght@400;500;600&display=swap');

/* ===== CSS Variables (Design Tokens) ===== */
:root {
  --background: hsl(220, 20%, 7%);
  --foreground: hsl(0, 0%, 95%);
  --card: hsl(220, 15%, 12%);
  --card-foreground: hsl(0, 0%, 95%);
  --primary: hsl(25, 95%, 53%);
  --primary-foreground: hsl(0, 0%, 100%);
  --secondary: hsl(220, 10%, 18%);
  --secondary-foreground: hsl(0, 0%, 85%);
  --muted: hsl(220, 10%, 15%);
  --muted-foreground: hsl(220, 10%, 55%);
  --accent: hsl(25, 80%, 45%);
  --accent-foreground: hsl(0, 0%, 100%);
  --border: hsl(220, 10%, 20%);
  --radius: 0.5rem;
}

/* ===== Reset & Base ===== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  border-color: var(--border);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--background);
  color: var(--foreground);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

button {
  border: none;
  background: none;
  cursor: pointer;
  font-family: inherit;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Oswald', sans-serif;
}

/* ===== Utilities ===== */
.container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

.font-display {
  font-family: 'Oswald', sans-serif;
}

.text-gradient {
  background: linear-gradient(to right, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* ===== Animations ===== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes bounce {
  0%, 100% {
    transform: translateY(-25%) translateX(-50%);
    animation-timing-function: cubic-bezier(0.8, 0, 1, 1);
  }
  50% {
    transform: translateY(0) translateX(-50%);
    animation-timing-function: cubic-bezier(0, 0, 0.2, 1);
  }
}

@keyframes slideDown {
  from {
    opacity: 0;
    max-height: 0;
  }
  to {
    opacity: 1;
    max-height: 500px;
  }
}

.animate-fade-in-up {
  opacity: 0;
  animation: fadeInUp 0.6s ease-out forwards;
}

/* ===== Header ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background-color: hsla(220, 10%, 85%, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.header-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.header-logo img {
  height: 125px;
  width: auto;
  border-radius: var(--radius);
}

.header-logo-text {
  font-family: 'Oswald', sans-serif;
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: hsl(220, 20%, 15%);
  display: none;
}

.header-logo-text span {
  color: var(--primary);
}

/* Desktop Nav */
.nav-desktop {
  display: none;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  font-family: 'Oswald', sans-serif;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: hsl(220, 20%, 25%);
  transition: color 0.3s;
}

.nav-link:hover {
  color: var(--primary);
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background-color: var(--primary);
  color: var(--primary-foreground);
  padding: 0.625rem 1.25rem;
  border-radius: var(--radius);
  font-family: 'Oswald', sans-serif;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: background-color 0.3s;
  white-space: nowrap;
}

.btn-primary:hover {
  background-color: var(--accent);
}

.btn-primary svg {
  width: 16px;
  height: 16px;
}

/* Mobile Menu Toggle */
.mobile-toggle {
  display: flex;
  color: hsl(220, 20%, 25%);
  padding: 0.25rem;
}

.mobile-toggle svg {
  width: 24px;
  height: 24px;
}

/* Mobile Nav */
.nav-mobile {
  display: none;
  background-color: hsla(220, 10%, 85%, 0.98);
  border-top: 1px solid var(--border);
  overflow: hidden;
}

.nav-mobile.active {
  display: block;
  animation: slideDown 0.3s ease-out;
}

.nav-mobile-inner {
  display: flex;
  flex-direction: column;
  padding: 1rem 2rem;
  gap: 1rem;
}

.nav-mobile-inner .nav-link {
  font-size: 1rem;
  padding: 0.25rem 0;
}

.nav-mobile-inner .btn-primary {
  padding: 0.75rem 1.25rem;
  text-align: center;
  justify-content: center;
}

/* ===== Hero Section ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.hero-bg {
  position: absolute;
  inset: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, hsla(220, 20%, 7%, 0.85) 0%, hsla(220, 20%, 7%, 0.4) 100%);
}

.hero-content {
  position: relative;
  z-index: 10;
  padding-top: 5rem;
  max-width: 42rem;
}

.hero-badge {
  display: inline-block;
  background-color: hsla(25, 95%, 53%, 0.2);
  border: 1px solid hsla(25, 95%, 53%, 0.3);
  border-radius: var(--radius);
  padding: 0.375rem 1rem;
  margin-bottom: 1.5rem;
}

.hero-badge span {
  font-family: 'Oswald', sans-serif;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--primary);
}

.hero h1 {
  font-family: 'Oswald', sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  color: var(--foreground);
}

.hero-description {
  font-size: 1.125rem;
  color: var(--secondary-foreground);
  max-width: 32rem;
  margin-bottom: 2rem;
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.btn-hero-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background-color: var(--primary);
  color: var(--primary-foreground);
  padding: 1rem 2rem;
  border-radius: var(--radius);
  font-family: 'Oswald', sans-serif;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: background-color 0.3s;
}

.btn-hero-primary:hover {
  background-color: var(--accent);
}

.btn-hero-primary svg {
  width: 20px;
  height: 20px;
}

.btn-hero-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border: 1px solid hsla(0, 0%, 95%, 0.2);
  color: var(--foreground);
  padding: 1rem 2rem;
  border-radius: var(--radius);
  font-family: 'Oswald', sans-serif;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: border-color 0.3s, color 0.3s;
  background: transparent;
}

.btn-hero-secondary:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.hero-scroll-down {
  position: absolute;
  bottom: 0.75rem;
  left: 50%;
  transform: translateX(-50%);
  color: var(--muted-foreground);
  transition: color 0.3s;
  animation: bounce 1s infinite;
}

.hero-scroll-down:hover {
  color: var(--primary);
}

.hero-scroll-down svg {
  width: 24px;
  height: 24px;
}

/* ===== Services Section ===== */
.services {
  padding: 5rem 0;
  background: linear-gradient(180deg, hsl(220, 15%, 10%) 0%, hsl(220, 20%, 7%) 100%);
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-tag {
  font-family: 'Oswald', sans-serif;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--primary);
}

.section-title {
  font-family: 'Oswald', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-top: 0.75rem;
  color: var(--foreground);
}

.section-divider {
  width: 4rem;
  height: 4px;
  background-color: var(--primary);
  margin: 1rem auto 0;
  border-radius: 9999px;
}

.section-subtitle {
  color: var(--muted-foreground);
  margin-top: 1rem;
  max-width: 28rem;
  margin-left: auto;
  margin-right: auto;
}

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

.service-card {
  position: relative;
  overflow: hidden;
  border-radius: 0.5rem;
  background-color: var(--card);
  border: 1px solid var(--border);
  transition: border-color 0.3s;
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  border-color: hsla(25, 95%, 53%, 0.5);
}

.service-card-image {
  aspect-ratio: 1 / 1;
  overflow: hidden;
}

.service-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.service-card:hover .service-card-image img {
  transform: scale(1.05);
}

.service-card-content {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.service-card-content h3 {
  font-family: 'Oswald', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  color: var(--foreground);
  transition: color 0.3s;
}

.service-card:hover .service-card-content h3 {
  color: var(--primary);
}

.service-card-content p {
  color: var(--muted-foreground);
  font-size: 0.875rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.btn-service {
  display: inline-block;
  margin-top: auto;
  padding: 0.625rem 1.25rem;
  background-color: var(--primary);
  color: var(--primary-foreground);
  border-radius: var(--radius);
  font-family: 'Oswald', sans-serif;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: background-color 0.3s;
}

.btn-service:hover {
  background-color: var(--accent);
}

/* ===== About Section ===== */
.about {
  padding: 5rem 0;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

.about-tag {
  font-family: 'Oswald', sans-serif;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--primary);
}

.about-title {
  font-family: 'Oswald', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-top: 0.75rem;
  margin-bottom: 1.5rem;
  color: var(--foreground);
}

.about-text {
  color: var(--muted-foreground);
  line-height: 1.7;
  margin-bottom: 1rem;
}

.about-text:last-of-type {
  margin-bottom: 2rem;
}

.btn-about {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: var(--primary);
  color: var(--primary-foreground);
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius);
  font-family: 'Oswald', sans-serif;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: background-color 0.3s;
}

.btn-about:hover {
  background-color: var(--accent);
}

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

.stat-card {
  background-color: var(--card);
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  padding: 1.5rem;
  text-align: center;
  transition: border-color 0.3s;
}

.stat-card:hover {
  border-color: hsla(25, 95%, 53%, 0.5);
}

.stat-card svg {
  width: 32px;
  height: 32px;
  color: var(--primary);
  margin: 0 auto 0.75rem;
  stroke: var(--primary);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.stat-value {
  font-family: 'Oswald', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--foreground);
}

.stat-desc {
  font-size: 0.75rem;
  color: var(--muted-foreground);
  margin-top: 0.25rem;
}

/* ===== Contact Section ===== */
.contact {
  padding: 5rem 0;
  background: linear-gradient(180deg, hsl(220, 15%, 10%) 0%, hsl(220, 20%, 7%) 100%);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  max-width: 64rem;
  margin: 0 auto;
}

.contact-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: var(--card);
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  padding: 2rem;
  transition: border-color 0.3s, background-color 0.3s;
}

.contact-card:hover {
  border-color: hsla(25, 95%, 53%, 0.5);
  background-color: hsla(220, 10%, 18%, 0.5);
}

.contact-card svg {
  width: 40px;
  height: 40px;
  color: var(--primary);
  stroke: var(--primary);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  margin-bottom: 1rem;
  transition: transform 0.3s;
}

.contact-card:hover svg {
  transform: scale(1.1);
}

.contact-card-label {
  font-family: 'Oswald', sans-serif;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted-foreground);
  margin-bottom: 0.25rem;
}

.contact-card-value {
  color: var(--foreground);
  font-weight: 500;
  text-align: center;
}

.contact-cta {
  text-align: center;
  margin-top: 3rem;
}

.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background-color: var(--primary);
  color: var(--primary-foreground);
  padding: 1rem 2.5rem;
  border-radius: 0.5rem;
  font-family: 'Oswald', sans-serif;
  font-size: 1.125rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: background-color 0.3s;
}

.btn-whatsapp:hover {
  background-color: var(--accent);
}

.btn-whatsapp svg {
  width: 20px;
  height: 20px;
}

/* ===== Footer ===== */
.footer {
  border-top: 1px solid var(--border);
  padding: 2rem 0;
  background-color: hsla(220, 10%, 85%, 0.95);
}

.footer .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.footer-brand img {
  height: 125px;
  width: auto;
  border-radius: var(--radius);
}

.footer-brand span {
  font-family: 'Oswald', sans-serif;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: hsl(220, 20%, 25%);
}

.footer-copy {
  font-size: 0.75rem;
  color: hsl(220, 15%, 35%);
}

/* ===== WhatsApp Floating Button ===== */
.whatsapp-float {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 99;
  width: 60px;
  height: 60px;
  background-color: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s, box-shadow 0.3s;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
}

.whatsapp-float svg {
  width: 28px;
  height: 28px;
}

/* ===== Popup WhatsApp ===== */
.popup-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 100;
  background-color: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.popup-overlay.active {
  display: flex;
}

.popup {
  position: relative;
  background-color: hsl(220, 15%, 12%);
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  padding: 2rem;
  width: 100%;
  max-width: 400px;
  animation: fadeInUp 0.3s ease-out;
}

.popup-close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  color: var(--muted-foreground);
  padding: 0.25rem;
  border-radius: 0.25rem;
  transition: color 0.3s;
}

.popup-close:hover {
  color: var(--foreground);
}

.popup-title {
  font-family: 'Oswald', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--foreground);
  margin-bottom: 0.25rem;
}

.popup-subtitle {
  color: var(--muted-foreground);
  font-size: 0.875rem;
  margin-bottom: 1.5rem;
}

.popup-options {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.popup-option {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  border-radius: 0.5rem;
  border: 1px solid var(--border);
  background-color: var(--secondary);
  transition: border-color 0.3s, background-color 0.3s;
}

.popup-option:hover {
  border-color: #25d366;
  background-color: hsla(145, 70%, 35%, 0.1);
}

.popup-option svg {
  flex-shrink: 0;
}

.popup-option-info {
  display: flex;
  flex-direction: column;
}

.popup-option-name {
  font-family: 'Oswald', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--foreground);
}

.popup-option-number {
  font-size: 0.8125rem;
  color: var(--muted-foreground);
}

/* ===== Responsive ===== */

/* sm: 640px */
@media (min-width: 640px) {
  .hero h1 {
    font-size: 3rem;
  }

  .hero-buttons {
    flex-direction: row;
  }
}

/* md: 768px */
@media (min-width: 768px) {
  .header .container {
    height: 80px;
  }

  .header-logo img {
    height: 125px;
  }

  .header-logo-text {
    display: block;
    font-size: 1.25rem;
  }

  .nav-desktop {
    display: flex;
  }

  .mobile-toggle {
    display: none;
  }

  .nav-mobile {
    display: none !important;
  }

  .hero h1 {
    font-size: 4.5rem;
  }

  .hero-description {
    font-size: 1.25rem;
  }

  .services {
    padding: 7rem 0;
  }

  .services-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }

  .section-title {
    font-size: 3rem;
  }

  .about {
    padding: 7rem 0;
  }

  .about-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 4rem;
  }

  .about-title {
    font-size: 3rem;
  }

  .contact {
    padding: 7rem 0;
  }

  .contact-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .footer .container {
    flex-direction: row;
  }
}

/* lg: 1024px */
@media (min-width: 1024px) {
  .hero h1 {
    font-size: 4.5rem;
  }
}
