/*==================================================
  FILTROSPURIFICADORESDEAGUA.COM
  STYLE.CSS
  VERSION 2.0
==================================================*/

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

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

body {
  font-family: var(--font-family);
  background: var(--body-bg);
  color: var(--text-color);
  font-size: var(--font-size-base);
  line-height: var(--line-height);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

svg {
  display: block;
}

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

a:hover {
  color: var(--link-hover);
}

ul {
  list-style: none;
}

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

input,
textarea,
select {
  font-family: inherit;
  font-size: inherit;
}

table {
  border-collapse: collapse;
}

section {
  padding: 80px 0;
}

::selection {
  background: var(--color-primary);
  color: #fff;
}

/*==================================================
  CONTAINER
==================================================*/
.container {
  width: min(100%, var(--container-width));
  margin: auto;
  padding-left: var(--container-padding);
  padding-right: var(--container-padding);
}

/*==================================================
  TIPOGRAFIA
==================================================*/
h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--heading-color);
  font-weight: 700;
  line-height: 1.2;
}

h1 {
  font-size: clamp(2.6rem, 5vw, 4.5rem);
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
}

h3 {
  font-size: 1.6rem;
}

h4 {
  font-size: 1.3rem;
}

p {
  margin-top: 20px;
  color: var(--text-light);
}

strong {
  color: var(--heading-color);
}

/*==================================================
  UTILIDADES
==================================================*/
.text-center { text-align: center; }
.text-left   { text-align: left; }
.text-right  { text-align: right; }
.hidden      { display: none !important; }

.mt-1 { margin-top: 10px; }
.mt-2 { margin-top: 20px; }
.mt-3 { margin-top: 40px; }
.mt-4 { margin-top: 60px; }

.mb-1 { margin-bottom: 10px; }
.mb-2 { margin-bottom: 20px; }
.mb-3 { margin-bottom: 40px; }
.mb-4 { margin-bottom: 60px; }

/*==================================================
  GRID
==================================================*/
.grid {
  display: grid;
  gap: 30px;
}

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

/*==================================================
  BOTONES
==================================================*/
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 28px;
  border-radius: 999px;
  font-weight: 600;
  transition: var(--transition);
  box-shadow: 0 8px 20px rgba(0, 0, 0, .06);
}

.btn:hover {
  box-shadow: 0 14px 28px rgba(0, 0, 0, .12);
}

.btn-primary {
  background: var(--color-primary);
  color: #fff;
}

.btn-primary:hover {
  background: var(--color-primary-dark);
  color: #fff;
  transform: translateY(-2px);
}

.btn-secondary {
  background: var(--gray-100);
  color: var(--heading-color);
}

.btn-secondary:hover {
  background: var(--gray-200);
}

.btn-whatsapp {
  background: #25D366;
  color: #fff;
}

.btn-whatsapp:hover {
  background: #20ba5a;
}

/*==================================================
  SECTION TITLE
==================================================*/
.section-title {
  max-width: 800px;
  margin: auto;
  margin-bottom: 50px;
}

.section-title h2 {
  margin-bottom: 20px;
}

.section-title p {
  font-size: 1.15rem;
}

/*==================================================
  CARDS
==================================================*/
.card {
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--border-color);
  transition: .30s;
}

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

.card-body {
  padding: 30px;
}

.card img {
  transition: .35s;
}

.card:hover img {
  transform: scale(1.04);
}

/*==================================================
  BADGES
==================================================*/
.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 18px;
  border-radius: 999px;
  background: var(--color-primary-light);
  color: var(--color-primary);
  font-size: .85rem;
  font-weight: 600;
}

/*==================================================
  BACKGROUND HELPERS
==================================================*/
.bg-light { background: var(--section-light); }
.bg-white { background: #fff; }

.bg-primary {
  background: var(--color-primary);
  color: #fff;
}

/*==================================================
  ANIMACION SUAVE
==================================================*/
.fade-up {
  opacity: 0;
  transform: translateY(25px);
  transition: .8s;
}

.fade-up.show {
  opacity: 1;
  transform: none;
}

/*==================================================
  HEADER
==================================================*/
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  z-index: var(--z-header);
}

.site-header .container {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 14px;
  font-weight: 800;
  font-size: 1.35rem;
  color: var(--heading-color);
}

.logo img {
  height: 46px;
  width: auto;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 34px;
}

.main-nav a {
  color: var(--gray-700);
  font-weight: 600;
  position: relative;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 0;
  height: 2px;
  background: var(--color-primary);
  transition: .30s;
}

.main-nav a:hover::after {
  width: 100%;
}

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

.header-actions {
  display: flex;
  align-items: center;
  gap: 15px;
}

.country-button {
  padding: 12px 22px;
  border-radius: 999px;
  border: 1px solid var(--border-color);
  background: #dad7d7;
  color: var(--heading-color);
  font-weight: 600;
  transition: .30s;
}

.country-button:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.mobile-menu {
  display: none;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  border: 1px solid var(--border-color);
  align-items: center;
  justify-content: center;
}

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

/*==================================================
  SECTION SPACING
==================================================*/
.section       { padding: 90px 0; }
.section-small { padding: 60px 0; }
.section-large { padding: 120px 0; }

/*==================================================
  TEXT HELPERS
==================================================*/
.lead {
  font-size: 1.2rem;
  max-width: 760px;
  color: var(--text-light);
}

.subtitle {
  display: inline-block;
  color: var(--color-primary);
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: .08em;
  margin-bottom: 15px;
}

/*==================================================
  LISTAS
==================================================*/
.check-list {
  display: grid;
  gap: 18px;
  margin-top: 30px;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 15px;
}

.check-list li::before {
  content: "✓";
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-secondary-light);
  color: var(--color-secondary-dark);
  font-weight: 700;
}

/*==================================================
  COMPARATIVAS
==================================================*/
.comparison-table {
  overflow-x: auto;
  margin-top: 40px;
}

.comparison-table table {
  width: 100%;
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.comparison-table th {
  background: var(--color-primary);
  color: #fff;
  padding: 18px;
  text-align: center;
  font-weight: 600;
}

.comparison-table td {
  padding: 18px;
  border-bottom: 1px solid var(--border-color);
  text-align: center;
}

.comparison-table tr:last-child td {
  border-bottom: none;
}

/*==================================================
  PAISES
==================================================*/
#paises .card {
  text-align: center;
  height: 100%;
}

#paises .card-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100%;
}

#paises .card:hover {
  border-color: var(--color-primary);
}

#paises .card .btn {
  margin-top: auto;
}

/*==================================================
  FAQ
==================================================*/
.faq-container {
  max-width: 900px;
  margin: auto;
}

.faq-item {
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: 16px;
  margin-bottom: 18px;
  overflow: hidden;
  transition: .3s;
}

.faq-item:hover {
  box-shadow: var(--shadow-md);
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 22px 28px;
  font-weight: 600;
  color: var(--heading-color);
  position: relative;
  user-select: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 28px;
  top: 20px;
  font-size: 1.5rem;
  color: var(--color-primary);
  transition: .3s;
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-item p {
  padding: 0 28px 24px;
  margin: 0;
}

/*==================================================
  FOOTER
==================================================*/
.site-footer {
  background: #0f172a;
  color: #cbd5e1;
  padding-top: 80px;
}

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

.footer-column h3 {
  color: #fff;
  margin-bottom: 20px;
}

.footer-column h4 {
  color: #fff;
  margin-bottom: 18px;
}

.footer-column p {
  color: #cbd5e1;
  margin-bottom: 20px;
}

.footer-column ul {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-column a {
  color: #cbd5e1;
  transition: .25s;
}

.footer-column a:hover {
  color: #fff;
  padding-left: 6px;
}

.footer-divider {
  margin: 60px 0 30px;
  border: none;
  border-top: 1px solid rgba(255, 255, 255, .12);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}

.footer-links {
  display: flex;
  gap: 25px;
  flex-wrap: wrap;
}

.footer-links a {
  color: #cbd5e1;
}

.footer-links a:hover {
  color: #fff;
}

.footer-disclaimer {
  margin-top: 35px;
  padding: 30px 0 40px;
  border-top: 1px solid rgba(255, 255, 255, .12);
}

.footer-disclaimer p {
  margin: 0;
  color: #94a3b8;
  font-size: .92rem;
  line-height: 1.7;
}

/*==================================================
  SCROLLBAR
==================================================*/
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: #edf2f7;
}

::-webkit-scrollbar-thumb {
  background: var(--color-primary);
  border-radius: 20px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--color-primary-dark);
}

/*==================================================
  LOADING
==================================================*/
.loading {
  opacity: .6;
  pointer-events: none;
}

/*==================================================
  HELPERS
==================================================*/
.rounded { border-radius: 20px; }
.shadow  { box-shadow: var(--shadow-lg); }
.w-100   { width: 100%; }

.flex {
  display: flex;
}

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

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

.gap-10 { gap: 10px; }
.gap-20 { gap: 20px; }
.gap-30 { gap: 30px; }

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

.animate-fade-up {
  animation: fadeUp .8s ease both;
}

@keyframes pulse {
  0%   { transform: scale(1); }
  50%  { transform: scale(1.03); }
  100% { transform: scale(1); }
}

.pulse {
  animation: pulse 2s infinite;
}

/*==================================================
  ESTADISTICAS
==================================================*/
.hero-stats {
  display: flex;
  gap: 25px;
  margin-top: 45px;
  flex-wrap: wrap;
}

.hero-stat {
  min-width: 95px;
  text-align: center;
  padding: 10px;
}

.hero-stat strong {
  display: block;
  font-size: 2rem;
  color: var(--color-primary);
  line-height: 1;
  margin-bottom: 6px;
}

.hero-stat span {
  font-size: .90rem;
  color: var(--text-light);
}

/*==================================================
  HERO LAYOUT
==================================================*/
.hero {
    position: relative;
    overflow: hidden;

    padding-top: calc(var(--header-height) + 60px);
    padding-bottom: 100px;
}

.hero::before {
  content: "";
  position: absolute;
  width: 700px;
  height: 700px;
  right: -250px;
  top: -200px;
  border-radius: 50%;
  background: radial-gradient(rgba(10, 111, 174, .10), transparent 70%);
  pointer-events: none;
}

.hero .container {
  display: grid;
  grid-template-columns: 1fr 560px;
  gap: 70px;
  align-items: center;
}

.hero-content {
  z-index: 2;
  position: relative;
}

.hero-content .lead {
  font-size: 1.15rem;
  line-height: 1.8;
  max-width: 620px;
  color: var(--text-light);
  margin: 25px 0 35px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(10, 111, 174, .08);
  color: var(--color-primary);
  padding: 10px 18px;
  border-radius: 999px;
  font-size: .9rem;
  font-weight: 600;
  margin-bottom: 25px;
}

/*==================================================
  HERO SHOWCASE V3
==================================================*/
.hero-showcase {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.hero-big-card,
.hero-wide-card {
  display: flex;
  align-items: center;
  gap: 25px;
  background: #fff;
  border-radius: 24px;
  padding: 30px;
  box-shadow: var(--shadow-lg);
  transition: .35s;
  text-decoration: none;
  color: inherit;
}

.hero-big-card {
  border: 2px solid rgba(10, 111, 174, .15);
}

.hero-wide-card {
  border: 1px solid var(--border-color);
}

.hero-big-card:hover,
.hero-wide-card:hover {
  transform: translateY(-6px);
  border-color: var(--color-primary);
}

.hero-big-card img {
  width: 220px;
}

.hero-wide-card img {
  width: 140px;
}

.hero-big-card h2 {
  margin-bottom: 10px;
}

.hero-wide-card h3 {
  margin-bottom: 8px;
}

.hero-small-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.hero-small-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: #fff;
  border-radius: 24px;
  padding: 25px;
  text-align: center;
  border: 1px solid var(--border-color);
  transition: .35s;
  box-shadow: var(--shadow-md);
  text-decoration: none;
  color: inherit;
}

.hero-small-card:hover {
  transform: translateY(-6px);
  border-color: var(--color-primary);
  box-shadow: var(--shadow-lg);
}

.hero-small-card img {
  width: 120px;
  margin: 0 auto 15px;
}

.hero-big-card img,
.hero-small-card img,
.hero-wide-card img {
  transition: .35s;
}

.hero-big-card img,
.hero-wide-card img,
.hero-small-card img{

    object-fit:contain;

}

.hero-big-card:hover img,
.hero-small-card:hover img,
.hero-wide-card:hover img {
  transform: scale(1.05);
}

@media (max-width: 992px) {
  .hero .container {
    grid-template-columns: 1fr;
  }

  .hero-showcase {
    margin-top: 50px;
  }

  .hero-big-card,
  .hero-wide-card {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 650px) {
  .hero-small-grid {
    grid-template-columns: 1fr;
  }
}


.hero-big-card,
.hero-wide-card,
.hero-small-card{

    cursor:pointer;

}

.hero-badge{

    box-shadow:0 10px 20px rgba(10,111,174,.08);

}

.hero-stat{

    flex:1;

}

/*==================================================
  COUNTRY FORM
==================================================*/

.country-form{

    display:flex;
    gap:15px;
    flex-wrap:wrap;
    align-items:center;

}

.country-select{

    flex:1;
    min-width:240px;
    height:52px;
    padding:0 18px;
    border:1px solid var(--border-color);
    border-radius:999px;
    background:#fff;
    font-size:1rem;
    color:var(--heading-color);

}

.country-form .btn{

    white-space:nowrap;

}
/*==================================================
  FIN STYLE.CSS
==================================================*/