/* ══════════════════════════════════════════════
   Artes Graficas S.A. — Site Styles
   CMYK-themed design language
   ══════════════════════════════════════════════ */

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

/* ── Base ── */
html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: #1a1a1a;
  background: #fff;
  line-height: 1.6;
}

img { max-width: 100%; height: auto; display: block; }
a { color: #00aeef; text-decoration: none; transition: color 0.2s; }
a:hover { color: #ec008c; }

/* ── CMYK accent strip ── */
.cmyk-strip { display: flex; height: 5px; }
.cmyk-strip span { flex: 1; }
.cmyk-c { background: #00aeef; }
.cmyk-m { background: #ec008c; }
.cmyk-y { background: #fff200; }
.cmyk-k { background: #1a1a1a; }

/* ── Header / Nav ── */
header {
  background: #0f1923;
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

/* Header CTA button */
.header-cta {
  display: inline-block;
  padding: 8px 20px;
  font-size: 12px;
  font-weight: 700;
  font-family: inherit;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  background: #00aeef;
  color: #fff;
  border-radius: 6px;
  transition: all 0.2s;
  margin-left: 8px;
}

.header-cta:hover {
  background: #0090c8;
  color: #fff;
  transform: translateY(-1px);
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-link img {
  height: 40px;
  width: auto;
  object-fit: contain;
  border-radius: 4px;
}

.logo-text {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.3px;
}

nav { display: flex; gap: 4px; }

nav a {
  color: rgba(255,255,255,0.75);
  font-size: 13px;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 6px;
  transition: all 0.2s;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

nav a:hover, nav a.active {
  color: #fff;
  background: rgba(255,255,255,0.1);
}

nav a.active { border-bottom: 2px solid #00aeef; }

/* Mobile menu */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 28px;
  cursor: pointer;
  padding: 4px;
}

/* ── Hero ── */
.hero {
  position: relative;
  min-height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  background: #0f1923;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.35;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(15,25,35,0.8) 0%, rgba(30,58,95,0.6) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 60px 24px;
  max-width: 700px;
}

.hero h1 {
  font-size: 42px;
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 16px;
  line-height: 1.2;
}

.hero p {
  font-size: 18px;
  opacity: 0.9;
  margin-bottom: 28px;
  line-height: 1.5;
}

.btn {
  display: inline-block;
  padding: 14px 32px;
  font-size: 14px;
  font-weight: 700;
  font-family: inherit;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: all 0.25s;
}

.btn-primary {
  background: #00aeef;
  color: #fff;
}

.btn-primary:hover {
  background: #0090c8;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,174,239,0.3);
}

.btn-outline {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,0.5);
}

.btn-outline:hover {
  border-color: #fff;
  color: #fff;
  background: rgba(255,255,255,0.1);
}

/* ── Sections ── */
section { padding: 80px 24px; }

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

.section-title {
  text-align: center;
  margin-bottom: 48px;
}

.section-title h2 {
  font-size: 32px;
  font-weight: 800;
  color: #0f1923;
  letter-spacing: -0.5px;
  margin-bottom: 8px;
}

.section-title .accent-line {
  width: 60px;
  height: 3px;
  margin: 12px auto 0;
  background: linear-gradient(90deg, #00aeef, #ec008c);
  border-radius: 2px;
}

.section-title p {
  color: #6b7280;
  font-size: 16px;
  margin-top: 12px;
}

.bg-light { background: #f8f9fa; }
.bg-dark { background: #0f1923; color: #fff; }

/* ── Services grid ── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.service-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  transition: all 0.3s;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.15);
}

.service-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.service-card .card-body {
  padding: 24px;
}

.service-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: #0f1923;
  margin-bottom: 8px;
}

.service-card p {
  font-size: 14px;
  color: #6b7280;
  line-height: 1.6;
}

/* ── About section ── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.about-grid img {
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

.about-text h2 {
  font-size: 28px;
  font-weight: 800;
  color: #0f1923;
  margin-bottom: 16px;
}

.about-text p {
  color: #4b5563;
  margin-bottom: 16px;
  font-size: 15px;
}

/* ── Contact / Forms ── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

.contact-info h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 24px;
  color: #0f1923;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 24px;
}

.contact-icon {
  width: 40px;
  height: 40px;
  background: rgba(0,174,239,0.1);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #00aeef;
}

.contact-item strong {
  display: block;
  font-size: 14px;
  color: #0f1923;
  margin-bottom: 2px;
}

.contact-item span {
  font-size: 14px;
  color: #6b7280;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: #374151;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 14px;
  font-size: 14px;
  font-family: inherit;
  color: #1a1a1a;
  background: #f9fafb;
  border: 1.5px solid #d1d5db;
  border-radius: 8px;
  transition: all 0.2s;
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
  background: #fff;
  border-color: #00aeef;
  box-shadow: 0 0 0 3px rgba(0,174,239,0.12);
}

.form-group textarea { resize: vertical; min-height: 120px; }

.form-note {
  font-size: 12px;
  color: #9ca3af;
  margin-top: 8px;
}

/* ── Footer ── */
footer {
  background: #0f1923;
  color: rgba(255,255,255,0.7);
  padding: 48px 24px 24px;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
}

.footer-brand p {
  font-size: 14px;
  line-height: 1.6;
  margin-top: 12px;
}

.footer-col h4 {
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 16px;
}

.footer-col a {
  display: block;
  color: rgba(255,255,255,0.6);
  font-size: 14px;
  padding: 4px 0;
  transition: color 0.2s;
}

.footer-col a:hover { color: #00aeef; }

.footer-bottom {
  max-width: 1100px;
  margin: 32px auto 0;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
}

.social-links { display: flex; gap: 12px; }
.social-links a {
  width: 32px;
  height: 32px;
  background: rgba(255,255,255,0.1);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}
.social-links a:hover { background: #00aeef; }
.social-links img { width: 16px; height: 16px; filter: brightness(0) invert(1); }

/* ── Page header (inner pages) ── */
.page-header {
  background: #0f1923;
  color: #fff;
  text-align: center;
  padding: 80px 24px 60px;
  position: relative;
}

.page-header h1 {
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.page-header .accent-line {
  width: 60px;
  height: 3px;
  margin: 16px auto 0;
  background: linear-gradient(90deg, #00aeef, #ec008c);
  border-radius: 2px;
}

/* ── Success message ── */
.success-msg {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-left: 3px solid #22c55e;
  border-radius: 8px;
  padding: 16px;
  margin-bottom: 24px;
  color: #166534;
  font-size: 14px;
  display: none;
}

/* ── Services detail list ── */
.services-detail {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

.service-detail-item {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 24px;
  align-items: center;
  padding: 24px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  transition: all 0.3s;
}

.service-detail-item:hover {
  box-shadow: 0 8px 30px rgba(0,0,0,0.1);
}

.service-detail-item img {
  width: 200px;
  height: 140px;
  object-fit: cover;
  border-radius: 8px;
}

.service-detail-item h3 {
  font-size: 20px;
  font-weight: 700;
  color: #0f1923;
  margin-bottom: 8px;
}

.service-detail-item p {
  color: #6b7280;
  font-size: 14px;
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .menu-toggle { display: block; }

  nav {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: #0f1923;
    flex-direction: column;
    padding: 16px;
    border-top: 1px solid rgba(255,255,255,0.1);
    box-shadow: 0 8px 24px rgba(0,0,0,0.3);
  }

  nav.open { display: flex; }
  nav a { padding: 12px 16px; }

  .hero h1 { font-size: 28px; }
  .hero p { font-size: 15px; }
  .hero { min-height: 360px; }

  .about-grid,
  .contact-grid { grid-template-columns: 1fr; }

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

  .service-detail-item {
    grid-template-columns: 1fr;
  }

  .service-detail-item img {
    width: 100%;
    height: 180px;
  }

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

  /* Hide header CTA on mobile (mobile bar handles it) */
  .header-cta { display: none; }

  /* Add padding for mobile bottom bar */
  body { padding-bottom: 64px; }
}

/* ── Trust badges ── */
.trust-strip {
  display: flex;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
  padding: 32px 24px;
  background: #fff;
  border-bottom: 1px solid #f3f4f6;
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: #374151;
  font-weight: 600;
}

.trust-badge .badge-icon {
  width: 40px;
  height: 40px;
  background: rgba(0,174,239,0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #00aeef;
}

/* ── WhatsApp contextual links on service cards ── */
.wa-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 600;
  color: #25d366;
  background: rgba(37,211,102,0.08);
  border-radius: 20px;
  transition: all 0.2s;
}

.wa-link:hover {
  background: #25d366;
  color: #fff;
}

.wa-link svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

/* ── Mobile sticky CTA bar ── */
.mobile-cta-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 999;
  background: #0f1923;
  padding: 10px 16px;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.3);
}

.mobile-cta-bar .bar-inner {
  display: flex;
  gap: 8px;
  max-width: 500px;
  margin: 0 auto;
}

.mobile-cta-bar a {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 12px 8px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  border-radius: 8px;
  color: #fff;
  transition: all 0.2s;
}

.mobile-cta-bar .bar-quote { background: #00aeef; }
.mobile-cta-bar .bar-quote:hover { background: #0090c8; color: #fff; }
.mobile-cta-bar .bar-wa { background: #25d366; }
.mobile-cta-bar .bar-wa:hover { background: #1da851; color: #fff; }
.mobile-cta-bar .bar-call { background: rgba(255,255,255,0.15); }
.mobile-cta-bar .bar-call:hover { background: rgba(255,255,255,0.25); color: #fff; }

@media (max-width: 768px) {
  .mobile-cta-bar { display: block; }
  /* Hide desktop WhatsApp float on mobile (bar replaces it) */
  .whatsapp-float { display: none; }
}

/* ── Scroll animations ── */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered children */
.stagger > .fade-up:nth-child(1) { transition-delay: 0s; }
.stagger > .fade-up:nth-child(2) { transition-delay: 0.1s; }
.stagger > .fade-up:nth-child(3) { transition-delay: 0.2s; }
.stagger > .fade-up:nth-child(4) { transition-delay: 0.3s; }
.stagger > .fade-up:nth-child(5) { transition-delay: 0.4s; }
.stagger > .fade-up:nth-child(6) { transition-delay: 0.5s; }

/* ── FAQ section ── */
.faq-list { max-width: 740px; margin: 0 auto; }

.faq-item {
  border-bottom: 1px solid #e5e7eb;
  padding: 20px 0;
}

.faq-item summary {
  font-size: 16px;
  font-weight: 700;
  color: #0f1923;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-item summary::after {
  content: '+';
  font-size: 22px;
  font-weight: 300;
  color: #00aeef;
  transition: transform 0.2s;
}

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

.faq-item p {
  margin-top: 12px;
  color: #6b7280;
  font-size: 15px;
  line-height: 1.7;
}
