@font-face {
    font-family: 'SVQ-Justa';
    src: url('/fonts/SVQ-Justa.woff2') format('woff2'),
        url('/fonts/SVQ-Justa.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

:root {
    --almagra: #A92A23;
    --albero: #EAB724;
    --azul-fresco: #006186;
    --off-white: #FCF9F2;
    --text-dark: #1a1a1a;
    --glass-bg: rgba(252, 249, 242, 0.7);
    --font-serene: 'SVQ-Justa', serif;
    --font-accent: 'SVQ-Justa', cursive;
    --font-modern: 'Outfit', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--off-white);
    color: var(--text-dark);
    font-family: var(--font-modern);
    overflow-x: hidden;
}

/* Background Lunares (Dots) */
.dots-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
}

.dot {
    position: absolute;
    width: 40px;
    height: 40px;
    background-color: var(--almagra);
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 28'%3E%3Cpath d='M15.2,7.3c0,0,1.7-4.1,2.4-5.3c0.3-0.5-0.4-1-0.8-0.5c-1.1,1.4-2.8,4.1-2.8,4.1s-1-3.2-1.4-4.5 C12.3,0.3,11.5,0.3,11.3,1c-0.4,1.4-1.4,4.5-1.4,4.5S8.3,2.8,7.1,1.4C6.7,1,6,1.4,6.3,2c0.7,1.2,2.4,5.3,2.4,5.3 C5.1,8.9,2.5,12.7,2.5,17c0,5.2,4.3,9.5,9.5,9.5s9.5-4.3,9.5-9.5C21.5,12.7,18.9,8.9,15.2,7.3z' fill='black'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 28'%3E%3Cpath d='M15.2,7.3c0,0,1.7-4.1,2.4-5.3c0.3-0.5-0.4-1-0.8-0.5c-1.1,1.4-2.8,4.1-2.8,4.1s-1-3.2-1.4-4.5 C12.3,0.3,11.5,0.3,11.3,1c-0.4,1.4-1.4,4.5-1.4,4.5S8.3,2.8,7.1,1.4C6.7,1,6,1.4,6.3,2c0.7,1.2,2.4,5.3,2.4,5.3 C5.1,8.9,2.5,12.7,2.5,17c0,5.2,4.3,9.5,9.5,9.5s9.5-4.3,9.5-9.5C21.5,12.7,18.9,8.9,15.2,7.3z' fill='black'/%3E%3C/svg%3E");
    -webkit-mask-size: contain;
    mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;
    opacity: 0;
    animation: fadeInOut 8s infinite ease-in-out;
}

@keyframes fadeInOut {

    0%,
    100% {
        opacity: 0;
        transform: scale(0.5);
    }

    50% {
        opacity: 0.15;
        transform: scale(1.1);
    }
}

/* Abanico (Fan) Decorations */
.fan-decoration {
    position: fixed;
    width: 300px;
    height: 300px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath d='M50 100 C 50 100, 0 80, 0 50 C 0 20, 20 0, 50 0 C 80 0, 100 20, 100 50 C 100 80, 50 100, 50 100' fill='%23EAB724' opacity='0.1'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    z-index: -1;
    opacity: 0.2;
    filter: grayscale(0.5);
}

.fan-top-right {
    top: -50px;
    right: -50px;
    transform: rotate(-15deg);
    animation: floatFan 10s infinite ease-in-out alternate;
}

.fan-bottom-left {
    bottom: -50px;
    left: -50px;
    transform: rotate(165deg);
    animation: floatFan 12s infinite ease-in-out alternate-reverse;
}

@keyframes floatFan {
    from {
        transform: rotate(-15deg) translateY(0);
    }

    to {
        transform: rotate(-10deg) translateY(20px);
    }
}

/* Sections */
.v-section {
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding: 5rem 2rem 5rem 2rem;
    /* Reduced default bottom padding */
    text-align: center;
}

/* Specific padding for sections with titles to maintain card symmetry */
#features,
#stats,
#donar {
    padding-bottom: 12rem;
}

/* Hero */
#hero {
    background: radial-gradient(circle at center, transparent 0%, rgba(0, 97, 134, 0.05) 100%);
}

header {
    position: absolute;
    top: 2rem;
    width: 100%;
}

.logo {
    font-family: var(--font-serene);
    font-size: 2.2rem;
    letter-spacing: 2px;
    color: var(--almagra);
    font-weight: 400;
}

.title-fejjeton {
    font-family: var(--font-serene);
    font-size: clamp(3rem, 10vw, 6rem);
    color: var(--almagra);
    text-transform: none;
    letter-spacing: 1px;
    margin-bottom: 0.2rem;
    opacity: 0;
    animation: heroSlideUp 1s cubic-bezier(0.16, 1, 0.3, 1) 0.1s forwards,
        heartbeat 6s infinite ease-in-out 1.2s;
}

.hero-details-top {
    margin-bottom: 1.5rem;
    opacity: 0;
    animation: heroSlideUp 1s cubic-bezier(0.16, 1, 0.3, 1) 0.35s forwards;
}

.cta-group {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    margin-top: 2rem;
    opacity: 0;
    animation: heroSlideUp 1s cubic-bezier(0.16, 1, 0.3, 1) 0.55s forwards;
}

.gallery-wrapper {
    position: relative;
    width: 260px;
    height: 340px;
    margin: 3rem auto;
    perspective: 1000px;
    opacity: 0;
    animation: heroSlideUp 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.75s forwards;
}

.hero-content {
    width: 100%;
    max-width: 750px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-video-wrapper {
    width: 100%;
    max-width: 100%;
    padding-bottom: 56.25%; /* 16:9 ratio */
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(169, 42, 35, 0.1);
    background: #000;
    border-radius: 12px;
}

.hero-video-wrapper video,
.hero-video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 12px;
}

@keyframes heroSlideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes heartbeat {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.02);
    }
}

/* Gallery / Photo Stack */

.hero-details-top .subtitle {
    font-size: clamp(1rem, 4vw, 1.5rem);
    margin-bottom: 0.2rem;
}

.hero-details-top .date-tag {
    font-size: 0.9rem;
    margin-bottom: 0;
}

.photo-stack {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
}

.photo-card {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 20px;
    background-size: cover;
    background-position: center;
    border: 8px solid var(--albero);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.8s ease, box-shadow 0.8s ease;
    will-change: transform, opacity;
}

.photo-card:nth-child(1) {
    transform: rotate(2deg);
    z-index: 3;
}

.photo-card:nth-child(2) {
    transform: rotate(-2.5deg) scale(0.97);
    z-index: 2;
}

.photo-card:nth-child(3) {
    transform: rotate(3.5deg) scale(0.94);
    z-index: 1;
}

.swipe-heart {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    color: var(--albero);
    filter: drop-shadow(0 0 25px rgba(169, 42, 35, 0.6));
    pointer-events: none;
    z-index: 10;
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275),
        opacity 0.3s ease;
    opacity: 0;
}

.swipe-heart i,
.swipe-heart svg {
    width: 100px;
    height: 100px;
    stroke-width: 2;
    fill: var(--almagra);
}

.swipe-heart.active {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
}

.photo-card.swiped {
    transform: translateX(130%) rotate(18deg) !important;
    opacity: 0;
    z-index: 10;
    transition: transform 0.75s cubic-bezier(0.55, 0, 1, 0.45),
        opacity 0.75s ease !important;
}

/* Base state for cards when resetting to the back */
.photo-card.resetting {
    transition: none !important;
    transform: scale(0.88) translateY(20px) !important;
    opacity: 0;
    box-shadow: none;
}

.albero-text {
    font-family: var(--font-accent);
    color: var(--albero);
}

.subtitle {
    font-size: clamp(1.2rem, 3vw, 2rem);
    font-weight: 300;
    margin-bottom: 1rem;
}

.date-tag {
    font-size: 1.1rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--azul-fresco);
    margin-bottom: 3rem;
}


.btn {
    display: inline-block;
    text-decoration: none;
    padding: 1.2rem 2.5rem;
    border-radius: 100px;
    font-family: var(--font-modern);
    font-size: 1rem;
    /* Never go below 16px to prevent iOS zoom */
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    touch-action: manipulation;
    /* Prevents iOS double-tap zoom */
    -webkit-tap-highlight-color: transparent;
}

.btn-primary {
    background-color: var(--almagra);
    color: white;
    box-shadow: 0 10px 20px rgba(169, 42, 35, 0.2);
}

.btn-primary:hover {
    background-color: var(--almagra);
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 15px 30px rgba(169, 42, 35, 0.4);
}

.btn-secondary {
    background-color: transparent;
    color: var(--almagra);
    border: 2px solid var(--almagra);
}

.btn-secondary:hover {
    background-color: var(--almagra);
    color: white;
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(169, 42, 35, 0.2);
}

.btn-social {
    background: transparent;
    color: var(--almagra);
    border: 2px solid var(--almagra);
    height: 56px;
    width: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    padding: 0;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.btn-social svg {
    width: 24px;
    height: 24px;
    stroke: currentColor;
    stroke-width: 2;
    display: block;
    flex-shrink: 0;
}

.btn-social:hover {
    background-color: var(--almagra);
    color: white;
    transform: translateY(-5px) rotate(8deg);
    box-shadow: 0 10px 20px rgba(169, 42, 35, 0.2);
}

/* Features */
.features-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 3rem 2rem;
    max-width: 1200px;
    width: 100%;
}

.feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    flex: 1 1 250px;
    max-width: 320px;
}

.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(169, 42, 35, 0.1);
    padding: 3rem;
    border-radius: 40px;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.glass-card:hover {
    border-color: var(--almagra);
    box-shadow: 0 30px 60px -12px rgba(169, 42, 35, 0.15);
}

/* Features Section Distinction */
.section-fresh {
    background: linear-gradient(180deg, transparent 0%, rgba(0, 97, 134, 0.03) 50%, transparent 100%);
    position: relative;
    overflow: hidden;
}

.floating-icons {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.icon-decor {
    position: absolute;
    color: var(--almagra);
    opacity: 0.4;
    stroke-width: 3;
    z-index: 1;
    width: 60px;
    height: 60px;
}

.decor-1 {
    top: 5%;
    left: 5%;
}

.decor-2 {
    bottom: 5%;
    right: 5%;
    color: var(--azul-fresco);
}

.decor-3 {
    bottom: 5%;
    left: 5%;
}

.decor-4 {
    top: 5%;
    right: 5%;
}

.feature-item .icon {
    font-size: 3rem;
    /* Slightly reduced */
    color: var(--almagra);
    margin-bottom: 1rem;
    /* Reduced spacing */
}

.feature-item .icon i,
.feature-item .icon svg {
    width: 52px;
    height: 52px;
    stroke-width: 1.5;
    transition: transform 0.4s ease;
}

.feature-item:not(.full-width),
.feature-sub-item {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
}

.feature-item:not(.full-width):hover,
.feature-sub-item:hover {
    transform: translateY(-10px);
}

.feature-item:not(.full-width):hover .icon i,
.feature-item:not(.full-width):hover .icon svg,
.feature-sub-item:hover .icon i,
.feature-sub-item:hover .icon svg {
    transform: rotate(10deg);
    color: var(--albero);
}

.feature-item.full-width {
    flex: 1 1 100%;
    max-width: 100%;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(169, 42, 35, 0.1);
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 6rem;
    cursor: default;
}

.feature-item.full-width:hover {
    transform: none;
}

.feature-sub-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

/* Footer */
footer {
    padding: 4rem 2rem;
    background: var(--off-white);
    border-top: 1px solid rgba(169, 42, 35, 0.1);
    text-align: center;
}
.footer-logos-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(169, 42, 35, 0.1);
    flex-wrap: wrap;
    gap: 2.5rem;
}

.footer-logo-group {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    align-items: flex-start;
}

/* On right side or on mobile, we can align the elements differently if needed, but centering or left-alignment is generally cleanest. Centering the organized-by column is very balanced. */
.footer-logo-group:last-child {
    align-items: flex-end;
}

.footer-logo-label {
    font-family: var(--font-modern);
    font-size: 0.75rem;
    color: var(--text-dark);
    opacity: 0.6;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
}

.footer-logos-left {
    display: flex;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-logos-right {
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-partner-logo {
    height: 60px;
    max-width: 90px;
    width: auto;
    object-fit: contain;
    mix-blend-mode: multiply; /* Removes white backgrounds from JPEGs */
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.footer-partner-logo:hover {
    opacity: 1;
}

@media (max-width: 768px) {
    .footer-logos-container {
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 3rem;
    }
    .footer-logo-group,
    .footer-logo-group:last-child {
        align-items: center;
    }
}
.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
}

.footer-logo {
    font-family: var(--font-serene);
    font-size: 2rem;
    color: var(--almagra);
}

.footer-contact {
    display: flex;
    gap: 2rem;
    font-family: var(--font-modern);
    color: var(--azul-fresco);
    font-size: 0.9rem;
}

.footer-contact a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-contact a:hover {
    color: var(--almagra);
}

.stats-container {
    max-width: 1200px;
    width: 100%;
}

.section-title {
    font-family: var(--font-serene);
    color: var(--almagra);
    margin-bottom: 4rem;
    /* Restored original margin */
    font-size: 2.5rem;
}

.mobile-block {
    display: inline;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
}

.stat-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
}

.stat-card:hover {
    transform: scale(1) translateY(-10px) !important;
}

.stat-card:hover .stat-icon {
    color: var(--almagra);
    opacity: 1;
    transform: rotate(10deg);
}

.stat-icon {
    color: var(--albero);
    margin-bottom: 0.5rem;
    opacity: 0.7;
    transition: all 0.4s ease;
}

.stat-icon i,
.stat-icon svg {
    width: 28px;
    height: 28px;
    stroke-width: 2;
}

.stat-number {
    font-family: var(--font-serene);
    font-size: 4rem;
    color: var(--albero);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--azul-fresco);
}

/* Fresh Blue Wave */
.blue-wave {
    height: 200px;
    width: 100%;
    background: linear-gradient(to bottom, transparent, var(--azul-fresco));
    margin-top: -100px;
    opacity: 0.1;
}

/* Subpages */
.subpage {
    padding-top: 5rem;
}

.subpage-nav {
    position: fixed;
    top: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 5%;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(169, 42, 35, 0.1);
}

.back-link {
    color: var(--almagra);
    text-decoration: none;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

.iframe-container {
    padding: 2rem 5%;
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
}

.page-title {
    font-family: var(--font-serene);
    color: var(--almagra);
    margin-bottom: 2rem;
    font-size: clamp(2rem, 6vw, 3rem);
    /* Responsive font size */
    text-align: center;
}

.full-iframe {
    height: 80vh;
    padding: 1rem;
    overflow: hidden;
}

.full-iframe iframe {
    width: 100%;
    height: 100%;
    border-radius: 20px;
    border: none;
}

.donation-card {
    padding: 2rem;
    max-width: 950px;
    /* Wide enough for horizontal grid */
    width: 90%;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

/* Floating Hearts for Donar Button */
.btn-heart-animated {
    position: relative;
    overflow: visible;
}

.btn-heart {
    position: absolute;
    top: 50%;
    left: var(--left);
    width: 16px;
    height: 16px;
    color: var(--almagra);
    fill: var(--almagra);
    opacity: 0;
    pointer-events: none;
    z-index: 10;
    animation: btnFloatHeart 2.5s ease-in infinite;
    animation-delay: var(--delay);
    transition: color 0.3s ease, fill 0.3s ease;
}

.btn-heart-animated:hover .btn-heart {
    color: var(--albero);
    fill: var(--albero);
}

@keyframes btnFloatHeart {
    0% {
        transform: translate(-50%, -50%) scale(0.3);
        opacity: 0;
    }

    20% {
        opacity: 1;
    }

    100% {
        transform: translate(calc(-50% + var(--tx)), -60px) scale(1.2) rotate(var(--rot));
        opacity: 0;
    }
}

/* Floating Hearts Animation for Donation Section */
.heart-particle {
    position: absolute;
    bottom: -10px;
    font-size: 1.5rem;
    opacity: 0;
    pointer-events: none;
    z-index: -1;
    animation: floatHeart 4s ease-in infinite;
    animation-delay: var(--delay);
    left: var(--left);
}

@keyframes floatHeart {
    0% {
        transform: translateY(100px) scale(0.5);
        opacity: 0;
    }

    20% {
        opacity: 0.8;
    }

    80% {
        opacity: 0.8;
    }

    100% {
        transform: translateY(-800px) scale(1.5);
        opacity: 0;
    }
}

/* Sponsorship Tiers Grid */
.sponsorship-tiers {
    list-style: none;
    padding: 0;
    margin: 0 auto 2rem;
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    max-width: 100%;
}

@media (min-width: 768px) {
    .sponsorship-tiers {
        grid-template-columns: repeat(3, 1fr);
    }
}

.sponsorship-tier {
    background: rgba(255, 255, 255, 0.5);
    border: 1px solid rgba(169, 42, 35, 0.1);
    padding: 1.5rem;
    border-radius: 20px;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    text-align: left;
}

.sponsorship-tier:hover {
    transform: translateY(-5px);
    border-color: var(--almagra);
    background: rgba(255, 255, 255, 0.8);
    box-shadow: 0 10px 20px rgba(169, 42, 35, 0.1);
}

.sponsorship-title {
    font-weight: 700;
    font-size: 1.15rem;
    color: var(--almagra);
    margin-bottom: 0.8rem;
    line-height: 1.3;
}

.sponsorship-desc {
    font-size: 0.95rem;
    line-height: 1.5;
    color: var(--text-dark);
}

.whydonate-widget-container {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    display: grid;
    place-items: center;
    text-align: -webkit-center;
}

/* Aggressive centering for any element injected by WhyDonate */
.whydonate-widget-container>* {
    margin: 0 auto !important;
    display: block !important;
    max-width: 100%;
}

.donation-link-wrapper {
    margin-top: 2rem;
    font-size: 0.9rem;
    color: var(--almagra);
}

.donation-link {
    color: var(--azul-fresco);
    text-decoration: underline;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
}

.donation-link:hover {
    color: var(--almagra);
    transform: scale(1.05);
}

@keyframes linkPulse {
    0% {
        opacity: 0.8;
    }

    50% {
        opacity: 1;
        transform: scale(1.02);
    }

    100% {
        opacity: 0.8;
    }
}

.donation-link {
    animation: linkPulse 2s infinite ease-in-out;
}

/* Animations */
@keyframes titleAppear {
    from {
        opacity: 0;
        transform: translateY(50px);
        letter-spacing: 20px;
    }

    to {
        opacity: 1;
        transform: translateY(0);
        letter-spacing: 8px;
    }
}

.scroll-indicator {
    position: relative;
    /* Changed from absolute to avoid overlap */
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    color: var(--azul-fresco);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    z-index: 5;
}

.arrow {
    width: 2px;
    height: 40px;
    background: var(--azul-fresco);
    animation: scrollMove 2s infinite;
}

@keyframes scrollMove {
    0% {
        transform: scaleY(0);
        transform-origin: top;
    }

    50% {
        transform: scaleY(1);
        transform-origin: top;
    }

    51% {
        transform: scaleY(1);
        transform-origin: bottom;
    }

    100% {
        transform: scaleY(0);
        transform-origin: bottom;
    }
}

/* Reveal Animations */
.reveal {
    opacity: 0;
    transition: all 1s cubic-bezier(0.16, 1, 0.3, 1);
    transform: translateY(40px);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal-fade-in {
    opacity: 0;
    transition: opacity 1.2s ease-out;
}

.reveal-fade-in.active {
    opacity: 1;
}

.reveal-scale {
    opacity: 0;
    transform: scale(0.9);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-scale.active {
    opacity: 1;
    transform: scale(1);
}

@media (max-width: 768px) {
    .v-section {
        min-height: 70vh;
        padding-top: 4rem;
        padding-bottom: 6rem;
        padding-left: 1.5rem;
        padding-right: 1.5rem;
        justify-content: flex-start;
    }

    #hero {
        padding-top: 7rem;
        /* Balanced padding */
    }

    .gallery-wrapper {
        width: 240px;
        /* Larger photos */
        height: 320px;
        margin: 3rem auto;
        /* Reduced space to bring photos up */
    }

    .hero-text {
        margin-bottom: 1rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 3.5rem;
        /* Increase gap */
    }

    .feature-item.full-width {
        flex-direction: column;
        gap: 3.5rem;
    }

    .cta-group {
        display: flex;
        flex-direction: row;
        gap: 1rem;
        justify-content: center;
        align-items: center;
    }

    .btn {
        padding: 0.75rem 1.2rem;
        font-size: 1rem;
        /* Must stay >= 16px to prevent iOS auto-zoom */
    }

    .btn-social {
        height: 44px;
        /* Slightly smaller on mobile to match reduced btn size */
        width: 44px;
    }

    .btn-social svg,
    .btn-social i {
        width: 20px;
        height: 20px;
    }

    .title-fejjeton {
        font-size: 2.8rem;
    }

    .logo {
        font-size: 1.6rem;
    }

    .mobile-block {
        display: block;
        margin-top: 0.5rem;
    }
}