html { scroll-padding-top: 115px; }

:root {
    --bg-dark: #0a1628;
    --bg-darker: #061021;
    --bg-card: #0f1e35;
    --bg-card-hover: #15263f;
    --accent: #1ab8c8;
    --accent-hover: #169eb0;
    --accent-glow: rgba(26, 184, 200, 0.25);
    --accent-soft: rgba(26, 184, 200, 0.08);
    --white: #ffffff;
    --gray-light: #b8c4d4;
    --gray-mid: #7a8ba0;
    --border: rgba(255, 255, 255, 0.06);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.4);
    --radius: 12px;
    --radius-lg: 16px;
    --font: 'Inter', system-ui, -apple-system, sans-serif;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
.container, .container-fluid { padding-left: 1rem; padding-right: 1rem; }
@media (max-width: 575.98px) { .container, .container-fluid { padding-left: 1rem; padding-right: 1rem; } }
html { scroll-behavior: smooth; }
body { font-family: var(--font); background: var(--bg-dark); color: var(--white); line-height: 1.65; overflow-x: hidden; -webkit-font-smoothing: antialiased; -webkit-tap-highlight-color: transparent; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; } }
a { text-decoration: none; color: inherit; transition: all 0.3s ease; }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
button:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
input:focus-visible, textarea:focus-visible, select:focus-visible { outline: none; }
img { max-width: 100%; height: auto; display: block; }
@media (max-width: 575.98px) {
    .row { --bs-gutter-x: 0.75rem !important; --bs-gutter-y: 0.75rem !important; }
    .gap-3 { gap: 0.75rem !important; }
    .gap-4 { gap: 1rem !important; }
    .g-4 > * { padding-right: 0.375rem; padding-left: 0.375rem; }
}
section { padding: 5rem 0; scroll-behavior: smooth; }
@media (max-width: 767.98px) { section { padding: 3.5rem 0; } }
@media (max-width: 575.98px) { section { padding: 2.5rem 0; } }

.site-header { position: fixed; top: 0; left: 0; width: 100%; z-index: 10000; background: rgba(6, 16, 33, 0.95); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-bottom: 1px solid var(--border); box-shadow: 0 4px 24px rgba(0, 0, 0, 0.3); }
.header-top { padding: 0.85rem 0; border-bottom: 1px solid var(--border); }
.brand-logos { flex-wrap: nowrap; gap: 0.5rem !important; min-width: 0; }
.brand-lafora { font-size: 1.5rem; font-weight: 900; letter-spacing: 2.5px; color: var(--white); line-height: 1; white-space: nowrap; }
.brand-star { color: var(--accent); font-size: 0.75rem; vertical-align: super; margin-left: 1px; }
.brand-divider-v { width: 1px; height: 28px; background: rgba(255, 255, 255, 0.15); display: inline-block; flex-shrink: 0; }
.brand-davinci-stack { display: inline-flex; align-items: center; line-height: 1; flex-shrink: 0; }
.brand-davinci-logo { height: 32px; width: auto; }
.brand-studywing { display: inline-flex; align-items: center; gap: 5px; font-size: 0.9rem; color: var(--white); letter-spacing: 0.5px; font-weight: 700; flex-shrink: 0; }
.brand-studywing i { color: var(--accent); font-size: 1rem; }
.header-cta { padding: 0.55rem 1.4rem; font-size: 0.88rem; }
.header-bottom { padding: 0.4rem 0; }
.header-bottom .navbar-nav { gap: 0.1rem; }
.header-bottom .nav-link { font-size: 0.88rem; font-weight: 500; color: var(--gray-light) !important; padding: 0.5rem 0.85rem; border-radius: 6px; transition: all 0.3s; white-space: nowrap; }
.header-bottom .nav-link:hover, .header-bottom .nav-link:focus { color: var(--accent) !important; background: var(--accent-soft); outline: 2px solid var(--accent); }
.header-bottom .nav-link.active { color: var(--accent) !important; background: var(--accent-soft); border-bottom: 2px solid var(--accent); }
/* Dropdown "Estudar" — tema escuro */
.header-bottom .nav-item.dropdown .dropdown-toggle { display: inline-flex; align-items: center; }
.header-bottom .dropdown-menu { background: #0a1628; border: 1px solid var(--border); border-radius: 10px; padding: 0.4rem; margin-top: 0.4rem; box-shadow: 0 12px 32px rgba(0,0,0,0.45); }
.header-bottom .dropdown-item { color: var(--gray-light); font-size: 0.86rem; font-weight: 500; border-radius: 6px; padding: 0.55rem 0.9rem; transition: all 0.2s; white-space: nowrap; }
.header-bottom .dropdown-item:hover, .header-bottom .dropdown-item:focus { background: var(--accent-soft); color: var(--accent); }
.header-bottom .nav-link.dropdown-toggle.active { color: var(--accent) !important; background: var(--accent-soft); border-bottom: 2px solid var(--accent); }
.navbar-toggler { border: 2px solid var(--accent) !important; }
.navbar-toggler:focus { box-shadow: 0 0 8px var(--accent-glow) !important; }

/* Nav pill buttons (Cursos / Blog) — same look as regular nav-link */
.navbar-nav .nav-link.nav-pill-cursos,
.navbar-nav .nav-link.nav-pill-blog { font-weight: 400; }

/* Consulta form section (embedded in non-index pages) */
.consulta-section { padding: 4.5rem 0; background: var(--bg-darker); border-top: 1px solid var(--border); }
.consulta-section .section-lead { color: var(--gray-mid); font-size: 1rem; margin: 0.6rem 0 1.5rem; line-height: 1.7; }
.consulta-checklist { list-style: none; padding: 0; margin: 0; }
.consulta-checklist li { display: flex; align-items: center; gap: 0.6rem; color: rgba(255,255,255,0.8); font-size: 0.92rem; margin-bottom: 0.55rem; }
.consulta-checklist li i { color: #64c878; flex-shrink: 0; }

.btn-cta { background: #DC143C; color: #fff; font-weight: 700; border: none; border-radius: 8px; padding: 0.65rem 1.6rem; font-size: 0.9rem; transition: all 0.3s; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.btn-cta:hover, .btn-cta:focus { background: #b8102f; transform: translateY(-1px); box-shadow: 0 8px 20px rgba(220,20,60,0.35); color: #fff; outline: none; }
.btn-cta:active { transform: translateY(0); }
.btn-outline-light { border: 1.5px solid rgba(255, 255, 255, 0.4); border-radius: 8px; padding: 0.65rem 1.6rem; font-weight: 600; font-size: 0.9rem; color: var(--white); background: transparent; transition: all 0.3s; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.btn-outline-light:hover, .btn-outline-light:focus { background: rgba(255, 255, 255, 0.1); border-color: var(--white); color: var(--white); outline: 2px solid var(--white); }
.btn-outline-accent { border: 1.5px solid var(--accent); border-radius: 8px; padding: 0.65rem 1.8rem; font-weight: 600; color: var(--accent); background: transparent; font-size: 0.9rem; transition: all 0.3s; display: inline-block; cursor: pointer; }
.btn-outline-accent:hover, .btn-outline-accent:focus { background: var(--accent); color: var(--bg-dark); box-shadow: 0 4px 16px var(--accent-glow); outline: none; }
.about-section .btn-outline-accent { color: var(--accent); border-color: var(--accent); }
.about-section .btn-outline-accent:hover { background: var(--accent); color: var(--white); }

.hero { position: relative; min-height: 85vh; display: flex; align-items: center; padding-top: 110px; padding-bottom: 3rem; overflow: hidden; }
.hero-bg { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: var(--bg-dark); z-index: 0; }

/* Wavy cyan line - vertical sine wave between text and image */
.hero-divider { position: absolute; top: 0; bottom: 0; left: 50%; transform: translateX(-50%); width: 60px; height: 100%; z-index: 4; pointer-events: none; }

.hero-text-col { position: relative; z-index: 3; padding-right: 3rem; padding-left: 2rem; padding-top: 4rem; }
.hero-title { font-size: clamp(1.5rem, 0.6rem + 3.9vw, 3.7rem); font-weight: 900; line-height: 1.08; margin-bottom: 1.6rem; letter-spacing: -1.5px; color: var(--white); }
.text-accent { color: var(--accent); }
.hero-subtitle { font-size: 1.25rem; color: var(--gray-light); margin-bottom: 2.5rem; font-weight: 400; line-height: 1.7; max-width: 500px; }
.hero-buttons { margin-top: 0.5rem; display: flex; flex-wrap: wrap; gap: 1rem; }
.hero-buttons .btn { padding: 0.8rem 2rem; font-size: 1rem; flex: 1; min-width: 180px; }

.hero-image-wrapper { position: relative; z-index: 2; height: 600px; min-height: 500px; overflow: hidden; border-radius: 0; box-shadow: var(--shadow-lg); clip-path: polygon(12% 0, 100% 0, 100% 100%, 0 100%); margin-left: -24px; display: flex; align-items: flex-end; justify-content: flex-end; }
.hero-image { width: 100%; height: 100%; object-fit: contain; object-position: right bottom; loading: lazy; }

/* Hero decorative elements - dashed travel route */
.hero-decorations { position: absolute; bottom: 0; left: 0; width: 100%; height: 180px; pointer-events: none; z-index: 1; }
.hero-path { position: absolute; bottom: 40px; left: 0; width: 55%; height: 100px; }
.hero-plane-1, .hero-plane-2, .hero-pin-1, .hero-pin-2 { position: absolute; color: var(--accent); opacity: 0.5; font-size: 1rem; }
.hero-plane-1 { bottom: 60px; left: 8%; transform: rotate(-25deg); }
.hero-plane-2 { bottom: 110px; left: 28%; transform: rotate(15deg); font-size: 0.85rem; }
.hero-pin-1 { bottom: 40px; left: 18%; font-size: 0.8rem; }
.hero-pin-2 { bottom: 90px; left: 38%; font-size: 0.7rem; }

.features-bar { background: var(--bg-darker); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 2rem 0; }
.feature-item { display: flex; flex-direction: column; align-items: center; gap: 0.7rem; }
.feature-item i { font-size: 1.6rem; color: var(--accent); }
.feature-item span { font-size: 0.82rem; font-weight: 600; color: var(--gray-light); line-height: 1.4; text-align: center; }

.section-title { font-size: 2.1rem; font-weight: 800; text-align: center; margin-bottom: 0.5rem; letter-spacing: -0.5px; color: #0a1628; }
.about-section .section-title, .process-section .section-title, .services-section .section-title { color: #1a2a3a; }

.about-section { padding: 5.5rem 0; background: #f2f4f7; }
.about-text { font-size: 1rem; color: #3a4a5c; margin-bottom: 1.2rem; line-height: 1.75; }
.about-text strong { color: #1a2a3a; }
.about-image-wrapper { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); }
.about-image { width: 100%; height: 380px; object-fit: cover; }

.services-section { padding: 5rem 0; background: #f2f4f7; }
.service-card { background: #fff; border-radius: var(--radius); padding: 2rem 1.3rem; text-align: center; transition: all 0.35s ease; border: 1px solid #e0e4ea; height: 100%; display: flex; flex-direction: column; box-shadow: 0 4px 12px rgba(0,0,0,0.04); }
.service-card:hover { background: #fff; transform: translateY(-6px); border-color: var(--accent); box-shadow: 0 12px 32px rgba(32, 201, 160, 0.12); }
.service-icon { width: 58px; height: 58px; display: flex; align-items: center; justify-content: center; margin: 0 auto 1.2rem; }
.service-icon i { font-size: 1.55rem; color: var(--accent); }
.service-icon-img { width: 34px; height: 34px; object-fit: contain; filter: invert(62%) sepia(64%) saturate(474%) hue-rotate(148deg) brightness(95%) contrast(90%); }
.service-title { font-weight: 700; font-size: 0.95rem; margin-bottom: 0.6rem; color: #0a1628; }
.service-desc { font-size: 0.82rem; color: var(--gray-mid); margin: 0; line-height: 1.55; }

.destinations-section { padding: 5rem 0; background: var(--bg-darker); }
.destinations-section .text-center { display: flex; gap: 1rem; flex-wrap: wrap; justify-content: center; margin-top: 2rem; }
.destinations-section .btn { gap: 0.6rem; border-radius: 10px; font-weight: 600; transition: all 0.3s; }
.destinations-section .btn-outline-accent { border-width: 2px; }
.destinations-section .btn-outline-accent:hover { transform: translateY(-2px); box-shadow: 0 8px 24px var(--accent-glow); }
.destinations-section .btn i { font-size: 1.1rem; }
.dest-card { background: var(--bg-card); border-radius: var(--radius); overflow: visible; height: 100%; display: flex; flex-direction: column; transition: all 0.35s ease; border: 1px solid var(--border); position: relative; text-decoration: none; color: inherit; padding-bottom: 1rem; }
a.dest-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: rgba(32, 201, 160, 0.4); text-decoration: none; }
.dest-img-wrap { position: relative; width: 100%; height: 150px; border-radius: 12px 12px 0 0; background: var(--bg-darker); overflow: hidden; }
.dest-img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; border-radius: 12px 12px 0 0; }
.dest-card:hover .dest-img-wrap img { transform: scale(1.1); }
.dest-flag-corner { position: absolute; bottom: -20px; left: 16px; width: 40px; height: 40px; border-radius: 50%; background: var(--bg-card); padding: 3px; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5); z-index: 2; }
.flag-img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.dest-body { padding: 1.6rem 1.1rem 1.2rem; flex-grow: 1; display: flex; flex-direction: column; }
.dest-body h6 { font-weight: 700; font-size: 0.98rem; margin-bottom: 0.5rem; color: var(--white); }
.dest-body p { font-size: 0.8rem; color: var(--gray-mid); line-height: 1.55; margin: 0; flex-grow: 1; }
.dest-body::after { content: '→'; position: absolute; bottom: 1rem; right: 1.1rem; font-size: 1.5rem; color: var(--accent); opacity: 0; transition: opacity 0.3s, transform 0.3s; }
a.dest-card:hover .dest-body::after { opacity: 1; transform: translateX(4px); }
.dest-body { position: relative; }

.process-section { padding: 5rem 0; background: #f2f4f7; }
.process-section .section-title { color: #1a2a3a; }
.process-section .step-item h6 { color: #1a2a3a; }
.process-section .step-item p { color: #5a6a7a; }
.process-section .step-icon { background: var(--white); border-color: rgba(0, 0, 0, 0.08); }
.step-item { position: relative; padding: 1rem 0.5rem; }
.step-number { font-size: 0.75rem; font-weight: 800; color: var(--accent); margin-bottom: 0.7rem; letter-spacing: 1.5px; }
.step-icon { width: 68px; height: 68px; border-radius: 50%; border: 2px solid rgba(0, 0, 0, 0.08); display: flex; align-items: center; justify-content: center; margin: 0 auto 1.1rem; transition: all 0.3s; background: var(--white); position: relative; z-index: 2; }
.step-icon i { font-size: 1.5rem; color: var(--accent); }
.step-item:hover .step-icon { border-color: var(--accent); box-shadow: 0 0 24px var(--accent-glow); transform: scale(1.05); }
.step-item { position: relative; padding: 1rem 0.5rem; }
/* Connecting line between steps */
.process-steps .row { position: relative; }
.process-steps .row::before {
    content: '';
    position: absolute;
    top: 72px;
    left: 6%;
    right: 6%;
    height: 2px;
    background: var(--accent); /* gradient removed */
    z-index: 0;
}
.step-item p { font-size: 0.77rem; color: #5a6a7a; margin: 0; line-height: 1.5; }

.testimonial-section { padding: 5rem 0; background: var(--bg-dark); }
.testimonial-quote blockquote { font-size: 1.2rem; font-weight: 500; line-height: 1.7; color: var(--white); font-style: italic; margin-bottom: 1.5rem; }
.quote-icon { font-size: 3.5rem; color: var(--accent); opacity: 0.4; margin-bottom: 0.5rem; display: block; line-height: 1; }
.testimonial-author strong { font-size: 1rem; color: var(--accent); font-weight: 700; }
.testimonial-author small { color: var(--gray-mid); line-height: 1.5; display: block; margin-top: 0.3rem; }

.contact-form-wrapper { background: #fff; border-radius: var(--radius-lg); padding: 2.2rem; border: 1px solid #e0e4ea; box-shadow: 0 8px 24px rgba(0,0,0,0.08); }
.form-title { font-weight: 800; font-size: 1.4rem; margin-bottom: 1.3rem; color: #0a1628; }
.form-control, .form-select { background: #f2f4f7; border: 2px solid #d0d4da; color: #1a2a3a; border-radius: 8px; padding: 0.75rem 1rem; font-size: 1rem; font-family: var(--font); transition: all 0.3s; width: 100%; }
.form-control:focus, .form-select:focus { background: #fff; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-glow); outline: none; }
.form-control::placeholder { color: var(--gray-mid); }
.form-select option { background: #fff; color: #1a2a3a; }
.form-control:disabled, .form-select:disabled { background: #e8eaed; cursor: not-allowed; opacity: 0.7; }
label { font-weight: 600; color: #1a2a3a; margin-bottom: 0.5rem; display: block; font-size: 0.95rem; }
.form-control.is-invalid, .form-select.is-invalid { border-color: #DC143C !important; }
.form-check-input.is-invalid { outline: 2px solid #DC143C; }

/* Multi-step form indicator */
.multistep-indicator { display: flex; align-items: flex-start; gap: 0; margin-bottom: 1.8rem; }
.msi-node { display: flex; flex-direction: column; align-items: center; gap: 0.4rem; flex-shrink: 0; }
.msi-circle { width: 34px; height: 34px; border-radius: 50%; border: 2px solid #d0d4da; background: #f2f4f7; color: #8a99a8; font-weight: 700; font-size: 0.88rem; display: flex; align-items: center; justify-content: center; transition: all 0.3s; line-height: 1; }
.msi-node.active .msi-circle { border-color: #DC143C; background: #DC143C; color: #fff; }
.msi-node.done .msi-circle { border-color: #10b981; background: #10b981; color: #fff; }
.msi-label { font-size: 0.65rem; color: #8a99a8; font-weight: 600; text-align: center; line-height: 1.2; text-transform: uppercase; letter-spacing: 0.04em; max-width: 68px; }
.msi-node.active .msi-label, .msi-node.done .msi-label { color: #1a2a3a; }
.msi-line { flex: 1; height: 2px; background: #d0d4da; margin: 0 6px; align-self: flex-start; margin-top: 17px; transition: background 0.3s; }
.msi-line.done { background: #10b981; }

.cta-section { padding: 5.5rem 0; }
.cta-title { font-size: 2.4rem; font-weight: 800; color: var(--white); line-height: 1.2; margin-bottom: 1rem; }
.cta-text { color: var(--gray-light); font-size: 1rem; margin-bottom: 1.8rem; line-height: 1.7; max-width: 500px; }
.cta-checklist { list-style: none; padding: 0; margin: 0; }
.cta-checklist li { display: flex; align-items: flex-start; gap: 0.8rem; margin-bottom: 1rem; font-weight: 500; font-size: 0.95rem; color: var(--gray-light); }
.cta-checklist i { color: var(--accent); font-size: 1.15rem; flex-shrink: 0; margin-top: 2px; }
.cta-image-wrapper { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); }
.cta-image { width: 100%; height: 340px; object-fit: cover; display: block; }

.site-footer { background: var(--bg-darker); border-top: 1px solid var(--border); padding: 3.5rem 0 1.5rem; }
.footer-brand .brand-lafora { display: block; margin-bottom: 0.9rem; }
.footer-tagline { font-size: 0.85rem; color: var(--gray-mid); margin-bottom: 1.2rem; line-height: 1.5; max-width: 220px; }
.social-links { display: flex; gap: 0.6rem; }
.social-links a { width: 36px; height: 36px; border-radius: 50%; background: rgba(255, 255, 255, 0.06); display: flex; align-items: center; justify-content: center; font-size: 0.9rem; color: var(--gray-light); transition: all 0.3s; }
.social-links a:hover { background: var(--accent); color: var(--bg-dark); transform: translateY(-2px); }
.footer-heading { font-weight: 700; font-size: 0.82rem; text-transform: uppercase; letter-spacing: 1.2px; margin-bottom: 1.1rem; color: var(--white); }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 0.55rem; }
.footer-links a { font-size: 0.85rem; color: var(--gray-mid); }
.footer-links a:hover { color: var(--accent); }
.footer-contact { list-style: none; padding: 0; margin: 0; }
.footer-contact li { font-size: 0.85rem; color: var(--gray-mid); margin-bottom: 0.9rem; display: flex; gap: 0.6rem; align-items: flex-start; line-height: 1.5; }
.footer-contact i { color: var(--accent); margin-top: 4px; flex-shrink: 0; }
.footer-cta-text { font-size: 0.85rem; color: var(--gray-mid); margin-bottom: 1.1rem; line-height: 1.5; }
.footer-divider { border-color: var(--border); margin: 2.5rem 0 1.2rem; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; }
.footer-bottom p { font-size: 0.8rem; color: var(--gray-mid); margin: 0; }
.footer-bottom-links { display: flex; flex-wrap: wrap; align-items: center; }
.footer-bottom-links a { font-size: 0.8rem; color: var(--gray-mid); white-space: nowrap; }
.footer-bottom-links a:not(:last-child) { margin-right: 1.5rem; }
.footer-bottom-links a:hover { color: var(--accent); }

.fade-target { opacity: 0; transform: translateY(20px); transition: opacity 0.6s ease, transform 0.6s ease; }
.fade-target.is-visible { opacity: 1; transform: translateY(0); }

.map-section { padding: 5rem 0; background: var(--bg-dark); }
.section-eyebrow { font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 2px; color: var(--accent); margin-bottom: 0.5rem; }
.section-subtitle { text-align: center; color: #5a6a7a; font-size: 1rem; max-width: 640px; margin: 0.5rem auto 2rem; }
.map-filters { display: flex; flex-wrap: wrap; gap: 0.5rem; justify-content: center; margin-bottom: 2rem; }
.map-filter-btn { background: transparent; border: 1px solid var(--border); border-radius: 20px; padding: 0.4rem 1rem; color: var(--gray-light); font-size: 0.82rem; font-weight: 500; cursor: pointer; transition: all 0.3s; }
.map-filter-btn:hover, .map-filter-btn.active { background: var(--accent); color: var(--white); border-color: var(--accent); }
.map-filter-btn .count { font-size: 0.72rem; opacity: 0.7; margin-left: 2px; }
.map-layout { display: flex; gap: 1.5rem; background: var(--white); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); }
.map-container { flex: 1; min-height: 500px; position: relative; }
#mapaUniversidades { width: 100%; height: 100%; min-height: 500px; }
.map-legend { position: absolute; bottom: 10px; left: 50%; transform: translateX(-50%); background: rgba(255,255,255,0.95); padding: 0.4rem 1rem; border-radius: 20px; font-size: 0.78rem; color: var(--gray-mid); z-index: 10; white-space: nowrap; }
.uni-list-wrapper { width: 340px; max-height: 540px; overflow-y: auto; padding: 1.5rem; border-left: 1px solid var(--border); }
.uni-list-title { font-size: 1.1rem; font-weight: 700; color: var(--bg-dark); margin-bottom: 1rem; padding-bottom: 0.8rem; border-bottom: 1px solid var(--border); }
.uni-list-title em { color: var(--accent); font-style: normal; }
.uni-card { padding: 0.8rem 0; border-bottom: 1px solid rgba(0,0,0,0.05); cursor: pointer; transition: background 0.2s; }
.uni-card:hover { background: rgba(26,184,200,0.05); }
.uni-card-name { font-size: 0.92rem; font-weight: 700; color: var(--bg-dark); margin-bottom: 0.2rem; }
.uni-card-city { font-size: 0.78rem; color: var(--gray-mid); }
.uni-card-city .flag { margin-right: 4px; }
.uni-card-desc { font-size: 0.75rem; color: #666; margin-top: 0.2rem; }
.custom-marker .marker-dot { width: 14px; height: 14px; background: var(--accent); border: 2px solid var(--white); border-radius: 50%; box-shadow: 0 2px 8px rgba(0,0,0,0.3); }
@media (max-width: 991.98px) { .map-layout { flex-direction: column; } .uni-list-wrapper { width: 100%; max-height: 300px; border-left: none; border-top: 1px solid var(--border); } }

.escritorio-section {
    padding: 5rem 0;
    background: var(--bg-darker);
}
.escritorio-section .section-title,
.escritorio-section .section-eyebrow,
.escritorio-section .section-subtitle { color: #fff; }
.escritorio-map-wrapper {
    margin: 2.5rem auto;
    max-width: 900px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-md);
}
.escritorio-map {
    width: 100%;
    height: 400px;
    background: var(--bg-dark);
}
/* Small map markers for Da Vinci units */
.davinci-marker {
    width: 28px;
    height: 28px;
    background: var(--accent);
    border: 3px solid var(--white);
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0,0,0,0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.65rem;
    font-weight: 800;
    color: var(--white);
    cursor: pointer;
    transition: transform 0.2s;
}
.davinci-marker:hover {
    transform: scale(1.2);
}
.escritorio-stats {
    margin-top: 3rem;
}
.escritorio-stat {
    text-align: center;
    padding: 1.5rem 1rem;
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: border-color 0.3s;
}
.escritorio-stat:hover {
    border-color: rgba(26,184,200,0.3);
}
.escritorio-stat-number {
    font-family: var(--font);
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--accent);
    line-height: 1;
    margin-bottom: 0.4rem;
}
.escritorio-stat-label {
    font-size: 0.8rem;
    color: var(--gray-mid);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 600;
}

@media (max-width: 1199.98px) { .dest-img-wrap { height: 130px; } }

@media (max-width: 991.98px) {
    .section-title { font-size: 1.6rem; }
    .cta-title { font-size: 1.8rem; }
    .hero-image-wrapper { height: 350px; margin-top: 2rem; }
    .hero-divider { display: none; }
    .map-layout { flex-direction: column; }
    .uni-list-wrapper { width: 100%; max-height: 300px; border-left: none; border-top: 1px solid var(--border); }
    .map-container { min-height: 350px; }
    #mapaUniversidades { min-height: 350px; }
    .escritorio-map { height: 300px; }
    .filter-bar .container { overflow-x: auto; flex-wrap: nowrap; justify-content: flex-start; padding: 0 15px; }
    .filtro-btn { flex-shrink: 0; }
    .map-filters { overflow-x: auto; flex-wrap: nowrap; justify-content: flex-start; padding-bottom: 8px; }
    .map-filter-btn { flex-shrink: 0; }
    .country-hero { padding: 120px 0 50px; }
    .page-hero { padding: 120px 0 40px; }
    .page-header { padding: 7rem 0 3rem; }
    .cta-section { padding: 4rem 0; }
}

@media (max-width: 767.98px) {
    :root { --radius: 10px; --radius-lg: 14px; }

    .hero-title { line-height: 1.2; }
    .section-title { font-size: 1.45rem; }
    .cta-title { font-size: 1.7rem; }
    .footer-bottom { flex-direction: column; text-align: center; }
    .footer-bottom-links { justify-content: center; }

    .site-header { position: fixed; top: 0; }
    .header-top { padding: 0.5rem 0; }
    .header-bottom .nav-link { font-size: 0.82rem; padding: 0.45rem 0.75rem; }

    .hero { min-height: auto; padding-top: 100px; padding-bottom: 2rem; }
    .hero-text-col { padding-top: 0; padding-right: 1rem; padding-left: 1rem; }
    .hero-image-wrapper { height: auto; min-height: 200px; margin-top: 1.5rem; clip-path: none; margin-left: 0; }
    .hero-subtitle { font-size: 0.98rem; margin-bottom: 1.5rem; }
    .hero-buttons { gap: 0.75rem; }
    .hero-buttons .btn { font-size: 0.85rem; padding: 0.6rem 1rem; flex: 1; min-width: auto; }
    .hero-plane-1, .hero-plane-2, .hero-pin-1, .hero-pin-2 { display: none; }

    .brand-lafora { font-size: 1.1rem; }
    .brand-davinci-logo { height: 22px; }
    .brand-studywing { font-size: 0.7rem; gap: 3px; }
    .header-cta { display: none !important; }
    .brand-divider-v { height: 18px; }

    .service-card { padding: 1.1rem 0.8rem; }
    .service-icon { width: 48px; height: 48px; margin-bottom: 0.8rem; }
    .service-icon i { font-size: 1.3rem; }
    .service-icon-img { width: 28px; height: 28px; }
    .service-title { font-size: 0.9rem; }
    .service-desc { font-size: 0.8rem; }

    .process-section .step-icon { width: 56px; height: 56px; }
    .process-section .step-icon i { font-size: 1.3rem; }
    .step-item { padding: 0.7rem 0.3rem; }
    .step-item h6 { font-size: 0.85rem; }
    .step-item p { font-size: 0.75rem; }

    .section-subtitle { font-size: 0.9rem; }
    .about-image { height: 250px; }
    .cta-image { height: 200px; }
    .cta-text { font-size: 0.95rem; }

    .escritorio-stat-number { font-size: 1.8rem; }
    .unis-grid { grid-template-columns: 1fr; }
    .vantagens-grid { grid-template-columns: repeat(2, 1fr); }

    .dest-img-wrap { height: 110px; }
    .dest-flag-corner { width: 32px; height: 32px; bottom: -16px; left: 12px; }
    .dest-body { padding: 1.4rem 0.9rem 1rem; }
    .dest-body h6 { font-size: 0.95rem; }
    .dest-body p { font-size: 0.78rem; }

    .escritorio-map { height: 250px; }

    .testimonial-quote blockquote { font-size: 1.05rem; }
    .quote-icon { font-size: 2.5rem; }
}

@media (max-width: 575.98px) {
    .hero-title { line-height: 1.2; margin-bottom: 1rem; }
    .section-title { font-size: 1.3rem; }
    .brand-logos { gap: 0.2rem !important; flex-wrap: wrap; }
    .brand-davinci-logo { height: 24px; }
    .brand-studywing { font-size: 0.7rem; }
    .hero-buttons .btn { font-size: 0.85rem; padding: 0.6rem 1.2rem; min-width: 0; }
    .hero-subtitle { font-size: 0.95rem; margin-bottom: 1.5rem; }
    .hero-stats { gap: 1rem; }
    .hero-stat .num { font-size: 1.3rem; }
    .hero-stat .label { font-size: 0.65rem; }
    .hero-image-wrapper { height: 250px; clip-path: none; margin-left: 0; }
    .escritorio-stats .col-6 { flex: 0 0 50%; max-width: 50%; }
    .escritorio-stat { padding: 1rem 0.5rem; }
    .escritorio-stat-number { font-size: 1.5rem; }
    .contact-form-wrapper { padding: 1.5rem; border-radius: 12px; }
    .form-control, .form-select { font-size: 16px; padding: 0.75rem 1rem; }
    .hero { padding-top: 155px; }
    .country-hero { padding: 155px 0 40px; }
    .country-hero h1 { font-size: 1.5rem; }
    .page-hero { padding: 155px 0 40px; }
    .page-hero h1 { font-size: 1.5rem; }
    .page-header { padding: 155px 0 2.5rem; }
    .faq-category-title { font-size: 1.1rem; }
    .faq-item summary { padding: 0.9rem 1rem; font-size: 0.95rem; }
    .faq-item summary h3 { font-size: 0.9rem; }
    .faq-answer { padding: 0 1rem 1rem; font-size: 0.85rem; }
    .social-links { justify-content: center; }
    .process-steps .col-6 { flex: 0 0 50%; max-width: 50%; }
    section { padding: 3rem 0; }
    .features-bar { padding: 1.5rem 0; }
    .feature-item span { font-size: 0.75rem; }
}
