/* Arsenal Constructions – shared styles */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
button, input, select, textarea, optgroup { font-family: inherit; font-size: inherit; color: inherit; }

:root {
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --navy: #1e3a5f;
  --bg: #ffffff;
  --bg-muted: #f8fafc;
  --text: #0f172a;
  --muted: #64748b;
  --border: #e2e8f0;
  --radius: 0.75rem;
}

html { scroll-behavior: smooth; }
body { font-family: 'Inter', system-ui, -apple-system, sans-serif; color: var(--text); background: var(--bg); line-height: 1.6; }

/* ── NAV ── */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 4px rgba(0,0,0,.06);
}
.nav-inner { max-width: 1280px; margin: 0 auto; padding: 0 1.5rem; display: flex; align-items: center; justify-content: space-between; height: 4rem; }
.nav-logo img { height: 2.5rem; width: auto; }
.nav-links { display: flex; gap: 0.25rem; list-style: none; }
.nav-links a { display: block; padding: 0.5rem 0.875rem; border-radius: 0.5rem; font-size: 0.9375rem; font-weight: 500; color: var(--text); text-decoration: none; transition: background .15s, color .15s; }
.nav-links a:hover, .nav-links a.active { background: #eff6ff; color: var(--primary); }
.nav-cta { background: var(--primary); color: #fff !important; border-radius: 0.5rem; }
.nav-cta:hover { background: var(--primary-dark) !important; color: #fff !important; }
.nav-hamburger { display: none; background: none; border: none; cursor: pointer; padding: 0.5rem; }
.nav-hamburger span { display: block; width: 22px; height: 2px; background: var(--text); margin: 5px 0; border-radius: 2px; transition: .3s; }
.nav-mobile { display: none; }
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-hamburger { display: block; }
  .nav-mobile.open { display: flex; flex-direction: column; background: #fff; border-top: 1px solid var(--border); padding: 1rem 1.5rem; gap: 0.25rem; }
  .nav-mobile a { display: block; padding: 0.75rem 0.875rem; border-radius: 0.5rem; font-size: 1rem; font-weight: 500; color: var(--text); text-decoration: none; }
  .nav-mobile a:hover { background: #eff6ff; color: var(--primary); }
}

/* ── HERO ── */
.hero { position: relative; min-height: 560px; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; background: linear-gradient(135deg, #1e3a5f 0%, #2563eb 100%); }
.hero-bg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .35; }
.hero-content { position: relative; z-index: 1; text-align: center; color: #fff; padding: 4rem 1.5rem; max-width: 900px; }
.hero-content h1 { font-size: clamp(1.75rem, 4vw, 3.25rem); font-weight: 800; line-height: 1.2; margin-bottom: 1.25rem; }
.hero-content p { font-size: clamp(1rem, 2vw, 1.25rem); opacity: .9; margin-bottom: 2rem; max-width: 680px; margin-left: auto; margin-right: auto; }
.hero-btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ── BUTTONS ── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; padding: 0.75rem 1.75rem; border-radius: 0.625rem; font-size: 1rem; font-weight: 600; text-decoration: none; cursor: pointer; transition: all .2s; border: 2px solid transparent; }
.btn-primary { background: var(--primary); color: #fff; border-color: var(--primary); }
.btn-primary:hover { background: var(--primary-dark); border-color: var(--primary-dark); transform: translateY(-1px); box-shadow: 0 4px 12px rgba(37,99,235,.4); }
.btn-outline { background: transparent; color: #fff; border-color: rgba(255,255,255,.7); }
.btn-outline:hover { background: rgba(255,255,255,.15); border-color: #fff; }
.btn-white { background: #fff; color: var(--primary); border-color: #fff; }
.btn-white:hover { background: #f0f6ff; }
.btn-lg { padding: 0.9rem 2.25rem; font-size: 1.0625rem; }

/* ── PRICE STRIP ── */
.price-strip { background: #fff; border-bottom: 1px solid var(--border); padding: 1.25rem 1.5rem; }
.price-strip-inner { max-width: 1280px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; }
.price-label { font-size: 1.75rem; font-weight: 800; color: var(--primary); }
.price-label span { font-size: 0.875rem; font-weight: 400; color: var(--muted); margin-left: 0.35rem; }
.price-sub { font-size: 0.875rem; color: var(--muted); margin-top: 0.1rem; }

/* ── SECTIONS ── */
.section { padding: 5rem 1.5rem; }
.section-muted { background: var(--bg-muted); }
.section-primary { background: var(--primary); color: #fff; }
.section-navy { background: var(--navy); color: #fff; }
.container { max-width: 1280px; margin: 0 auto; }
.section-title { font-size: clamp(1.5rem, 3vw, 2.25rem); font-weight: 800; text-align: center; margin-bottom: 0.75rem; }
.section-sub { text-align: center; color: var(--muted); font-size: 1.0625rem; max-width: 620px; margin: 0 auto 3rem; }
.section-primary .section-sub { color: rgba(255,255,255,.8); }

/* ── CARDS ── */
.cards-grid { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 2rem 1.5rem; transition: box-shadow .2s, transform .2s; }
.card:hover { box-shadow: 0 8px 24px rgba(0,0,0,.09); transform: translateY(-3px); }
.card-icon { width: 3.5rem; height: 3.5rem; background: #eff6ff; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin-bottom: 1.25rem; }
.card-icon svg { width: 1.75rem; height: 1.75rem; color: var(--primary); }
.card h3 { font-size: 1.125rem; font-weight: 700; margin-bottom: 0.5rem; }
.card p { color: var(--muted); font-size: 0.9375rem; }
.card-link { display: inline-block; margin-top: 1rem; color: var(--primary); font-weight: 600; font-size: 0.9375rem; text-decoration: none; }
.card-link:hover { text-decoration: underline; }

/* ── USE CASE CARDS (clickable) ── */
.use-card { display: block; text-decoration: none; color: inherit; }
.use-card .card { height: 100%; cursor: pointer; }
.use-card:hover .card { border-color: var(--primary); }
.use-card:hover .card-icon { background: var(--primary); }
.use-card:hover .card-icon svg { color: #fff; }
.use-card:hover .card-link { text-decoration: underline; }

/* ── BENEFITS LIST ── */
.benefits-list { list-style: none; display: grid; gap: 0.875rem; }
.benefits-list li { display: flex; gap: 0.875rem; align-items: flex-start; background: #fff; padding: 1rem 1.25rem; border-radius: 0.625rem; border: 1px solid var(--border); font-size: 0.9375rem; }
.benefits-list li::before { content: '✓'; color: var(--primary); font-weight: 700; font-size: 1.1rem; flex-shrink: 0; margin-top: 0.05rem; }

/* ── GALLERY ── */
.gallery-grid { display: grid; gap: 0.75rem; grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .gallery-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 600px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); } }
.gallery-item { aspect-ratio: 4/3; overflow: hidden; border-radius: 0.625rem; cursor: pointer; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.gallery-item:hover img { transform: scale(1.06); }

/* ── VIDEO ── */
.video-wrap { max-width: 480px; margin: 0 auto; border-radius: var(--radius); overflow: hidden; box-shadow: 0 8px 32px rgba(0,0,0,.15); }
.video-wrap iframe { display: block; width: 100%; aspect-ratio: 9/16; border: none; }
.video-thumb { position: relative; cursor: pointer; aspect-ratio: 9/16; background: #000; border-radius: var(--radius); overflow: hidden; }
.video-thumb img { width: 100%; height: 100%; object-fit: cover; opacity: .8; transition: opacity .2s; }
.video-thumb:hover img { opacity: .7; }
.video-play { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.video-play-btn { background: #ff0000; border-radius: 50%; width: 5rem; height: 5rem; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 16px rgba(0,0,0,.4); transition: transform .2s; }
.video-thumb:hover .video-play-btn { transform: scale(1.1); }
.video-play-btn svg { width: 2rem; height: 2rem; fill: #fff; margin-left: 4px; }

/* ── SPECS TABLE ── */
.specs-grid { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.spec-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 1.5rem; }
.spec-card h4 { font-size: 0.875rem; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; color: var(--primary); margin-bottom: 0.75rem; }
.spec-card p { font-size: 0.9375rem; color: var(--muted); line-height: 1.7; }

/* ── FAQ ── */
.faq-list { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 0.75rem; }
.faq-item { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; transition: border-color .2s; }
.faq-item.open { border-color: var(--primary); border-left: 4px solid var(--primary); }
.faq-q { width: 100%; text-align: left; background: none; border: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; padding: 1.25rem 1.5rem; font-size: 1rem; font-weight: 600; color: var(--text); gap: 1rem; }
.faq-q svg { flex-shrink: 0; transition: transform .2s; width: 1.25rem; height: 1.25rem; color: var(--muted); }
.faq-item.open .faq-q svg { transform: rotate(180deg); }
.faq-a { display: none; padding: 0 1.5rem 1.25rem; color: var(--muted); font-size: 0.9375rem; line-height: 1.75; }
.faq-item.open .faq-a { display: block; }

/* ── CONTACT ── */
.contact-grid { display: grid; gap: 3rem; grid-template-columns: 1fr 1fr; }
@media (max-width: 768px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-form label { display: block; font-size: 0.875rem; font-weight: 600; margin-bottom: 0.375rem; color: var(--text); }
.contact-form input, .contact-form select, .contact-form textarea {
  width: 100%; padding: 0.75rem 1rem; border: 1px solid var(--border); border-radius: 0.5rem;
  font-size: 1rem; font-family: inherit; color: var(--text); background: #fff;
  transition: border-color .15s, box-shadow .15s; margin-bottom: 1.25rem;
}
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus {
  outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(37,99,235,.15);
}
.contact-form textarea { min-height: 120px; resize: vertical; }
.contact-info-item { display: flex; gap: 1rem; align-items: flex-start; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 1.25rem 1.5rem; margin-bottom: 1rem; }
.contact-info-icon { width: 2.5rem; height: 2.5rem; background: #eff6ff; border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-info-icon svg { width: 1.25rem; height: 1.25rem; color: var(--primary); }
.contact-info-item a { color: var(--primary); text-decoration: none; font-weight: 600; }
.contact-info-item a:hover { text-decoration: underline; }

/* ── STEPS ── */
.steps-grid { display: grid; gap: 2rem; grid-template-columns: repeat(3, 1fr); max-width: 900px; margin: 0 auto; }
@media (max-width: 640px) { .steps-grid { grid-template-columns: 1fr; } }
.step-card { text-align: center; }
.step-num { width: 4.5rem; height: 4.5rem; background: var(--primary); color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.75rem; font-weight: 800; margin: 0 auto 1.25rem; box-shadow: 0 4px 12px rgba(37,99,235,.35); }
.step-card h3 { font-size: 1.125rem; font-weight: 700; margin-bottom: 0.5rem; }
.step-card p { color: var(--muted); font-size: 0.9375rem; }

/* ── CTA BAND ── */
.cta-band { background: var(--primary); color: #fff; text-align: center; padding: 4rem 1.5rem; }
.cta-band h2 { font-size: clamp(1.375rem, 3vw, 2rem); font-weight: 800; margin-bottom: 0.75rem; }
.cta-band p { font-size: 1.0625rem; opacity: .9; margin-bottom: 2rem; max-width: 600px; margin-left: auto; margin-right: auto; }
.cta-btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ── FOOTER ── */
.site-footer { background: var(--navy); color: rgba(255,255,255,.8); padding: 3.5rem 1.5rem 2rem; }
.footer-inner { max-width: 1280px; margin: 0 auto; display: grid; gap: 2.5rem; grid-template-columns: 1.5fr 1fr 1fr 1fr; }
@media (max-width: 1024px) { .footer-inner { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .footer-inner { grid-template-columns: 1fr; } }
.footer-brand img { height: 2.5rem; width: auto; filter: brightness(0) invert(1); margin-bottom: 0.875rem; }
.footer-brand p { font-size: 0.9rem; line-height: 1.7; }
.footer-col h4 { font-size: 0.875rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: rgba(255,255,255,.5); margin-bottom: 1rem; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.5rem; }
.footer-col a { color: rgba(255,255,255,.75); text-decoration: none; font-size: 0.9375rem; transition: color .15s; }
.footer-col a:hover { color: #fff; }
.footer-bottom { max-width: 1280px; margin: 2.5rem auto 0; border-top: 1px solid rgba(255,255,255,.1); padding-top: 1.5rem; text-align: center; font-size: 0.875rem; color: rgba(255,255,255,.4); }

/* ── WHATSAPP BUTTON ── */
.wa-btn { position: fixed; bottom: 1.75rem; right: 1.75rem; z-index: 999; background: #25d366; color: #fff; border-radius: 2rem; padding: 0.75rem 1.375rem; display: flex; align-items: center; gap: 0.625rem; font-weight: 600; font-size: 0.9375rem; text-decoration: none; box-shadow: 0 4px 16px rgba(37,211,102,.45); transition: transform .2s, box-shadow .2s; }
.wa-btn:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(37,211,102,.55); }
.wa-btn svg { width: 1.375rem; height: 1.375rem; fill: #fff; }

/* ── UTILS ── */
.text-center { text-align: center; }
.mt-2 { margin-top: 0.5rem; }
.mt-4 { margin-top: 1rem; }
.mt-8 { margin-top: 2rem; }
.mb-12 { margin-bottom: 3rem; }
.italic { font-style: italic; }
.text-muted { color: var(--muted); }
.text-primary { color: var(--primary); }
.font-bold { font-weight: 700; }
.two-col { display: grid; gap: 2.5rem; grid-template-columns: 1fr 1fr; }
@media (max-width: 768px) { .two-col { grid-template-columns: 1fr; } }

/* ── FORM SUCCESS ── */
#form-success { display: none; background: #f0fdf4; border: 1px solid #86efac; border-radius: var(--radius); padding: 1.5rem; color: #166534; font-weight: 600; text-align: center; }
#form-success.show { display: block; }
