/* style.css - Versión optimizada y organizada (sin modificar valores) */

/* ==================== RESET Y BASE ==================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Poppins", "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background-color: #fefaf5;
  color: #3c3c3b;
  scroll-behavior: smooth;
  padding-top: 90px;
}

html,
body {
  margin: 0;
  padding: 0;
  width: 100%;
  overflow-x: hidden;
}

/* ==================== TIPOGRAFÍA ==================== */
h1,
h2,
h3,
h4,
.nav-links a,
.btn-primary,
.btn-small,
.section-tag,
.precio {
  text-transform: uppercase;
  font-weight: 700;
}

.logo-text,
.logo-footer-text,
.calc-title,
.btn-primary,
.btn-calcular {
  font-weight: 700;
}

/* ==================== CONTENEDORES ==================== */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ==================== NAVBAR ==================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: white;
  z-index: 1000;
  transition: transform 0.3s ease;
}

.navbar.hide {
  transform: translateY(-100%);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 32px;
  max-width: 1400px;
  margin: 0 auto;
  flex-wrap: wrap;
  gap: 90px;
}

.logo-img {
  height: 65px;
  width: auto;
  display: block;
  object-fit: contain;
}

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

.nav-links a {
  text-decoration: none;
  font-weight: 600;
  color: #ff4e50;
  transition: 0.2s;
  font-size: 0.95rem;
  letter-spacing: 0.3px;
  white-space: nowrap;
  font-family: "Chewy", cursive;
}

.nav-links a:hover {
  color: #08b2ac;
}

.btn-contacto-nav {
  background: linear-gradient(135deg, #ff4e50 0%, #08b2ac 100%);
  color: rgb(255, 255, 255) !important;
  padding: 8px 20px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.5rem;
}

.btn-contacto-nav:hover {
  background: linear-gradient(135deg, #08b2ac 0%, #ff4e50 100%);
  color: rgb(0, 0, 0);
}

.social-icons-nav {
  display: flex;
  gap: 20px;
  align-items: center;
  margin-left: auto;
}

.social-icons-nav a {
  color: #3c3c3b;
  font-size: 1.1rem;
  transition: all 0.3s ease;
}

.social-icons-nav a:hover {
  color: #ff4e50;
}

.menu-icon {
  display: none;
  font-size: 1.8rem;
  cursor: pointer;
  color: #ff4e50;
}

/* ==================== HERO ==================== */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  margin: 0;
  padding: 0;
}

.hero-picture {
  position: absolute;
  top: 60px;
  left: 0;
  width: 100%;
  height: 90%;
  display: block;
}

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

@media (max-width: 768px) {
  .hero {
    height: 100vh;
  }
  .hero-img {
    object-fit: cover;
    object-position: 50% 50%;
  }
}

@media (max-width: 480px) {
  .hero {
    height: 100vh;
  }
  .hero-img {
    object-fit: cover;
    object-position: 50% 50%;
  }
}

/* ==================== SECCIÓN PRODUCTOS ==================== */
.productos-seccion {
  padding: 60px 0;
  background: #fffcf9;
  width: 100%;
  overflow-x: hidden;
}

.section-header {
  text-align: center;
  margin-bottom: 40px;
  padding: 0 15px;
}

.section-tag {
  display: inline-block;
  background: #08b2ac20;
  color: #08b2ac;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 3px;
  padding: 6px 18px;
  border-radius: 30px;
  margin-bottom: 15px;
  text-transform: uppercase;
}

.section-title {
  font-size: 2rem;
  font-weight: 800;
  color: #3c3c3b;
  font-family: "Poppins", sans-serif;
  margin: 0;
  line-height: 1.2;
}

.product-grid {
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
  width: 100%;
}

.product-card {
  background: white;
  border-radius: 28px;
  padding: 25px 20px 30px;
  text-align: center;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.04);
  border: 1px solid #f0e0d4;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
  width: calc(25% - 23px);
  min-width: 240px;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 35px rgba(255, 78, 80, 0.12);
}

.product-image {
  width: 100%;
  overflow: hidden;
  border-radius: 20px;
  margin-bottom: 20px;
  background: #f8f2ea;
}

.product-img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.3s ease;
}

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

.product-card h4 {
  font-size: 1.2rem;
  font-weight: 800;
  color: #3c3c3b;
  margin-bottom: 12px;
}

.precio {
  font-weight: 800;
  font-size: 1.1rem;
  color: #ff4e50;
  margin-bottom: 18px;
}

.btn-small {
  background: transparent;
  border: 2px solid #ff4e50;
  border-radius: 50px;
  padding: 10px 18px;
  font-weight: 700;
  font-size: 0.7rem;
  letter-spacing: 1px;
  color: #ff4e50;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 100%;
}

.btn-small:hover {
  background: #ff4e50;
  color: white;
  transform: scale(0.98);
}

@media (max-width: 1024px) {
  .product-card {
    width: calc(50% - 20px);
  }
  .section-title {
    font-size: 1.8rem;
  }
}

@media (max-width: 768px) {
  .productos-seccion {
    padding: 40px 0;
  }
  .container {
    padding: 0 16px;
  }
  .section-header {
    margin-bottom: 30px;
    padding: 0 10px;
  }
  .section-title {
    font-size: 1.5rem;
  }
  .section-tag {
    font-size: 0.65rem;
    padding: 5px 14px;
  }
  .product-grid {
    flex-direction: column;
    gap: 25px;
    align-items: center;
  }
  .product-card {
    width: 100%;
    max-width: 100%;
    min-width: auto;
    padding: 20px 15px 25px;
    margin: 0;
    border-radius: 24px;
  }
  .product-image {
    width: 100%;
    margin: 0 auto 20px;
  }
  .product-img {
    width: 100%;
    height: auto;
  }
  .product-card h4 {
    font-size: 1.3rem;
    margin-bottom: 10px;
  }
  .precio {
    font-size: 1.2rem;
    margin-bottom: 20px;
  }
  .btn-small {
    width: 80%;
    margin: 0 auto;
    padding: 12px 20px;
    font-size: 0.75rem;
  }
}

@media (max-width: 480px) {
  .productos-seccion {
    padding: 30px 0;
  }
  .container {
    padding: 0 12px;
  }
  .section-title {
    font-size: 1.3rem;
  }
  .product-card {
    padding: 18px 12px 22px;
    border-radius: 20px;
  }
  .product-card h4 {
    font-size: 1.2rem;
  }
  .precio {
    font-size: 1.1rem;
    margin-bottom: 18px;
  }
  .btn-small {
    width: 90%;
    padding: 10px 16px;
    font-size: 0.7rem;
  }
}

/* ==================== CALIDAD NUTRICIÓN ==================== */
.quality-nutrition-section {
  background: linear-gradient(130deg, #fffbf2 0%, #fff7ed 100%);
  padding: 3rem 1.5rem 4rem;
}

.section-headline {
  text-align: center;
  margin-bottom: 1.8rem;
}

.section-headline h2 {
  font-size: 1.8rem;
  font-weight: 800;
  color: #3c3c3b;
  margin-bottom: 1rem;
}

.lead-text {
  font-size: 1rem;
  line-height: 1.2;
  max-width: 880px;
  margin: 0 auto;
  background: #d6f4f3;
  padding: 1rem 2rem;
  border-radius: 60px;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.5rem;
}

.benefit-card {
  text-align: center;
  padding: 0.8rem 0.5rem;
}

.image-circle {
  width: 160px;
  height: 160px;
  margin: 0 auto 1.2rem;
  border-radius: 50%;
  overflow: hidden;
  box-shadow:
    0 12px 22px -12px rgba(0, 0, 0, 0.2),
    0 0 0 5px #fff9ef,
    0 0 0 8px #a0dfdd;
}

.image-circle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.benefit-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: #3b2a1f;
}

.benefit-card p {
  font-size: 0.85rem;
  color: #3b2a1f;
  max-width: 200px;
  margin: 0 auto;
}

.footer-note {
  text-align: center;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 2px dashed #ff7275;
}

@media (max-width: 1100px) {
  .benefits-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .image-circle {
    width: 140px;
    height: 140px;
  }
}
@media (max-width: 768px) {
  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 550px) {
  .benefits-grid {
    grid-template-columns: 1fr;
  }
}

/* ==================== QUIÉNES SOMOS ==================== */
.about-section {
  position: relative;
  width: 100%;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 0) 100%
  );
  z-index: 1;
}

.about-container {
  position: relative;
  z-index: 2;
  max-width: 1030px;
  width: 80%;
  display: flex;
  align-items: center;
  gap: 10px;
}

.about-title {
  font-size: 3rem;
  font-weight: 800;
  color: white;
  text-shadow: 3px 3px 12px rgba(0, 0, 0, 0.4);
  font-family: "Chewy";
  margin: 30px;
  position: relative;
  top: -220px;
  left: 250px;
}

.about-text {
  flex: 1;
  padding: 0.5rem;
  border-radius: 28px;
  backdrop-filter: blur(2px);
}

.about-text p {
  font-size: 1rem;
  line-height: 1.3;
  color: white;
  margin-bottom: 1rem;
  font-weight: 500;
}

@media (max-width: 968px) {
  .about-container {
    flex-direction: column;
    text-align: center;
  }
  .about-title {
    font-size: 2.5rem;
    top: 0;
    left: 0;
  }
}

/* ==================== DOS COLUMNAS ==================== */
.two-columns-section {
  width: 100%;
  padding: 60px 40px;
  background: linear-gradient(135deg, #fffbf2 0%, #fff7ed 100%);
}

.columns-container {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 60px;
}

.column-left {
  flex: 1;
}
.image-wrapper {
  width: 90%;
  overflow: hidden;
}
.main-image {
  width: 100%;
  height: auto;
  display: block;
}

.column-right {
  flex: 1;
  text-align: left;
}
.logo-wrapper {
  margin-bottom: 20px;
}
.logo-image {
  max-width: 120px;
  height: auto;
}

.section-text p {
  font-size: 1rem;
  line-height: 1.6;
  color: #5c4d3b;
  margin-bottom: 15px;
}

@media (max-width: 968px) {
  .columns-container {
    flex-direction: column;
  }
  .column-right {
    text-align: center;
  }
}

/* ==================== MÁS FÁCIL ALIMENTAR ==================== */
.easy-feed-section {
  width: 100%;
  padding: 80px 40px;
  background: #fef9ef;
}

.easy-container {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 0px;
}

.easy-image {
  flex: 1;
}
.easy-image img {
  width: 100%;
  max-width: 500px;
  border-radius: 30px;
}

.easy-content {
  flex: 1;
}
.easy-title {
  font-size: 1.8rem;
  font-weight: 800;
  color: #3b2a1f;
  margin-bottom: 35px;
}

.step-item {
  display: flex;
  gap: 20px;
  margin-bottom: 30px;
  align-items: flex-start;
}

.step-number {
  width: 48px;
  height: 48px;
  background: #08b2ac;
  color: white;
  font-size: 1.8rem;
  font-weight: 800;
  text-align: center;
  line-height: 48px;
  border-radius: 20%;
}

.step-name {
  font-size: 1.2rem;
  font-weight: 700;
  color: #3c3c3b;
}

.step-info-text {
  font-size: 1rem;
  color: #000;
}

.easy-button {
  display: inline-block;
  background: linear-gradient(135deg, #08b2ac, #538d8b);
  color: white;
  font-size: 1.7rem;
  font-weight: 600;
  padding: 3px 15px;
  border-radius: 50px;
  text-decoration: none;
  margin-top: 10px;
  transition: all 0.3s ease;
  box-shadow: 0 8px 20px rgba(8, 178, 172, 0.3);
  cursor: pointer;
}

.easy-button:hover {
  transform: translateY(-3px);
  background: linear-gradient(135deg, #ff4e50, #ff4e50);
  color: white;
}

@media (max-width: 968px) {
  .easy-container {
    flex-direction: column;
    text-align: center;
  }
  .step-item {
    flex-direction: column;
    align-items: center;
  }
}

/* ==================== SECCIÓN COMPARATIVA ==================== */
.compare-section {
  width: 100%;
  padding: 60px 20px;
  background: #08b2ac;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.compare-container {
  max-width: 1400px;
  margin: 0 auto;
  min-width: 100%;
}

.compare-title {
  font-size: 2.2rem;
  font-weight: 500;
  text-align: center;
  color: white;
  font-family: "Poppins";
  margin-bottom: 40px;
}

.compare-grid {
  display: grid;
  grid-template-columns: 1fr 0.8fr 0.8fr 0.8fr;
  background: white;
  border-radius: 32px;
  margin-bottom: 30px;
  overflow-x: visible;
  width: 100%;
}

.compare-header {
  padding: 15px 10px;
  text-align: center;
  background: #f5ede0;
}

.mascochef-header {
  background: #08b2ac;
  color: white;
}

.concentrado-header {
  background: #e8e0d5;
}

.barf-header {
  background: #e0dcd5;
}

.brand-image img {
  width: 100%;
  max-width: 120px;
  height: auto;
  object-fit: contain;
}

.brand-name {
  font-size: 1rem;
  font-weight: 700;
  display: block;
  margin-top: 8px;
}

.brand-check,
.brand-warning,
.brand-alert {
  font-size: 1.2rem;
  display: inline-block;
  margin-top: 5px;
}

.feature-name {
  padding: 15px 10px;
  background: white;
  border-top: 1px solid #f0e4d4;
  font-weight: 600;
  font-size: 0.9rem;
}

.feature-value {
  padding: 15px 10px;
  text-align: center;
  border-top: 1px solid #f0e4d4;
  position: relative;
}

.check-icon,
.cross-icon,
.warning-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  font-size: 1.2rem;
  font-weight: bold;
  cursor: pointer;
}

.check-icon {
  background: #4caf50;
  color: white;
}

.cross-icon {
  background: #f44336;
  color: white;
}

.warning-icon {
  background: #08b2ac;
  color: white;
}

.tooltip {
  visibility: hidden;
  opacity: 0;
  position: absolute;
  background: #08b2ac;
  color: #ffefcf;
  padding: 8px 12px;
  border-radius: 12px;
  font-size: 0.75rem;
  width: 200px;
  z-index: 100;
  transition: 0.3s;
  pointer-events: none;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  margin-bottom: 10px;
}

.feature-value:hover .tooltip {
  visibility: visible;
  opacity: 1;
}

.compare-footer {
  text-align: center;
  display: flex;
  justify-content: center;
  width: 100%;
}

.compare-button {
  display: inline-block;
  background: white;
  color: #08b2ac;
  font-size: 1.1rem;
  font-weight: 700;
  padding: 12px 38px;
  border-radius: 50px;
  text-decoration: none;
  font-family: "Segoe UI", "Poppins", sans-serif;
  transition: all 0.3s ease;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.2);
  border: none;
  cursor: pointer;
}

.compare-button:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 35px -8px rgba(0, 0, 0, 0.3);
  background: #ff4e50;
  color: white;
}

.compare-button:active {
  transform: translateY(2px);
}

/* DESKTOP GRANDE */
@media (max-width: 1200px) {
  .compare-grid {
    grid-template-columns: 1fr 0.9fr 0.9fr 0.9fr;
  }
  .brand-image img {
    max-width: 100px;
  }
  .brand-name {
    font-size: 0.9rem;
  }
  .feature-name {
    font-size: 0.85rem;
  }
}

/* TABLET */
@media (max-width: 992px) {
  .compare-section {
    padding: 50px 15px;
  }
  .compare-title {
    font-size: 1.8rem;
  }
  .compare-grid {
    grid-template-columns: 1fr 0.8fr 0.8fr 0.8fr;
  }
  .brand-image img {
    max-width: 80px;
  }
  .brand-name {
    font-size: 0.8rem;
  }
  .feature-name {
    font-size: 0.8rem;
    padding: 12px 8px;
  }
  .feature-value {
    padding: 12px 8px;
  }
  .check-icon,
  .cross-icon,
  .warning-icon {
    width: 30px;
    height: 30px;
    font-size: 1rem;
  }
  .tooltip {
    width: 180px;
    font-size: 0.7rem;
  }
}

/* TABLET PEQUEÑA Y MÓVIL - SCROLL HORIZONTAL */
@media (max-width: 768px) {
  .compare-section {
    padding: 40px 15px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .compare-container {
    min-width: 700px;
    width: 100%;
  }
  .compare-grid {
    min-width: 700px;
    width: 700px;
    border-radius: 24px;
    overflow-x: visible;
  }
  .compare-title {
    font-size: 1.5rem;
    margin-bottom: 25px;
  }
  .brand-image img {
    max-width: 65px;
  }
  .brand-name {
    font-size: 0.75rem;
  }
  .brand-check,
  .brand-warning,
  .brand-alert {
    font-size: 0.9rem;
  }
  .feature-name {
    font-size: 0.75rem;
    padding: 10px 8px;
  }
  .feature-value {
    padding: 10px 8px;
  }
  .check-icon,
  .cross-icon,
  .warning-icon {
    width: 28px;
    height: 28px;
    font-size: 0.9rem;
  }
  .tooltip {
    width: 160px;
    font-size: 0.65rem;
  }
  .compare-button {
    font-size: 0.95rem;
    padding: 10px 30px;
  }
}

/* MÓVIL GRANDE */
@media (max-width: 576px) {
  .compare-section {
    padding: 30px 12px;
  }
  .compare-container {
    min-width: 620px;
  }
  .compare-grid {
    min-width: 620px;
    width: 620px;
  }
  .compare-title {
    font-size: 1.3rem;
  }
  .brand-image img {
    max-width: 55px;
  }
  .brand-name {
    font-size: 0.7rem;
    margin-top: 5px;
  }
  .brand-check,
  .brand-warning,
  .brand-alert {
    font-size: 0.85rem;
  }
  .feature-name {
    font-size: 0.7rem;
    padding: 8px 6px;
  }
  .feature-value {
    padding: 8px 6px;
  }
  .check-icon,
  .cross-icon,
  .warning-icon {
    width: 26px;
    height: 26px;
    font-size: 0.85rem;
  }
  .tooltip {
    width: 140px;
    font-size: 0.6rem;
    padding: 6px 10px;
  }
  .compare-button {
    font-size: 0.85rem;
    padding: 8px 25px;
  }
}

/* MÓVIL PEQUEÑO */
@media (max-width: 400px) {
  .compare-section {
    padding: 25px 10px;
  }
  .compare-container {
    min-width: 560px;
  }
  .compare-grid {
    min-width: 560px;
    width: 560px;
  }
  .compare-title {
    font-size: 1.2rem;
  }
  .brand-image img {
    max-width: 45px;
  }
  .brand-name {
    font-size: 0.65rem;
  }
  .brand-check,
  .brand-warning,
  .brand-alert {
    font-size: 0.8rem;
  }
  .feature-name {
    font-size: 0.65rem;
    padding: 8px 5px;
  }
  .check-icon,
  .cross-icon,
  .warning-icon {
    width: 24px;
    height: 24px;
    font-size: 0.75rem;
  }
  .tooltip {
    width: 130px;
    font-size: 0.55rem;
  }
}

/* ==================== VIDEOS CARRUSEL ==================== */
.video-carousel-section {
  width: 100%;
  padding: 40px 10px;
  background: linear-gradient(180deg, #faf5e8 0%, #f5ede0 100%);
}

.video-container {
  max-width: 1200px;
  margin: 0 auto;
}

.video-title {
  font-size: 2rem;
  text-align: center;
  font-family: "Chewy";
  color: #3c3c3b;
}

.video-title .highlight {
  color: #08b2ac;
}

.carousel-wrapper {
  display: flex;
  align-items: center;
  gap: 10px;
}

.carousel-track-container {
  overflow: hidden;
  width: 100%;
}

.carousel-track {
  display: flex;
  transition: transform 0.4s ease;
  gap: 20px;
}

.video-card {
  flex: 0 0 calc(33.333% - 14px);
  background: white;
  border-radius: 16px;
  overflow: hidden;
}

.video-wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 177.77%;
  background: #1a1a1a;
}

.video-player {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.carousel-arrow {
  width: 42px;
  height: 42px;
  background: white;
  color: #08b2ac;
  border: 2px solid #08b2ac;
  border-radius: 50%;
  font-size: 1.2rem;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-arrow:hover {
  background: #08b2ac;
  color: white;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 30px;
}

.dot {
  width: 10px;
  height: 10px;
  background: #d4c5b0;
  border-radius: 50%;
  cursor: pointer;
}

.dot.active {
  width: 28px;
  background: #08b2ac;
}

@media (max-width: 900px) {
  .video-card {
    flex: 0 0 calc(50% - 10px);
  }
}
@media (max-width: 600px) {
  .video-card {
    flex: 0 0 100%;
  }
}

/* ==================== INSTAGRAM ==================== */
.instagram-grid-section {
  width: 100%;
  padding: 60px 20px;
  background: white;
}

.instagram-title {
  font-size: 2rem;
  text-align: center;
  font-weight: 700;
}

.instagram-title .highlight {
  color: #e4405f;
}

.instagram-subtitle {
  text-align: center;
  color: #8a7a68;
  margin-bottom: 40px;
}

.instagram-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}

.grid-item {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  cursor: pointer;
}

.grid-image {
  width: 100%;
  height: 100%;
}

.grid-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}

.grid-item:hover .grid-image img {
  transform: scale(1.05);
}

.grid-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  opacity: 0;
  transition: opacity 0.3s;
}

.grid-item:hover .grid-overlay {
  opacity: 1;
}

.like-icon {
  font-size: 1.5rem;
  color: white;
}
.likes-count {
  font-size: 1rem;
  color: white;
}

.instagram-footer {
  text-align: center;
  display: flex;
  justify-content: center;
}

.instagram-btn {
  display: inline-block;
  background: linear-gradient(135deg, #f09433, #d62976, #962fbf);
  color: white;
  font-size: 1rem;
  font-weight: 600;
  padding: 12px 32px;
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
}

.instagram-btn:hover {
  transform: translateY(-3px);
  opacity: 0.9;
}

@media (max-width: 900px) {
  .instagram-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 550px) {
  .instagram-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ==================== CALCULADORA ==================== */
.calculadora {
  background: #f3ede7;
  padding: 70px 0;
}

.calc-container {
  max-width: 700px;
  margin: 0 auto;
  background: white;
  padding: 32px 38px;
  border-radius: 48px;
}

.calc-title {
  text-align: center;
  font-size: 1.8rem;
  color: #ff4e50;
  font-family: "Chewy";
  margin-bottom: 20px;
}

.form-group {
  margin-bottom: 20px;
}
.form-group label {
  font-weight: 600;
  display: block;
  margin-bottom: 8px;
  font-size: 0.8rem;
}

input,
select {
  width: 100%;
  padding: 12px 15px;
  border-radius: 60px;
  border: 1px solid #e2cfbe;
}

.btn-calcular {
  background: linear-gradient(135deg, #08b2ac, #538d8b);
  color: white;
  font-size: 1rem;
  font-weight: 600;
  padding: 12px 25px;
  border-radius: 50px;
  width: 100%;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
}

.btn-calcular:hover {
  transform: translateY(-3px);
  background: linear-gradient(135deg, #ff4e50, #ff4e50);
}

.calc-result {
  background: #08b2ac10;
  padding: 18px;
  border-radius: 32px;
  text-align: center;
  margin-top: 20px;
}

.radio-group-calc {
  display: flex;
  gap: 20px;
  margin-top: 8px;
}

/* ==================== CONTACTO ==================== */
.contacto-section {
  padding: 70px 0;
  background: white;
}

.contacto-flex {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
}

.contact-info {
  flex: 1;
}
.contact-form {
  flex: 1;
  background: #fef9f4;
  padding: 30px;
  border-radius: 40px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px;
  margin-bottom: 16px;
  border-radius: 28px;
  border: 1px solid #eadbcb;
}

.btn-primary {
  background: linear-gradient(135deg, #08b2ac, #538d8b);
  color: white;
  font-size: 1rem;
  font-weight: 600;
  padding: 12px 25px;
  border-radius: 50px;
  width: 100%;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
}

.btn-primary:hover {
  transform: translateY(-3px);
  background: linear-gradient(135deg, #ff4e50, #ff4e50);
}

/* ==================== FOOTER ==================== */
footer {
  background: #08b2ac;
  color: #d9e0e0;
  padding: 40px 0;
  text-align: center;
}

.logo-footer {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
}

.logo-footer-img {
  height: 60px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.9;
}

.footer-icons {
  margin: 20px 0;
  font-size: 1.5rem;
  display: flex;
  justify-content: center;
  gap: 20px;
}

.footer-icons i {
  cursor: pointer;
}
.footer-icons i:hover {
  color: #ff4e50;
}

/* ==================== WHATSAPP BUTTON ==================== */
.btn-whatsapp {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #25d366, #128c7e);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 32px;
  text-decoration: none;
  z-index: 1000;
}

.whatsapp-tooltip {
  position: absolute;
  right: 70px;
  background: #3c3c3b;
  color: white;
  padding: 8px 15px;
  border-radius: 30px;
  font-size: 0.8rem;
  white-space: nowrap;
  opacity: 0;
  transition: 0.3s;
}

.btn-whatsapp:hover .whatsapp-tooltip {
  opacity: 1;
}

/* ==================== RESPONSIVE NAVBAR ==================== */
@media (max-width: 880px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    flex-direction: column;
    background: white;
    padding: 1.5rem 0;
  }
  .nav-links.active {
    display: flex;
  }
  .menu-icon {
    display: block;
  }
  .social-icons-nav {
    display: none;
  }
}
