@charset "UTF-8";
:root {
    --blue: #0955ec;
    --cyan: #0ebdd5;
    --ink: #172235;
    --muted: #627083;
    --line: #dde4ed;
    --light: #f5f7fb;
    --radius: 18px;
    --font: Inter,"Segoe UI",Arial,sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

body {
    margin: 0;
    background: #fff;
    color: var(--ink);
    font-family: var(--font);
    line-height: 1.65;
    font-size: 17px;
}

a {
    color: inherit;
    text-decoration: none;
}

button,input,textarea,select {
    font: inherit;
}

button,a,input,textarea,select {
    -webkit-tap-highlight-color: transparent;
}

button {
    cursor: pointer;
}

a:focus-visible,button:focus-visible {
    outline: 3px solid var(--cyan);
    outline-offset: 5px;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    width: min(1200px,calc(100% - 80px));
    margin: 0 auto;
}

.blue {
    color: var(--blue);
}

.skip {
    position: fixed;
    top: -100px;
    left: 20px;
    z-index: 100;
    background: var(--blue);
    color: white;
    padding: 12px;
}

.skip:focus {
    top: 12px;
}

/* Cabecera y navegación */
.header {
    height: 96px;
    border-bottom: 1px solid #e9edf2;
    background: #ffffffef;
    position: sticky;
    top: 0;
    z-index: 20;
    backdrop-filter: blur(18px);
}

.nav {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.brand {
    display: flex;
    align-items: center;
    width: 210px;
    max-width: calc(100% - 68px);
    min-width: 0;
    flex-shrink: 1;
}

.brand-logo {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    max-height: 80px;
    object-fit: contain;
}

.nav nav {
    display: flex;
    align-items: center;
    gap: 32px;
    font-size: 15px;
    font-weight: 550;
}

.nav nav>a:not(.button):hover {
    color: var(--blue);
}

.menu-toggle {
    flex-shrink: 0;
    display: none;
    background: none;
    border: 1px solid var(--line);
    border-radius: 8px;
    color: var(--ink);
    font-size: 24px;
    padding: 4px 12px;
}

.button {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 24px;
    padding: 15px 23px;
    border: 1px solid var(--blue);
    border-radius: 9px;
    background: var(--blue);
    color: #fff;
    font-size: 15px;
    font-weight: 650;
    line-height: 1.4;
    transition: background .2s,transform .2s;
}

.button:hover {
    background: #0644c2;
    transform: translateY(-2px);
}

.button span {
    font-size: 21px;
    font-weight: 400;
}

.button-small {
    padding: 11px 17px;
    gap: 18px;
}

.button-outline {
    background: white;
    color: var(--ink);
    border-color: var(--line);
}

.button-outline:hover {
    background: var(--light);
}

.text-link {
    font-size: 15px;
    font-weight: 650;
    display: inline-flex;
    gap: 16px;
    align-items: center;
}

.text-link:hover {
    color: var(--blue);
}

.eyebrow {
    font-size: 11px;
    letter-spacing: 1.7px;
    font-weight: 750;
    display: block;
    color: var(--muted);
}

.status-dot {
    display: inline-block;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--cyan);
    margin-right: 7px;
}

/* Presentación principal */
.hero {
    padding: 70px 0 60px;
    overflow: hidden;
    background: radial-gradient(ellipse at 85% 0%,#edf5ff 0%,white 55%);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 48px;
    align-items: center;
}

.hero h1 {
    font-size: clamp(36px,4.35vw,59px);
    letter-spacing: -2.8px;
    line-height: 1.09;
    font-weight: 720;
    margin: 25px 0;
}

.hero h1>span {
    color: var(--blue);
}

.hero-copy>p {
    max-width: 490px;
    color: var(--muted);
    font-size: 17px;
    line-height: 1.8;
    margin: 24px 0 28px;
}

.hero-actions {
    display: flex;
    gap: 25px;
    align-items: center;
    flex-wrap: wrap;
}

.hero-note {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 38px;
    font-size: 12px;
    color: var(--muted);
    line-height: 1.6;
}

.hero-note strong {
    font-weight: 550;
    color: var(--ink);
}

.mini-mark {
    background: #eaf1ff;
    color: var(--blue);
    font-weight: 800;
    border-radius: 50%;
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    font-size: 16px;
}

.hero-art {
    height: 480px;
    background: linear-gradient(145deg,#eaf2ff,#f3f9ff 55%,#e8f8ff);
    border: 1px solid #dfe9f8;
    border-radius: 28px;
    position: relative;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    isolation: isolate;
}

.hero-art:before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(#739dc844 .8px,transparent .8px);
    background-size: 20px 20px;
    mask-image: linear-gradient(to bottom,#000,transparent);
}

.art-label {
    position: absolute;
    top: 28px;
    font-size: 9px;
    letter-spacing: 1.1px;
    font-weight: 700;
    color: #5f779a;
}

.brain-frame {
    width: 210px;
    height: 245px;
    position: relative;
    overflow: hidden;
    z-index: 2;
    mix-blend-mode: multiply;
}

.brain-frame img {
    position: absolute;
    width: 480px;
    max-width: none;
    top: -62px;
    left: -135px;
}

.orbit {
    position: absolute;
    border: 1px solid #c6daf9;
    border-radius: 50%;
    width: 320px;
    height: 320px;
    transform: rotate(-25deg);
}

.orbit-two {
    width: 410px;
    height: 410px;
    border-style: dashed;
    border-color: #d1e0f4;
}

.orbit-one:after {
    content: "";
    position: absolute;
    top: 33px;
    left: 45px;
    width: 9px;
    height: 9px;
    background: var(--cyan);
    border-radius: 50%;
    box-shadow: 0 0 0 6px #0ebdd520;
}

.floating-label {
    position: absolute;
    display: flex;
    gap: 10px;
    align-items: center;
    font-size: 11px;
    padding: 12px 15px;
    background: white;
    border: 1px solid #e0e9f5;
    border-radius: 10px;
    box-shadow: 0 10px 25px #2545750c;
    z-index: 3;
}

.floating-label span {
    color: var(--blue);
    background: #eff5ff;
    padding: 2px 7px;
    border-radius: 5px;
    font-size: 16px;
}

.label-one {
    top: 128px;
    right: 17px;
}

.label-two {
    bottom: 110px;
    left: 20px;
}

.art-bottom {
    position: absolute;
    bottom: 30px;
    left: 32px;
    right: 32px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 9px;
    color: #6b7e99;
    letter-spacing: 1.1px;
    font-weight: 700;
}

.art-line {
    height: 1px;
    background: #c6d7ee;
    flex: 1;
}

/* Franja de servicios */
.capabilities {
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.capabilities .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 22px;
    padding: 23px 0;
    font-size: 13px;
    color: #5d6c82;
    font-weight: 550;
}

.capabilities i {
    color: var(--blue);
    font-style: normal;
    font-size: 15px;
}

/* Secciones y títulos */
.section {
    padding: 90px 0;
}

.section-heading {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    align-items: end;
    gap: 80px;
    margin-bottom: 42px;
}

h2 {
    font-size: clamp(30px,3.1vw,41px);
    font-weight: 650;
    line-height: 1.18;
    letter-spacing: -1.65px;
    margin: 16px 0 0;
}

h2>span {
    color: var(--muted);
}

.section-heading>p {
    color: var(--muted);
    font-size: 15px;
    max-width: 400px;
    margin: 0 0 5px;
    line-height: 1.8;
}

h3 {
    line-height: 1.3;
    font-size: 20px;
    letter-spacing: -.45px;
    font-weight: 650;
}

p {
    color: var(--muted);
}

/* Tarjetas de servicios */
.services-grid {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 18px;
}

.service {
    border: 1px solid var(--line);
    border-radius: 13px;
    padding: 25px 22px 20px;
    background: #fff;
    transition: box-shadow .2s,border-color .2s;
}

.service:hover {
    border-color: #9ab9f6;
    box-shadow: 0 15px 30px #142b5409;
}

.service-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #8a98aa;
    font-size: 11px;
}

.service-icon {
    background: #eaf1ff;
    display: grid;
    place-items: center;
    color: var(--blue);
    font-size: 23px;
    width: 42px;
    height: 42px;
    border-radius: 10px;
}

.service h3 {
    font-size: 19px;
    margin: 25px 0 12px;
    min-height: 49px;
}

.service p {
    font-size: 14px;
    line-height: 1.8;
    margin: 0 0 25px;
    min-height: 94px;
}

.service-tags {
    border-top: 1px solid #e8edf4;
    padding-top: 15px;
    color: #79869a;
    font-size: 11px;
}

/* Portfolio */
.projects-section {
    background: var(--light);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(3,minmax(0,1fr));
    gap: 25px;
}

.project-card {
    min-width: 0;
    background: #fff;
    border: 1px solid #e3e8f0;
    border-radius: 16px;
    overflow: hidden;
}

.project-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 260px;
    position: relative;
    padding: 40px;
    overflow: hidden;
}

.project-visual.mint {
    background: #e5f2ee;
}

.project-visual.sky {
    background: #e5effb;
}

.project-visual.dark {
    background: #151b25;
    color: white;
}

.project-visual img {
    max-height: 155px;
    width: 100%;
    object-fit: contain;
    mix-blend-mode: normal;
    position: relative;
    z-index: 1;
    transition: transform .4s;
}

.project-visual:hover img {
    transform: scale(1.05);
}

.project-arrow {
    z-index: 3;
    position: absolute;
    bottom: 16px;
    right: 16px;
    border: 1px solid #fff9;
    background: #ffffff85;
    backdrop-filter: blur(8px);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: var(--ink);
}

.project-info {
    padding: 25px;
}

.project-info .eyebrow {
    font-size: 10px;
    letter-spacing: 1.3px;
}

.project-info h3 {
    font-size: 22px;
    margin: 9px 0 10px;
}

.project-info h3 a:hover {
    color: var(--blue);
}

.project-info p {
    font-size: 14px;
    line-height: 1.8;
    margin: 0;
}

.barber-art {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.barber-art strong {
    font-size: 29px;
    letter-spacing: 3px;
    font-weight: 700;
}

.barber-art>span:last-child {
    font-size: 11px;
    letter-spacing: 2px;
    color: #acb7c9;
}

.barber-pole {
    display: block;
    height: 60px;
    width: 23px;
    border-radius: 6px;
    border: 3px solid #e6e9ee;
    background: repeating-linear-gradient(135deg,#c4474c 0px,#c4474c 8px,#e7e9eb 8px,#e7e9eb 16px,#44759a 16px,#44759a 24px);
    margin-bottom: 5px;
}

/* Proceso de trabajo */
.process-grid {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 32px;
    margin-top: 50px;
}

.process-grid article {
    border-top: 1px solid var(--line);
    padding-top: 22px;
}

.step-number {
    color: var(--blue);
    font-size: 13px;
    font-weight: 700;
}

.process-grid h3 {
    font-size: 17px;
    margin-top: 25px;
}

.process-grid p {
    font-size: 14px;
    line-height: 1.8;
}

/* Contacto */
.contact-section {
    background: #edf3fc;
    border-top: 1px solid #dfe8f6;
    padding: 85px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 90px;
    align-items: start;
}

.contact-grid>div {
    padding-top: 35px;
}

.contact-grid h2 {
    font-size: 48px;
    line-height: 1.16;
    margin: 22px 0;
    letter-spacing: -2px;
}

.contact-grid h2 span {
    color: var(--blue);
}

.contact-grid>div>p {
    font-size: 16px;
    line-height: 1.8;
    max-width: 370px;
    margin-bottom: 30px;
}

.contact-email {
    display: block;
    color: var(--blue);
    font-weight: 600;
    font-size: 17px;
    margin: 20px 0;
}

.contact-grid .text-link {
    display: flex;
    margin: 15px 0;
}

.contact-form {
    background: white;
    border-radius: 18px;
    padding: 32px;
    box-shadow: 0 15px 40px #17305807;
    border: 1px solid #e0e8f3;
}

.contact-form h3 {
    font-size: 21px;
    margin: 0 0 24px;
}

/* Formularios */
label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 17px;
    color: var(--ink);
}

label>span {
    font-weight: 400;
    color: var(--muted);
}

input,textarea,select {
    display: block;
    background: #fff;
    width: 100%;
    border: 1px solid #d9e1eb;
    border-radius: 7px;
    padding: 11px 12px;
    font-size: 14px;
    color: var(--ink);
    margin-top: 7px;
    transition: border-color .2s;
}

input::placeholder,textarea::placeholder {
    color: #94a0b1;
}

input:focus,textarea:focus,select:focus {
    outline: 2px solid #0955ec20;
    border-color: var(--blue);
}

textarea {
    resize: vertical;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 17px;
}

.contact-form .button {
    width: 100%;
    justify-content: space-between;
}

.checkbox {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    font-size: 12px;
    line-height: 1.7;
}

.checkbox input {
    width: 15px;
    height: 15px;
    margin: 3px 0 0;
    flex-shrink: 0;
    accent-color: var(--blue);
}

.checkbox a {
    color: var(--blue);
    text-decoration: underline;
}

.honey {
    position: absolute;
    width: 1px;
    height: 1px;
    clip-path: inset(100%);
    overflow: hidden;
}

.notice {
    padding: 14px 18px;
    border: 1px solid #a5d7bd;
    border-radius: 8px;
    background: #effaf3;
    color: #245a3b;
    font-size: 14px;
    margin: 15px 0 20px;
}

.notice.error {
    border-color: #efb7b7;
    background: #fff1f1;
    color: #9b2626;
}

/* Pie de página */
.footer {
    background: #101a2c;
    color: #fff;
    padding: 50px 0 0;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    padding-bottom: 40px;
}

.wordmark {
    font-size: 26px;
    font-weight: 750;
    letter-spacing: -.8px;
}

.wordmark span {
    color: #56a4ff;
    margin-left: 3px;
}

.footer p {
    font-size: 13px;
    color: #94a3bb;
    margin-top: 12px;
}

.footer .eyebrow {
    color: #8ea0ba;
    font-size: 10px;
}

.footer-email {
    display: block;
    margin-top: 15px;
    font-size: 18px;
    letter-spacing: -.3px;
}

.footer-email:hover {
    color: #83b7ff;
}

.footer-bottom {
    border-top: 1px solid #ffffff18;
    padding: 22px 0;
    display: flex;
    justify-content: space-between;
    font-size: 11px;
    color: #98a7bd;
}

.footer-bottom>div {
    display: flex;
    gap: 24px;
}

/* Detalle de proyecto */
.project-hero {
    padding: 65px 0 40px;
}

.project-hero .eyebrow {
    margin-top: 35px;
}

.project-hero h1 {
    font-size: clamp(38px,5vw,64px);
    letter-spacing: -2.5px;
    line-height: 1.1;
    margin: 17px 0;
}

.lead {
    font-size: 19px;
    max-width: 650px;
}

.project-detail {
    display: grid;
    grid-template-columns: minmax(0,2fr) minmax(0,1fr);
    gap: 55px;
    padding: 0 0 40px;
}

.detail-cover {
    min-width: 0;
    max-width: 100%;
    display: grid;
    place-items: center;
    background: #edf3fc;
    border-radius: 18px;
    min-height: 320px;
    padding: 55px;
}

.detail-cover img {
    width: 100%;
    max-width: min(550px, 100%);
    height: auto;
    max-height: 300px;
    object-fit: contain;
    mix-blend-mode: normal;
}

.project-wordmark {
    font-size: clamp(30px,4vw,52px);
    color: var(--blue);
    letter-spacing: 1px;
}

.detail-text {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 35px;
    padding-top: 45px;
}

.detail-text h2 {
    font-size: 25px;
    letter-spacing: -.8px;
    margin-top: 12px;
}

.detail-text p {
    font-size: 15px;
    white-space: normal;
}

.features-panel {
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 28px;
    height: fit-content;
}

.features-panel ul {
    list-style: none;
    padding: 0;
    margin: 25px 0 30px;
}

.features-panel li {
    display: flex;
    gap: 12px;
    border-bottom: 1px solid #e7ecf4;
    padding: 13px 0;
    font-size: 14px;
}

.features-panel li span {
    color: var(--blue);
}

.features-panel .button {
    width: 100%;
    font-size: 13px;
    padding: 13px;
}

.project-cover-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-width: 0;
}

.hero-grid > *,
.contact-grid > *,
.section-heading > *,
.project-detail > *,
.detail-text > *,
.form-row > * {
    min-width: 0;
}

.project-info,
.project-wordmark,
.project-hero h1 {
    overflow-wrap: anywhere;
}

/* Carruseles: el desplazamiento queda dentro del componente. */
.project-visual.has-carousel {
    padding: 0;
}

.carousel {
    position: relative;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow: hidden;
}

.carousel-detail {
    margin-top: 30px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: var(--light);
}

.carousel-card {
    height: 100%;
}

.carousel-track {
    display: flex;
    width: 100%;
    min-width: 0;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    overscroll-behavior-x: contain;
}

.carousel-track::-webkit-scrollbar {
    display: none;
}

.carousel-track:focus-visible {
    outline: 3px solid var(--blue);
    outline-offset: -3px;
}

.carousel-card .carousel-track {
    height: 100%;
}

.carousel-slide {
    flex: 0 0 100%;
    min-width: 0;
    max-width: 100%;
    scroll-snap-align: start;
}

.carousel-slide a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.carousel-slide img {
    display: block;
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: none;
    object-fit: contain;
    mix-blend-mode: normal;
}

.carousel-detail .carousel-slide {
    height: clamp(220px, 48vw, 540px);
}

.project-visual .carousel-slide img {
    height: 100%;
    max-height: none;
    transform: none;
}

.carousel-controls[hidden] {
    display: none;
}

.carousel-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: #fff;
    font-size: 28px;
    line-height: 1;
    box-shadow: none;
    text-shadow: 0 1px 3px #000, 0 0 2px #000;
}

.carousel-button:hover {
    background: transparent;
    color: #83b7ff;
}

.carousel-button:focus-visible {
    outline: 2px solid var(--blue);
    outline-offset: 2px;
}

.carousel-prev {
    left: 10px;
}

.carousel-next {
    right: 10px;
}

.carousel-counter {
    position: absolute;
    left: 50%;
    bottom: 12px;
    transform: translateX(-50%);
    z-index: 2;
    border-radius: 20px;
    padding: 3px 12px;
    background: #fff;
    color: var(--ink);
    font-size: 12px;
    box-shadow: 0 2px 10px #17223518;
}

.project-cta {
    background: var(--light);
    border: 1px solid var(--line);
    border-radius: 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 45px;
    margin: 40px auto 70px;
    gap: 20px;
}

.project-cta h2 {
    margin: 0;
    font-size: 30px;
}

.prose {
    max-width: 800px;
}

.prose h1 {
    font-size: 45px;
    letter-spacing: -1.5px;
}

.prose h2 {
    font-size: 25px;
    margin-top: 35px;
}

.prose a:not(.button) {
    color: var(--blue);
    text-decoration: underline;
}

.prose .button {
    margin-top: 25px;
}

/* Acceso privado */
.auth-card {
    max-width: 470px;
    margin: 0 auto;
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 35px;
}

.auth-card h1 {
    font-size: 36px;
    line-height: 1.1;
    letter-spacing: -1px;
    margin: 20px 0;
}

.auth-card p {
    font-size: 15px;
}

.auth-card form {
    margin-top: 25px;
}

.auth-card .button {
    width: 100%;
}

/* Panel de administración */
.admin-shell {
    padding: 50px 0 80px;
}

.admin-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.admin-heading h1 {
    font-size: 38px;
    letter-spacing: -1.2px;
    margin: 8px 0 20px;
}

.admin-tabs {
    display: flex;
    gap: 25px;
    border-bottom: 1px solid var(--line);
    padding: 15px 0;
    margin: 10px 0 30px;
    font-size: 14px;
    flex-wrap: wrap;
}

.admin-tabs .active {
    color: var(--blue);
    font-weight: 700;
}

.admin-tabs span {
    background: #eaf1ff;
    border-radius: 5px;
    padding: 2px 6px;
}

.admin-section-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    gap: 20px;
}

.admin-section-heading h2 {
    font-size: 28px;
    margin: 0;
}

.admin-section-heading p {
    font-size: 14px;
    margin: 8px 0;
}

.admin-list {
    display: grid;
    gap: 15px;
}

.admin-project {
    border: 1px solid var(--line);
    padding: 23px;
    border-radius: 13px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
}

.admin-project h3 {
    margin: 10px 0 5px;
}

.admin-project p {
    font-size: 13px;
    margin: 0;
}

.pill {
    background: #eaf5ed;
    color: #2f6a48;
    font-size: 11px;
    padding: 5px 10px;
    border-radius: 6px;
    display: inline-block;
}

.pill.draft {
    background: #fff4de;
    color: #8d6b29;
}

.form-actions {
    display: flex;
    gap: 20px;
    align-items: center;
}

.delete-button {
    border: none;
    background: none;
    color: #ae3434;
    font-size: 13px;
    padding: 7px 0;
}

.delete-button:hover {
    text-decoration: underline;
}

.editor {
    border: 1px solid var(--line);
    border-radius: 15px;
    padding: 30px;
    max-width: 900px;
}

.editor small {
    color: var(--muted);
    font-weight: 400;
    display: block;
    margin: 7px 0;
}

.upload-area {
    background: var(--light);
    border: 1px dashed #b8c6d8;
    border-radius: 12px;
    padding: 24px;
    margin: 20px 0;
}

.upload-area h3 {
    margin-top: 0;
}

.upload-area p {
    font-size: 13px;
}

.admin-thumb {
    max-width: 180px;
    max-height: 120px;
    object-fit: contain;
    margin: 15px 0;
}

.admin-gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.admin-gallery input {
    display: inline-block;
    width: auto;
    margin: 0;
}

.spaced {
    margin: 45px 0 20px;
}

.message-card {
    border: 1px solid var(--line);
    padding: 28px;
    border-radius: 13px;
    margin-bottom: 18px;
}

.message-heading {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 15px;
}

.message-heading h3 {
    margin: 12px 0 5px;
}

.message-heading a {
    color: var(--blue);
    font-size: 14px;
}

.message-body {
    color: var(--ink);
    font-size: 15px;
    padding: 15px 0;
    overflow-wrap: anywhere;
}

.empty-state {
    padding: 40px;
    background: var(--light);
    border: 1px dashed var(--line);
    border-radius: 12px;
    color: var(--muted);
    font-size: 15px;
}

/* Adaptación a distintos tamaños de pantalla */
@media(min-width:1500px) {
    .hero {
        padding: 90px 0;
    }

    .hero-art {
        height: 500px;
    }

}

@media(max-width:1100px) {
    .container {
        width: calc(100% - 50px);
    }

    .hero-grid {
        gap: 30px;
        grid-template-columns: 1.1fr 1fr;
    }

    .hero h1 {
        font-size: 46px;
        letter-spacing: -2px;
    }

    .hero-art {
        height: 440px;
    }

    .nav nav {
        gap: 20px;
    }

    .services-grid {
        grid-template-columns: repeat(2,1fr);
    }

    .service h3,.service p {
        min-height: 0;
    }

    .contact-grid {
        gap: 45px;
    }

    .project-visual {
        height: 230px;
        padding: 25px;
    }

    .section-heading {
        gap: 40px;
    }

    .hero-actions {
        gap: 16px;
    }

    .hero-actions .text-link {
        font-size: 13px;
    }

}

@media(max-width:800px) {
    .header {
        height: 80px;
    }

    .brand {
        width: 168px;
    }

    .brand-logo {
        max-height: 64px;
    }

    .menu-toggle {
        display: block;
    }

    .nav nav {
        display: none;
        position: absolute;
        top: 79px;
        left: 0;
        right: 0;
        background: white;
        border-bottom: 1px solid var(--line);
        padding: 25px;
        align-items: stretch;
        box-shadow: 0 20px 30px #1722350b;
    }

    .nav nav.is-open {
        display: flex;
        flex-direction: column;
    }

    .hero {
        padding: 45px 0;
    }

    .hero-grid {
        grid-template-columns: 1fr;
    }

    .hero h1 {
        font-size: clamp(38px,7vw,54px);
    }

    .hero-copy>p {
        max-width: 580px;
    }

    .hero-art {
        height: 370px;
        max-width: 600px;
        width: 100%;
        margin-top: 15px;
    }

    .hero-note {
        margin-top: 25px;
    }

    .art-label {
        top: 22px;
    }

    .label-one {
        top: 85px;
        right: 28px;
    }

    .label-two {
        bottom: 85px;
        left: 28px;
    }

    .brain-frame {
        transform: scale(.85);
    }

    .capabilities .container {
        flex-wrap: wrap;
        justify-content: center;
        gap: 12px 18px;
        font-size: 12px;
    }

    .capabilities i:last-of-type {
        display: none;
    }

    .section {
        padding: 60px 0;
    }

    .section-heading {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-bottom: 30px;
    }

    .section-heading>p {
        max-width: 550px;
    }

    .projects-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .project-card {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .project-visual {
        height: 245px;
    }

    .project-info {
        align-self: center;
    }

    .process-grid {
        grid-template-columns: 1fr 1fr;
        gap: 28px;
        margin-top: 30px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .contact-grid>div {
        padding-top: 0;
    }

    .contact-grid h2 {
        font-size: 40px;
    }

    .contact-grid>div>p {
        max-width: 500px;
    }

    .contact-section {
        padding: 60px 0;
    }

    .footer-top {
        flex-direction: column;
        gap: 25px;
    }

    .project-detail {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .features-panel {
        max-width: none;
    }

    .project-hero {
        padding-top: 40px;
    }

    .project-cta {
        padding: 30px;
    }

    .project-cta h2 {
        font-size: 26px;
    }

    .admin-section-heading {
        align-items: flex-start;
    }

    .admin-project {
        flex-wrap: wrap;
    }

    .message-heading {
        flex-wrap: wrap;
    }

    .admin-heading h1 {
        font-size: 30px;
    }

}

@media(max-width:480px) {
    .container {
        width: calc(100% - 36px);
    }

    .brand {
        width: 158px;
    }

    .brand-logo {
        max-height: 60px;
    }

    .hero h1 {
        font-size: 38px;
        letter-spacing: -1.7px;
    }

    .eyebrow {
        font-size: 10px;
        letter-spacing: 1.3px;
    }

    .hero-copy>p {
        font-size: 15px;
    }

    .hero-actions {
        gap: 19px;
    }

    .hero-art {
        height: 335px;
        border-radius: 18px;
    }

    .orbit-two {
        width: 340px;
        height: 340px;
    }

    .orbit-one {
        width: 260px;
        height: 260px;
    }

    .art-label {
        font-size: 8px;
    }

    .label-one {
        right: 12px;
        top: 74px;
    }

    .label-two {
        left: 12px;
        bottom: 70px;
    }

    .floating-label {
        font-size: 10px;
        padding: 9px 11px;
    }

    .art-bottom {
        left: 20px;
        right: 20px;
        font-size: 8px;
    }

    .brain-frame {
        transform: scale(.75);
    }

    h2 {
        font-size: 30px;
        letter-spacing: -1.2px;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 13px;
    }

    .service {
        padding: 23px;
    }

    .service h3 {
        margin-top: 19px;
    }

    .service p {
        margin-bottom: 20px;
    }

    .project-card {
        display: block;
    }

    .project-visual {
        height: 230px;
    }

    .project-info {
        padding: 22px;
    }

    .process-grid {
        gap: 22px;
    }

    .process-grid h3 {
        font-size: 17px;
    }

    .process-grid p {
        font-size: 13px;
    }

    .contact-grid h2 {
        font-size: 37px;
    }

    .contact-form {
        padding: 23px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .contact-email {
        font-size: 16px;
        overflow-wrap: anywhere;
    }

    .footer-email {
        font-size: 17px;
        overflow-wrap: anywhere;
    }

    .footer-bottom {
        gap: 15px;
        flex-wrap: wrap;
    }

    .detail-cover {
        min-height: 230px;
        padding: 35px;
    }

    .detail-text {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .project-cta {
        flex-direction: column;
        align-items: flex-start;
        padding: 25px;
    }

    .project-hero .lead {
        font-size: 17px;
    }

    .auth-card {
        padding: 25px;
    }

    .admin-heading {
        align-items: flex-start;
    }

    .admin-heading .button {
        font-size: 12px;
        padding: 10px 12px;
    }

    .admin-tabs {
        gap: 16px;
    }

    .admin-section-heading {
        flex-direction: column;
    }

    .editor {
        padding: 20px;
    }

    .upload-area {
        padding: 18px;
    }

    .message-card {
        padding: 20px;
    }

    .project-wordmark {
        font-size: 27px;
    }

}

@media(prefers-reduced-motion:reduce) {
    html {
        scroll-behavior: auto;
    }

    *,*:before,*:after {
        transition: none!important;
        animation: none!important;
    }

}
/* Marca y contacto del pie */
.footer-brand {
    display: block;
    width: 230px;
    max-width: 100%;
}
.footer-brand img {
    display: block;
    width: 100%;
    height: auto;
}
.footer-top > div { min-width: 0; }
.footer-email { overflow-wrap: anywhere; }
.footer-whatsapp {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-top: 14px;
    font-size: 18px;
}
.footer-whatsapp svg { color: #25d366; flex-shrink: 0; }
.footer-whatsapp:hover { color: #83b7ff; }
.recaptcha-notice { font-size: 12px; line-height: 1.6; color: var(--muted); }
.recaptcha-notice a { text-decoration: underline; }
.grecaptcha-badge { visibility: hidden; }
.form-status:empty { display: none; }
