/***************************** BACKGROUND && FONTS *****************************/
@font-face {
    font-family: 'Montserrat';
    src: url('../fonts/montserrat/Montserrat-Bold.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Futura';
    src: url('../fonts/futura-pt/futura-light.ttf') format('opentype');
    font-weight: 400;
    font-style: normal;
}

html, body {
    margin: 0;
    font-family: 'Futura', 'Helvetica', 'Arial', sans-serif;
    color: #252425;
    overflow-x: hidden;
    position: relative;
    transition: background 0.5s ease;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
}

/***************************** 100% HEIGHT *****************************/
/* Global CSS */
:root {
    --vh: 100%; /* fallback */
}

.full-height {
    height: calc(var(--vh, 1vh) * 100);
}

/***************************** UGC LOADER *****************************/
.ugc-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: #fefefe;
    /*background-image: url("https://www.transparenttextures.com/patterns/tileable-wood-colored.png");*/
    background-image: url("../images/ugc.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 1s ease;
}

.ugc-circle {
    position: relative;
    width: 200px;
    height: 200px;
    border: 5px solid #333;
    border-radius: 50%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ugc-label {
    position: relative;
    z-index: 2;
    font-size: 2.2rem;
    font-weight: bold;
    text-align: center;
}

.ugc-fill {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 0%;
    background: rgba(51, 51, 51, 0.3);
    z-index: 1;
    transition: height 0.1s ease;
}

.ugc-percent {
    margin-top: 20px;
    font-size: 1.2rem;
    font-weight: bold;
    color: #555;
}

/***************************** COOKIES *****************************/
#cookie-banner {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: #eeebe6;
    padding: 1.5rem;
    border: 1px solid #ccc;
    border-radius: 12px;
    z-index: 9997;
    width: 85%;
    max-width: 600px;
    font-size: 0.9rem;
    box-shadow: 0 0 12px rgba(0,0,0,0.15);
}

.cookie-banner-content p {
    margin: 0 0 1rem;
    font-size: 0.95rem;
}

.cookie-banner-content a {
    color: #3f5048;
    text-decoration: underline;
}

.cookie-buttons {
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
    margin-top: 1rem;
}

.cookie-buttons button {
    padding: 0.6rem 1.2rem;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: bold;
    font-family: inherit;
    font-size: 0.9rem;
    transition: background 0.3s ease;
}

.cookie-buttons button:first-child {
    background-color: #8fc563;
    color: white;
}

.cookie-buttons button:last-child {
    background-color: #e0e0e0;
    color: #333;
}

.cookie-buttons button:hover {
    opacity: 0.9;
}

/***************************** BUTTERFLY ANIMATION *****************************/
.butterfly-container {
    position: fixed;
    top: 80px;
    left: 15px;
    width: 60px;
    height: 100vh;
    pointer-events: none;
    z-index: 900;
}

.butterfly {
    position: absolute;
    width: 40px;
    height: auto;
    transform-origin: center center;
}

.plant-track {
    position: fixed;
    top: 50px;
    left: 15px;
    width: 60px;
    height: 100%;
    z-index: 10;
    pointer-events: none;
}

.plant-track svg {
    width: 100%;
    height: 100%;
}

/***************************** INTRO CONTENT - INAGE & CIRCLE *****************************/
.hero {
    min-height: calc(var(--vh, 1vh) * 100);
    text-align: center;
    padding: 100px 20px;
    background: linear-gradient(180deg, #fbe9f1 0%, #f1d1b1 20%, #e6e2db 60%, #eeebe6 100%);
}

.hero .intro-hook {
    font-size: 1.5rem;
    font-weight: 500;
    margin-top: 10px;
    line-height: 1.7;
}

.hero .intro-teaser {
    font-size: 1.4rem;
    font-weight: 500;
    margin-top: 10px;
    color: #252525;
    text-align: left;
}

.teaser-list {
    list-style: none;
    padding: 0;
    margin: 20px auto;
    max-width: 800px;
}

.teaser-list li {
    margin: 25px 0;
    display: flex;
    align-items: flex-start;
}

.teaser-icon {
    margin-right: 10px;
    font-size: 1.2rem;
}

.teaser-list li span {
    display: inline-block;
    white-space: normal;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
    line-height: 1.7;
}

.teaser-list li span.visible {
    opacity: 1; /* Reveal when typed */
    transform: translateY(0); /* Move into place */
}

.profile-circle {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
}

.circle-wrapper {
    position: relative;
    width: 180px;
    height: 180px;
}

.circle {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: linear-gradient(45deg, #fbe9f1, #f1d1b1, #e6e2db, #eeebe65e);
    animation: spin 0.5s linear infinite;
    z-index: 100;
}

.circle-img {
    position: absolute;
    top: 10px;
    left: 10px;
    width: 160px;
    height: 160px;
    border-radius: 50%;
    object-fit: cover;
    z-index: 101;
}

.star {
    position: absolute;
    width: 6px;
    height: 6px;
    background-color: #1484cf;
    border-radius: 50%;
    box-shadow: 0 0 10px 4px rgba(107, 122, 207, 0.7);
    opacity: 1;
    transform: translate(-50%, -50%);
    animation: moveStar 2s linear forwards;
    z-index: 98;
}

@keyframes moveStar {
    to {
        transform: translate(var(--x), var(--y));
        opacity: 0;
    }
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes decelerate {
    from { transform: rotate(0deg); }
    to { transform: rotate(1080deg); } /* 3 full turns */
}

.circle {
    animation: spin 0.5s linear infinite;
}

.circle.decelerate {
    animation: decelerate 5s ease-out forwards;
}

.stats-circles {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin: 40px auto 20px;
    max-width: 600px;
    flex-wrap: wrap;
}

.stat-circle {
    width: 130px;
    height: 130px;
    border-radius: 50%;
    background: linear-gradient(135deg, #9aa690, #fae3d9);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    animation: popIn 0.8s ease-out forwards;
    opacity: 0;
    transform: scale(0.8);
}

.circle-count {
    font-size: 2rem;
    font-weight: bold;
    color: #252525;
}

.circle-label {
    margin-top: 6px;
    font-size: 0.95rem;
    color: #333;
    text-align: center;
    line-height: 1.2;
    font-weight: bold;
}

@keyframes popIn {
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/***************************** ABOUT ME CONTENT *****************************/
.sobre-mi {
    background: linear-gradient(to right, #44514a 0%, #9aa690 100%);
    color: #edeae5;
}

.sobre-mi-container {
    min-height: calc(var(--vh, 1vh) * 100);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    max-width: 1200px;
    margin: auto;
    padding: 60px 20px;
    flex-direction: row;
}

.sobre-mi-text {
    flex: 1 1 55%;
    font-size: 1.6em;
    line-height: 1.9em;
    color: #edeae5;
}

.sobre-mi-text h2 {
    font-size: 2em;
    margin-bottom: 1em;
}

.sobre-mi-text p {
    margin-bottom: 1.2em;
}

.sobre-mi-text p:nth-child(2) { color: #d7cbbd; }
.sobre-mi-text p:nth-child(3) { color: #d7cbbd; }
.sobre-mi-text p:nth-child(4) { color: #d7cbbd; }
.sobre-mi-text p:nth-child(5) { color: #edeae5; font-weight: bold; }

.sobre-mi-image {
    flex: 1 1 35%;
    text-align: right;
}

.sobre-mi-image img {
    max-width: 550%;
    height: auto;
    border-radius: 0;
    margin-top: -300px;
}

/* Last sentence */
.cta-full {
    width: 100%;
    max-width: 100%;
    text-align: center;
    padding: 0;
    margin-top: 10px;
    font-size: 1.2em;
    font-weight: bold;
    display: block;
}

/* Animations */
@keyframes slideInRight {
    0% { transform: translateX(200%); opacity: 0; }
    100% { transform: translateX(-20%); opacity: 1; }
}

@keyframes fadeInUp {
    0% { transform: translateY(100px); opacity: 0; }
    100% { transform: translateY(0); opacity: 1; }
}

.sobre-mi-image img {
    animation: slideInRight 1.2s ease forwards;
    opacity: 0;
}

.sobre-mi-text p {
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
    animation-delay: var(--delay);
}

.sobre-mi-text p:nth-child(2) { --delay: 0.2s; }
.sobre-mi-text p:nth-child(3) { --delay: 0.5s; }
.sobre-mi-text p:nth-child(4) { --delay: 0.8s; }
.sobre-mi-text p:nth-child(5) { --delay: 1.1s; }

.scroll-animate-up,
.scroll-animate-right {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.scroll-animate-right {
    transform: translateX(50px);
}

.scroll-animate-visible {
    opacity: 1;
    transform: translate(0, 0);
}

/***************************** TYPES CONTENT *****************************/
.content-section {
    min-height: calc(var(--vh, 1vh) * 100);
    padding: 100px 20px;
    text-align: center;
    background: #edeae5;
    background-image: url("https://www.transparenttextures.com/patterns/skulls.png");
    position: relative;
    overflow: hidden;
}

.content-section h2 {
    font-size: 2rem;
    margin-bottom: 30px;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.content-section.visible h2 {
    opacity: 1;
    transform: translateY(0);
}

.content-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    max-width: 800px;
    margin: 0 auto;
}

.content-item {
    flex: 1 1 400px;
    padding: 20px;
    background: #d5cdc294;
    border-radius: 10px;
    text-align: left;
    min-height: 100px;
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.15); /* Shading toward all sides */
}

.content-item h3 {
    font-size: 1.7rem;
    color: #252525;
    margin-bottom: 10px;
}

.content-item ul {
    list-style: none;
    padding: 0;
}

.content-item ul li {
    font-size: 1.5rem;
    color: #252525;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
}

.content-item ul li::before {
    content: attr(data-emoji);
    margin-right: 10px;
    font-size: 1.5rem;
}

.content-item ul li span {
    display: inline-block;
    white-space: normal;
    opacity: 0;
}

.stamp {
    position: absolute;
    top: 68%;
    left: 70%;
    width: 300px;
    height: 300px;
    opacity: 0;
    z-index: 100;
    transform: translate(100vw, 100vh) scale(0.5) rotate(45deg);
    pointer-events: none;
}

.stamp::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('../icons/stamp\,\ txt.png') no-repeat center/contain;
    background-size: contain;
}

.stamp.animate {
    animation: stampMove 1s ease forwards;
}

.stamp.animated-once {
    transform: translate(-50%, -50%) scale(1) rotate(-10deg);
    opacity: 1;
    animation: none !important;
}

.content-section.visible .stamp {
    animation: stampMove 1s ease 4s forwards;
}

@keyframes stampMove {
    0% {
        opacity: 0;
        transform: translate(100vw, 100vh) scale(0.5) rotate(30deg);
    }
    70% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1.2) rotate(-5deg);
    }
    100% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1) rotate(-10deg);
    }
}

.ink-drop {
    position: absolute;
    background: rgba(139, 0, 0, 0.7);
    border-radius: 50%;
    opacity: 0;
}

.content-section.visible .ink-drop:nth-child(1) {
    width: 20px;
    height: 20px;
    top: 40%;
    left: 40%;
    animation: inkSpread 0.5s ease 5s forwards;
}

.content-section.visible .ink-drop:nth-child(2) {
    width: 15px;
    height: 15px;
    top: 60%;
    left: 60%;
    animation: inkSpread 0.5s ease 5.2s forwards;
}

.content-section.visible .ink-drop:nth-child(3) {
    width: 25px;
    height: 25px;
    top: 45%;
    left: 55%;
    animation: inkSpread 0.5s ease 5.1s forwards;
}

@keyframes inkSpread {
    0% {
        opacity: 0.7;
        transform: scale(0);
    }
    100% {
        opacity: 0;
        transform: scale(2);
    }
}

/***************************** VIDEO CONTENT *****************************/
.video-section {
    min-height: calc(var(--vh, 1vh) * 100);
    padding: 10px 20px;
    text-align: center;
    background: linear-gradient(180deg, #fbe9f1 0%, #f1d1b1 20%, #e6e2db 60%, #eeebe6 100%);
    position: relative;
    overflow: hidden;
}

.video-section h2 {
    font-size: 2em;
}

.video-banner {
    padding: 30px 20px;
    text-align: center;
    margin: 0 auto;
    font-size: 1.2em;
    position: relative;
    width: 80%;
    z-index: 10;
    box-shadow: inset 0 -1px 0 rgba(255,255,255,0.1);
}

.video-banner::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px; /* thickness */
    background: linear-gradient(to right, transparent, #3f5048, #2a3530, #3f5048, transparent);
    opacity: 0.8;
    pointer-events: none;
}

.video-banner p {
    margin: 0;
    line-height: 1.6;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.video-banner strong {
    color: #3f5048;
    text-shadow: 1px 1px 2px #0000006c;
}

.video-banner p::first-line {
    color: #252525;
}

/* Video Content*/
.video-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    text-align: left;
}

.video-strip {
    display: flex;
    flex-wrap: nowrap;
    gap: 0;
    overflow-x: auto;
    padding-bottom: 10px;
    scrollbar-width: thin;
    scrollbar-color: #3f5048 transparent;
}

.video-frame {
    flex: 0 0 auto;
    width: 130px;
    height: 250px;
    background-size: cover;
    background-position: center;
    clip-path: polygon(
    10% 0%, 90% 0%,
    100% 10%, 100% 90%,
    90% 100%, 10% 100%,
    0% 90%, 0% 10%
    );            
    border-radius: 0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin: 10px;
    position: relative;
    cursor: pointer;
}

.video-frame:hover {
    opacity: 1;
    transform: scale(1.05);
    box-shadow: 0 4px 30px rgba(255,255,255,0.1);
    animation-play-state: paused;
}

.video-frame.flip {
    animation: flip var(--duration, 3s) infinite alternate;
    animation-delay: var(--delay, 0s);
}

@keyframes flip {
    0%   { transform: rotateY(0deg); }
    100% { transform: rotateY(180deg); }
}

.video-frame::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(255,255,255,0.1), rgba(0,0,0,0.2));
    mix-blend-mode: overlay;
    transition: all 0.4s ease;
}

.video-strip::-webkit-scrollbar {
    height: 6px; /* thinner */
}

.video-strip::-webkit-scrollbar-track {
    background: transparent;
}

.video-strip::-webkit-scrollbar-thumb {
    background: linear-gradient(120deg, #2e5a93, #58a4f8);
    border-radius: 10px;
}

.video-strip::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(120deg, #3b75c2, #76c2ff);
}

.popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: #3f5048;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.popup iframe {
    height: 100vh;
    width: 100vw;
    max-width: 100vw;
    max-height: 100vh;
    border: none;
    border-radius: 0;
    display: block;
}

.close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    color: #ff0202;
    font-size: 30px;
    cursor: pointer;
}

/***************************** WORKS CONTENT *****************************/
.work-section {
    min-height: calc(var(--vh, 1vh) * 100);
    padding: 100px 20px;
    text-align: center;
    background: #edeae5;
    background-image: url("https://www.transparenttextures.com/patterns/connected.png");
    position: relative;
    overflow: hidden;
}

.work-text h2 {
    font-size: 2em;
    margin-bottom: 1em;
}

.flow-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
    position: relative;
    padding: 60px 20px;
    flex-direction: row;
    flex-grow: 1;
}

.work-block {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.work {
    width: 320px;
    height: 320px;
    border-radius: 50%;
    background: linear-gradient(180deg, #eeebe6 0%, #e6e2db 20%, #f1d1b1 60%, #fbe9f1 100%);
    border: 5px solid #3f5048;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.15);
    text-align: center;
    padding: 20px;
    z-index: 2;
    position: relative;
    opacity: 0;
    transform: translateY(60px) scale(0.85);
}

.scroll-animate-visible .work {
    animation: flyIn 1.4s ease-out forwards, borderGlow 2s ease-out 1;
}

.work-block:nth-child(1) .work { animation-delay: 0s, 0s; }
.work-block:nth-child(2) .work { animation-delay: 0.5s, 0.5s; }
.work-block:nth-child(3) .work { animation-delay: 1s, 1s; }

.work img {
    width: 120px;
    height: 120px;
    margin-bottom: 12px;
    filter: drop-shadow(0 0 5px #aaa);
}

.work h3 {
    margin: 0;
    font-size: 22px;
    color: #18182f;
}

.description {
    margin-top: 8px;
    font-size: 14px;
    color: #444;
}

@keyframes flyIn {
    0% {
        opacity: 0;
        transform: translateY(60px) scale(0.85);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes borderGlow {
    0% {
        box-shadow: 0 0 0 transparent;
        border-color: #8c7c6d;
    }
    50% {
        box-shadow: 0 0 0 transparent;
        border-color: #8c7c6d;
    }
    100% {
        box-shadow: 0 0 0 transparent;
        border-color: #3f5048;
    }
}

/***************************** CONTACT CONTENT *****************************/
.contact-section {
    min-height: calc(var(--vh, 1vh) * 100);
    padding: 60px 20px;
    text-align: center;
    background-color: #d7cbbd;
    background-image: url("https://www.transparenttextures.com/patterns/light-wool.png");
    position: relative;
    overflow: hidden;
}

.page-description {
    text-align: center;
    color: #333;
    margin-bottom: 20px;
    font-size: 1.2rem;
    line-height: 1.7;
}

.contact-form {
    background-color: #8c7c6d44;
    color: #3f5048;
    padding: 20px;
    border-radius: 8px;
    max-width: 800px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    margin: 0 auto;
}

.contact-section h2 {
    font-size: 2em;
    margin-bottom: 1em;
}

label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: #3f5048;
}

input, textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    background-color: #d7cbbd;
    font-family: 'Futura', 'Helvetica', 'Arial', sans-serif;
    font-size: 1.2rem;
}

textarea {
    resize: vertical;
}

button {
    background-color: #b5a088;
    color: #3f5048;
    padding: 10px 20px;
    border: 1px solid #ccc;
    border-radius: 4px;
    cursor: pointer;
    font-family: 'Futura', 'Helvetica', 'Arial', sans-serif;
    font-size: 1.2rem;
    font-weight: bold;
    width: 100%;
}

button:hover {
    background-color: #64c579;
}

#thank-you-message {
    display: none; /* show it when needed */
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    padding: 20px;
    background-color: #e6ffe6;
    border-radius: 8px;
    color: #333;
    z-index: 999;
    max-width: 450px;
}

#birthday-icons {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1000;
}

.birthday-icon {
    position: absolute;
    font-size: 2em;
    animation: float 5s ease-in-out infinite;
    opacity: 0.8;
}

@keyframes float {
    0% {
        transform: translateY(100vh) translateX(0);
        opacity: 0.8;
    }
    50% {
        transform: translateY(50vh) translateX(calc(10px * var(--direction)));
        opacity: 0.5;
    }
    100% {
        transform: translateY(0) translateX(calc(20px * var(--direction)));
        opacity: 0;
    }
}

/***************************** FOOTER *****************************/
.site-footer {
    text-align: center;
    color: #252525;
    margin-top: 200px;
    margin-bottom: 5px;
    font-size: 0.9em;

    /* Fancy background with gradient and transparency */
    background: linear-gradient(135deg, #f6e8dccc, #d5c1b3cc);
    border-radius: 16px;
    padding: 1.5rem;

    /* Glassmorphism touch */
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);

    /* Elegant shadow */
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 10px;
}

.social-icons a img {
    width: 28px;
    height: 28px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.social-icons a img:hover {
    transform: scale(1.2);
    opacity: 0.8;
}

.counters {
    margin: 0; /* 10px 0 */
    font-size: 0; /* 14px */
    color: #252525;
    visibility: hidden;
    height: 0;
}

.counters span {
    margin-right: 10px;
}

/***************************** MOBILE STYLES *****************************/
@media (max-width: 600px) {
    
    #cookie-banner {
        font-size: 0.9rem;
        padding: 1.2rem;
        bottom: 20px;
    }
    
    .cookie-buttons {
        flex-direction: column;
        align-items: stretch;
    }
    
    .cookie-buttons button {
        width: 100%;
    }
    
    /**************************************************************************/
    .sobre-mi-container {
        flex-direction: row;
        flex-wrap: nowrap;
        gap: 10px;
        padding: 20px 10px;
        z-index: 910;
        position: relative; /* Added to position .cta-full */
    }
    
    .sobre-mi-text {
        flex: 1 1 60%;
        text-align: left;
        font-size: 1.15em;
        line-height: 1.85;
        z-index: 910;
        position: relative;
        padding-right: 5px; /* Reduced padding to give more space */
    }
    
    .sobre-mi-text p:nth-child(2) {
        margin-right: -50px;
    }
    
    .sobre-mi-text p:nth-child(4) {
        margin-right: 5px;
    }
    
    .sobre-mi-image {
        flex: 1 1 40%;
        text-align: right;
        position: relative;
        z-index: 1;
    }
    
    .sobre-mi-image img {
        max-width: 400%;
        height: auto;
        object-fit: contain;
        animation: slideInRight 1.2s ease forwards;
        margin-top: -200px;
    }
    
    .cta-full {
        position: absolute; /* Break out of .sobre-mi-text */
        left: 0;
        right: 0;
        bottom: -50px;
        text-align: center;
        padding: 0 10px;
        font-size: 1em;
        line-height: 1.5em;
        white-space: nowrap;
        width: 100%;
        z-index: 920;
    }
    
    @keyframes slideInRight {
        0% { transform: translateX(100%); opacity: 0; }
        100% { transform: translateX(-42%); opacity: 1; }
    }
    
    /**************************************************************************/
    .content-section {
        padding: 100px 20px;
    }
    
    .content-section h2 {
        font-size: 2rem;
        margin-bottom: 60px;
    }
    
    .content-item {
        flex: 1 1 300px;
    }
    
    .content-item h3 {
        font-size: 1.3rem;
    }
    
    .content-item ul li {
        font-size: 1.2rem;
        line-height: 1.5;
    }
    
    .content-item ul li::before {
        font-size: 1.2rem;
    }
    
    .stamp {
        width: 250px;
        height: 250px;
        top: 85%;
    }
    
    /**************************************************************************/
    .video-banner {
        font-size: 1em;
        padding: 10px 5px;
        margin-bottom: 3px;
    }
    
    .video-frame {
        width: 50px;
        height: 100px;
        margin: 2px;
    }
    
    .popup {
        max-height: 95%;
        align-items: center;
    }
    
    .popup iframe {
        max-height: 90%;
        z-index: 1000;
        align-items: center;
    }
    
    .close-btn {
        font-size: 3rem;
        top: 20px;
        right: 20px;
        z-index: 1100;
    }
    
    /**************************************************************************/
    .work-section {
        padding: 50px 20px;
    }
    
    .flow-container {
        margin-top: -30px;
        flex-direction: column;
        gap: 20px;
    }
    
    .work {
        width: 220px;
        height: 220px;
    }
    
    .work img {
        width: 70px;
        height: 70px;
    }
    
    .work h3 {
        font-size: 26px;
    }
    
    .description {
        font-size: 16px;
    }
    
    /**************************************************************************/
    .contact-form {
        max-width: 85%;
        font-size: 1.15em;
        line-height: 1.85;
    }
    
    #thank-you-message {
        width: 85%;
        min-width: 85%;
        max-width: 85%;
    }
    
    .site-footer {
        margin-top: 150px;
        margin-bottom: 10px;
    }
}