:root {
  --ink: #1c1f2b;
  --muted: #5c6172;
  --bg: #ffffff;
  --soft: #f6f7fb;
  --accent: #ff5c8a;
  --accent2: #3ec6ff;
  --radius: 18px;
  --shadow: 0 12px 34px rgba(28, 31, 43, .10);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Poppins', system-ui, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.container { width: min(1120px, 92%); margin: 0 auto; }
em { font-style: normal; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(255,255,255,.86);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid #eceef4;
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 70px;
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; }
.brand-logo { display: grid; place-items: center; }
.brand-name { font-size: 1.15rem; }
.brand-name em { color: var(--accent); }
.brand-name.small { font-size: 1rem; }
.main-nav { display: flex; gap: 26px; }
.main-nav a { font-weight: 500; color: var(--muted); transition: color .2s; }
.main-nav a:hover { color: var(--accent); }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 3px; background: var(--ink); margin: 5px 0; border-radius: 2px; }

/* Hero */
.hero { background: linear-gradient(135deg, #fff5f8, #eef6ff); padding: 70px 0 0; position: relative; overflow: hidden; }
.hero-inner { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; padding-bottom: 60px; }
.eyebrow { text-transform: uppercase; letter-spacing: 2px; font-size: .8rem; font-weight: 600; color: var(--accent); margin: 0 0 12px; }
.hero h1 { font-size: clamp(2.3rem, 5vw, 3.6rem); line-height: 1.08; margin: 0 0 18px; }
.hero h1 .accent { background: linear-gradient(90deg, var(--accent), var(--accent2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-sub { color: var(--muted); max-width: 480px; margin: 0 0 30px; font-size: 1.05rem; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.btn { display: inline-block; padding: 14px 26px; border-radius: 40px; font-weight: 600; border: 0; cursor: pointer; font-family: inherit; font-size: .95rem; transition: transform .15s, box-shadow .15s; }
.btn-primary { background: linear-gradient(90deg, var(--accent), #ff8b8b); color: #fff; box-shadow: 0 10px 24px rgba(255,92,138,.35); }
.btn-primary:hover { transform: translateY(-2px); }
.btn-ghost { background: #fff; color: var(--ink); border: 2px solid #dfe3ec; }
.btn-ghost:hover { border-color: var(--accent2); }
.btn-block { width: 100%; }

/* Hero art */
.hero-art { position: relative; height: 420px; }
.swatch { position: absolute; border-radius: 22px; box-shadow: var(--shadow); }
.swatch-1 { width: 190px; height: 240px; left: 20px; top: 40px; background: linear-gradient(160deg, var(--accent), #ff9eb4); transform: rotate(-8deg); }
.swatch-2 { width: 170px; height: 200px; right: 10px; top: 90px; background: linear-gradient(160deg, var(--accent2), #9de0ff); transform: rotate(8deg); }
.swatch-3 { width: 150px; height: 170px; left: 90px; bottom: 20px; background: linear-gradient(160deg, #ffb547, #ffd98f); transform: rotate(4deg); }
.roller { position: absolute; right: 60px; bottom: 40px; display: flex; align-items: flex-end; }
.roller-handle { width: 12px; height: 90px; background: #c9cdd8; border-radius: 6px; }
.roller-roller { width: 52px; height: 40px; background: var(--accent); border-radius: 26px; margin-left: -6px; box-shadow: var(--shadow); }
.paint-drip { position: absolute; animation: bounce 3s ease-in-out infinite; }
.drip-1 { width: 14px; height: 74px; background: var(--accent2); border-radius: 8px; left: 55%; top: 30px; }
.drip-2 { width: 10px; height: 50px; background: #ffb547; border-radius: 6px; left: 12%; top: -10px; animation-delay: 1.4s; }
@keyframes bounce { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-16px); } }

/* hero stats */
.hero-stats { background: var(--ink); color: #fff; }
.stats-inner { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; padding: 34px 0; }
.hero-stats div { text-align: center; }
.hero-stats strong { display: block; font-size: 1.9rem; background: linear-gradient(90deg, var(--accent), var(--accent2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-stats span { color: #aeb3c4; font-size: .85rem; }

/* Sections */
section { padding: 80px 0; }
.section-eyebrow { text-transform: uppercase; letter-spacing: 2px; font-size: .8rem; font-weight: 600; color: var(--accent); margin: 0 0 8px; }
.section-title { font-size: clamp(1.8rem, 3.5vw, 2.6rem); margin: 0 0 14px; line-height: 1.15; }
.section-note { color: var(--muted); margin: 0 0 36px; }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.card { background: var(--soft); border-radius: var(--radius); padding: 30px; transition: transform .2s, box-shadow .2s; }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); background: #fff; }
.card-icon { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; font-size: 1.6rem; background: var(--c); color: #fff; box-shadow: 0 8px 18px color-mix(in srgb, var(--c) 40%, transparent); margin-bottom: 18px; }
.card h3 { margin: 0 0 8px; font-size: 1.15rem; }
.card p { margin: 0; color: var(--muted); font-size: .93rem; }

/* Gallery */
.galeria { background: var(--soft); }
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 22px; }
.gal-item { margin: 0; border-radius: var(--radius); overflow: hidden; position: relative; box-shadow: var(--shadow); }
.gal-pic { display: block; height: 230px; position: relative; background: var(--color); transition: transform .4s; }
.gal-item:hover .gal-pic { transform: scale(1.06); }
.gal-pic::before, .gal-pic::after { content: ""; position: absolute; border-radius: 50%; opacity: .8; }
.gal-pic::before { width: 70px; height: 110px; background: color-mix(in srgb, var(--color) 60%, #fff 40%); transform: rotate(-20deg); top: 18%; left: 18%; }
.gal-pic::after { width: 120px; height: 70px; background: color-mix(in srgb, var(--color) 40%, #000 10%); transform: rotate(25deg); bottom: 12%; right: 12%; }
.gal-item figcaption { position: absolute; bottom: 0; left: 0; right: 0; padding: 34px 16px 14px; color: #fff; font-size: .9rem; font-weight: 500; background: linear-gradient(transparent, rgba(0,0,0,.55)); }

/* Team */
.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 22px; }
.team-item { height: 300px; border-radius: var(--radius); position: relative; overflow: hidden; background: linear-gradient(160deg, #eef3ff, #e7faf3); }
.team-item::before { content: ""; position: absolute; width: 120px; height: 120px; border-radius: 50%; background: repeating-radial-gradient(circle at 50% 50%, #b9c3d8 0 10px, transparent 10px 20px); top: 30px; left: 30px; opacity: .5; }
.team-item::after { content: ""; position: absolute; height: 46px; width: 46px; background: var(--accent); border-radius: 8px; transform: rotate(45deg); bottom: 50px; right: 40px; box-shadow: 0 8px 18px rgba(255,92,138,.5); }
.team-item:nth-child(2)::after { background: var(--accent2); box-shadow: 0 8px 18px rgba(62,198,255,.5); }
.team-item:nth-child(3)::after { background: #ffb547; box-shadow: 0 8px 18px rgba(255,181,71,.5); }
.team-item::before {
  animation: paint-spin 9s linear infinite;
}
@keyframes paint-spin { to { transform: rotate(360deg); } }

/* Clients */
.logos { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 18px; }
.logo { display: grid; place-items: center; height: 90px; border: 1.5px dashed #d7dbe6; border-radius: 14px; color: var(--muted); font-weight: 700; letter-spacing: 1px; text-transform: uppercase; font-size: .95rem; transition: .2s; }
.logo:hover { border-color: var(--accent); color: var(--accent); background: #fff5f8; }

/* Contacto */
.contacto { background: linear-gradient(160deg, #1c1f2b, #262a3a); color: #fff; }
.contacto .section-eyebrow { color: var(--accent2); }
.contacto .section-title { color: #fff; }
.contacto-sub { color: #aeb3c4; max-width: 460px; }
.contacto-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: start; }
.contact-list { list-style: none; padding: 0; margin: 30px 0; display: grid; gap: 18px; }
.contact-list li { display: flex; flex-direction: column; }
.contact-label { font-size: .78rem; text-transform: uppercase; letter-spacing: 1px; color: #8b91a5; }
.contact-list a, .contact-list span { font-size: 1.05rem; font-weight: 600; }
.contact-list a:hover { color: var(--accent2); }
.social { display: flex; gap: 12px; }
.soc { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: #313649; color: #fff; font-weight: 800; transition: .2s; }
.soc:hover { background: var(--accent); transform: translateY(-3px); }

/* Form */
.contacto-form { background: #fff; color: var(--ink); border-radius: var(--radius); padding: 34px; box-shadow: 0 20px 50px rgba(0,0,0,.35); display: grid; gap: 14px; }
.contacto-form h3 { margin: 0 0 6px; }
.contacto-form input, .contacto-form select, .contacto-form textarea {
  width: 100%; padding: 13px 15px; border-radius: 12px; border: 1.5px solid #dfe3ec;
  font-family: inherit; font-size: .95rem; background: var(--soft); color: var(--ink);
}
.contacto-form input:focus, .contacto-form select:focus, .contacto-form textarea:focus { outline: none; border-color: var(--accent); background: #fff; }
.form-msg { margin: 0; font-size: .9rem; font-weight: 600; color: #12b76a; }

/* Reveal */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .55s ease, transform .55s ease; }
.reveal.in { opacity: 1; transform: none; }

/* Footer */
.site-footer { background: #171a24; color: #aeb3c4; }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 14px; padding: 28px 0; }
.footer-inner .brand-name { color: #fff; }
.footer-inner p { margin: 4px 0 0; font-size: .85rem; }
.footer-meta { font-size: .82rem !important; }

/* Responsive */
@media (max-width: 860px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-art { height: 320px; }
  .contacto-inner { grid-template-columns: 1fr; }
  .stats-inner { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .main-nav { position: fixed; top: 70px; right: 0; flex-direction: column; background: #fff; width: min(80vw, 280px); padding: 20px; gap: 16px; box-shadow: var(--shadow); border-radius: 0 0 0 18px; transform: translateX(100%); transition: transform .25s; }
  .main-nav.open { transform: translateX(0); }
  .nav-toggle { display: block; }
}
