*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --yellow: #F5C400;
    --red: #C0272D;
    --dark: #111;
    --white: #fff;
}

body {
    font-family: 'Montserrat', sans-serif;
    background: var(--white);
    color: var(--dark);
    overflow-x: hidden;
}

/* ─── NAVBAR ─── */
nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 18px 6vw;
    background: var(--white);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo-icon {
    width: 52px;
    height: 52px;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.logo-arabic {
    font-family: 'Tajawal', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: var(--dark);
    direction: rtl;
}

.logo-latin {
    font-size: 13px;
    font-weight: 600;
    color: var(--dark);
    letter-spacing: 0.04em;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 36px;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: var(--dark);
    font-size: 14px;
    font-weight: 500;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: var(--red);
}

.nav-links a.active {
    text-decoration: underline;
    text-underline-offset: 4px;
}

/* Hamburger menu (hidden by default) */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    width: 28px;
    height: 3px;
    background: var(--dark);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* ═══════════════════════════════════════════
       UNIVERSAL SECTION LAYOUT
       Every content section uses this system.
       .section-wrap: full-width container, relative
       .section-blob: the yellow circle, absolutely positioned
       .section-row: flex row holding .s-pic and .s-text
       .section-row.flip: reverses order (blob+pic on right)
    ═══════════════════════════════════════════ */
.section-wrap {
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--white);
}

/* The yellow blob — always behind the image */
.section-blob {
    position: absolute;
    width: 620px;
    height: 620px;
    background: var(--yellow);
    border-radius: 50% 55% 55% 45% / 45% 50% 55% 50%;
    top: 50%;
    transform: translateY(-50%);
    z-index: 0;
}

.section-blob.blob-left {
    left: -60px;
    animation: blobL 6s ease-in-out infinite;
}

.section-blob.blob-right {
    right: -60px;
    animation: blobR 6s ease-in-out infinite;
}

@keyframes blobL {

    0%,
    100% {
        border-radius: 50% 55% 55% 45% / 45% 50% 55% 50%;
        transform: translateY(-50%);
    }

    50% {
        border-radius: 55% 45% 50% 55% / 50% 45% 55% 50%;
        transform: translateY(-50%);
    }
}

@keyframes blobR {

    0%,
    100% {
        border-radius: 55% 45% 50% 55% / 50% 55% 45% 50%;
        transform: translateY(-50%);
    }

    50% {
        border-radius: 45% 55% 55% 45% / 55% 45% 55% 50%;
        transform: translateY(-50%);
    }
}

/* Row */
.section-row {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    width: 100%;
    padding: 60px 6vw;
    gap: 5vw;
}

.section-row.flip {
    flex-direction: row-reverse;
}

/* Picture side */
.s-pic {
    flex: 0 0 auto;
    width: 380px;
    position: relative;
}

.s-circle {
    width: 380px;
    height: 380px;
    border-radius: 50%;
    overflow: hidden;
    border: 5px solid var(--white);
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.12);
    position: relative;
}

.s-circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.s-dashed {
    position: absolute;
    top: -14px;
    left: -14px;
    width: calc(100% + 28px);
    height: calc(100% + 28px);
    border-radius: 50%;
    border: 2px dashed var(--dark);
    opacity: 0.2;
    pointer-events: none;
}

.s-badge {
    position: absolute;
    bottom: 8px;
    left: -4px;
    background: var(--red);
    color: var(--white);
    font-size: 12px;
    font-weight: 700;
    line-height: 1.3;
    border-radius: 50%;
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 10px;
    box-shadow: 0 4px 16px rgba(192, 39, 45, 0.4);
}

/* Double-circle variant (Tipo/Apoyo/Espacio) */
.s-double {
    position: relative;
    width: 380px;
    height: 400px;
}

.s-dc {
    position: absolute;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
}

.s-dc img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.s-dc-top {
    width: 240px;
    height: 240px;
    top: 0;
    right: 0;
    border: 4px solid var(--red);
}

.s-dc-bot {
    width: 200px;
    height: 200px;
    bottom: 0;
    left: 0;
    border: 4px solid var(--red);
}

/* Text side */
.s-text {
    flex: 1;
    min-width: 0;
}

.s-title {
    font-size: clamp(38px, 5.5vw, 70px);
    font-weight: 900;
    letter-spacing: -0.02em;
    color: var(--dark);
    margin-bottom: 18px;
    line-height: 1;
}

.s-pill {
    display: inline-block;
    background: var(--red);
    color: var(--white);
    font-size: 14px;
    font-weight: 700;
    padding: 9px 22px;
    border-radius: 6px;
    margin-bottom: 22px;
    letter-spacing: 0.01em;
}

.s-body p {
    font-size: 13.5px;
    line-height: 1.8;
    color: #333;
    text-align: justify;
    margin-bottom: 14px;
}

/* Pill list (Especialidades) */
.s-pill-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 4px;
}

.s-pill-item {
    border: 2px solid var(--dark);
    border-radius: 40px;
    padding: 11px 24px;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    transition: background 0.2s, color 0.2s;
    cursor: default;
}

.s-pill-item:hover {
    background: var(--dark);
    color: var(--white);
}

/* Icon list (Espacio) */
.s-icon-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-top: 4px;
}

.s-icon-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 13.5px;
    line-height: 1.75;
    color: #333;
    text-align: justify;
}

.s-icon-bullet {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    background: var(--yellow);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    margin-top: 1px;
}

/* Course type list (Tipo) */
.s-type-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-top: 4px;
}

.s-type-label {
    font-size: 14px;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 2px;
}

.s-type-text {
    font-size: 13.5px;
    line-height: 1.75;
    color: #333;
    text-align: justify;
}

/* Dots */
.s-dots {
    display: flex;
    gap: 10px;
    margin-top: 40px;
}

.s-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--dark);
    opacity: 0.2;
    cursor: pointer;
}

.s-dot.active {
    opacity: 1;
}

/* Small decorative arcs */
.deco-arc {
    position: absolute;
    border-radius: 50%;
    z-index: 1;
    border: 3px solid;
}

.deco-arc-tr {
    top: 20px;
    right: 40px;
    width: 90px;
    height: 90px;
    border-color: var(--yellow);
    border-bottom-color: transparent;
    border-left-color: transparent;
    animation: spin 12s linear infinite;
}

.deco-arc-bl {
    bottom: 30px;
    left: 40px;
    width: 80px;
    height: 80px;
    border-color: var(--dark);
    border-top-color: transparent;
    border-right-color: transparent;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Small yellow blob deco */
.deco-blob {
    position: absolute;
    background: var(--yellow);
    border-radius: 50% 40% 60% 40% / 40% 60% 40% 60%;
    z-index: 1;
    opacity: 0.6;
}

.deco-blob-bl {
    bottom: 10px;
    left: 10px;
    width: 110px;
    height: 110px;
}

/* Idiomas flags circle */
.flags-circle {
    width: 380px;
    height: 380px;
    border-radius: 50%;
    overflow: hidden;
    border: 5px solid var(--white);
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.12);
    background: #f8f4e8;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 24px;
}

.flags-row {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
    font-size: 32px;
}

.flags-bubbles {
    display: flex;
    gap: 10px;
    margin-top: 8px;
}

.flag-bubble {
    padding: 8px 14px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 800;
    color: white;
    background: var(--red);
    display: flex;
    align-items: center;
    gap: 5px;
}

/* ─── HERO ─── */
.hero {
    position: relative;
    width: 100%;
    min-height: calc(100vh - 88px);
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 40px 6vw 60px;
}

.hero .section-blob {
    left: -80px;
    animation: blobL 6s ease-in-out infinite;
}

/* ─── SCROLL REVEAL ─── */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal-right {
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible,
.reveal-left.visible,
.reveal-right.visible {
    opacity: 1;
    transform: translate(0);
}

.delay-1 {
    transition-delay: 0.1s;
}

.delay-2 {
    transition-delay: 0.25s;
}

.delay-3 {
    transition-delay: 0.4s;
}

.delay-4 {
    transition-delay: 0.55s;
}

/* ─── CONTACT ─── */
.contact-card {
    position: relative;
    z-index: 2;
    background: var(--white);
    border-radius: 16px;
    padding: 44px 40px;
    width: 100%;
    max-width: 460px;
    box-shadow: 0 4px 40px rgba(0, 0, 0, 0.08);
}

.contact-title {
    font-size: 24px;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 26px;
    letter-spacing: -0.01em;
}

.contact-field {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-bottom: 18px;
}

.contact-field label {
    font-size: 12px;
    font-weight: 600;
    color: var(--dark);
}

.contact-field input,
.contact-field textarea {
    border: 1.5px solid #ddd;
    border-radius: 6px;
    padding: 10px 13px;
    font-size: 13.5px;
    font-family: 'Montserrat', sans-serif;
    color: var(--dark);
    outline: none;
    transition: border-color 0.2s;
    background: var(--white);
    resize: none;
}

.contact-field input:focus,
.contact-field textarea:focus {
    border-color: var(--yellow);
}

.contact-field textarea {
    height: 100px;
}

.contact-submit {
    width: 100%;
    padding: 13px;
    background: var(--yellow);
    color: var(--dark);
    font-size: 14px;
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.2s, transform 0.1s;
    margin-top: 4px;
}

.contact-submit:hover {
    background: #e6b800;
    transform: translateY(-1px);
}

.contact-note {
    text-align: center;
    font-size: 11px;
    color: #999;
    margin-top: 10px;
}

.contact-success {
    display: none;
    background: #d4edda;
    color: #155724;
    border-radius: 6px;
    padding: 11px 14px;
    font-size: 13px;
    font-weight: 600;
    margin-top: 12px;
    text-align: center;
}

.contact-error {
    display: none;
    background: #f8d7da;
    color: #721c24;
    border-radius: 6px;
    padding: 11px 14px;
    font-size: 13px;
    font-weight: 600;
    margin-top: 12px;
    text-align: center;
}

/* ─── GALLERY ─── */
.section-gallery {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 80px 6vw;
    background: var(--white);
}

.blob-gallery-tl {
    position: absolute;
    top: -100px;
    left: -150px;
    width: 480px;
    height: 480px;
    background: var(--yellow);
    border-radius: 55% 45% 50% 55% / 50% 55% 45% 50%;
    z-index: 0;
    opacity: 0.45;
    animation: blobL 8s ease-in-out infinite;
}

.blob-gallery-br {
    position: absolute;
    bottom: -120px;
    right: -100px;
    width: 400px;
    height: 400px;
    background: var(--yellow);
    border-radius: 45% 55% 55% 45% / 55% 45% 50% 50%;
    z-index: 0;
    opacity: 0.35;
    animation: blobR 8s ease-in-out infinite;
}

.gallery-header {
    position: relative;
    z-index: 2;
    text-align: center;
    margin-bottom: 52px;
}

.gallery-header h2 {
    font-size: clamp(36px, 5vw, 58px);
    font-weight: 900;
    letter-spacing: -0.02em;
    color: var(--dark);
    margin-bottom: 12px;
}

.gallery-tag {
    display: inline-block;
    background: var(--red);
    color: var(--white);
    font-size: 14px;
    font-weight: 700;
    padding: 9px 26px;
    border-radius: 6px;
    letter-spacing: 0.02em;
}

.gallery-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}

.g-item {
    border-radius: 14px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    background: #eee;
}

.g-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.g-item:hover img {
    transform: scale(1.06);
}

.g-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.4) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.3s;
}

.g-item:hover::after {
    opacity: 1;
}

.g-item::before {
    content: '';
    position: absolute;
    inset: 0;
    border: 3px solid var(--yellow);
    border-radius: 14px;
    z-index: 3;
    opacity: 0;
    transition: opacity 0.3s;
}

.g-item:hover::before {
    opacity: 1;
}

.g-tall {
    grid-row: span 2;
}

.g-wide {
    grid-column: span 2;
}

.g-tall img {
    height: 100%;
    min-height: 340px;
}

.g-sq img {
    height: 210px;
}

.g-wide img {
    height: 210px;
}

.lightbox {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.88);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.lightbox.open {
    display: flex;
}

.lightbox img {
    max-width: 90vw;
    max-height: 85vh;
    border-radius: 12px;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.6);
    object-fit: contain;
}

.lb-close {
    position: absolute;
    top: 20px;
    right: 28px;
    color: white;
    font-size: 36px;
    cursor: pointer;
    font-weight: 300;
    transition: color 0.2s;
}

.lb-close:hover {
    color: var(--yellow);
}

.lb-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    font-size: 22px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, border-color 0.2s;
    user-select: none;
}

.lb-btn:hover {
    background: var(--yellow);
    border-color: var(--yellow);
    color: var(--dark);
}

.lb-prev {
    left: 20px;
}

.lb-next {
    right: 20px;
}

/* ─── BADGE POP ─── */
@keyframes badgePop {
    from {
        transform: scale(0);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* ─── RESPONSIVE ─── */
/* Tablet & Small Desktop */
@media (max-width: 1024px) {
    nav {
        padding: 14px 4vw;
    }

    .logo-icon {
        width: 44px;
        height: 44px;
    }

    .logo-arabic {
        font-size: 16px;
    }

    .logo-latin {
        font-size: 11px;
    }
}

/* Large Tablet */
@media (max-width: 860px) {

    .section-row,
    .section-row.flip {
        flex-direction: column;
        padding: 40px 24px;
        gap: 32px;
    }

    .s-pic,
    .s-double {
        width: 100%;
        display: flex;
        justify-content: center;
    }

    .s-circle,
    .flags-circle {
        width: 320px;
        height: 320px;
    }

    .s-double {
        height: 350px;
    }

    .s-dc-top {
        width: 200px;
        height: 200px;
    }

    .s-dc-bot {
        width: 170px;
        height: 170px;
    }

    .hero {
        flex-direction: column;
        gap: 32px;
        padding: 30px 24px 50px;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
        padding: 0 24px;
    }

    .g-tall {
        grid-row: span 1;
    }

    .g-wide {
        grid-column: span 2;
    }

    .g-tall img {
        min-height: 200px;
    }

    .contact-card {
        padding: 32px 24px;
        max-width: 100%;
    }

    .section-blob {
        width: 400px;
        height: 400px;
    }

    .blob-gallery-tl {
        width: 350px;
        height: 350px;
        top: -80px;
        left: -120px;
    }

    .blob-gallery-br {
        width: 300px;
        height: 300px;
        bottom: -80px;
        right: -80px;
    }
}

/* Small Tablet & Large Phone */
@media (max-width: 768px) {
    nav {
        padding: 12px 3vw;
    }

    .nav-links {
        position: fixed;
        top: 60px;
        left: -100%;
        flex-direction: column;
        background-color: var(--white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 20px 0;
        gap: 0;
    }

    .nav-links.active {
        left: 0;
    }

    .nav-links li {
        margin: 10px 0;
    }

    .hamburger {
        display: flex;
    }

    .logo-icon {
        width: 40px;
        height: 40px;
    }

    .logo-arabic {
        font-size: 14px;
    }

    .logo-latin {
        font-size: 10px;
    }

    .section-wrap {
        min-height: auto;
    }

    .section-row,
    .section-row.flip {
        flex-direction: column;
        padding: 30px 16px;
        gap: 24px;
    }

    .s-pic,
    .s-double {
        width: 100%;
        display: flex;
        justify-content: center;
    }

    .s-circle,
    .flags-circle {
        width: 280px;
        height: 280px;
    }

    .s-dashed {
        display: none;
    }

    .s-double {
        width: 100%;
        height: 300px;
        justify-content: center;
        align-items: center;
    }

    .s-dc-top {
        width: 180px;
        height: 180px;
    }

    .s-dc-bot {
        width: 150px;
        height: 150px;
    }

    .hero {
        min-height: auto;
        flex-direction: column;
        gap: 24px;
        padding: 20px 16px 40px;
    }

    .section-blob {
        width: 320px;
        height: 320px;
        left: 50%;
        transform: translate(-50%, -50%);
        top: 35%;
        z-index: 0;
    }

    .section-blob.blob-right {
        left: 50%;
        transform: translate(-50%, -50%);
        right: auto;
    }

    .s-title {
        font-size: clamp(28px, 6vw, 48px);
        margin-bottom: 12px;
    }

    .s-pill {
        font-size: 12px;
        padding: 7px 18px;
        margin-bottom: 16px;
    }

    .s-body p {
        font-size: 13px;
        line-height: 1.7;
        margin-bottom: 12px;
    }

    .s-pill-item {
        font-size: 13px;
        padding: 9px 18px;
    }

    .gallery-header h2 {
        font-size: clamp(28px, 5vw, 44px);
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        padding: 0 16px;
    }

    .g-tall {
        grid-row: span 1;
    }

    .g-wide {
        grid-column: span 2;
    }

    .g-sq img,
    .g-wide img {
        height: 150px;
    }

    .g-tall img {
        min-height: 150px;
    }

    .contact-card {
        padding: 24px 18px;
        max-width: 100%;
        border-radius: 12px;
    }

    .contact-title {
        font-size: 20px;
        margin-bottom: 18px;
    }

    .contact-field {
        margin-bottom: 14px;
    }

    .contact-field label {
        font-size: 11px;
    }

    .contact-field input,
    .contact-field textarea {
        font-size: 13px;
        padding: 9px 11px;
    }

    .contact-field textarea {
        height: 80px;
    }

    .contact-submit {
        font-size: 13px;
        padding: 11px;
    }

    .blob-gallery-tl {
        width: 250px;
        height: 250px;
        top: -60px;
        left: -100px;
    }

    .blob-gallery-br {
        width: 200px;
        height: 200px;
        bottom: -60px;
        right: -70px;
    }

    .deco-arc-tr {
        display: none;
    }

    .deco-arc-bl {
        display: none;
    }
}

/* Mobile Phone */
@media (max-width: 480px) {
    nav {
        padding: 10px 3vw;
    }

    .nav-links {
        top: 54px;
    }

    .logo-icon {
        width: 36px;
        height: 36px;
    }

    .logo-arabic {
        font-size: 12px;
    }

    .logo-latin {
        font-size: 9px;
    }

    .section-row,
    .section-row.flip {
        padding: 20px 14px;
        gap: 18px;
    }

    .s-circle,
    .flags-circle {
        width: 240px;
        height: 240px;
    }

    .s-double {
        width: 100%;
        height: 240px;
    }

    .s-dc-top {
        width: 140px;
        height: 140px;
    }

    .s-dc-bot {
        width: 120px;
        height: 120px;
    }

    .hero {
        min-height: auto;
        padding: 16px 14px 30px;
        gap: 18px;
    }

    .hero .section-blob {
        width: 220px;
        height: 220px;
        left: -80px;
    }

    .section-blob {
        width: 240px;
        height: 240px;
        left: 50%;
        transform: translate(-50%, -50%);
        top: 35%;
        z-index: 0;
    }

    .section-blob.blob-right {
        left: 50%;
        transform: translate(-50%, -50%);
        right: auto;
    }

    .s-title {
        font-size: clamp(24px, 6vw, 36px);
        margin-bottom: 10px;
    }

    .s-pill {
        font-size: 11px;
        padding: 6px 14px;
        margin-bottom: 12px;
    }

    .s-body p {
        font-size: 12px;
        line-height: 1.6;
        margin-bottom: 10px;
    }

    .s-pill-list {
        gap: 8px;
        margin-top: 2px;
    }

    .s-pill-item {
        font-size: 12px;
        padding: 8px 14px;
        border-radius: 30px;
    }

    .s-icon-list {
        gap: 10px;
        margin-top: 2px;
    }

    .s-icon-item {
        font-size: 12px;
        line-height: 1.6;
    }

    .s-icon-bullet {
        width: 20px;
        height: 20px;
        font-size: 11px;
    }

    .gallery-header {
        margin-bottom: 32px;
    }

    .gallery-header h2 {
        font-size: clamp(22px, 5vw, 32px);
        margin-bottom: 8px;
    }

    .gallery-tag {
        font-size: 12px;
        padding: 7px 16px;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
        padding: 0 14px;
    }

    .g-sq img,
    .g-wide img {
        height: 120px;
    }

    .g-tall img {
        min-height: 120px;
    }

    .section-gallery {
        padding: 50px 0;
    }

    .blob-gallery-tl {
        display: none;
    }

    .blob-gallery-br {
        display: none;
    }

    .contact-card {
        padding: 20px 16px;
        box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
    }

    .contact-title {
        font-size: 18px;
        margin-bottom: 16px;
    }

    .contact-field {
        margin-bottom: 12px;
    }

    .contact-field label {
        font-size: 10px;
    }

    .contact-field input,
    .contact-field textarea {
        font-size: 14px;
        padding: 10px 10px;
    }

    .contact-field textarea {
        height: 70px;
    }

    .contact-submit {
        font-size: 12px;
        padding: 10px;
        margin-top: 2px;
    }

    .contact-note {
        font-size: 10px;
        margin-top: 8px;
    }

    .s-dots {
        margin-top: 24px;
        gap: 8px;
    }

    .s-dot {
        width: 8px;
        height: 8px;
    }

    .flags-row {
        font-size: 24px;
        gap: 6px;
    }

    .flags-bubbles {
        gap: 8px;
        margin-top: 6px;
    }

    .flag-bubble {
        padding: 6px 10px;
        font-size: 9px;
    }

    .deco-blob-bl {
        display: none;
    }
}

/* Very Small Phone */
@media (max-width: 360px) {
    nav {
        padding: 8px 2vw;
    }

    .logo-icon {
        width: 32px;
        height: 32px;
    }

    .logo-arabic {
        font-size: 11px;
    }

    .logo-latin {
        font-size: 8px;
    }

    .s-circle,
    .flags-circle {
        width: 200px;
        height: 200px;
    }

    .s-double {
        height: 200px;
    }

    .s-dc-top {
        width: 120px;
        height: 120px;
    }

    .s-dc-bot {
        width: 100px;
        height: 100px;
    }

    .section-row,
    .section-row.flip {
        padding: 16px 12px;
        gap: 16px;
    }

    .s-title {
        font-size: clamp(20px, 5.5vw, 28px);
    }

    .gallery-grid {
        grid-template-columns: 1fr;
        padding: 0 12px;
    }

    .g-wide {
        grid-column: span 1;
    }

    .contact-card {
        padding: 16px 12px;
    }

    .contact-title {
        font-size: 16px;
    }
}

/* Hamburger Menu Active State */
@media (max-width: 768px) {
    nav.scrolled {
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    }
}