/* === Design tokens === */
:root {
  --brand-blue: hsl(235, 85%, 38%);
  --brand-blue-light: hsl(200, 85%, 55%);
  --brand-pink: hsl(335, 90%, 60%);
  --brand-yellow: hsl(48, 100%, 55%);
  --brand-whatsapp: hsl(142, 70%, 49%);
  --brand-navy: hsl(222, 60%, 22%);
  --foreground: hsl(230, 40%, 15%);
  --muted: hsl(220, 15%, 95%);
  --muted-foreground: hsl(230, 15%, 40%);
  --section-bg: hsl(220, 15%, 96%);
  --background: #fff;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

@font-face {
  font-family: 'Bosca';
       url('http://boscaimpres.es/wp-content/uploads/2026/04/Coolvetica_Rg.woff') format('woff');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}
body {
  font-family: 'Bosca','Inter', system-ui, -apple-system, sans-serif;
  color: var(--foreground);
  background: var(--background);
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
ul { list-style: none; }

.containerPhi {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* === Header === */
.header { background: var(--brand-blue); color: #fff; }
.nav-main {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem 1.5rem;
}
.logo {
  font-weight: 800; letter-spacing: -0.02em; color: #fff;
  font-size: 1.75rem;
}
.logo .italic { font-style: italic; }
.logo sup { color: var(--brand-pink); font-size: 1.5rem; }
.logo.small { font-size: 1.25rem; }

.nav-links { display: none; gap: 2rem; font-weight: 500; }
.nav-links a { transition: opacity .15s; }
.nav-links a:hover { opacity: .8; }
.nav-links a.active { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 2px; }

.nav-cta { display: flex; align-items: center; gap: .75rem; }
.wa {
  width: 36px; height: 36px; border-radius: 9999px;
  background: var(--brand-whatsapp);
  display: inline-flex; align-items: center; justify-content: center; color: #fff;
}
.btn-pink {
  background: var(--brand-pink); color: #fff;
  padding: .5rem 1rem; border-radius: .375rem;
  font-size: .875rem; font-weight: 600;
  transition: opacity .15s;
}
.btn-pink:hover { opacity: .9; }
.btn-pink.small { padding: .375rem 1rem; display: inline-block; }

.subnav { background: var(--brand-blue-light); }
.subnav-inner {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: 2rem; padding: .75rem 1.5rem;
  color: #fff; font-weight: 500;
}
.subnav-inner a.active { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 2px; }
.subnav-inner .plus { font-size: 1.25rem; line-height: 1; }

@media (min-width: 768px) {
  .nav-links { display: flex; }
}

/* === Hero === */
.hero { position: relative; }
.hero > img {
  width: 100%;
  height: 420px;
  object-fit: cover;
}
.hero-overlay {
  position: absolute; inset: 0;
  display: flex; align-items: center;
}
.hero-content { color: #fff; }
.hero-content h1 {
  font-size: 2rem; font-weight: 700; line-height: 1.15;
  max-width: 720px;
}
.hero-content p {
  margin-top: 1.25rem;
  font-size: 1rem;
  max-width: 480px;
  text-shadow: 0 1px 2px rgba(0,0,0,.4);
}
.highlight-blue {
  background: var(--brand-blue-light);
  color: #fff;
  padding: .25rem .75rem;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
.highlight-magenta {
  background: var(--brand-pink);
  color: #fff;
  padding: .25rem .75rem;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
.highlight-yellow {
  background: var(--brand-yellow);
  color: #fff;
  padding: .25rem .75rem;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
@media (min-width: 768px) {
  .hero > img { height: 520px; }
  .hero-content h1 { font-size: 3rem; }
  .hero-content p { font-size: 1.125rem; }
}
@media (min-width: 1024px) {
  .hero-content h1 { font-size: 3.75rem; }
}

/* === Sections === */
.section { padding: 4rem 0; }
.section-bg { background: var(--section-bg); }
.section-title {
  text-align: center;
  font-size: 1.875rem; font-weight: 700;
  margin-bottom: 3rem;
}
@media (min-width: 768px) {
  .section-title { font-size: 2.25rem; }
}

.pill-wrap { text-align: center; margin-bottom: 3.5rem; }
.pill-title {
  display: inline-block;
  background: var(--brand-blue-light);
  color: #fff;
  padding: .5rem 2rem;
  border-radius: .375rem;
  font-size: 1.5rem;
  font-weight: 700;
}
@media (min-width: 768px) {
  .pill-title { font-size: 1.875rem; }
}

/* === Services === */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
.service-card {
  background: #fff;
  border-radius: .75rem;
  box-shadow: 0 1px 2px rgba(0,0,0,.05);
  padding: 2.5rem 1.5rem;
  display: flex; flex-direction: column; align-items: center; text-align: center;
}
.service-card .icon { width: 48px; height: 48px; color: var(--brand-blue); margin-bottom: 1rem; }
.service-card h3 {
  color: var(--brand-blue); font-weight: 700;
  font-size: 1.125rem; letter-spacing: .04em; margin-bottom: .5rem;
}
.service-card p { color: var(--muted-foreground); font-size: .875rem; }
@media (min-width: 1024px) {
  .services-grid { grid-template-columns: repeat(4, 1fr); }
}

/* === Steps === */
.steps {
  display: flex; flex-direction: column;
  gap: 1.5rem;
}
.step-row { display: flex; align-items: flex-start; flex: 1; width: 100%; }
.step {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  flex: 1;
}
.step-circle {
  width: 96px; height: 96px; border-radius: 9999px;
  background: var(--muted);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.25rem;
}
.step-circle svg { width: 40px; height: 40px; color: var(--brand-blue); }
.step p { font-weight: 500; line-height: 1.35; }
.step-sep {
  display: none;
  font-size: 1.875rem; font-weight: 700; margin-top: 2rem;
}
@media (min-width: 768px) {
  .steps { flex-direction: row; align-items: flex-start; justify-content: space-between; gap: .5rem; }
  .step-sep { display: block; }
}

/* === Products === */
.products-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}
.product {
  background: #fff;
  border-radius: .375rem;
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(0,0,0,.05);
}
.product img { width: 100%; aspect-ratio: 1/1; object-fit: cover; }
.product .label {
  background: var(--brand-navy); color: #fff;
  text-align: center; padding: .75rem;
  font-weight: 600; font-size: .875rem; letter-spacing: .04em;
height: stretch;
}
@media (min-width: 768px) { .products-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .products-grid { grid-template-columns: repeat(5, 1fr); } }

/* === Works === */
.works-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}
.works-grid img {
  width: 100%; aspect-ratio: 1/1; object-fit: cover; border-radius: .375rem;
}
@media (min-width: 768px) { .works-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .works-grid { grid-template-columns: repeat(5, 1fr); } }

/* === Footer === */
.footer { background: var(--brand-blue); color: #fff; }
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  padding-top: 3.5rem; padding-bottom: 3.5rem;
}
.footer-img img {
  width: 100%; height: 100%; object-fit: cover; border-radius: .375rem;
  min-height: 180px;
}
.footer h4 { font-weight: 700; letter-spacing: .04em; margin-bottom: 1rem; }
.footer ul li { font-size: .875rem; margin-bottom: .5rem; }
.footer ul li.pt { padding-top: .5rem; }
.underline { text-decoration: underline; }

.footer-bottom { background: var(--brand-blue-light); }
.footer-bottom-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem 1.5rem;
  color: #fff; font-size: .875rem;
}
.footer-bottom-inner .spacer { width: 96px; }

@media (min-width: 768px) {
  .footer-grid { grid-template-columns: repeat(5, 1fr); }
}

/* Services 3-col variant */
.services-grid.cols-3 { grid-template-columns: repeat(1, 1fr); }
@media (min-width: 768px) {
  .services-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
}
/* Services 5-col variant (merchandising) */
.services-grid.cols-5 { grid-template-columns: repeat(2, 1fr); }
@media (min-width: 768px) { .services-grid.cols-5 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .services-grid.cols-5 { grid-template-columns: repeat(5, 1fr); } }

.services-grid.cols-2 { grid-template-columns: repeat(1, 1fr); }
@media (max-width: 900px) {
  .bi-services-grid { grid-template-columns:1fr 1fr; }
  .bi-testi-wrap, .bi-contact-grid { grid-template-columns:1fr; }
  .bi-footer-grid { grid-template-columns:1fr 1fr; }
  .bi-mainnav { display:none; }
  .bi-hero-title { font-size:30px; }
.nav-cta2{display:block; padding-top:15px;padding-bottom:15px;}
.nav-cta{display:none;}
.bi-mainnav{display:none;}
}
@media (min-width: 768px) { .services-grid.cols-2 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) {
  .bi-services-grid { grid-template-columns:1fr; }
  .bi-footer-grid { grid-template-columns:1fr; }
 }
