/* ============================================================
   PERIMEX PANAMA — Main Stylesheet
   Color palette: Deep navy · Steel blue · Gold · White
   ============================================================ */

:root {
  --navy:          #0d1b2a;
  --navy-light:    #1b2f4a;
  --steel:         #1e4976;
  --gold:          #c9a84c;
  --gold-light:    #dfc06a;
  --white:         #ffffff;
  --gray-50:       #f8fafc;
  --gray-100:      #f1f5f9;
  --gray-200:      #e2e8f0;
  --gray-400:      #94a3b8;
  --gray-500:      #64748b;
  --gray-700:      #334155;
  --gray-900:      #0f172a;
  --green:         #16a34a;
  --red-err:       #dc2626;

  --font-head:     'Montserrat', sans-serif;
  --font-body:     'Inter', sans-serif;

  --radius:        8px;
  --radius-lg:     16px;
  --radius-xl:     24px;
  --shadow-sm:     0 1px 3px rgba(0,0,0,.08);
  --shadow-md:     0 4px 12px rgba(0,0,0,.10);
  --shadow-lg:     0 12px 32px rgba(0,0,0,.14);
  --shadow-xl:     0 20px 48px rgba(0,0,0,.18);
  --transition:    .3s ease;
  --container:     1200px;
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  color: var(--gray-700);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: auto;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }
input, textarea, select {
  font: inherit;
  border: none;
  outline: none;
  background: none;
  width: 100%;
}

/* ---- Utilities ---- */
.container  { max-width: var(--container); margin: 0 auto; padding: 0 1.5rem; }
.text-center { text-align: center; }
.text-white  { color: var(--white); }
.text-gold   { color: var(--gold); }
.text-muted-light { color: var(--gray-400); }

/* Section heading system */
.section-tag {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 2.5rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.5rem;
}
.text-center .section-tag { display: block; }

section h2 {
  font-family: var(--font-head);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 800;
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: 1rem;
}
.section-dark h2 { color: var(--white); }

.section-desc {
  font-size: 1.05rem;
  color: var(--gray-500);
  max-width: 640px;
  margin-bottom: 3rem;
}

/* When text-center is on the SAME element (not the parent) */
.section-tag.text-center {
  display: block;           /* so it can actually center nicely */
  text-align: center;
}

.section-desc.text-center {
  margin-left: auto;
  margin-right: auto;       /* centers the max-width block */
  text-align: center;
}

/* Center the feature icon box inside the card */
.feature-icon {
  margin-left: auto;
  margin-right: auto;
}



.text-center .section-desc { margin-left: auto; margin-right: auto; }
.section-dark .section-desc { color: var(--gray-400); }

section { padding: 5rem 0; }
.section-light  { background: var(--gray-50); }
.section-dark   { background: var(--navy); }

/* ---- Buttons ---- */
.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center; /* <-- add this */
  gap: .5rem;
  padding: .7rem 1.5rem;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .9rem;
  letter-spacing: .02em;
  border-radius: var(--radius);
  transition: all var(--transition);
  cursor: pointer;
  white-space: nowrap;
  border: 2px solid transparent;
}

.btn-lg { padding: .85rem 2rem; font-size: 1rem; }
.btn-full { width: 100%; justify-content: center; }

.btn-primary {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
}
.btn-primary:hover, .btn-primary:focus-visible {
  background: var(--gold-light);
  border-color: var(--gold-light);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(201,168,76,.35);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,.5);
}
.btn-outline:hover, .btn-outline:focus-visible {
  background: rgba(255,255,255,.1);
  border-color: var(--white);
}

.btn-outline-dark {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn-outline-dark:hover, .btn-outline-dark:focus-visible {
  background: var(--navy);
  color: var(--white);
}

.btn-whatsapp {
  background: #25d366;
  color: var(--white);
  border-color: #25d366;
}
.btn-whatsapp:hover, .btn-whatsapp:focus-visible {
  background: #1ebe5d;
  border-color: #1ebe5d;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(37,211,102,.35);
}

/* ---- Header ---- */
#header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: transparent;
  transition: background var(--transition), box-shadow var(--transition);
}
#header.scrolled {
  background: var(--navy);
  box-shadow: 0 2px 20px rgba(0,0,0,.3);
}

.nav {
  display: flex;
  align-items: center;
  gap: 2rem;
  height: 72px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: .6rem;
  flex-shrink: 0;
}
.logo-text {
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: .04em;
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.logo-sub {
  font-size: .62rem;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: .14em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: .25rem;
  margin-left: auto;
}
.nav-link {
  font-family: var(--font-head);
  font-size: .82rem;
  font-weight: 600;
  color: rgba(255,255,255,.8);
  padding: .4rem .75rem;
  border-radius: var(--radius);
  transition: color var(--transition), background var(--transition);
  letter-spacing: .02em;
}
.nav-link:hover, .nav-link.active {
  color: var(--white);
  background: rgba(255,255,255,.08);
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: .75rem;
  flex-shrink: 0;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: .4rem;
  margin-left: auto;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--transition);
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: 72px; left: 0; right: 0;
  background: var(--navy);
  padding: 1.5rem;
  z-index: 999;
  border-top: 1px solid rgba(255,255,255,.08);
  box-shadow: var(--shadow-lg);
}
.mobile-menu.open { display: block; }
.mobile-menu ul { margin-bottom: 1.5rem; }
.mobile-link {
  display: block;
  font-family: var(--font-head);
  font-weight: 600;
  color: rgba(255,255,255,.85);
  padding: .85rem 0;
  border-bottom: 1px solid rgba(255,255,255,.07);
  font-size: .95rem;
}
.mobile-link:hover { color: var(--gold); }

/* ---- Hero ---- */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 50%, var(--steel) 100%);
  padding: 6rem 0 4rem;
  overflow: hidden;
}
#hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23c9a84c' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 1;
}

.hero-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero-badge {
  display: inline-block;
  background: rgba(201,168,76,.15);
  color: var(--gold);
  font-size: .8rem;
  font-weight: 700;
  font-family: var(--font-head);
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: .4rem 1rem;
  border-radius: 100px;
  border: 1px solid rgba(201,168,76,.3);
  margin-bottom: 1.5rem;
}
.hero-content h1 {
  font-family: var(--font-head);
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 1.5rem;
}
.hero-sub {
  font-size: 1.1rem;
  color: rgba(255,255,255,.75);
  max-width: 480px;
  margin-bottom: 2.5rem;
  line-height: 1.7;
}
.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}
.hero-trust {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  font-size: .82rem;
  color: rgba(255,255,255,.6);
  font-family: var(--font-head);
  font-weight: 600;
}
.hero-trust span { display: flex; align-items: center; gap: .3rem; }

.hero-img-placeholder{
  width: 100%;
  aspect-ratio: 4/3;

  /* remove the placeholder styling that creates margins */
  padding: 0;
  border: 0;
  background: none;

  /* crop image to rounded corners */
  border-radius: var(--radius-xl);
  overflow: hidden;

  /* optional: keep a subtle frame/shadow */
  box-shadow: var(--shadow-xl);
}


.hero-img-placeholder p { line-height: 1.4; }

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

/* ---- Stats ---- */
#stats {
  background: var(--navy-light);
  padding: 2.5rem 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.stat-item {
  text-align: center;
  padding: 1.5rem 1rem;
  border-right: 1px solid rgba(255,255,255,.08);
}
.stat-item:last-child { border-right: none; }
.stat-number {
  display: block;
  font-family: var(--font-head);
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--gold);
  line-height: 1;
  margin-bottom: .4rem;
}
.stat-label {
  font-size: .8rem;
  font-weight: 600;
  color: rgba(255,255,255,.6);
  text-transform: uppercase;
  letter-spacing: .06em;
  font-family: var(--font-head);
}

/* ---- Intro Cards ---- */
.intro-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 1rem;
}
.intro-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--gray-200);
  transition: transform var(--transition), box-shadow var(--transition);
}
.intro-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.intro-icon {
  width: 64px;
  height: 64px;
  background: rgba(13,27,42,.06);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  color: var(--navy);
  margin-left: auto;
  margin-right: auto;
}
.intro-card h3 {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: .5rem;
}
.intro-card p { font-size: .9rem; color: var(--gray-500); }

/* ---- Products ---- */
.products-grid{
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  max-width: 1100px;   /* opcional: limita el ancho para que se vea más centrado */
  margin: 0 auto;      /* centra el grid dentro del container */
}

.product-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--gray-200);
  transition: transform var(--transition), box-shadow var(--transition);
  display: flex;
  flex-direction: column;
}
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-xl); }

.product-img {
  position: relative;
  height: 200px;
  overflow: hidden;
  background: var(--navy);
}
.product-img img { width: 100%; height: 100%; object-fit: cover; }
.product-img-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .75rem;
  color: rgba(255,255,255,.4);
  font-size: .75rem;
  text-align: center;
  padding: 1rem;
}
.product-badge {
  position: absolute;
  top: 1rem; left: 1rem;
  background: var(--gold);
  color: var(--navy);
  font-size: .7rem;
  font-weight: 800;
  font-family: var(--font-head);
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: .25rem .65rem;
  border-radius: 100px;
}
.product-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.product-body h3 {
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: .6rem;
}
.product-body p { font-size: .88rem; color: var(--gray-500); margin-bottom: 1rem; }
.product-features {
  list-style: none;
  margin-bottom: 1.5rem;
  flex: 1;
}
.product-features li {
  font-size: .82rem;
  color: var(--gray-700);
  padding: .3rem 0;
  padding-left: 1.25rem;
  position: relative;
  border-bottom: 1px solid var(--gray-100);
}
.product-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-weight: 700;
}

/* ---- Features ---- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.feature-card {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: background var(--transition), border-color var(--transition);
}
.feature-card:hover {
  background: rgba(255,255,255,.07);
  border-color: rgba(201,168,76,.3);
}
.feature-icon {
  width: 56px; height: 56px;
  background: rgba(201,168,76,.12);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  color: var(--gold);
}
.feature-card h3 {
  font-family: var(--font-head);
  font-size: .95rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: .5rem;
}
.feature-card p { font-size: .88rem; color: var(--gray-400); line-height: 1.6; }

/* ---- Process ---- */
.process-steps {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  gap: 0;
  align-items: start;
  margin-top: 1rem;
}
.process-step {
  text-align: center;
  padding: 1rem;
}
.step-number {
  font-family: var(--font-head);
  font-size: 3rem;
  font-weight: 800;
  color: var(--gold);
  opacity: .3;
  line-height: 1;
  margin-bottom: .75rem;
}
.step-content h3 {
  font-family: var(--font-head);
  font-size: .95rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: .5rem;
}
.step-content p { font-size: .85rem; color: var(--gray-500); }
.process-connector {
  display: flex;
  align-items: flex-start;
  padding-top: 2.2rem;
  color: var(--gray-200);
  font-size: 1.5rem;
}
.process-connector::after {
  content: '→';
  color: var(--gold);
  opacity: .4;
  font-size: 2rem;
}

/* ---- Testimonials ---- */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--gray-200);
  border-left: 4px solid var(--gold);
}
.stars { color: var(--gold); font-size: 1rem; margin-bottom: 1rem; }
.testimonial-card p {
  font-size: .9rem;
  color: var(--gray-700);
  font-style: italic;
  line-height: 1.7;
  margin-bottom: 1.25rem;
}
.testimonial-card footer strong {
  display: block;
  font-family: var(--font-head);
  font-size: .9rem;
  color: var(--navy);
  font-weight: 700;
}
.testimonial-card footer span {
  font-size: .8rem;
  color: var(--gray-400);
}

/* ---- CTA Banner ---- */
#cta-banner {
  background: linear-gradient(135deg, var(--steel) 0%, var(--navy) 100%);
  padding: 4rem 0;
}
.cta-banner-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}
.cta-banner-text h2 {
  color: var(--white);
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  margin-bottom: .4rem;
}
.cta-banner-text p { color: rgba(255,255,255,.7); font-size: .95rem; }
.cta-banner-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

/* ---- FAQ ---- */
.faq-container { max-width: 760px; }
.faq-list { margin-top: 1rem; }
.faq-item {
  border-bottom: 1px solid var(--gray-200);
}
.faq-item:first-child { border-top: 1px solid var(--gray-200); }
.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 0;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .95rem;
  color: var(--navy);
  cursor: pointer;
  list-style: none;
  gap: 1rem;
  transition: color var(--transition);
}
.faq-question::-webkit-details-marker { display: none; }
.faq-question::after {
  content: '+';
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--gold);
  flex-shrink: 0;
  transition: transform var(--transition);
}
details[open] .faq-question { color: var(--steel); }
details[open] .faq-question::after { transform: rotate(45deg); }
.faq-answer {
  padding-bottom: 1.25rem;
}
.faq-answer p { font-size: .9rem; color: var(--gray-500); line-height: 1.7; }

/* ---- Contact ---- */
#contacto { background: var(--gray-50); }
.contact-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 5rem;
  align-items: start;
}
.contact-form-wrapper .section-tag { margin-bottom: .5rem; }
.contact-form-wrapper h2 { margin-bottom: .75rem; }
.contact-intro { color: var(--gray-500); margin-bottom: 2rem; font-size: .95rem; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { margin-bottom: 1rem; }
.form-group label {
  display: block;
  font-size: .8rem;
  font-weight: 600;
  font-family: var(--font-head);
  color: var(--navy);
  margin-bottom: .4rem;
  letter-spacing: .02em;
}
.form-group label span { color: var(--gold); }
.form-group input,
.form-group textarea,
.form-group select {
  background: var(--white);
  border: 2px solid var(--gray-200);
  border-radius: var(--radius);
  padding: .7rem 1rem;
  font-size: .9rem;
  color: var(--gray-700);
  transition: border-color var(--transition), box-shadow var(--transition);
  width: 100%;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--steel);
  box-shadow: 0 0 0 3px rgba(30,73,118,.1);
}
.form-group input.invalid,
.form-group textarea.invalid { border-color: var(--red-err); }
.form-group textarea { resize: vertical; min-height: 110px; }
.form-group select { appearance: none; cursor: pointer; }

.form-alert {
  padding: .85rem 1rem;
  border-radius: var(--radius);
  font-size: .88rem;
  font-weight: 600;
  margin-bottom: 1rem;
}
.form-alert.success { background: rgba(22,163,74,.1); color: var(--green); border: 1px solid rgba(22,163,74,.2); }
.form-alert.error   { background: rgba(220,38,38,.1); color: var(--red-err); border: 1px solid rgba(220,38,38,.2); }

#submitBtn { position: relative; }
.btn-spinner svg { animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.form-disclaimer {
  text-align: center;
  font-size: .75rem;
  color: var(--gray-400);
  margin-top: .75rem;
}

/* Contact info panel */
.contact-info { padding-top: 3.5rem; }
.contact-info h3 {
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 1.5rem;
}
.contact-channel {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: var(--white);
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.5rem;
  margin-bottom: 1.5rem;
  transition: all var(--transition);
}
.contact-channel:hover { border-color: #25d366; box-shadow: 0 0 0 4px rgba(37,211,102,.1); transform: translateY(-2px); }
.whatsapp-channel .channel-icon { color: #25d366; }
.channel-icon {
  width: 48px; height: 48px;
  background: rgba(37,211,102,.1);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.channel-text { flex: 1; }
.channel-text strong { display: block; font-family: var(--font-head); font-size: .95rem; color: var(--navy); font-weight: 700; }
.channel-text span { font-size: .8rem; color: var(--gray-400); }
.channel-arrow { color: var(--gray-400); }

.contact-info-list { margin-bottom: 2rem; }
.contact-detail {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .6rem 0;
  font-size: .88rem;
  color: var(--gray-500);
  border-bottom: 1px solid var(--gray-100);
}
.contact-detail:last-child { border-bottom: none; }
.contact-detail svg { color: var(--gold); flex-shrink: 0; }
.contact-detail a:hover { color: var(--navy); }

.contact-assurance {
  background: rgba(13,27,42,.04);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.5rem;
}
.assurance-item {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .4rem 0;
  font-size: .85rem;
  font-weight: 600;
  color: var(--navy);
  font-family: var(--font-head);
}
.assurance-item svg { color: var(--green); flex-shrink: 0; }

/* ---- Footer ---- */
#footer {
  background: var(--gray-900);
  padding: 4rem 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  padding-bottom: 3rem;
}
.footer-brand p {
  font-size: .88rem;
  color: var(--gray-400);
  margin-top: 1rem;
  max-width: 280px;
  line-height: 1.6;
}
.footer-logo .logo-text { color: var(--white); }
.footer-links h4 {
  font-family: var(--font-head);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gray-400);
  margin-bottom: 1rem;
}
.footer-links li { margin-bottom: .6rem; }
.footer-links a {
  font-size: .88rem;
  color: var(--gray-400);
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--gold); }

.footer-contact h4 {
  font-family: var(--font-head);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gray-400);
  margin-bottom: 1rem;
}
.footer-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: #25d366;
  color: var(--white);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .85rem;
  padding: .55rem 1.1rem;
  border-radius: var(--radius);
  margin-bottom: .75rem;
  transition: background var(--transition);
}
.footer-whatsapp:hover { background: #1ebe5d; }
.footer-email {
  display: block;
  font-size: .85rem;
  color: var(--gray-400);
  margin-bottom: .4rem;
  transition: color var(--transition);
}
.footer-email:hover { color: var(--gold); }
.footer-location { font-size: .82rem; color: var(--gray-500); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.06);
  padding: 1.5rem 0;
}
.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .5rem;
}
.footer-bottom p { font-size: .8rem; color: var(--gray-500); }
.footer-legal { font-size: .75rem; color: var(--gray-500); }

/* ---- WhatsApp Float ---- */
.whatsapp-float {
  position: fixed;
  bottom: 2rem; right: 2rem;
  width: 58px; height: 58px;
  background: #25d366;
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,.5);
  z-index: 900;
  transition: transform var(--transition), box-shadow var(--transition);
}
.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 28px rgba(37,211,102,.6);
}
.whatsapp-float::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid rgba(37,211,102,.3);
  animation: pulse-ring 2.5s ease-out infinite;
}
@keyframes pulse-ring {
  0%   { transform: scale(1); opacity: .6; }
  100% { transform: scale(1.5); opacity: 0; }
}

/* ---- Scroll Reveal ---- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-right {
  transform: translateX(40px);
}
.reveal-right.visible {
  transform: translateX(0);
}

/* ---- Responsive ---- */
@media (max-width: 1024px) {
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .process-steps {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .process-connector { display: none; }
  .process-step { text-align: left; display: flex; align-items: flex-start; gap: 1.25rem; }
  .step-number { font-size: 2rem; flex-shrink: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

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

  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }

  .hero-container { grid-template-columns: 1fr; gap: 2rem; }
  .hero-image { display: block; }
  .hero-img-placeholder { aspect-ratio: 16/9; border-radius: var(--radius-lg); }
  .hero-content h1 { font-size: clamp(2rem, 7vw, 2.8rem); }

  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,.08); }

  .intro-cards { grid-template-columns: 1fr; }

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

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

  .cta-banner-inner { flex-direction: column; text-align: center; }
  .cta-banner-actions { justify-content: center; }

  .contact-grid { grid-template-columns: 1fr; gap: 2rem; }
  .contact-info { padding-top: 0; }
  .form-row { grid-template-columns: 1fr; }

  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom-inner { flex-direction: column; text-align: center; }

  .whatsapp-float { bottom: 1.25rem; right: 1.25rem; width: 52px; height: 52px; }
}

@media (max-width: 480px) {
  .products-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }
}
