/* article-technology: estilos migrados preservando el diseño original. */

/* ==========================================================
   ANTHORIA — DIGITAL TRANSFORMATION ARTICLE

   Estilos exclusivos de article-technology.html.

   Requiere:
   - styles.css
   - articles.css

   Contiene:
   - Hero Digital Transformation.
   - Escena Conventional → Innovative.
   - Timeline de transformación.
   - Estado previo del negocio.
   - Dashboard de problemas.
   - Trigger de transformación.
   - Sistema digital final.
   - Módulos y conexiones.
   - Tema Dark.
   - Responsive.
   - Reduced Motion.

   Se han eliminado los elementos del hero antiguo
   que ya no existen en el HTML.
   ========================================================== */


/* ==========================================================
   1. VARIABLES
   ========================================================== */

body.article-page.technology-page {
    --technology-bg: #f5f0e7;
    --technology-surface: rgba(255, 255, 255, 0.72);

    --technology-text: #171512;
    --technology-muted: #786f64;
    --technology-soft: #a69c8e;

    --technology-gold: #bd8c38;
    --technology-gold-light: #dfc284;

    --technology-line: rgba(73, 57, 36, 0.12);
    --technology-line-strong: rgba(189, 140, 56, 0.32);

    width: 100%;

    margin: 0;

    overflow-x: hidden;

    background:
        var(--technology-bg);

    color:
        var(--technology-text);
}


body.article-page.technology-page main {
    display: block;

    width: 100%;
    max-width: none;

    margin: 0;
    padding: 0;
}


body.article-page.technology-page main>section {
    width: 100%;
    max-width: none;

    margin: 0;
}


/* ==========================================================
   2. ETIQUETAS COMPARTIDAS
   ========================================================== */

body.technology-page .technology-label,
body.technology-page .section-label {
    display: inline-flex;

    align-items: center;

    gap: 14px;

    color:
        var(--technology-gold);

    font-size: 0.66rem;
    font-weight: 600;

    letter-spacing: 0.19em;

    text-transform: uppercase;
}


body.technology-page .technology-label::after,
body.technology-page .section-label::after {
    content: "";

    width: 50px;
    height: 1px;

    background:
        currentColor;
}


/* ==========================================================
   3. HERO
   ========================================================== */

body.technology-page .technology-hero {
    position: relative;

    display: flex;
    flex-direction: column;

    justify-content: center;

    width: 100%;
    max-width: none;

    min-height:
        calc(100svh - 90px);

    margin: 0;

    padding:
        clamp(115px, 10vh, 150px) clamp(32px, 5vw, 86px) 42px;

    overflow: hidden;

    background:
        radial-gradient(circle at 74% 42%,
            rgba(189, 140, 56, 0.17),
            transparent 34%),
        linear-gradient(120deg,
            #fbf8f2 0%,
            #f4ede1 48%,
            #eadcc5 100%);

    border-bottom:
        1px solid var(--technology-line);
}


/* Cuadrícula sutil de fondo. */
body.technology-page .technology-hero::before {
    content: "";

    position: absolute;

    inset: 0;

    background-image:
        linear-gradient(rgba(23, 21, 18, 0.025) 1px,
            transparent 1px),
        linear-gradient(90deg,
            rgba(23, 21, 18, 0.025) 1px,
            transparent 1px);

    background-size:
        76px 76px;

    mask-image:
        radial-gradient(circle at 70% 45%,
            black 0%,
            transparent 70%);

    -webkit-mask-image:
        radial-gradient(circle at 70% 45%,
            black 0%,
            transparent 70%);

    pointer-events: none;
}


/* ==========================================================
   4. HERO GRID
   ========================================================== */

body.technology-page .technology-hero-grid {
    position: relative;

    z-index: 2;

    display: grid;

    grid-template-columns:
        minmax(460px, 0.82fr) minmax(640px, 1.18fr);

    gap:
        clamp(45px, 5vw, 100px);

    align-items: center;

    width: 100%;
    max-width: 1600px;

    margin:
        0 auto;
}


/* ==========================================================
   5. HERO COPY
   ========================================================== */

body.technology-page .technology-hero-copy {
    width: 100%;
    max-width: 700px;

    margin: 0;
}


body.technology-page .technology-hero h1 {
    width: 100%;
    max-width: 700px;

    margin:
        30px 0 0;

    font-family:
        "Cormorant Garamond",
        serif;

    font-size:
        clamp(4.5rem,
            5.7vw,
            7.7rem);

    font-weight: 500;

    line-height: 0.86;

    letter-spacing:
        -0.052em;
}


body.technology-page .technology-hero h1 span {
    display: block;
}


body.technology-page .technology-hero h1 .gold {
    margin-top: 8px;

    color:
        var(--technology-gold);
}


body.technology-page .technology-hero-copy>p {
    max-width: 590px;

    margin:
        34px 0 0;

    color:
        var(--technology-muted);

    font-size: 0.84rem;

    line-height: 1.85;
}


/* ==========================================================
   6. BOTÓN BEGIN TRANSFORMATION
   ========================================================== */

body.technology-page .technology-hero-button {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    margin-top: 32px;

    padding:
        18px 32px;

    background: #171512;

    border:
        1px solid #171512;

    border-radius: 999px;

    color: #ffffff;

    cursor: pointer;

    font-size: 0.68rem;
    font-weight: 600;

    letter-spacing: 0.12em;

    text-transform: uppercase;

    transition:
        transform 0.35s ease,
        background-color 0.35s ease,
        border-color 0.35s ease,
        box-shadow 0.35s ease;
}


body.technology-page .technology-hero-button:hover {
    background:
        var(--technology-gold);

    border-color:
        var(--technology-gold);

    color: #171512;

    transform:
        translateY(-4px);

    box-shadow:
        0 20px 55px rgba(189, 140, 56, 0.24);
}


/* ==========================================================
   7. HERO VISUAL
   ========================================================== */

body.technology-page .technology-hero-visual {
    position: relative;

    width: 100%;
    max-width: none;

    margin: 0;

    overflow: visible;
}


/* ==========================================================
   8. ESCENA DE TRANSFORMACIÓN
   ========================================================== */

body.technology-page .transformation-scene {
    position: relative;

    display: grid;

    grid-template-columns:
        1fr 1fr;

    width: 100%;

    min-height: 520px;

    overflow: hidden;

    border:
        1px solid rgba(116, 84, 42, 0.13);

    border-radius: 36px;

    box-shadow:
        0 45px 110px rgba(74, 53, 26, 0.17);
}


/* ==========================================================
   9. DOS LADOS DE LA ESCENA
   ========================================================== */

body.technology-page .scene-side {
    position: relative;

    min-width: 0;
    min-height: 520px;

    overflow: hidden;
}


/* Lado convencional. */
body.technology-page .conventional-side {
    background:
        radial-gradient(circle at 65% 50%,
            rgba(255, 255, 255, 0.12),
            transparent 45%),
        linear-gradient(145deg,
            #c9c1b4,
            #777169);
}


/* Lado innovador. */
body.technology-page .innovative-side {
    background:
        radial-gradient(circle at 45% 42%,
            rgba(255, 220, 146, 0.50),
            transparent 30%),
        linear-gradient(145deg,
            #ead7ac,
            #9f6c27 70%,
            #3d2a17);
}


/* ==========================================================
   10. BADGES
   ========================================================== */

body.technology-page .scene-badge {
    position: absolute;

    top: 28px;

    z-index: 5;

    display: inline-flex;

    align-items: center;
    justify-content: center;

    padding:
        10px 18px;

    border-radius: 999px;

    font-size: 0.55rem;
    font-weight: 600;

    letter-spacing: 0.17em;

    text-transform: uppercase;
}


body.technology-page .conventional-side .scene-badge {
    left: 28px;

    background:
        rgba(44, 42, 39, 0.68);

    color:
        rgba(255, 255, 255, 0.84);
}


body.technology-page .innovative-side .scene-badge {
    right: 28px;

    background:
        var(--technology-gold);

    color: #fffaf0;
}


/* ==========================================================
   11. NEGOCIO CONVENCIONAL
   ========================================================== */

body.technology-page .old-business {
    position: absolute;

    inset:
        100px 30px 45px;

    opacity: 0.80;
}


/* Escritorio. */
body.technology-page .old-desk {
    position: absolute;

    right: 3%;
    bottom: 9%;

    width: 84%;
    height: 18px;

    background: #3e3a35;

    border-radius: 4px;

    box-shadow:
        0 18px 0 #292622,
        0 36px 50px rgba(0, 0, 0, 0.38);
}


/* Monitor antiguo. */
body.technology-page .old-monitor {
    position: absolute;

    top: 29%;
    left: 42%;

    width: 118px;
    height: 88px;

    background:
        linear-gradient(145deg,
            #252525,
            #4b4b4b);

    border:
        9px solid #383735;

    border-radius: 5px;

    box-shadow:
        0 8px 25px rgba(0, 0, 0, 0.34);
}


body.technology-page .old-monitor::before {
    content: "";

    position: absolute;

    top: 88px;
    left: 48%;

    width: 8px;
    height: 36px;

    background: #353330;

    transform:
        translateX(-50%);
}


body.technology-page .old-monitor::after {
    content: "";

    position: absolute;

    top: 118px;
    left: 50%;

    width: 64px;
    height: 7px;

    background: #353330;

    border-radius: 999px;

    transform:
        translateX(-50%);
}


/* Archivos físicos. */
body.technology-page .old-files {
    position: absolute;

    bottom: 17%;

    width: 100px;
    height: 19px;

    background: #bbb3a6;

    border:
        1px solid rgba(48, 45, 40, 0.26);

    box-shadow:
        0 -20px 0 #9e978c,
        0 -40px 0 #c8c0b3,
        0 -60px 0 #aaa297;
}


body.technology-page .file-one {
    left: 4%;
}


body.technology-page .file-two {
    left: 30%;

    transform:
        scale(0.82);
}


body.technology-page .file-three {
    right: 2%;

    transform:
        scale(1.08);
}


/* ==========================================================
   12. CIUDAD DEL FUTURO
   ========================================================== */

body.technology-page .future-city {
    position: absolute;

    inset:
        80px 20px 35px;

    overflow: hidden;
}


body.technology-page .building {
    position: absolute;

    bottom: 17%;

    background:
        linear-gradient(90deg,
            #19252a,
            #435b61 48%,
            #142126);

    border:
        1px solid rgba(255, 216, 130, 0.35);

    clip-path:
        polygon(12% 10%,
            50% 0,
            88% 10%,
            100% 100%,
            0 100%);

    box-shadow:
        inset 0 0 22px rgba(255, 202, 89, 0.25);
}


body.technology-page .building::before {
    content: "";

    position: absolute;

    inset: 12% 20%;

    background:
        repeating-linear-gradient(180deg,
            rgba(255, 211, 122, 0.90) 0 2px,
            transparent 2px 15px);
}


body.technology-page .building-one {
    left: 4%;

    width: 72px;
    height: 190px;
}


body.technology-page .building-two {
    left: 20%;

    width: 86px;
    height: 275px;
}


body.technology-page .building-three {
    left: 43%;

    width: 95px;
    height: 340px;
}


body.technology-page .building-four {
    right: 17%;

    width: 78px;
    height: 240px;
}


body.technology-page .building-five {
    right: 1%;

    width: 64px;
    height: 165px;
}


body.technology-page .future-road {
    position: absolute;

    right: -18%;
    bottom: -8%;

    width: 130%;
    height: 190px;

    border:
        4px solid rgba(255, 204, 100, 0.72);

    border-left-color:
        transparent;

    border-radius: 50%;

    transform:
        rotate(-7deg);

    box-shadow:
        0 0 18px rgba(255, 200, 90, 0.78),
        0 0 55px rgba(255, 195, 72, 0.40);
}


/* ==========================================================
   13. PUERTA DE TRANSFORMACIÓN
   ========================================================== */

body.technology-page .transformation-gate {
    position: absolute;

    top: 50%;
    left: 50%;

    z-index: 8;

    width: 115px;
    height: 390px;

    border:
        3px solid rgba(255, 216, 133, 0.92);

    border-radius: 8px;

    transform:
        translate(-50%, -50%) perspective(500px) rotateY(-18deg);

    box-shadow:
        0 0 18px rgba(255, 206, 101, 0.85),
        0 0 60px rgba(255, 190, 62, 0.65),
        inset 0 0 35px rgba(255, 207, 105, 0.20);

    animation:
        transformation-gate-glow 3.2s ease-in-out infinite;
}


body.technology-page .transformation-gate::before {
    content: "";

    position: absolute;

    inset: 12px;

    border:
        1px solid rgba(255, 224, 158, 0.76);
}


body.technology-page .transformation-gate span {
    position: absolute;

    left: 50%;

    width: 1px;
    height: 100%;

    background:
        rgba(255, 223, 154, 0.56);
}


body.technology-page .transformation-gate span:nth-child(1) {
    transform:
        translateX(-28px);
}


body.technology-page .transformation-gate span:nth-child(2) {
    transform:
        translateX(0);
}


body.technology-page .transformation-gate span:nth-child(3) {
    transform:
        translateX(28px);
}


@keyframes transformation-gate-glow {

    0%,
    100% {
        filter:
            brightness(0.95);
    }

    50% {
        filter:
            brightness(1.30);
    }

}


/* ==========================================================
   14. PARTÍCULAS
   ========================================================== */

body.technology-page .transformation-particles {
    position: absolute;

    top: 50%;
    left: 50%;

    z-index: 7;

    width: 260px;
    height: 360px;

    transform:
        translate(-68%, -50%);

    pointer-events: none;
}


body.technology-page .transformation-particles i {
    position: absolute;

    width: 8px;
    height: 8px;

    background:
        var(--technology-gold);

    border-radius: 2px;

    box-shadow:
        0 0 14px rgba(255, 198, 78, 0.72);

    animation:
        transformation-particle 3s ease-in-out infinite;
}


body.technology-page .transformation-particles i:nth-child(1) {
    top: 8%;
    left: 12%;
}


body.technology-page .transformation-particles i:nth-child(2) {
    top: 17%;
    left: 36%;

    animation-delay: 0.2s;
}


body.technology-page .transformation-particles i:nth-child(3) {
    top: 28%;
    left: 5%;

    animation-delay: 0.5s;
}


body.technology-page .transformation-particles i:nth-child(4) {
    top: 40%;
    left: 29%;

    animation-delay: 0.7s;
}


body.technology-page .transformation-particles i:nth-child(5) {
    top: 51%;
    left: 10%;

    animation-delay: 0.9s;
}


body.technology-page .transformation-particles i:nth-child(6) {
    top: 64%;
    left: 37%;

    animation-delay: 1.1s;
}


body.technology-page .transformation-particles i:nth-child(7) {
    top: 76%;
    left: 3%;

    animation-delay: 1.3s;
}


body.technology-page .transformation-particles i:nth-child(8) {
    top: 84%;
    left: 28%;

    animation-delay: 1.5s;
}


body.technology-page .transformation-particles i:nth-child(9) {
    top: 12%;
    left: 57%;

    animation-delay: 0.4s;
}


body.technology-page .transformation-particles i:nth-child(10) {
    top: 34%;
    left: 66%;

    animation-delay: 0.8s;
}


body.technology-page .transformation-particles i:nth-child(11) {
    top: 58%;
    left: 56%;

    animation-delay: 1.2s;
}


body.technology-page .transformation-particles i:nth-child(12) {
    top: 78%;
    left: 68%;

    animation-delay: 1.6s;
}


@keyframes transformation-particle {

    0%,
    100% {
        opacity: 0.25;

        transform:
            translateX(-18px) rotate(0deg) scale(0.70);
    }

    50% {
        opacity: 1;

        transform:
            translateX(35px) rotate(180deg) scale(1.25);
    }

}


/* ==========================================================
   15. TIMELINE DEL HERO
   ========================================================== */

body.technology-page .transformation-timeline {
    width: 92%;

    margin:
        24px auto 0;
}


body.technology-page .timeline-track {
    position: relative;

    height: 2px;

    background:
        linear-gradient(90deg,
            rgba(85, 79, 70, 0.25),
            var(--technology-gold),
            rgba(189, 140, 56, 0.30));
}


body.technology-page .timeline-point {
    position: absolute;

    top: 50%;

    display: block;

    width: 15px;
    height: 15px;

    background: #f7f2e9;

    border:
        2px solid var(--technology-gold);

    border-radius: 50%;

    transform:
        translate(-50%, -50%);
}


body.technology-page .point-past {
    left: 0;
}


body.technology-page .point-transformation {
    left: 50%;

    width: 19px;
    height: 19px;

    box-shadow:
        0 0 0 6px rgba(189, 140, 56, 0.12);
}


body.technology-page .point-future {
    left: 100%;
}


body.technology-page .timeline-labels {
    display: flex;

    align-items: center;
    justify-content: space-between;

    margin-top: 15px;

    color:
        var(--technology-soft);

    font-size: 0.56rem;

    letter-spacing: 0.15em;

    text-transform: uppercase;
}


body.technology-page .timeline-labels strong {
    color:
        var(--technology-gold);

    font-weight: 600;
}


/* El footer antiguo permanece en el HTML por ahora,
   pero la timeline actual lo reemplaza visualmente. */
body.technology-page .technology-hero-footer {
    display: none;
}


/* ==========================================================
   16. BEFORE TRANSFORMATION
   ========================================================== */

body.technology-page .before-transformation {
    width: 100%;

    padding:
        150px clamp(24px, 5vw, 84px) 155px;

    background:
        linear-gradient(180deg,
            #171512 0%,
            #100f0d 100%);

    color: #ffffff;
}


/* ==========================================================
   17. BEFORE HEADER
   ========================================================== */

body.technology-page .before-header {
    display: grid;

    grid-template-columns:
        minmax(250px, 0.72fr) minmax(450px, 1.28fr);

    gap: 80px;

    align-items: end;

    width: 100%;
    max-width: 1500px;

    margin:
        0 auto 90px;
}


body.technology-page .before-header .section-label {
    align-self: start;
}


body.technology-page .before-header h2 {
    grid-column: 2;

    max-width: 940px;

    margin: 0;

    font-family:
        "Cormorant Garamond",
        serif;

    font-size:
        clamp(3.6rem,
            6vw,
            7rem);

    font-weight: 500;

    line-height: 0.90;

    letter-spacing:
        -0.048em;
}


body.technology-page .before-header p {
    grid-column: 2;

    max-width: 720px;

    margin:
        30px 0 0;

    color:
        rgba(255, 255, 255, 0.57);

    font-size: 0.82rem;

    line-height: 1.9;
}


/* ==========================================================
   18. BEFORE DASHBOARD
   ========================================================== */

body.technology-page .before-dashboard {
    display: grid;

    grid-template-columns:
        minmax(220px, 0.95fr) minmax(260px, 1.18fr) minmax(220px, 0.95fr);

    grid-template-areas:
        "messages bookings invoices"
        "followup bookings visibility";

    gap: 24px;

    width: 100%;
    max-width: 1500px;

    margin:
        0 auto;
}


/* ==========================================================
   19. BEFORE CARDS
   ========================================================== */

body.technology-page .before-card {
    position: relative;

    min-height: 270px;

    padding: 32px;

    overflow: hidden;

    background:
        linear-gradient(145deg,
            rgba(255, 255, 255, 0.055),
            rgba(255, 255, 255, 0.018));

    border:
        1px solid rgba(255, 255, 255, 0.10);

    border-radius: 26px;

    transition:
        transform 0.35s ease,
        border-color 0.35s ease,
        background-color 0.35s ease;
}


body.technology-page .before-card:hover {
    border-color:
        rgba(223, 194, 132, 0.34);

    transform:
        translateY(-8px);
}


body.technology-page .card-messages {
    grid-area: messages;
}


body.technology-page .card-bookings {
    grid-area: bookings;

    min-height: 565px;
}


body.technology-page .card-invoices {
    grid-area: invoices;
}


body.technology-page .card-followup {
    grid-area: followup;
}


body.technology-page .card-visibility {
    grid-area: visibility;
}


/* ==========================================================
   20. CARD CONTENT
   ========================================================== */

body.technology-page .card-topline {
    display: flex;

    align-items: center;
    justify-content: space-between;

    color:
        rgba(255, 255, 255, 0.48);

    font-size: 0.57rem;

    letter-spacing: 0.13em;

    text-transform: uppercase;
}


body.technology-page .card-topline strong {
    color:
        var(--technology-gold-light);

    font-family:
        "Cormorant Garamond",
        serif;

    font-size: 2.2rem;
    font-weight: 500;
}


body.technology-page .before-card h3 {
    max-width: 280px;

    margin:
        42px 0 0;

    font-family:
        "Cormorant Garamond",
        serif;

    font-size: 2.15rem;
    font-weight: 500;

    line-height: 1;
}


body.technology-page .before-card p {
    max-width: 330px;

    margin:
        20px 0 0;

    color:
        rgba(255, 255, 255, 0.50);

    font-size: 0.72rem;

    line-height: 1.8;
}


/* ==========================================================
   21. DECORACIÓN — MESSAGES / INVOICES
   ========================================================== */

body.technology-page .message-list,
body.technology-page .invoice-lines {
    display: grid;

    gap: 11px;

    margin-top: 38px;
}


body.technology-page .message-list span,
body.technology-page .invoice-lines span {
    display: block;

    height: 7px;

    background:
        linear-gradient(90deg,
            rgba(255, 255, 255, 0.18),
            rgba(255, 255, 255, 0.04));

    border-radius: 999px;
}


body.technology-page .message-list span:nth-child(2),
body.technology-page .invoice-lines span:nth-child(3) {
    width: 72%;
}


body.technology-page .message-list span:nth-child(3),
body.technology-page .invoice-lines span:nth-child(2) {
    width: 48%;
}


/* ==========================================================
   22. CALENDAR PREVIEW
   ========================================================== */

body.technology-page .calendar-preview {
    display: grid;

    grid-template-columns:
        repeat(2, 1fr);

    gap: 16px;

    margin-top: 58px;
}


body.technology-page .calendar-preview span {
    display: grid;

    place-items: center;

    min-height: 100px;

    background:
        rgba(255, 255, 255, 0.035);

    border:
        1px solid rgba(255, 255, 255, 0.08);

    border-radius: 18px;

    color:
        rgba(255, 255, 255, 0.58);

    font-family:
        "Cormorant Garamond",
        serif;

    font-size: 2.2rem;
}


body.technology-page .calendar-preview span:nth-child(3) {
    border-color:
        rgba(189, 140, 56, 0.45);

    color:
        var(--technology-gold-light);
}


/* ==========================================================
   23. FOLLOW-UP ROUTE
   ========================================================== */

body.technology-page .followup-route {
    display: flex;

    align-items: center;

    gap: 16px;

    margin-top: 52px;
}


body.technology-page .followup-route i {
    display: block;

    width: 18px;
    height: 18px;

    background:
        rgba(255, 255, 255, 0.08);

    border:
        1px solid rgba(255, 255, 255, 0.16);

    border-radius: 50%;
}


body.technology-page .followup-route i:not(:last-child)::after {
    content: "";

    display: block;

    width: 35px;
    height: 1px;

    margin:
        8px 0 0 18px;

    background:
        rgba(255, 255, 255, 0.12);
}


/* ==========================================================
   24. VISIBILITY CHART
   ========================================================== */

body.technology-page .visibility-chart {
    display: flex;

    align-items: flex-end;

    gap: 10px;

    height: 92px;

    margin-top: 46px;
}


body.technology-page .visibility-chart span {
    flex: 1;

    background:
        linear-gradient(180deg,
            rgba(189, 140, 56, 0.55),
            rgba(189, 140, 56, 0.08));

    border-radius:
        8px 8px 0 0;
}


body.technology-page .visibility-chart span:nth-child(1) {
    height: 28%;
}


body.technology-page .visibility-chart span:nth-child(2) {
    height: 55%;
}


body.technology-page .visibility-chart span:nth-child(3) {
    height: 37%;
}


body.technology-page .visibility-chart span:nth-child(4) {
    height: 70%;
}


body.technology-page .visibility-chart span:nth-child(5) {
    height: 43%;
}


/* ==========================================================
   25. TRANSFORMATION TRIGGER
   ========================================================== */

body.technology-page .transformation-trigger {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 40px;

    width: 100%;
    max-width: 1500px;

    margin:
        80px auto 0;

    padding:
        38px 42px;

    background:
        linear-gradient(120deg,
            rgba(189, 140, 56, 0.14),
            rgba(255, 255, 255, 0.025));

    border:
        1px solid rgba(223, 194, 132, 0.22);

    border-radius: 28px;
}


body.technology-page .trigger-copy span {
    color:
        var(--technology-gold-light);

    font-size: 0.58rem;

    letter-spacing: 0.15em;

    text-transform: uppercase;
}


body.technology-page .trigger-copy h3 {
    margin:
        12px 0 0;

    font-family:
        "Cormorant Garamond",
        serif;

    font-size:
        clamp(2rem,
            3.5vw,
            3.6rem);

    font-weight: 500;
}


/* ==========================================================
   26. START TRANSFORMATION BUTTON
   ========================================================== */

body.technology-page .start-transformation {
    display: inline-flex;

    align-items: center;
    justify-content: space-between;

    gap: 24px;

    min-width: 330px;

    padding:
        19px 24px 19px 30px;

    background:
        var(--technology-gold);

    border:
        1px solid var(--technology-gold);

    border-radius: 999px;

    color: #171512;

    cursor: pointer;

    font-size: 0.66rem;
    font-weight: 700;

    letter-spacing: 0.10em;

    text-transform: uppercase;

    transition:
        transform 0.35s ease,
        background-color 0.35s ease,
        box-shadow 0.35s ease;
}


body.technology-page .start-transformation i {
    display: grid;

    place-items: center;

    width: 34px;
    height: 34px;

    background: #171512;

    border-radius: 50%;

    color: #ffffff;

    font-style: normal;
}


body.technology-page .start-transformation:hover {
    background:
        var(--technology-gold-light);

    transform:
        translateY(-4px);

    box-shadow:
        0 20px 55px rgba(189, 140, 56, 0.23);
}


/* ==========================================================
   27. TRANSFORMATION SYSTEM
   ========================================================== */

body.technology-page .transformation-system {
    width: 100%;

    padding:
        150px clamp(24px, 5vw, 84px) 170px;

    background:
        radial-gradient(circle at center,
            rgba(189, 140, 56, 0.12),
            transparent 42%),
        linear-gradient(180deg,
            #f7f2e9,
            #e9decd);

    color:
        var(--technology-text);
}


/* ==========================================================
   28. SYSTEM HEADING
   ========================================================== */

body.technology-page .system-heading {
    width:
        min(100%, 980px);

    margin:
        0 auto;

    text-align: center;
}


body.technology-page .system-heading .section-label {
    justify-content: center;
}


body.technology-page .system-heading h2 {
    margin:
        30px 0 0;

    font-family:
        "Cormorant Garamond",
        serif;

    font-size:
        clamp(3.8rem,
            6vw,
            7rem);

    font-weight: 500;

    line-height: 0.90;

    letter-spacing:
        -0.05em;
}


body.technology-page .system-heading p {
    margin:
        28px auto 0;

    color:
        var(--technology-muted);

    font-size: 0.80rem;

    letter-spacing: 0.08em;

    text-transform: uppercase;
}


/* ==========================================================
   29. SYSTEM PROGRESS
   ========================================================== */

body.technology-page .system-progress {
    display: flex;

    align-items: center;

    gap: 24px;

    width:
        min(100%, 880px);

    margin:
        58px auto 0;
}


body.technology-page .system-progress-track {
    flex: 1;

    height: 4px;

    overflow: hidden;

    background:
        rgba(23, 21, 18, 0.10);

    border-radius: 999px;
}


body.technology-page .system-progress-fill {
    width: 0;
    height: 100%;

    background:
        linear-gradient(90deg,
            var(--technology-gold),
            var(--technology-gold-light));

    border-radius: inherit;

    transition:
        width 0.45s ease;
}


body.technology-page .system-progress>span {
    min-width: 48px;

    color:
        var(--technology-gold);

    font-family:
        "Cormorant Garamond",
        serif;

    font-size: 1.5rem;
}


/* ==========================================================
   30. SYSTEM MAP
   ========================================================== */

body.technology-page .system-map {
    position: relative;

    display: grid;

    grid-template-columns:
        repeat(3,
            minmax(200px, 1fr));

    grid-template-areas:
        "website core ai"
        "booking core automation"
        "crm core analytics";

    gap:
        34px 70px;

    align-items: center;

    width: 100%;
    max-width: 1380px;

    min-height: 760px;

    margin:
        85px auto 0;

    padding: 60px;
}


body.technology-page .system-module,
body.technology-page .system-core {
    position: relative;

    z-index: 2;
}


/* ==========================================================
   31. SYSTEM MODULE
   ========================================================== */

body.technology-page .system-module {
    min-height: 150px;

    padding: 28px;

    background:
        rgba(255, 255, 255, 0.68);

    border:
        1px solid rgba(82, 62, 36, 0.14);

    border-radius: 24px;

    opacity: 0;

    transform:
        translateY(22px) scale(0.97);

    box-shadow:
        0 24px 65px rgba(74, 54, 28, 0.10);

    transition:
        opacity 0.65s ease,
        transform 0.65s ease,
        border-color 0.65s ease;
}


body.technology-page .system-module.active {
    opacity: 1;

    border-color:
        rgba(189, 140, 56, 0.34);

    transform:
        translateY(0) scale(1);
}


body.technology-page .system-module span {
    color:
        var(--technology-gold);

    font-size: 0.60rem;

    letter-spacing: 0.14em;
}


body.technology-page .system-module strong {
    display: block;

    margin-top: 25px;

    font-family:
        "Cormorant Garamond",
        serif;

    font-size: 2.15rem;
    font-weight: 500;
}


body.technology-page .system-module small {
    display: block;

    margin-top: 10px;

    color:
        var(--technology-muted);

    font-size: 0.65rem;

    line-height: 1.6;
}


/* ==========================================================
   32. POSICIÓN DE MÓDULOS
   ========================================================== */

body.technology-page .module-website {
    grid-area: website;
}


body.technology-page .module-booking {
    grid-area: booking;
}


body.technology-page .module-crm {
    grid-area: crm;
}


body.technology-page .module-ai {
    grid-area: ai;
}


body.technology-page .module-automation {
    grid-area: automation;
}


body.technology-page .module-analytics {
    grid-area: analytics;
}


/* ==========================================================
   33. SYSTEM CORE
   ========================================================== */

body.technology-page .system-core {
    grid-area: core;

    display: flex;
    flex-direction: column;

    align-items: center;
    justify-content: center;

    width: 320px;
    height: 320px;

    margin: auto;

    background:
        radial-gradient(circle at 35% 25%,
            rgba(255, 255, 255, 0.52),
            transparent 35%),
        linear-gradient(145deg,
            #cfaa63,
            #8a5c1d);

    border-radius: 50%;

    color: #fffaf0;

    text-align: center;

    box-shadow:
        0 0 0 22px rgba(189, 140, 56, 0.08),
        0 45px 110px rgba(110, 73, 25, 0.30);

    opacity: 0;

    transform:
        scale(0.85);

    transition:
        opacity 0.8s ease,
        transform 0.8s ease;
}


body.technology-page .system-map.started .system-core {
    opacity: 1;

    transform:
        scale(1);
}


body.technology-page .system-core span {
    font-size: 0.58rem;

    letter-spacing: 0.15em;

    text-transform: uppercase;
}


body.technology-page .system-core strong {
    margin-top: 15px;

    font-family:
        "Cormorant Garamond",
        serif;

    font-size: 3rem;
    font-weight: 500;

    line-height: 0.94;
}


body.technology-page .system-core small {
    margin-top: 18px;

    color:
        rgba(255, 250, 240, 0.68);

    font-size: 0.58rem;

    letter-spacing: 0.09em;

    text-transform: uppercase;
}


/* ==========================================================
   34. SYSTEM CONNECTIONS
   ========================================================== */

body.technology-page .system-connection {
    position: absolute;

    top: 50%;
    left: 50%;
    z-index: 1;

    width: 0;
    height: 1px;

    background:
        linear-gradient(90deg,
            rgba(189, 140, 56, 0.10),
            rgba(189, 140, 56, 0.82));

    transform-origin:
        left center;

    transition:
        width 0.8s ease;
}


body.technology-page .system-map.started .system-connection {
    width: 33%;
}


body.technology-page .connection-1 {
    transform:
        rotate(-152deg);
}


body.technology-page .connection-2 {
    transform:
        rotate(180deg);
}


body.technology-page .connection-3 {
    transform:
        rotate(152deg);
}


body.technology-page .connection-4 {
    transform:
        rotate(-28deg);
}


body.technology-page .connection-5 {
    transform:
        rotate(0deg);
}


body.technology-page .connection-6 {
    transform:
        rotate(28deg);
}


/* ==========================================================
   35. DARK THEME
   ========================================================== */

body.article-page.technology-page.dark-theme {
    --technology-bg: #11100e;

    --technology-surface:
        rgba(255, 255, 255, 0.045);

    --technology-text: #f5eee3;
    --technology-muted: #b8ad9f;
    --technology-soft: #8f877c;

    background: #11100e;

    color:
        var(--technology-text);
}


/* Hero Dark. */
body.technology-page.dark-theme .technology-hero {
    background:
        radial-gradient(circle at 74% 42%,
            rgba(189, 140, 56, 0.15),
            transparent 34%),
        linear-gradient(120deg,
            #151412 0%,
            #0d0c0a 100%);

    color: #f5eee3;
}


body.technology-page.dark-theme .technology-hero::before {
    background-image:
        linear-gradient(rgba(223, 194, 132, 0.035) 1px,
            transparent 1px),
        linear-gradient(90deg,
            rgba(223, 194, 132, 0.035) 1px,
            transparent 1px);
}


/* Escena Dark. */
body.technology-page.dark-theme .conventional-side {
    background:
        radial-gradient(circle at 60% 48%,
            rgba(255, 255, 255, 0.035),
            transparent 40%),
        linear-gradient(145deg,
            #1b1a18,
            #090909);
}


body.technology-page.dark-theme .innovative-side {
    background:
        radial-gradient(circle at 45% 42%,
            rgba(255, 203, 96, 0.20),
            transparent 31%),
        linear-gradient(145deg,
            #17120b,
            #090806);
}


body.technology-page.dark-theme .transformation-scene {
    border-color:
        rgba(223, 194, 132, 0.16);

    box-shadow:
        0 45px 120px rgba(0, 0, 0, 0.50);
}


body.technology-page.dark-theme .timeline-point {
    background: #11100e;
}


/* Sistema Dark. */
body.technology-page.dark-theme .transformation-system {
    background:
        radial-gradient(circle at center,
            rgba(189, 140, 56, 0.10),
            transparent 42%),
        #131210;
}


body.technology-page.dark-theme .system-module {
    background:
        linear-gradient(145deg,
            rgba(255, 255, 255, 0.055),
            rgba(255, 255, 255, 0.020));

    border-color:
        rgba(223, 194, 132, 0.15);

    color:
        var(--technology-text);

    box-shadow:
        0 24px 65px rgba(0, 0, 0, 0.27);
}


body.technology-page.dark-theme .system-progress-track {
    background:
        rgba(255, 255, 255, 0.10);
}


/* ==========================================================
   36. RESPONSIVE — LAPTOP / TABLET
   ========================================================== */

@media (max-width: 1180px) {

    body.technology-page .technology-hero-grid {
        grid-template-columns: 1fr;
    }


    body.technology-page .technology-hero-copy {
        max-width: 900px;

        margin:
            0 auto;

        text-align: center;
    }


    body.technology-page .technology-label {
        justify-content: center;
    }


    body.technology-page .technology-hero h1 {
        max-width: 900px;

        margin-right: auto;
        margin-left: auto;
    }


    body.technology-page .technology-hero-copy>p {
        margin-right: auto;
        margin-left: auto;
    }


    body.technology-page .technology-hero-visual {
        max-width: 1000px;

        margin:
            60px auto 0;
    }


    body.technology-page .before-header {
        grid-template-columns: 1fr;

        gap: 30px;

        text-align: center;
    }


    body.technology-page .before-header h2,
    body.technology-page .before-header p {
        grid-column: 1;

        margin-right: auto;
        margin-left: auto;
    }


    body.technology-page .before-header .section-label {
        justify-content: center;
    }


    body.technology-page .before-dashboard {
        grid-template-columns:
            repeat(2,
                minmax(0, 1fr));

        grid-template-areas:
            "messages bookings"
            "invoices bookings"
            "followup visibility";
    }


    body.technology-page .system-map {
        gap:
            25px 36px;

        padding:
            40px 0;
    }

}


/* ==========================================================
   37. RESPONSIVE — MÓVIL
   ========================================================== */

@media (max-width: 760px) {

    body.technology-page .technology-hero {
        padding:
            120px 18px 38px;
    }


    body.technology-page .technology-hero h1 {
        font-size:
            clamp(3.4rem,
                15vw,
                5rem);

        line-height: 0.88;
    }


    body.technology-page .transformation-scene {
        grid-template-columns: 1fr;

        min-height: 760px;
    }


    body.technology-page .scene-side {
        min-height: 380px;
    }


    body.technology-page .transformation-gate {
        top: 50%;

        width: 190px;
        height: 95px;

        transform:
            translate(-50%, -50%) perspective(500px) rotateX(18deg);
    }


    body.technology-page .transformation-gate span {
        top: 50%;
        left: 0;

        width: 100%;
        height: 1px;
    }


    body.technology-page .transformation-gate span:nth-child(1) {
        transform:
            translateY(-24px);
    }


    body.technology-page .transformation-gate span:nth-child(2) {
        transform:
            translateY(0);
    }


    body.technology-page .transformation-gate span:nth-child(3) {
        transform:
            translateY(24px);
    }


    body.technology-page .transformation-particles {
        top: 50%;

        width: 300px;
        height: 160px;

        transform:
            translate(-50%, -50%);
    }


    body.technology-page .before-transformation,
    body.technology-page .transformation-system {
        padding-right: 18px;
        padding-left: 18px;
    }


    body.technology-page .before-dashboard {
        grid-template-columns: 1fr;

        grid-template-areas:
            "messages"
            "bookings"
            "invoices"
            "followup"
            "visibility";
    }


    body.technology-page .card-bookings {
        min-height: auto;
    }


    body.technology-page .transformation-trigger {
        flex-direction: column;

        align-items: flex-start;

        padding:
            30px 24px;
    }


    body.technology-page .start-transformation {
        width: 100%;

        min-width: 0;
    }


    body.technology-page .system-map {
        grid-template-columns: 1fr;

        grid-template-areas:
            "core"
            "website"
            "booking"
            "crm"
            "ai"
            "automation"
            "analytics";

        gap: 18px;

        min-height: auto;

        padding:
            20px 0;
    }


    body.technology-page .system-core {
        width: 230px;
        height: 230px;

        margin-bottom: 35px;
    }


    body.technology-page .system-connection {
        display: none;
    }

}


/* ==========================================================
   38. MÓVILES PEQUEÑOS
   ========================================================== */

@media (max-width: 430px) {

    body.technology-page .technology-hero {
        padding:
            110px 14px 34px;
    }


    body.technology-page .technology-hero h1 {
        font-size:
            clamp(3rem,
                15vw,
                4.2rem);
    }


    body.technology-page .technology-hero-copy>p {
        font-size: 0.82rem;

        line-height: 1.75;
    }


    body.technology-page .technology-hero-button {
        width: 100%;

        padding:
            16px 22px;
    }


    body.technology-page .transformation-scene {
        min-height: 700px;

        border-radius: 24px;
    }


    body.technology-page .scene-side {
        min-height: 350px;
    }


    body.technology-page .old-business {
        inset:
            90px 18px 35px;

        transform:
            scale(0.85);

        transform-origin:
            center bottom;
    }


    body.technology-page .future-city {
        inset:
            70px 10px 25px;

        transform:
            scale(0.88);

        transform-origin:
            center bottom;
    }


    body.technology-page .before-transformation {
        padding-top: 100px;
        padding-bottom: 110px;
    }


    body.technology-page .before-header {
        margin-bottom: 55px;
    }


    body.technology-page .before-header h2 {
        font-size:
            clamp(3rem,
                13vw,
                4.3rem);
    }


    body.technology-page .before-card {
        min-height: auto;

        padding: 26px;

        border-radius: 22px;
    }


    body.technology-page .calendar-preview span {
        min-height: 80px;
    }


    body.technology-page .transformation-trigger {
        margin-top: 55px;

        padding:
            26px 20px;

        border-radius: 22px;
    }


    body.technology-page .transformation-system {
        padding-top: 105px;
        padding-bottom: 110px;
    }


    body.technology-page .system-heading h2 {
        font-size:
            clamp(3rem,
                13vw,
                4.4rem);
    }


    body.technology-page .system-progress {
        gap: 14px;

        margin-top: 40px;
    }


    body.technology-page .system-map {
        margin-top: 55px;
    }


    body.technology-page .system-module {
        min-height: auto;

        padding: 24px;

        border-radius: 20px;
    }


    body.technology-page .system-core {
        width: 205px;
        height: 205px;
    }


    body.technology-page .system-core strong {
        font-size: 2.45rem;
    }

}


/* ==========================================================
   39. REDUCED MOTION
   ========================================================== */

@media (prefers-reduced-motion: reduce) {

    body.technology-page .transformation-gate,
    body.technology-page .transformation-particles i {
        animation: none;
    }


    body.technology-page .technology-hero-button,
    body.technology-page .before-card,
    body.technology-page .start-transformation,
    body.technology-page .system-progress-fill,
    body.technology-page .system-module,
    body.technology-page .system-core,
    body.technology-page .system-connection {
        transition: none;
    }


    body.technology-page .technology-hero-button:hover,
    body.technology-page .before-card:hover,
    body.technology-page .start-transformation:hover {
        transform: none;
    }

}