/* ============================================================
   WebSiteParaguay — Main CSS
   Grupo SAT SRL | v1.0
   Aesthetic: Modern Tech Agency — Navy + Electric Blue + White
   Fonts: Syne (display) + DM Sans (body)
   ============================================================ */

/* ── Variables ─────────────────────────────────────────────── */
:root {
  --blue:        #0055ff;
  --blue-dark:   #003dd6;
  --blue-light:  #e6eeff;
  --navy:        #0a1628;
  --navy-mid:    #14213d;
  --white:       #ffffff;
  --off-white:   #f8faff;
  --gray-100:    #f1f5f9;
  --gray-200:    #e2e8f0;
  --gray-400:    #94a3b8;
  --gray-600:    #475569;
  --gray-800:    #1e293b;
  --green:       #10b981;
  --radius:      12px;
  --radius-lg:   20px;
  --shadow:      0 4px 24px rgba(0,0,0,.08);
  --shadow-lg:   0 20px 60px rgba(0,0,0,.15);
  --transition:  .25s cubic-bezier(.4,0,.2,1);
  --font-display:'Syne', sans-serif;
  --font-body:   'DM Sans', sans-serif;
}

/* ── Reset ──────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body { font-family: var(--font-body); color: var(--gray-800); background: var(--white); overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ── Typography ─────────────────────────────────────────────── */
h1,h2,h3,h4,h5,h6 { font-family: var(--font-display); font-weight: 700; line-height: 1.2; }
p { line-height: 1.7; }

/* ── Containers ─────────────────────────────────────────────── */
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section-pad { padding: 90px 0; }
.section-pad-sm { padding: 60px 0; }

/* ── Buttons ─────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 28px; border-radius: var(--radius);
  font-family: var(--font-display); font-weight: 600; font-size: .95rem;
  border: 2px solid transparent; cursor: pointer;
  transition: var(--transition); white-space: nowrap;
}
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-dark); transform: translateY(-2px); box-shadow: 0 8px 30px rgba(0,85,255,.35); }
.btn-outline { background: transparent; color: var(--blue); border-color: var(--blue); }
.btn-outline:hover { background: var(--blue); color: #fff; }
.btn-white { background: #fff; color: var(--navy); }
.btn-white:hover { background: var(--blue-light); }
.btn-whatsapp { background: #25D366; color: #fff; }
.btn-whatsapp:hover { background: #128C7E; transform: translateY(-2px); box-shadow: 0 8px 30px rgba(37,211,102,.35); }
.btn-sm { padding: 9px 20px; font-size: .85rem; }
.btn-lg { padding: 16px 38px; font-size: 1.05rem; }

/* ── Badge ───────────────────────────────────────────────────── */
.badge { display: inline-block; padding: 4px 12px; border-radius: 20px; font-size: .78rem; font-weight: 600; }
.badge-blue { background: var(--blue-light); color: var(--blue); }
.badge-popular { background: var(--blue); color: #fff; }
.badge-green { background: #d1fae5; color: #065f46; }

/* ── Section Headers ─────────────────────────────────────────── */
.section-header { text-align: center; margin-bottom: 60px; }
.section-label {
  display: inline-block; color: var(--blue); font-family: var(--font-display);
  font-weight: 700; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase;
  margin-bottom: 12px;
}
.section-header h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); color: var(--navy); margin-bottom: 16px; }
.section-header p { color: var(--gray-600); font-size: 1.05rem; max-width: 560px; margin: 0 auto; }

/* ── NAVBAR ──────────────────────────────────────────────────── */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 0 24px; height: 72px;
  display: flex; align-items: center; justify-content: space-between;
  background: rgba(10,22,40,.0); backdrop-filter: blur(0px);
  transition: var(--transition);
}
.navbar.scrolled {
  background: rgba(10,22,40,.95); backdrop-filter: blur(16px);
  box-shadow: 0 2px 20px rgba(0,0,0,.3);
}
.navbar-brand {
  font-family: var(--font-display); font-size: 1.4rem; font-weight: 800;
  color: #fff; display: flex; align-items: center; gap: 10px;
}
.navbar-brand span { color: var(--blue); }
.navbar-brand .dot { width: 8px; height: 8px; background: var(--blue); border-radius: 50%; margin-bottom: 2px; }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  color: rgba(255,255,255,.8); padding: 8px 14px; border-radius: 8px;
  font-size: .9rem; font-weight: 500; transition: var(--transition);
}
.nav-links a:hover, .nav-links a.active { color: #fff; background: rgba(255,255,255,.1); }
.nav-cta { display: flex; align-items: center; gap: 10px; }
.nav-cta .btn { padding: 9px 20px; font-size: .85rem; }
.lang-switcher {
  display: flex; border: 1px solid rgba(255,255,255,.2); border-radius: 8px; overflow: hidden;
}
.lang-switcher a { color: rgba(255,255,255,.6); padding: 5px 10px; font-size: .8rem; font-weight: 600; transition: var(--transition); }
.lang-switcher a.active, .lang-switcher a:hover { background: var(--blue); color: #fff; }
.hamburger { display: none; background: none; border: 1px solid rgba(255,255,255,.3); border-radius: 8px; color: #fff; padding: 8px 10px; cursor: pointer; font-size: 1.1rem; }
.mobile-menu {
  display: none; position: fixed; top: 72px; left: 0; right: 0;
  background: var(--navy); padding: 24px; z-index: 999;
  border-top: 1px solid rgba(255,255,255,.1);
}
.mobile-menu.open { display: block; }
.mobile-menu a { display: block; color: rgba(255,255,255,.8); padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.07); font-size: 1rem; }
.mobile-menu a:last-child { border: none; }

/* ── HERO ─────────────────────────────────────────────────────── */
.hero {
  min-height: 100vh; position: relative; overflow: hidden;
  background: var(--navy);
  display: flex; align-items: center;
}
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background: radial-gradient(ellipse 80% 60% at 70% 40%, rgba(0,85,255,.18), transparent),
              radial-gradient(ellipse 50% 50% at 10% 80%, rgba(0,85,255,.1), transparent);
}
.hero-grid {
  position: absolute; inset: 0; z-index: 0; opacity: .04;
  background-image: linear-gradient(rgba(255,255,255,.5) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,.5) 1px, transparent 1px);
  background-size: 60px 60px;
}
.hero-content { position: relative; z-index: 1; padding: 140px 0 100px; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(0,85,255,.15); border: 1px solid rgba(0,85,255,.3);
  color: #7cabff; padding: 6px 16px; border-radius: 20px;
  font-size: .8rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  margin-bottom: 28px;
}
.hero-eyebrow::before { content:''; width:6px; height:6px; background:#4d8bff; border-radius:50%; animation: pulse-dot 2s infinite; }
@keyframes pulse-dot { 0%,100%{opacity:1} 50%{opacity:.3} }
.hero h1 {
  font-size: clamp(2.4rem, 6vw, 4.4rem); color: #fff;
  line-height: 1.08; margin-bottom: 24px; font-weight: 800;
}
.hero h1 em { color: var(--blue); font-style: normal; }
.hero-sub { color: rgba(255,255,255,.65); font-size: clamp(1rem, 2vw, 1.2rem); max-width: 560px; margin-bottom: 44px; line-height: 1.6; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 60px; }
.hero-stats { display: flex; flex-wrap: wrap; gap: 36px; }
.stat-item { display: flex; flex-direction: column; }
.stat-number { font-family: var(--font-display); font-size: 2rem; font-weight: 800; color: #fff; line-height: 1; }
.stat-number span { color: var(--blue); }
.stat-label { color: rgba(255,255,255,.5); font-size: .8rem; margin-top: 4px; }
.hero-visual { position: absolute; right: -60px; top: 50%; transform: translateY(-50%); width: 46%; opacity: .15; z-index: 0; }
.hero-visual svg { width: 100%; height: auto; }

/* ── SERVICES ─────────────────────────────────────────────────── */
.services-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px;
}
.service-card {
  background: var(--white); border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg); padding: 36px 28px;
  transition: var(--transition); position: relative; overflow: hidden;
}
.service-card::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 100%);
  opacity: 0; transition: var(--transition);
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--blue); }
.service-card:hover::before { opacity: 1; }
.service-card > * { position: relative; z-index: 1; }
.service-icon {
  width: 56px; height: 56px; background: var(--blue-light); border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  color: var(--blue); font-size: 1.4rem; margin-bottom: 20px;
  transition: var(--transition);
}
.service-card:hover .service-icon { background: rgba(255,255,255,.2); color: #fff; }
.service-card h3 { font-size: 1.15rem; color: var(--navy); margin-bottom: 10px; transition: var(--transition); }
.service-card:hover h3 { color: #fff; }
.service-card p { color: var(--gray-600); font-size: .9rem; transition: var(--transition); margin-bottom: 20px; }
.service-card:hover p { color: rgba(255,255,255,.75); }
.service-actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* ── PRODUCTS / PLANS ─────────────────────────────────────────── */
.products-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; align-items: start; }
.product-card {
  border: 2px solid var(--gray-200); border-radius: var(--radius-lg);
  padding: 36px 28px; position: relative; background: #fff;
  transition: var(--transition);
}
.product-card.featured { border-color: var(--blue); box-shadow: 0 0 0 1px var(--blue); }
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.product-badge { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); }
.product-card h3 { font-size: 1.3rem; color: var(--navy); margin-bottom: 8px; }
.product-card .desc { color: var(--gray-600); font-size: .9rem; margin-bottom: 24px; }
.price-block { margin-bottom: 28px; }
.price-main { font-family: var(--font-display); font-size: 2.4rem; font-weight: 800; color: var(--navy); }
.price-main small { font-size: .95rem; font-weight: 400; color: var(--gray-400); }
.price-from { font-size: .8rem; color: var(--gray-400); margin-bottom: 4px; }
.feature-list { margin-bottom: 28px; }
.feature-list li { display: flex; align-items: center; gap: 10px; padding: 7px 0; font-size: .9rem; color: var(--gray-600); border-bottom: 1px solid var(--gray-100); }
.feature-list li i { color: var(--green); font-size: .85rem; flex-shrink: 0; }
.feature-list li:last-child { border: none; }

/* ── FAQ ──────────────────────────────────────────────────────── */
.faq-list { max-width: 780px; margin: 0 auto; }
.faq-item { border: 1px solid var(--gray-200); border-radius: var(--radius); margin-bottom: 12px; overflow: hidden; transition: var(--transition); }
.faq-item:hover { border-color: var(--blue); }
.faq-question {
  padding: 20px 24px; font-family: var(--font-display); font-weight: 600;
  color: var(--navy); cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  background: #fff; transition: var(--transition);
}
.faq-question.open { background: var(--blue); color: #fff; }
.faq-question i { transition: transform .3s; flex-shrink: 0; }
.faq-question.open i { transform: rotate(180deg); }
.faq-answer { padding: 0 24px; max-height: 0; overflow: hidden; transition: max-height .4s ease, padding .3s; }
.faq-answer.open { padding: 20px 24px; max-height: 500px; }
.faq-answer p { color: var(--gray-600); }

/* ── PORTFOLIO ────────────────────────────────────────────────── */
.portfolio-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 28px; }

.portfolio-card {
  border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--gray-200); background: #fff;
  transition: var(--transition); display: flex; flex-direction: column;
}
.portfolio-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--blue); }

/* ── Browser mockup wrapper ── */
.portfolio-thumb {
  position: relative; overflow: hidden;
  background: var(--gray-100);
  border-bottom: 1px solid var(--gray-200);
}

/* Barra del navegador falsa (topbar) */
.portfolio-thumb::before {
  content: '';
  display: block;
  height: 30px;
  background: var(--gray-100);
  border-bottom: 1px solid var(--gray-200);
}

/* Puntitos macOS en la barra */
.portfolio-thumb::after {
  content: '';
  position: absolute;
  top: 9px; left: 12px;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #ef4444;
  box-shadow: 14px 0 0 #fbbf24, 28px 0 0 #22c55e;
  z-index: 2;
}

/* Zona de la screenshot */
.portfolio-screen {
  display: block;
  height: 200px;
  overflow: hidden;
  position: relative;
}
.portfolio-screen img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  object-position: top center;   /* ← CLAVE: muestra el hero, no el centro */
  transition: transform .6s ease;
}
.portfolio-card:hover .portfolio-screen img { transform: scale(1.04); }

/* Barra de URL falsa */
.portfolio-url-bar {
  position: absolute;
  top: 5px; left: 46px; right: 12px;
  height: 20px; background: #fff;
  border-radius: 4px;
  display: flex; align-items: center;
  padding: 0 8px; gap: 5px;
  border: 1px solid var(--gray-200);
  font-size: 9px; color: var(--gray-400);
  overflow: hidden; white-space: nowrap;
  z-index: 2;
}
.portfolio-url-bar i { color: #22c55e; font-size: 8px; flex-shrink: 0; }

/* Overlay al hover */
.portfolio-overlay {
  position: absolute; inset: 0;
  background: rgba(0,85,255,.88);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: var(--transition);
  z-index: 3;
}
.portfolio-card:hover .portfolio-overlay { opacity: 1; }

.portfolio-body { padding: 18px 20px; flex: 1; }
.portfolio-body h3 { font-size: 1rem; color: var(--navy); margin-bottom: 4px; font-weight: 700; }
.portfolio-body .domain { color: var(--blue); font-size: .82rem; font-weight: 600; display:flex; align-items:center; gap:5px; }
.portfolio-body .cat { display: inline-block; background: var(--blue-light); color: var(--blue); padding: 3px 10px; border-radius: 20px; font-size: .72rem; font-weight: 600; margin-top: 8px; }

/* ── TESTIMONIALS ─────────────────────────────────────────────── */
.testimonials-bg { background: var(--navy); }
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px; }
.testimonial-card {
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-lg); padding: 30px;
}
.testimonial-stars { color: #fbbf24; margin-bottom: 16px; }
.testimonial-card p { color: rgba(255,255,255,.75); font-size: .95rem; margin-bottom: 20px; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--blue); display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 700; color: #fff; font-size: 1rem;
  flex-shrink: 0;
}
.testimonial-name { font-weight: 600; color: #fff; font-size: .9rem; }
.testimonial-role { color: rgba(255,255,255,.45); font-size: .8rem; }

/* ── ABOUT ────────────────────────────────────────────────────── */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.about-img-wrap { position: relative; }
.about-img-wrap img { border-radius: var(--radius-lg); }
.about-badge {
  position: absolute; bottom: -20px; right: -20px;
  background: var(--blue); color: #fff; border-radius: var(--radius);
  padding: 20px 24px; text-align: center;
}
.about-badge .num { font-family: var(--font-display); font-size: 2.4rem; font-weight: 800; }
.about-badge .label { font-size: .8rem; opacity: .8; }
.about-content .section-label { text-align: left; display: block; }
.about-content h2 { margin-bottom: 20px; }
.about-content p { color: var(--gray-600); margin-bottom: 16px; }
.about-checklist { margin: 24px 0; }
.about-checklist li { display: flex; align-items: center; gap: 10px; padding: 8px 0; color: var(--gray-600); }
.about-checklist li i { color: var(--blue); flex-shrink: 0; }

/* ── CONTACT ──────────────────────────────────────────────────── */
.contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 60px; }
.contact-info h3 { font-size: 1.6rem; color: var(--navy); margin-bottom: 20px; }
.contact-info p { color: var(--gray-600); margin-bottom: 28px; }
.contact-detail { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 20px; }
.contact-detail .icon { width: 44px; height: 44px; background: var(--blue-light); border-radius: 10px; display: flex; align-items: center; justify-content: center; color: var(--blue); flex-shrink: 0; }
.contact-detail .text strong { display: block; color: var(--navy); font-size: .9rem; margin-bottom: 2px; }
.contact-detail .text span { color: var(--gray-600); font-size: .9rem; }
.contact-form .form-group { margin-bottom: 18px; }
.contact-form label { display: block; font-weight: 500; margin-bottom: 6px; font-size: .9rem; color: var(--gray-800); }
.contact-form input, .contact-form textarea, .contact-form select {
  width: 100%; padding: 12px 16px; border: 2px solid var(--gray-200);
  border-radius: var(--radius); font-family: var(--font-body); font-size: .95rem;
  color: var(--gray-800); transition: var(--transition); background: #fff;
}
.contact-form input:focus, .contact-form textarea:focus, .contact-form select:focus {
  outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(0,85,255,.08);
}
.contact-form textarea { min-height: 130px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-alert { padding: 12px 16px; border-radius: 8px; font-size: .9rem; margin-bottom: 16px; }
.form-alert.success { background: #d1fae5; border: 1px solid #6ee7b7; color: #065f46; }
.form-alert.error { background: #fef2f2; border: 1px solid #fca5a5; color: #991b1b; }

/* ── FOOTER ───────────────────────────────────────────────────── */
.footer { background: var(--navy); color: rgba(255,255,255,.65); }
.footer-main { padding: 70px 0 50px; border-bottom: 1px solid rgba(255,255,255,.08); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; }
.footer-brand p { font-size: .9rem; margin: 14px 0 24px; line-height: 1.7; }
.footer-socials { display: flex; gap: 10px; }
.footer-socials a {
  width: 38px; height: 38px; border-radius: 8px;
  background: rgba(255,255,255,.07); display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.6); transition: var(--transition);
}
.footer-socials a:hover { background: var(--blue); color: #fff; }
.footer-col h4 { color: #fff; font-family: var(--font-display); font-size: .9rem; font-weight: 700; margin-bottom: 18px; letter-spacing: .05em; text-transform: uppercase; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { font-size: .88rem; transition: var(--transition); }
.footer-col ul li a:hover { color: #fff; padding-left: 4px; }
.footer-contact-item { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 12px; font-size: .88rem; }
.footer-contact-item i { color: var(--blue); margin-top: 2px; flex-shrink: 0; width: 14px; }
.footer-bottom { padding: 22px 0; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: .82rem; }
.footer-bottom a { color: var(--blue); }

/* ── WhatsApp Float ───────────────────────────────────────────── */
.wa-float {
  position: fixed; bottom: 28px; right: 28px; z-index: 999;
  width: 58px; height: 58px; border-radius: 50%;
  background: #25D366; color: #fff; display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; box-shadow: 0 4px 24px rgba(37,211,102,.5);
  transition: var(--transition); animation: float-in .5s .8s both;
}
.wa-float:hover { transform: scale(1.1); box-shadow: 0 8px 40px rgba(37,211,102,.6); }
@keyframes float-in { from{opacity:0;transform:scale(.5)} to{opacity:1;transform:scale(1)} }
.wa-tooltip {
  position: absolute; right: 70px; background: var(--navy); color: #fff;
  padding: 6px 14px; border-radius: 8px; font-size: .8rem; white-space: nowrap;
  opacity: 0; pointer-events: none; transition: var(--transition);
}
.wa-float:hover .wa-tooltip { opacity: 1; }

/* ── Page Banner ─────────────────────────────────────────────── */
.page-banner {
  background: var(--navy); padding: 130px 0 60px;
  position: relative; overflow: hidden;
}
.page-banner::after { content:''; position:absolute; inset:0; background: radial-gradient(ellipse 60% 80% at 80% 50%, rgba(0,85,255,.15), transparent); }
.page-banner .container { position: relative; z-index: 1; }
.page-banner h1 { color: #fff; font-size: clamp(2rem,5vw,3.2rem); margin-bottom: 12px; }
.page-banner .breadcrumb { display: flex; align-items: center; gap: 8px; color: rgba(255,255,255,.5); font-size: .88rem; }
.page-banner .breadcrumb a { color: rgba(255,255,255,.5); transition: var(--transition); }
.page-banner .breadcrumb a:hover { color: #fff; }
.page-banner .breadcrumb i { font-size: .7rem; }

/* ── ALERT ───────────────────────────────────────────────────── */
.alert { padding: 14px 20px; border-radius: var(--radius); margin-bottom: 20px; }
.alert-success { background: #d1fae5; border-left: 4px solid var(--green); color: #065f46; }
.alert-error { background: #fef2f2; border-left: 4px solid #ef4444; color: #991b1b; }

/* ══════════════════════════════════════════════════════════════
   RESPONSIVE — Mobile First
   Breakpoints: 1024px (tablet) · 768px (mobile) · 480px (small)
   ══════════════════════════════════════════════════════════════ */

/* ── Tablet (≤ 1024px) ─────────────────────────────────────── */
@media (max-width: 1024px) {
  .about-grid    { grid-template-columns: 1fr; }
  .about-img-wrap { max-width: 520px; }
  .contact-grid  { grid-template-columns: 1fr; gap: 40px; }
  .footer-grid   { grid-template-columns: 1fr 1fr; gap: 40px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .products-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ── Mobile (≤ 768px) ──────────────────────────────────────── */
@media (max-width: 768px) {

  /* Navbar */
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: block; }
  .navbar { padding: 0 16px; }

  /* Mobile menu items */
  .mobile-menu { padding: 16px 20px; }
  .mobile-menu a { padding: 13px 0; font-size: .95rem; }

  /* Container — más aire en los costados */
  .container { padding: 0 20px; }

  /* Secciones */
  .section-pad    { padding: 52px 0; }
  .section-pad-sm { padding: 36px 0; }

  /* Section headers */
  .section-header        { margin-bottom: 36px; }
  .section-header h2     { font-size: 1.7rem; }
  .section-header p      { font-size: .95rem; }

  /* Hero */
  .hero-content  { padding: 110px 0 64px; }
  .hero h1       { font-size: 2rem; line-height: 1.15; }
  .hero-sub      { font-size: .95rem; margin-bottom: 32px; }
  .hero-eyebrow  { font-size: .72rem; padding: 5px 12px; margin-bottom: 20px; }
  .hero-actions  { flex-direction: column; gap: 12px; margin-bottom: 40px; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .hero-stats    { gap: 20px 32px; flex-wrap: wrap; }
  .stat-number   { font-size: 1.7rem; }
  .stat-label    { font-size: .75rem; }

  /* Cards de servicios — 1 columna */
  .services-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .service-card { padding: 28px 22px; border-radius: 14px; }
  .service-icon { width: 48px; height: 48px; font-size: 1.2rem; border-radius: 12px; margin-bottom: 14px; }
  .service-card h3 { font-size: 1.05rem; }
  .service-card p  { font-size: .88rem; }

  /* Cards de productos — 1 columna */
  .products-grid { grid-template-columns: 1fr; gap: 20px; }
  .product-card  { padding: 28px 22px; }
  .price-main    { font-size: 2rem; }

  /* Portfolio — 1 columna */
  .portfolio-grid { grid-template-columns: 1fr; gap: 16px; }
  .portfolio-card { border-radius: 14px; }
  .portfolio-thumb { aspect-ratio: 16/9; }
  .portfolio-body { padding: 16px 18px; }
  .portfolio-body h3 { font-size: 1rem; }

  /* Testimonios */
  .testimonials-grid { grid-template-columns: 1fr; gap: 16px; }
  .testimonial-card  { padding: 24px 20px; border-radius: 14px; }

  /* Quiénes somos */
  .about-content h2 { font-size: 1.6rem; }
  .about-badge {
    right: 0; bottom: -14px;
    padding: 14px 18px;
    border-radius: 10px;
  }
  .about-badge .num  { font-size: 1.8rem; }
  .about-badge .label { font-size: .72rem; }

  /* FAQ */
  .faq-list { margin: 0; }
  .faq-question { padding: 16px 18px; font-size: .92rem; }
  .faq-answer.open { padding: 14px 18px; }

  /* Formulario contacto */
  .contact-form input,
  .contact-form textarea,
  .contact-form select {
    padding: 11px 14px;
    font-size: .92rem;
  }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .contact-info h3 { font-size: 1.4rem; }
  .contact-detail { gap: 12px; margin-bottom: 16px; }
  .contact-detail .icon { width: 40px; height: 40px; font-size: .9rem; border-radius: 9px; flex-shrink: 0; }

  /* Page banner */
  .page-banner     { padding: 100px 0 40px; }
  .page-banner h1  { font-size: 1.8rem; margin-bottom: 8px; }

  /* Footer */
  .footer-grid  { grid-template-columns: 1fr; gap: 28px; }
  .footer-main  { padding: 48px 0 36px; }
  .footer-col h4 { margin-bottom: 12px; }
  .footer-col ul li { margin-bottom: 8px; }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 8px;
    padding: 18px 0;
    font-size: .78rem;
  }

  /* WhatsApp float — más pequeño, no tape contenido */
  .wa-float {
    width: 50px; height: 50px;
    bottom: 20px; right: 16px;
    font-size: 1.3rem;
  }

  /* Botones generales */
  .btn-lg { padding: 13px 24px; font-size: .95rem; }
}

/* ── Small phones (≤ 480px) ────────────────────────────────── */
@media (max-width: 480px) {

  /* Container — mínimo margen visible en pantallas chicas */
  .container { padding: 0 16px; }

  /* Hero más compacto */
  .hero-content { padding: 100px 0 52px; }
  .hero h1      { font-size: 1.75rem; }
  .hero-eyebrow { font-size: .68rem; }
  .hero-stats   { gap: 16px 24px; }
  .stat-number  { font-size: 1.5rem; }

  /* Tipografía de sección */
  .section-header h2 { font-size: 1.5rem; }
  .section-pad       { padding: 44px 0; }

  /* Cards — radio más suave en pantalla chica */
  .service-card,
  .product-card,
  .portfolio-card,
  .testimonial-card { border-radius: 12px; }
  .service-card   { padding: 22px 18px; }
  .product-card   { padding: 22px 18px; }
  .testimonial-card { padding: 20px 18px; }

  /* Botones full width en contexto de acción */
  .hero-actions .btn,
  .section-header .btn { font-size: .88rem; padding: 12px 20px; }

  /* Page banner */
  .page-banner    { padding: 90px 0 36px; }
  .page-banner h1 { font-size: 1.55rem; }

  /* FAQ */
  .faq-question { padding: 14px 16px; font-size: .88rem; gap: 10px; }
  .faq-answer.open { padding: 12px 16px; }
  .faq-answer p { font-size: .88rem; }

  /* Feature list en productos */
  .feature-list li { font-size: .85rem; padding: 6px 0; }

  /* Contacto */
  .contact-form input,
  .contact-form textarea,
  .contact-form select { font-size: .88rem; padding: 10px 12px; }

  /* Footer */
  .footer-contact-item { font-size: .82rem; gap: 8px; }
  .footer-socials a    { width: 34px; height: 34px; font-size: .85rem; }

  /* WhatsApp float */
  .wa-float { width: 46px; height: 46px; bottom: 16px; right: 12px; font-size: 1.2rem; }

  /* Stats en about page */
  .about-grid > div:last-child > div[style*="grid-template-columns:repeat(4"] {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

/* ── Animations ──────────────────────────────────────────────── */
.fade-up { opacity: 0; transform: translateY(30px); transition: opacity .6s ease, transform .6s ease; }
.fade-up.visible { opacity: 1; transform: none; }
.fade-up:nth-child(2) { transition-delay: .1s; }
.fade-up:nth-child(3) { transition-delay: .2s; }
.fade-up:nth-child(4) { transition-delay: .3s; }
.fade-up:nth-child(5) { transition-delay: .4s; }
.fade-up:nth-child(6) { transition-delay: .5s; }
