/* ============================================
   PIENSOS JAVI - Complete Styles
   ============================================ */

/* ----- CSS Custom Properties ----- */
:root {
  --color-primary: #2E6B3E;
  --color-primary-dark: #1F4D2B;
  --color-primary-light: #3D8B4F;
  --color-olive: #7A9A5A;
  --color-olive-light: #A8C48A;
  --color-beige: #F5F0E8;
  --color-beige-dark: #EDE5D8;
  --color-beige-light: #FBF9F5;
  --color-white: #FFFFFF;
  --color-dark: #1A1A1A;
  --color-text: #2D2D2D;
  --color-text-light: #666666;
  --color-text-lighter: #999999;
  --color-border: #E5DDD0;
  --color-success: #28A745;
  --color-error: #DC3545;
  --color-whatsapp: #25D366;
  --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --header-height: 72px;
  --max-width: 1200px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.12);
  --shadow-xl: 0 20px 60px rgba(0,0,0,0.15);
  --transition: 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;
  -webkit-text-size-adjust: 100%;
}

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

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

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

ul { list-style: none; }

/* ----- Preloader ----- */
#preloader {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.5s, visibility 0.5s;
}

#preloader.hidden {
  opacity: 0;
  visibility: hidden;
}

.loader {
  width: 48px;
  height: 48px;
  border: 4px solid var(--color-border);
  border-top-color: var(--color-primary);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ----- Container ----- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ----- Buttons ----- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  font-family: var(--font-primary);
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 50px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
  white-space: nowrap;
}

.btn--primary {
  background: var(--color-primary);
  color: var(--color-white);
  border-color: var(--color-primary);
}

.btn--primary:hover {
  background: var(--color-primary-dark);
  border-color: var(--color-primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(46, 107, 62, 0.3);
}

.btn--outline {
  background: transparent;
  color: var(--color-white);
  border-color: var(--color-white);
}

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

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

/* ----- Section styles ----- */
.section {
  padding: 100px 0;
}

.section__header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px;
}

.section__tag {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--color-olive);
  margin-bottom: 12px;
}

.section__tag--light {
  color: var(--color-olive-light);
}

.section__title {
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1.2;
  color: var(--color-text);
  margin-bottom: 16px;
}

.section__title--light {
  color: var(--color-white);
}

.section__desc {
  font-size: 1.1rem;
  color: var(--color-text-light);
  line-height: 1.7;
}

.section__desc--light {
  color: rgba(255,255,255,0.85);
}

/* ----- Header ----- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: transparent;
  transition: var(--transition);
  padding: 20px 0;
}

.header.scrolled {
  background: var(--color-white);
  padding: 12px 0;
  box-shadow: var(--shadow-md);
}

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

.header.scrolled .nav__link:hover,
.header.scrolled .nav__link.active {
  color: var(--color-primary);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

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

.logo__img {
  height: 48px;
  width: auto;
  display: block;
}

/* ----- Navigation ----- */
.nav__list {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav__link {
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255,255,255,0.9);
  position: relative;
  padding: 4px 0;
  transition: var(--transition);
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-primary);
  transition: var(--transition);
}

.nav__link:hover::after,
.nav__link.active::after {
  width: 100%;
}

.nav__link:hover {
  color: var(--color-white);
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.header__phone {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--color-primary);
  color: var(--color-white);
  font-size: 1rem;
  transition: var(--transition);
}

.header__phone:hover {
  background: var(--color-primary-dark);
  transform: scale(1.05);
}

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

.hamburger span {
  display: block;
  width: 26px;
  height: 2.5px;
  background: var(--color-white);
  border-radius: 2px;
  transition: var(--transition);
}

.header.scrolled .hamburger span {
  background: var(--color-text);
}

.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);
}

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

.hero-carousel {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-carousel__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.2s ease;
}

.hero-carousel__slide.active {
  opacity: 1;
}

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

.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.4) 50%, rgba(0,0,0,0.65) 100%),
    radial-gradient(ellipse at center, transparent 0%, rgba(0,0,0,0.3) 100%);
  z-index: 1;
}

.hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 850px;
  padding: 120px 24px 80px;
}

.hero__title {
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--color-white);
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}

.hero__subtitle {
  font-size: 1.2rem;
  color: rgba(255,255,255,0.85);
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 650px;
  margin-left: auto;
  margin-right: auto;
}

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

.hero__scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: var(--color-white);
  font-size: 1.4rem;
  animation: bounce 2s infinite;
  opacity: 0.7;
  transition: var(--transition);
}

.hero__scroll:hover {
  opacity: 1;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
  40% { transform: translateX(-50%) translateY(-10px); }
  60% { transform: translateX(-50%) translateY(-5px); }
}

/* ----- About ----- */
.about {
  background: var(--color-white);
}

.about__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.about__card {
  background: var(--color-beige-light);
  padding: 36px 28px;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  transition: var(--transition);
  text-align: center;
}

.about__card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--color-olive);
}

.about__icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--color-primary);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin: 0 auto 20px;
  transition: var(--transition);
}

.about__card:hover .about__icon {
  background: var(--color-primary-dark);
  transform: scale(1.05);
}

.about__title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--color-text);
}

.about__card p {
  font-size: 0.95rem;
  color: var(--color-text-light);
  line-height: 1.6;
}

/* ----- Products ----- */
.products {
  background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary) 100%);
  position: relative;
}

.products::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: var(--color-olive);
}

.products__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 20px;
}

.product-card {
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-md);
  padding: 30px 20px;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
}

.product-card:hover {
  background: rgba(255,255,255,0.18);
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.2);
}

.product-card__icon {
  font-size: 2.2rem;
  color: var(--color-olive-light);
  margin-bottom: 14px;
  transition: var(--transition);
}

.product-card:hover .product-card__icon {
  transform: scale(1.1);
  color: var(--color-white);
}

.product-card__title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 6px;
}

.product-card__desc {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.5;
}

/* ----- Why us ----- */
.why {
  background: var(--color-beige-light);
}

.why__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 850px;
  margin: 0 auto;
}

.why__item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: var(--color-white);
  padding: 28px 24px;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  transition: var(--transition);
}

.why__item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
  border-color: var(--color-olive);
}

.why__icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--color-primary);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
}

.why__title {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 4px;
  color: var(--color-text);
}

.why__item p {
  font-size: 0.9rem;
  color: var(--color-text-light);
  line-height: 1.5;
}

/* ----- Gallery ----- */
.gallery {
  background: var(--color-primary-dark);
  padding-bottom: 60px;
}

.gallery__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
  padding: 0 4px;
}

.gallery__item {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 1;
}

.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s, filter 0.5s;
}

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

.gallery__item::after {
  content: '\f00e';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0);
  color: var(--color-white);
  font-size: 1.8rem;
  opacity: 0;
  transition: var(--transition);
  z-index: 2;
}

.gallery__item:hover::after {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

/* ----- Lightbox ----- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0,0,0,0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  padding: 60px;
}

.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 0.3s;
}

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

.lightbox__close {
  position: absolute;
  top: 20px;
  right: 30px;
  background: none;
  border: none;
  color: var(--color-white);
  font-size: 2rem;
  cursor: pointer;
  opacity: 0.7;
  transition: var(--transition);
  z-index: 10;
}

.lightbox__close:hover {
  opacity: 1;
  transform: rotate(90deg);
}

.lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.1);
  border: none;
  color: var(--color-white);
  font-size: 1.8rem;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  transition: var(--transition);
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox__nav:hover {
  background: rgba(255,255,255,0.25);
}

.lightbox__prev { left: 20px; }
.lightbox__next { right: 20px; }

.lightbox__counter {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
  z-index: 10;
}

/* ----- Testimonials ----- */
.testimonials {
  background: var(--color-white);
}

.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.testimonial__card {
  background: var(--color-beige-light);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 32px;
  transition: var(--transition);
}

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

.testimonial__stars {
  color: #F4B740;
  font-size: 0.95rem;
  margin-bottom: 16px;
  display: flex;
  gap: 3px;
}

.testimonial__text {
  font-size: 0.95rem;
  color: var(--color-text);
  line-height: 1.7;
  margin-bottom: 20px;
  font-style: italic;
}

.testimonial__author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--color-primary);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

.testimonial__name {
  display: block;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--color-text);
}

.testimonial__role {
  display: block;
  font-size: 0.8rem;
  color: var(--color-text-light);
}

.testimonials__extra {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  margin-top: 30px;
}

.testimonials__cta {
  text-align: center;
  margin-top: 40px;
}

.testimonials__cta .btn {
  background: var(--color-white);
  color: var(--color-primary);
  border-color: var(--color-primary);
}

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

/* ----- Contact ----- */
.contact {
  background: var(--color-beige-light);
  padding-bottom: 0;
}

.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 50px;
  align-items: start;
}

.contact__info {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact__card {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: var(--color-white);
  padding: 20px 24px;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
}

.contact__card-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--color-beige);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.contact__card h3 {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--color-text-light);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}

.contact__card p,
.contact__card a {
  font-size: 1rem;
  color: var(--color-text);
  line-height: 1.5;
}

.contact__card a:hover {
  color: var(--color-primary);
}

.contact__schedule {
  margin-top: 8px;
}

.schedule__row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 4px 0;
  font-size: 0.95rem;
}

.schedule__row span:first-child {
  font-weight: 600;
  color: var(--color-text);
}

.schedule__row span:last-child {
  color: var(--color-text-light);
}

.schedule__closed {
  color: var(--color-error) !important;
  font-weight: 600;
}

/* ----- Form ----- */
.contact__form-wrapper {
  background: var(--color-white);
  padding: 36px;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
}

.form__group {
  margin-bottom: 20px;
}

.form__group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 6px;
}

.form__group input,
.form__group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-family: var(--font-primary);
  font-size: 0.95rem;
  color: var(--color-text);
  transition: var(--transition);
  background: var(--color-white);
}

.form__group input:focus,
.form__group textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 4px rgba(46, 107, 62, 0.1);
}

.form__group input.error,
.form__group textarea.error {
  border-color: var(--color-error);
}

.form__error {
  display: block;
  font-size: 0.8rem;
  color: var(--color-error);
  margin-top: 4px;
  min-height: 18px;
}

.form__checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  font-size: 0.9rem;
  color: var(--color-text-light);
}

.form__checkbox input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 3px;
  flex-shrink: 0;
  accent-color: var(--color-primary);
}

.form__checkbox a {
  color: var(--color-primary);
  text-decoration: underline;
}

.contact__success {
  display: none;
  text-align: center;
  padding: 40px 20px;
}

.contact__success.active {
  display: block;
  animation: fadeIn 0.5s;
}

.contact__success i {
  font-size: 3.5rem;
  color: var(--color-success);
  margin-bottom: 16px;
}

.contact__success h3 {
  font-size: 1.4rem;
  margin-bottom: 8px;
  color: var(--color-text);
}

.contact__success p {
  color: var(--color-text-light);
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ----- Map ----- */
.contact__map {
  margin-top: 60px;
  width: 100%;
}

.contact__map iframe {
  width: 100%;
  height: 350px;
  display: block;
  border: none;
}

/* ----- Footer ----- */
.footer {
  background: var(--color-dark);
  color: rgba(255,255,255,0.8);
  padding: 70px 0 0;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 50px;
}

.footer__brand p {
  margin-top: 16px;
  font-size: 0.9rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.6);
  max-width: 300px;
}

.footer__social {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.footer__social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: var(--transition);
}

.footer__social a:hover {
  background: var(--color-primary);
  color: var(--color-white);
  transform: translateY(-3px);
}

.footer__col h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 20px;
}

.footer__col ul li {
  margin-bottom: 10px;
}

.footer__col ul li a {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
  transition: var(--transition);
}

.footer__col ul li a:hover {
  color: var(--color-olive);
  padding-left: 4px;
}

.footer__contact li {
  display: flex;
  gap: 10px;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.5;
}

.footer__contact li i {
  margin-top: 4px;
  color: var(--color-olive);
  flex-shrink: 0;
}

.footer__contact li a {
  color: rgba(255,255,255,0.6);
}

.footer__contact li a:hover {
  color: var(--color-olive);
}

.footer__dev {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 24px 0;
  text-align: center;
}

.footer__dev-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  color: rgba(255,255,255,0.5);
  padding: 10px 24px;
  border-radius: 50px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.03);
  transition: var(--transition);
}

.footer__dev-link i {
  font-size: 1rem;
  color: var(--color-olive);
}

.footer__dev-link strong {
  color: var(--color-olive);
  font-weight: 700;
  transition: var(--transition);
}

.footer__dev-link:hover {
  border-color: rgba(255,255,255,0.15);
  background: rgba(255,255,255,0.06);
  transform: translateY(-2px);
}

.footer__dev-link:hover strong {
  color: var(--color-olive-light);
}

.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 20px 0;
  text-align: center;
}

.footer__bottom p {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.4);
}

/* ----- Floating buttons ----- */
.whatsapp-float,
.call-float {
  position: fixed;
  right: 20px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: var(--color-white);
  z-index: 999;
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
  transition: var(--transition);
}

.whatsapp-float {
  bottom: 90px;
  background: var(--color-whatsapp);
}

.call-float {
  bottom: 20px;
  background: var(--color-primary);
}

.whatsapp-float:hover,
.call-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 25px rgba(0,0,0,0.3);
  color: var(--color-white);
}

.whatsapp-float {
  animation: pulse-whatsapp 2s infinite;
}

@keyframes pulse-whatsapp {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5); }
  70% { box-shadow: 0 0 0 14px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* ----- Scroll reveal ----- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

/* ----- Responsive ----- */
@media (max-width: 1024px) {
  .about__grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

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

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

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

  .hero__title {
    font-size: 2.8rem;
  }
}

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

  .section__title {
    font-size: 1.9rem;
  }

  .section__header {
    margin-bottom: 40px;
  }

  .hamburger {
    display: flex;
  }

  .nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--color-white);
    padding: 100px 30px 30px;
    box-shadow: -10px 0 40px rgba(0,0,0,0.1);
    transition: right 0.4s ease;
    z-index: 1000;
  }

  .nav.active {
    right: 0;
  }

  .nav__list {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .nav__link {
    color: var(--color-text);
    font-size: 1.1rem;
    padding: 10px 0;
    display: block;
    width: 100%;
  }

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

  .hero__title {
    font-size: 2.2rem;
  }

  .hero__subtitle {
    font-size: 1rem;
  }

  .hero__buttons {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    white-space: normal;
  }

  .about__grid {
    grid-template-columns: 1fr;
  }

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

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

  .why__grid {
    grid-template-columns: 1fr;
  }

  .testimonials__grid {
    grid-template-columns: 1fr;
  }

  .testimonials__extra {
    grid-template-columns: 1fr;
  }

  .footer__grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .lightbox {
    padding: 20px;
  }

  .lightbox__nav {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }

  .lightbox__prev { left: 10px; }
  .lightbox__next { right: 10px; }

  .contact__form-wrapper {
    padding: 24px;
  }

  .contact__map iframe {
    height: 250px;
  }
}

@media (max-width: 480px) {
  .hero__title {
    font-size: 1.8rem;
  }

  .hero__content {
    padding: 100px 20px 60px;
  }

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

  .product-card {
    padding: 20px 14px;
  }

  .product-card__icon {
    font-size: 1.8rem;
  }

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

  .whatsapp-float,
  .call-float {
    width: 48px;
    height: 48px;
    font-size: 1.3rem;
  }

  .whatsapp-float { bottom: 78px; right: 14px; }
  .call-float { bottom: 14px; right: 14px; }
}

@media (min-width: 769px) {
  .call-float {
    display: none;
  }
}

/* ----- Reduced motion ----- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  html {
    scroll-behavior: auto;
  }
}

/* ----- Focus styles for accessibility ----- */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--color-primary);
  outline-offset: 2px;
}

/* ----- Selection ----- */
::selection {
  background: var(--color-primary);
  color: var(--color-white);
}
