@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@600;700&family=Inter:wght@400;500&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:wght,FILL@100..700,0..1&display=swap');

/* CSS reset & base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --green: #63C153;
  --orange: #F97316;
  --darkorange: #EA580C;
  --background: #F9FAFB;
  --blue: #064E5A;
  --text: #191c1d;
  --text-muted: #584237;
  --white: #ffffff;
  --border: #e0c0b1;
  --surface: #edeeef;
  --container-max: 1280px;
  --section-gap: 5rem;
  --gutter: 1.5rem;
  --header-h: 5rem;
  --header-h-shrink: 4rem;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', system-ui, sans-serif;
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.5;
  color: var(--text);
  background: var(--background);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Poppins', system-ui, sans-serif;
  font-weight: 600;
  color: var(--blue);
  line-height: 1.2;
}

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

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

ul {
  list-style: none;
}

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

.material-symbols-outlined {
  font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
  vertical-align: middle;
}

/* Container */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

@media (min-width: 768px) {
  .container {
    padding-left: 2.5rem;
    padding-right: 2.5rem;
  }
}

/* Header / navbar */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  height: var(--header-h);
  background: var(--blue);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  transition: height 0.3s ease, background 0.3s ease, backdrop-filter 0.3s ease;
}

.header.is-scrolled {
  height: var(--header-h-shrink);
  background: rgba(6, 78, 90, 0.95);
  backdrop-filter: blur(8px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 1rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--white);
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 1.125rem;
}

.logo-img {
  height: 3rem;
  width: auto;
  border-radius: 0.375rem;
  object-fit: contain;
}
 
.logo-text {
  font-size: 2rem;
}

@media (max-width: 640px) {
  .logo-text {
    display: inline;
    font-size: 1.6rem;
  }
}

.nav-links {
  display: none;
  align-items: center;
  gap: 2rem;
}

@media (min-width: 768px) {
  .nav-links {
    display: flex;
  }
}

.nav-link {
  font-family: 'Inter', sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.9);
  transition: color 0.2s;
  padding-bottom: 0.25rem;
  border-bottom: 2px solid transparent;
}

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

.nav-link.active {
  color: var(--orange);
  border-bottom-color: var(--orange);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.btn-quote-nav {
  display: none;
  background: var(--orange);
  color: var(--white);
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  transition: background 0.2s, transform 0.2s;
}

.btn-quote-nav:hover {
  background: var(--darkorange);
}

@media (min-width: 640px) {
  .btn-quote-nav {
    display: inline-block;
  }
}

.hamburger {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  padding: 0.5rem;
}

@media (min-width: 768px) {
  .hamburger {
    display: none;
  }
}

.hamburger svg {
  width: 2rem;
  height: 2rem;
}

.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 55;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.nav-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

@media (min-width: 768px) {
  .nav-overlay {
    display: none;
  }
}

.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(100%, 320px);
  z-index: 60;
  background: var(--blue);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  padding: 2rem;
  transform: translateX(100%);
  transition: transform 0.3s ease-in-out;
}

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

@media (min-width: 768px) {
  .mobile-menu {
    display: none;
  }
}

.mobile-menu-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  color: var(--white);
  padding: 0.5rem;
}

.mobile-menu-close svg {
  width: 2.5rem;
  height: 2.5rem;
}

.mobile-menu .nav-link {
  font-size: 1.5rem;
  font-family: 'Poppins', sans-serif;
  border-bottom: none;
}

.mobile-menu .btn-quote-nav {
  display: inline-block;
  margin-top: 0.5rem;
  padding: 1rem 2.5rem;
  border-radius: 0.75rem;
  font-size: 1rem;
}

/* Main offset for fixed header */
main,
.page-main {
  padding-top: var(--header-h);
}

/* Footer */
.footer {
  background: var(--blue);
  color: var(--white);
  padding: var(--section-gap) 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

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

.footer-col h4 {
  color: var(--white);
  font-size: 1.125rem;
  margin-bottom: 1.5rem;
}

.footer-brand-text {
  opacity: 0.7;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  font-size: 0.9375rem;
}

.footer-col ul li {
  margin-bottom: 0.75rem;
}

.footer-col ul a {
  opacity: 0.7;
  transition: color 0.2s;
  font-size: 0.9375rem;
}

.footer-col ul a:hover {
  color: var(--orange);
}

.footer-contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  opacity: 0.7;
  margin-bottom: 1rem;
  font-size: 0.9375rem;
}

.footer-contact-list .material-symbols-outlined {
  color: var(--orange);
  flex-shrink: 0;
}

.footer-social {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.footer-social a {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.footer-social a:hover {
  background: var(--orange);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 3rem;
  padding-top: 2rem;
  text-align: center;
  opacity: 0.5;
  font-size: 0.875rem;
}

/* WhatsApp float */
.whatsapp-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 50;
  width: 4rem;
  height: 4rem;
  background: #25D366;
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s;
}

.whatsapp-float:hover {
  transform: scale(1.1);
}

.whatsapp-float .material-symbols-outlined {
  font-size: 2rem;
}

/* Shared utilities */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

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

.animate-float {
  animation: float 4s ease-in-out infinite;
}

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

.animate-bounce {
  animation: bounce 2s ease-in-out infinite;
}

.section-header {
  text-align: center;
  margin-bottom: var(--section-gap);
}

.section-header h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  margin-bottom: 1rem;
}

.section-divider {
  width: 5rem;
  height: 6px;
  background: var(--orange);
  border-radius: 999px;
  margin: 0 auto;
}

/* Shared buttons */
.btn-hero-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: var(--orange);
  color: var(--white);
  padding: 1rem 2rem;
  border-radius: 0.75rem;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 1.125rem;
  transition: background 0.2s, transform 0.2s;
  box-shadow: 0 4px 14px rgba(249, 115, 22, 0.35);
}

.btn-hero-primary:hover {
  background: var(--darkorange);
  transform: scale(1.03);
}

.btn-hero-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
  padding: 1rem 2rem;
  border-radius: 0.75rem;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 1.125rem;
  transition: background 0.2s, color 0.2s, transform 0.2s;
}

.btn-hero-secondary:hover {
  background: var(--white);
  color: var(--blue);
  transform: scale(1.03);
}

/* Page section spacing */
.section {
  padding: var(--section-gap) 0;
}

.text-muted {
  color: var(--text-muted);
}

.text-green {
  color: var(--green);
}

.text-orange {
  color: var(--orange);
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
  font-size: 0.875rem;
  opacity: 0.8;
}

.breadcrumb a:hover {
  color: var(--orange);
}

.breadcrumb .current {
  color: var(--orange);
  font-weight: 700;
}

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