:root {
    --lime: #c6d92c;
    --lime-d: #a9bb14;
    --ink: #1e2023;
    --ink2: #2c2f33;
    --paper: #f7f9ea;
    --purple: #8a4fa3;
    --orange: #f08a32;
    --pink: #d63f9b;
    --blue: #2f8fd8;
    --font: 'Poppins', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    --script: 'Caveat', 'Segoe Script', 'Comic Sans MS', cursive;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 70px;
}

body {
    font-family: var(--font);
    color: var(--ink);
    background: var(--paper);
    line-height: 1.6;
    font-size: 1rem;
}

a {
    color: inherit;
}

img,
svg {
    max-width: 100%;
}

:focus-visible {
    outline: 3px solid var(--ink);
    outline-offset: 3px;
}

.wrap {
    width: min(1120px, 100% - 2.5rem);
    margin-inline: auto;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: .6rem;
    padding: .85rem 1.5rem;
    border-radius: 999px;
    font-weight: 600;
    text-decoration: none;
    border: 2px solid var(--ink);
    background: var(--ink);
    color: #fff;
    cursor: pointer;
    font: inherit;
    font-weight: 600;
    transition: transform .15s, background .15s;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn.alt {
    background: transparent;
    color: var(--ink);
}

.btn.lime {
    background: var(--lime);
    color: var(--ink);
    border-color: var(--lime);
}

.btn svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

/* Header */

header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: var(--ink);
    color: #fff;
}

.bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo img {
    display: block;
    height: 44px;
    width: auto;
}

nav ul {
    display: flex;
    gap: 1.6rem;
    list-style: none;
    align-items: center;
}

nav a {
    text-decoration: none;
    font-weight: 500;
    font-size: .95rem;
}

nav a:hover {
    color: var(--lime);
}

nav .btn {
    padding: .5rem 1.1rem;
    font-size: .9rem;
    color: var(--ink);
}

nav .btn:hover {
    color: var(--ink);
}

.nav-toggle {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.burger {
    display: none;
    color: #fff;
    cursor: pointer;
    padding: .5rem;
    -webkit-tap-highlight-color: transparent;
}

.nav-toggle:focus-visible + .burger {
    outline: 3px solid var(--lime);
    outline-offset: 2px;
}

.burger svg {
    display: block;
    width: 28px;
    height: 28px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2.4;
    stroke-linecap: round;
}

@media (max-width: 780px) {
    .burger {
        display: block;
    }

    nav {
        position: absolute;
        inset: 64px 0 auto 0;
        background: var(--ink);
        padding: 1rem 1.25rem 1.5rem;
        display: none;
        border-top: 1px solid #3a3d42;
    }

    .nav-toggle:checked ~ nav {
        display: block;
    }

    nav ul {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
}

/* Hero */

.hero {
    background: var(--lime);
    position: relative;
    overflow: hidden;
}

.hero .wrap {
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    gap: 2rem;
    align-items: center;
    padding-block: clamp(2.5rem, 7vw, 5.5rem);
}

.hero h1 {
    font-size: clamp(2.4rem, 6.5vw, 4.6rem);
    line-height: 1.02;
    letter-spacing: -.035em;
    font-weight: 800;
}

.tag {
    font-family: var(--script);
    font-size: clamp(1.7rem, 4vw, 2.4rem);
    color: var(--ink2);
    margin: .4rem 0 1rem;
    transform: rotate(-2deg);
    display: inline-block;
}

.hero p.lead {
    max-width: 34rem;
    font-size: 1.1rem;
    margin-bottom: 1.8rem;
}

.cta {
    display: flex;
    flex-wrap: wrap;
    gap: .8rem;
}

.head {
    width: 100%;
    max-width: 420px;
    justify-self: center;
}

.head .p {
    fill: var(--ink);
    fill-opacity: 0;
    stroke: var(--ink);
    stroke-width: 5;
    stroke-linejoin: round;
    stroke-dasharray: 1;
    stroke-dashoffset: 1;
    animation: draw 2.8s .2s ease-in-out forwards, fillin .9s 2.9s forwards;
}

.head .bulb {
    opacity: 0;
    animation: on .6s 3.5s forwards;
}

.head .bulb circle,
.head .bulb line {
    fill: none;
    stroke: #fff;
    stroke-width: 24;
    stroke-linecap: round;
}

@keyframes draw {
    to {
        stroke-dashoffset: 0;
    }
}

@keyframes fillin {
    to {
        fill-opacity: 1;
    }
}

@keyframes on {
    to {
        opacity: 1;
    }
}

.dots {
    display: flex;
    gap: 6px;
    margin-top: 2.2rem;
}

.dots i {
    width: 38px;
    height: 10px;
    border-radius: 5px;
}

@media (max-width: 780px) {
    .hero .wrap {
        grid-template-columns: 1fr;
    }

    .head {
        max-width: 240px;
        order: -1;
        justify-self: start;
    }
}

/* Sections */

section {
    padding-block: clamp(3rem, 8vw, 5.5rem);
}

h2 {
    font-size: clamp(1.8rem, 4.5vw, 2.8rem);
    line-height: 1.1;
    letter-spacing: -.03em;
    font-weight: 800;
    margin-bottom: .8rem;
}

.intro {
    max-width: 38rem;
    margin-bottom: 2.5rem;
    color: #44474c;
}

/* Servicios */

.serv {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.2rem;
}

.card {
    border-radius: 28px 28px 28px 6px;
    padding: 1.8rem;
    min-height: 550px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.grabado_laser {
  background: var(--ink);
  color: #fff;
  background-image: url(img/corte_laser.png);
  background-position: bottom;
  background-repeat: no-repeat;
  background-size: contain;
}

.camisetas {
  background: var(--lime);
  background-image: url(img/camisetas.png);
  background-position: bottom;
  background-repeat: no-repeat;
  background-size: contain;
}

.rotulos3d {
  background: var(--orange);
  background-image: url(img/rotulos3d.png);
  background-position: bottom;
  background-repeat: no-repeat;
  background-size: contain;
}

.promocionales {
  background: var(--blue);
  background-image: url(img/promocionales.png);
  background-position: bottom;
  background-repeat: no-repeat;
  background-size: contain;
}

.card h3 {
    font-size: 1.4rem;
    line-height: 1.15;
    letter-spacing: -.02em;
    margin-bottom: .6rem;
}

.card p {
    font-size: .95rem;
}

.card .m {
    background-color: #1e2023;
    color: #a9bb14;
    padding: 5px;
    border-radius: 30px;
    text-align: center;
    font-weight: 400;
    font-size: .85rem;
    margin-top: 1.2rem;
}

.card.k {
    color: #fff;
}

.ico {
    width: 46px;
    height: 46px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    margin-bottom: 1rem;
}

/* Especialidades */

.esp {
    background-image: url("img/fondo_rostro.jpg");
    background-size: contain;
    background-position: bottom right;
    background-repeat: no-repeat;
    background-color: #1e2023;
    color: #fff;
}

.esp .intro {
    color: #c4c7cc;
}

.rolls {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    align-items: start;
}

.roll {
    border-radius: 0 0 20px 20px;
    padding: 1.4rem 1.2rem 1.6rem;
    color: #fff;
}

.roll h3 {
    font-size: 1.2rem;
    letter-spacing: -.01em;
    margin-bottom: .9rem;
    padding-bottom: .7rem;
    border-bottom: 2px solid rgba(255, 255, 255, .55);
}

.roll ul {
    list-style: none;
    display: grid;
    gap: .35rem;
    font-size: .95rem;
}

.r1 {
    background: rgba(117, 97, 170, .8);
}

.r2 {
    background: rgba(245, 134, 72, .8);
}

.r3 {
    background: rgba(204, 88, 161, .8);
}

.r4 {
    background: rgba(0, 151, 220, .8);
}

.r2 {
    margin-top: 1.5rem;
}

.r3 {
    margin-top: .5rem;
}

.r4 {
    margin-top: 2rem;
}

@media (max-width: 900px) {
    .rolls {
        grid-template-columns: repeat(2, 1fr);
    }

    .roll {
        margin-top: 0 !important;
        border-radius: 20px;
    }
}

@media (max-width: 520px) {
    .rolls {
        grid-template-columns: 1fr;
    }
}

/* Catálogo */

.cat {
    background: var(--paper);
}

.cat .wrap {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 2rem;
    align-items: center;
    border: 3px solid var(--ink);
    border-radius: 28px;
    padding: clamp(1.5rem, 4vw, 2.8rem);
    background: #fff;
}

.cat h2 {
    margin-bottom: .4rem;
}

@media (max-width: 700px) {
    .cat .wrap {
        grid-template-columns: 1fr;
    }
}

/* Contacto */

.contacto {
    background: var(--lime);
    background-image: url("img/cabezas.svg");
    background-repeat: no-repeat;
    background-position: bottom center;
    background-size: 800px;
}

.cgrid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(1.5rem, 5vw, 4rem);
}

.datos {
    list-style: none;
    display: grid;
    gap: 1.1rem;
    margin-top: 1.5rem;
}

.datos li {
    display: grid;
    grid-template-columns: 28px 1fr;
    gap: .8rem;
    align-items: start;
}

.datos svg {
    width: 24px;
    height: 24px;
    stroke: var(--ink);
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    margin-top: 3px;
}

.datos a {
    text-underline-offset: 3px;
}

form {
    background: var(--ink);
    color: #fff;
    border-radius: 28px;
    padding: clamp(1.4rem, 4vw, 2.2rem);
    display: grid;
    gap: 1rem;
    align-self: start;
}

form h3 {
    font-size: 1.4rem;
    letter-spacing: -.02em;
}

label {
    display: grid;
    gap: .35rem;
    font-size: .9rem;
    font-weight: 500;
}

input,
select,
textarea {
    font: inherit;
    padding: .75rem .9rem;
    border-radius: 12px;
    border: 2px solid #4a4e54;
    background: #fff;
    color: var(--ink);
    width: 100%;
}

textarea {
    min-height: 110px;
    resize: vertical;
}

@media (max-width: 780px) {
    .cgrid {
        grid-template-columns: 1fr;
    }
}

/* Footer */

footer {
    background: var(--ink);
    color: #c4c7cc;
    padding-block: 2rem;
    font-size: .9rem;
}

footer .wrap {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 1rem;
}

.flogo {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.flogo img {
    height: 40px;
    width: auto;
}

.flogo em {
    font-style: normal;
}

/* WhatsApp */

.wa-float {
    position: fixed;
    right: 16px;
    bottom: 16px;
    z-index: 30;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: #25d366;
    display: grid;
    place-items: center;
    box-shadow: 0 6px 18px rgba(0, 0, 0, .3);
}

.wa-float svg {
    width: 30px;
    height: 30px;
    fill: #fff;
}

/* Accesibilidad */

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .head .p {
        animation: none;
        stroke-dashoffset: 0;
        fill-opacity: 1;
    }

    .head .bulb {
        animation: none;
        opacity: 1;
    }

    .btn {
        transition: none;
    }
}