/* ============================================
   JCPremoldados - Landing Page Institucional
   Mobile First | HTML5 + CSS3 + JS Vanilla
   ============================================ */

/* ---------- CSS CUSTOM PROPERTIES ---------- */
:root {
  /* Brand Colors */
  --color-white: #FFFFFF;
  --color-black: #111111;
  --color-blue: #1E40AF;
  --color-blue-dark: #1a3790;
  --color-blue-light: #3B82F6;
  --color-blue-pale: #DBEAFE;
  --color-gray-light: #F5F5F5;
  --color-gray: #E5E7EB;
  --color-gray-medium: #9CA3AF;
  --color-gray-dark: #6B7280;
  --color-green-whatsapp: #25D366;
  --color-green-whatsapp-dark: #1EB954;

  /* Gradients */
  --gradient-blue: linear-gradient(135deg, #1E40AF 0%, #3B82F6 100%);
  --gradient-blue-soft: linear-gradient(135deg, #1E40AF 0%, #2563EB 50%, #3B82F6 100%);
  --gradient-dark: linear-gradient(180deg, rgba(17,17,17,0.7) 0%, rgba(17,17,17,0.4) 100%);
  --gradient-hero-overlay: linear-gradient(180deg, rgba(17,17,17,0.65) 100%, rgba(30,64,175,0.35) 100%);

  /* Typography */
  --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Spacing */
  --section-padding-mobile: 3.5rem 1.25rem;
  --section-padding-tablet: 4.5rem 2rem;
  --section-padding-desktop: 5.5rem 2rem;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
  --shadow-lg: 0 10px 30px rgba(0,0,0,0.12);
  --shadow-xl: 0 20px 50px rgba(0,0,0,0.15);
  --shadow-card: 0 4px 16px rgba(30,64,175,0.08);
  --shadow-card-hover: 0 12px 32px rgba(30,64,175,0.16);

  /* Borders */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 50px;

  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.5s cubic-bezier(0.4, 0, 0.2, 1);

  /* Layout */
  --max-width: 1200px;
  --header-height: 70px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-primary);
  color: var(--color-black);
  background-color: var(--color-white);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

ul, ol {
  list-style: none;
}

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

/* ---------- UTILITY CLASSES ---------- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.25rem;
}

.section-title {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--color-black);
  text-align: center;
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.section-subtitle {
  font-size: 1rem;
  font-weight: 400;
  color: var(--color-gray-dark);
  text-align: center;
  max-width: 600px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--color-blue-pale);
  color: var(--color-blue);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.4rem 1rem;
  border-radius: var(--radius-full);
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  transition: all var(--transition-base);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.15);
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.btn:hover::after {
  opacity: 1;
}

.btn-primary {
  background: var(--gradient-blue);
  color: var(--color-white);
  box-shadow: 0 4px 15px rgba(30,64,175,0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(30,64,175,0.45);
}

.btn-whatsapp {
  background: var(--color-green-whatsapp);
  color: var(--color-white);
  box-shadow: 0 4px 15px rgba(37,211,102,0.35);
}

.btn-whatsapp:hover {
  background: var(--color-green-whatsapp-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(37,211,102,0.45);
}

.btn-outline {
  background: rgba(255,255,255,0.1);
  color: var(--color-white);
  border: 2px solid rgba(255,255,255,0.5);
  backdrop-filter: blur(4px);
}

.btn-outline:hover {
  background: var(--color-white);
  color: var(--color-blue);
  border-color: var(--color-white);
  transform: translateY(-2px);
}

.btn-outline::after {
  display: none;
}

.btn-lg {
  padding: 1rem 2.25rem;
  font-size: 1.05rem;
}

.btn svg,
.btn img {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

/* ---------- HEADER ---------- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: transparent;
  transition: all var(--transition-base);
  height: var(--header-height);
}

.header.scrolled {
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-md);
}

.header.scrolled .header__logo-text {
  color: var(--color-blue);
}

.header.scrolled .header__nav-link {
  color: var(--color-black);
}

.header.scrolled .header__nav-link:hover,
.header.scrolled .header__nav-link.active {
  color: var(--color-blue);
}

.header.scrolled .header__hamburger span {
  background: var(--color-black);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.25rem;
}

.header__logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  z-index: 1001;
}

.header__logo-icon {
  width: 36px;
  height: 36px;
}

.header__logo-text {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--color-white);
  letter-spacing: -0.02em;
  transition: color var(--transition-base);
}

.header__logo-text span {
  color: var(--color-blue-light);
}

.header.scrolled .header__logo-text span {
  color: var(--color-blue);
}

/* Hamburger */
.header__hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  z-index: 1001;
  cursor: pointer;
}

.header__hamburger span {
  display: block;
  width: 24px;
  height: 2.5px;
  background: var(--color-white);
  border-radius: 2px;
  transition: all var(--transition-base);
}

.header__hamburger.active span:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
  background: var(--color-black);
}

.header__hamburger.active span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.header__hamburger.active span:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
  background: var(--color-black);
}

/* Nav */
.header__nav {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  background: rgba(255,255,255,0.98);
  backdrop-filter: blur(20px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: right var(--transition-smooth);
  z-index: 1000;
}

.header__nav.open {
  right: 0;
}

.header__nav-link {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--color-black);
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
  position: relative;
}

.header__nav-link:hover,
.header__nav-link.active {
  color: var(--color-blue);
  background: var(--color-blue-pale);
}

.header__nav-cta {
  margin-top: 1rem;
}

/* ---------- HERO SECTION ---------- */
.hero {
  position: relative;
  width: 100vw;
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: var(--gradient-hero-overlay);
  z-index: -1;
}

.hero__content {
  text-align: center;
  padding: 6rem 1.25rem 3rem;
  max-width: 750px;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.2);
  color: var(--color-white);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.4rem 1rem;
  border-radius: var(--radius-full);
  margin-bottom: 1.25rem;
  letter-spacing: 0.04em;
  animation: fadeInDown 0.8s ease-out;
}

.hero__title {
  font-size: 2rem;
  font-weight: 900;
  color: var(--color-white);
  line-height: 1.15;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
  animation: fadeInUp 0.8s ease-out 0.15s both;
}

.hero__title span {
  background: linear-gradient(135deg, #3B82F6, #93C5FD);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__subtitle {
  font-size: 1.05rem;
  font-weight: 400;
  color: rgba(255,255,255,0.85);
  line-height: 1.7;
  margin-bottom: 2rem;
  animation: fadeInUp 0.8s ease-out 0.3s both;
}

.hero__buttons {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: center;
  animation: fadeInUp 0.8s ease-out 0.45s both;
}

/* ---------- ABOUT SECTION ---------- */
.about {
  padding: var(--section-padding-mobile);
  background: var(--color-white);
}

.about__wrapper {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  align-items: center;
}

.about__image {
  width: 100%;
  max-width: 480px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: relative;
}

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

.about__image-badge {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  background: var(--gradient-blue);
  color: var(--color-white);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-md);
}

.about__text {
  text-align: center;
}

.about__text p {
  color: var(--color-gray-dark);
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 1rem;
}

.about__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}

.about__stat {
  text-align: center;
  padding: 1.25rem 0.5rem;
  background: var(--color-gray-light);
  border-radius: var(--radius-md);
  transition: all var(--transition-base);
}

.about__stat:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.about__stat-number {
  display: block;
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--color-blue);
  line-height: 1.2;
}

.about__stat-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--color-gray-dark);
  margin-top: 0.25rem;
}

/* ---------- PRODUCTS SECTION ---------- */
.products {
  padding: var(--section-padding-mobile);
  background: var(--color-gray-light);
}

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

.product-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: all var(--transition-base);
  position: relative;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card-hover);
}

.product-card__image {
  position: relative;
  width: 100%;
  height: 200px;
  overflow: hidden;
}

.product-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-smooth);
}

.product-card:hover .product-card__image img {
  transform: scale(1.06);
}

.product-card__image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(17,17,17,0.15) 100%);
}

.product-card__body {
  padding: 1.5rem;
}

.product-card__title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-black);
  margin-bottom: 0.5rem;
}

.product-card__description {
  font-size: 0.9rem;
  color: var(--color-gray-dark);
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.product-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-blue);
  padding: 0.5rem 1rem;
  border: 1.5px solid var(--color-blue);
  border-radius: var(--radius-full);
  transition: all var(--transition-base);
}

.product-card__cta:hover {
  background: var(--color-blue);
  color: var(--color-white);
  transform: translateX(3px);
}

.product-card__cta svg {
  width: 16px;
  height: 16px;
  transition: transform var(--transition-fast);
}

.product-card__cta:hover svg {
  transform: translateX(3px);
}

/* ==========================================
   SERVICOS
========================================== */
.services {
  padding: var(--section-padding-mobile);
  background: linear-gradient(
    180deg,
    #EFF6FF 0%,
    #DBEAFE 100%
  );
}

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

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

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

.service-card {
  position: relative;
  background: rgba(255,255,255,0.95);
  border: 2px solid rgba(30,64,175,0.08);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: all var(--transition-base);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 40px rgba(30,64,175,0.18);
  border-color: rgba(30,64,175,0.18);
}

.service-card__badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 2;

  background: var(--gradient-blue);
  color: var(--color-white);

  font-size: 0.75rem;
  font-weight: 700;

  padding: 0.45rem 0.9rem;
  border-radius: var(--radius-full);

  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.service-card__image {
  width: 100%;
  height: 220px;
  overflow: hidden;
}

.service-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-smooth);
}

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

.service-card__body {
  padding: 1.5rem;
}

.service-card__title {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--color-black);
}

.service-card__description {
  color: var(--color-gray-dark);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.service-card__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  background: var(--gradient-blue);
  color: var(--color-white);

  padding: 0.85rem 1.4rem;

  border-radius: var(--radius-full);

  font-size: 0.9rem;
  font-weight: 600;

  transition: all var(--transition-base);
}

.service-card__cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(30,64,175,0.2);
}

/* ---------- CTA SECTION ---------- */
.cta-section {
  padding: 3.5rem 1.25rem;
  background: var(--gradient-blue-soft);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -30%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255,255,255,0.08) 0%, transparent 70%);
  border-radius: 50%;
}

.cta-section::after {
  content: '';
  position: absolute;
  bottom: -40%;
  left: -20%;
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(255,255,255,0.06) 0%, transparent 70%);
  border-radius: 50%;
}

.cta-section__content {
  position: relative;
  z-index: 1;
}

.cta-section__title {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--color-white);
  margin-bottom: 0.75rem;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.cta-section__text {
  font-size: 1rem;
  color: rgba(255,255,255,0.85);
  margin-bottom: 2rem;
  line-height: 1.6;
}

.cta-section .btn-whatsapp {
  font-size: 1.05rem;
  padding: 1rem 2.5rem;
  background: var(--color-white);
  color: var(--color-blue);
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.cta-section .btn-whatsapp:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

/* ---------- GALLERY SECTION ---------- */
.gallery {
  padding: var(--section-padding-mobile);
  background: var(--color-white);
}

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

.gallery__item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 4/3;
}

.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-smooth);
}

.gallery__item:hover img {
  transform: scale(1.08);
}

.gallery__item-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(17,17,17,0.6) 100%);
  opacity: 0;
  transition: opacity var(--transition-base);
  display: flex;
  align-items: flex-end;
  padding: 1rem;
}

.gallery__item:hover .gallery__item-overlay {
  opacity: 1;
}

.gallery__item-overlay span {
  color: var(--color-white);
  font-size: 0.85rem;
  font-weight: 600;
}

.gallery__item:first-child {
  grid-column: span 2;
  aspect-ratio: 16/9;
}

/* ---------- LOCATION SECTION ---------- */
.location {
  padding: var(--section-padding-mobile);
  background: var(--color-gray-light);
}

.location__wrapper {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.location__info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.location__card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem;
  background: var(--color-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base);
}

.location__card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.location__card-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  background: var(--color-blue-pale);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
}

.location__card-icon svg {
  width: 22px;
  height: 22px;
  color: var(--color-blue);
}

.location__card-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--color-black);
  margin-bottom: 0.25rem;
}

.location__card-text {
  font-size: 0.85rem;
  color: var(--color-gray-dark);
  line-height: 1.5;
}

.location__map {
  width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  aspect-ratio: 16/10;
}

.location__map iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.location__regions {
  margin-top: 1rem;
  padding: 1.25rem;
  background: var(--color-white);
  border-radius: var(--radius-md);
  border-left: 4px solid var(--color-blue);
}

.location__regions p {
  font-size: 0.9rem;
  color: var(--color-gray-dark);
  line-height: 1.6;
}

.location__regions strong {
  color: var(--color-black);
}

/* ---------- FOOTER ---------- */
.footer {
  background: var(--color-black);
  color: rgba(255,255,255,0.8);
  padding: 3rem 1.25rem 1.5rem;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  max-width: var(--max-width);
  margin: 0 auto;
}

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

.footer__logo-text {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--color-white);
}

.footer__logo-text span {
  color: var(--color-blue-light);
}

.footer__brand p {
  font-size: 0.85rem;
  line-height: 1.6;
  color: rgba(255,255,255,0.6);
}

.footer__col-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer__contact-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  font-size: 0.85rem;
}

.footer__contact-item svg {
  width: 18px;
  height: 18px;
  min-width: 18px;
  color: var(--color-blue-light);
}

.footer__contact-item a {
  transition: color var(--transition-fast);
}

.footer__contact-item a:hover {
  color: var(--color-blue-light);
}

.footer__hours-item {
  font-size: 0.85rem;
  margin-bottom: 0.5rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.footer__hours-item span:first-child {
  color: rgba(255,255,255,0.6);
}

.footer__hours-item span:last-child {
  color: var(--color-white);
  font-weight: 600;
}

.footer__bottom {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  text-align: center;
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
}

.footer__copyright {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
}

/* ---------- FLOATING WHATSAPP ---------- */
.whatsapp-float {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.whatsapp-float__btn {
  width: 56px;
  height: 56px;
  background: var(--color-green-whatsapp);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  transition: all var(--transition-base);
  animation: whatsappPulse 2s infinite;
}

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

.whatsapp-float__btn svg {
  width: 28px;
  height: 28px;
  color: white;
}

.whatsapp-float__tooltip {
  background: var(--color-white);
  color: var(--color-black);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-md);
  white-space: nowrap;
  opacity: 0;
  transform: translateX(10px);
  transition: all var(--transition-base);
  pointer-events: none;
}

.whatsapp-float:hover .whatsapp-float__tooltip {
  opacity: 1;
  transform: translateX(0);
}

/* ---------- LIGHTBOX ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0,0,0,0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-base);
  cursor: zoom-out;
}

.lightbox.active {
  opacity: 1;
  visibility: visible;
}

.lightbox__img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: var(--radius-sm);
  transform: scale(0.9);
  transition: transform var(--transition-base);
}

.lightbox.active .lightbox__img {
  transform: scale(1);
}

.lightbox__close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background var(--transition-fast);
}

.lightbox__close:hover {
  background: rgba(255,255,255,0.2);
}

.lightbox__close svg {
  width: 24px;
  height: 24px;
  color: var(--color-white);
}

/* ---------- SCROLL ANIMATIONS ---------- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.reveal-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: all 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(30px);
  transition: all 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* ---------- KEYFRAMES ---------- */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(25px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-15px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes whatsappPulse {
  0%, 100% {
    box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  }
  50% {
    box-shadow: 0 4px 20px rgba(37,211,102,0.4), 0 0 0 12px rgba(37,211,102,0.15);
  }
}

/* ---------- BACK TO TOP ---------- */
.back-to-top {
  position: fixed;
  bottom: 1.5rem;
  left: 1.5rem;
  width: 44px;
  height: 44px;
  background: var(--color-blue);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all var(--transition-base);
  z-index: 998;
}

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

.back-to-top:hover {
  background: var(--color-blue-dark);
  transform: translateY(-3px);
}

.back-to-top svg {
  width: 20px;
  height: 20px;
  color: var(--color-white);
}

/* ===========================================
   RESPONSIVE — TABLET (>= 768px)
   =========================================== */
@media (min-width: 768px) {
  .section-title {
    font-size: 2.25rem;
  }

  .section-subtitle {
    font-size: 1.05rem;
  }

  /* Header */
  .header__hamburger {
    display: none;
  }

  .header__nav {
    position: static;
    width: auto;
    height: auto;
    background: none;
    backdrop-filter: none;
    flex-direction: row;
    gap: 0;
  }

  .header__nav-link {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.85);
    padding: 0.5rem 0.75rem;
  }

  .header__nav-link:hover,
  .header__nav-link.active {
    color: var(--color-white);
    background: rgba(255,255,255,0.1);
  }

  .header__nav-cta {
    margin-top: 0;
    margin-left: 0.5rem;
  }

  .header__nav-cta .btn {
    padding: 0.6rem 1.25rem;
    font-size: 0.85rem;
  }

  /* Hero */
  .hero {
    min-height: 65vh;
  }

  .hero__title {
    font-size: 2.75rem;
  }

  .hero__subtitle {
    font-size: 1.1rem;
  }

  .hero__buttons {
    flex-direction: row;
    justify-content: center;
  }

  /* About */
  .about {
    padding: var(--section-padding-tablet);
  }

  .about__wrapper {
    flex-direction: row;
    gap: 3rem;
  }

  .about__image {
    max-width: 380px;
    flex-shrink: 0;
  }

  .about__image img {
    height: 360px;
  }

  .about__text {
    text-align: left;
  }

  /* Products */
  .products {
    padding: var(--section-padding-tablet);
  }

  .products__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* CTA Section */
  .cta-section {
    padding: 4.5rem 2rem;
  }

  .cta-section__title {
    font-size: 2rem;
  }

  /* Gallery */
  .gallery {
    padding: var(--section-padding-tablet);
  }

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

  .gallery__item:first-child {
    grid-column: span 2;
  }

  /* Location */
  .location {
    padding: var(--section-padding-tablet);
  }

  .location__wrapper {
    flex-direction: row;
    gap: 2.5rem;
  }

  .location__info {
    flex: 1;
  }

  .location__map {
    flex: 1;
    aspect-ratio: auto;
    min-height: 350px;
  }

  /* Footer */
  .footer {
    padding: 3.5rem 2rem 1.5rem;
  }

  .footer__grid {
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 3rem;
  }
}

/* ===========================================
   RESPONSIVE — DESKTOP (>= 1024px)
   =========================================== */
@media (min-width: 1024px) {
  .section-title {
    font-size: 2.5rem;
  }

  /* Header */
  .header__nav-link {
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
  }

  /* Hero */
  .hero {
    min-height: 70vh;
  }

  .hero__title {
    font-size: 3.25rem;
  }

  .hero__subtitle {
    font-size: 1.15rem;
    max-width: 550px;
    margin-left: auto;
    margin-right: auto;
  }

  /* About */
  .about {
    padding: var(--section-padding-desktop);
  }

  .about__wrapper {
    gap: 4rem;
  }

  .about__image {
    max-width: 440px;
  }

  .about__image img {
    height: 400px;
  }

  /* Products */
  .products {
    padding: var(--section-padding-desktop);
  }

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

  /* CTA */
  .cta-section {
    padding: 5rem 2rem;
  }

  .cta-section__title {
    font-size: 2.5rem;
  }

  /* Gallery */
  .gallery {
    padding: var(--section-padding-desktop);
  }

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

  /* Location */
  .location {
    padding: var(--section-padding-desktop);
  }

  .location__wrapper {
    gap: 3rem;
  }

  .location__map {
    min-height: 420px;
  }

  /* Footer */
  .footer {
    padding: 4rem 2rem 1.5rem;
  }
}

/* ===========================================
   RESPONSIVE — LARGE DESKTOP (>= 1280px)
   =========================================== */
@media (min-width: 1280px) {
  .hero__title {
    font-size: 3.75rem;
  }

  .products__grid {
    gap: 2rem;
  }
}

/* ---------- PREFERS REDUCED MOTION ---------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal,
  .reveal-left,
  .reveal-right {
    opacity: 1;
    transform: none;
  }

  html {
    scroll-behavior: auto;
  }
}
