/*
* Portfolioum - Estudio de Planificación Urbana y Masterplanning
* Author: Portfolioum
* Version: 1.0
*/

/* 
* ==========================================
* GLOBAL STYLES
* ==========================================
*/
:root {
    
    --deep-teal: #1A5F7A;
    --warm-terra-cotta: #E07A5F;
    --soft-sage: #81B29A;
    
    
    --muted-gold: #F2CC8F;
    --deep-indigo: #3D405B;
    
    
    --light-sand: #F4F1DE;
    --off-white: #FEFEFE;
    --light-gray: #F8F8F8;
    
    
    --vibrant-aqua: #3BCEAC;
    --deep-coral: #E8685D;
    
    
    --text-dark: #2D3142;
    --text-medium: #5C6378;
    --text-light: #8D99AE;
    --border-color: #E6E8EB;
    --shadow-color: rgba(0, 0, 0, 0.05);
    
    
    --grid-gutter: 24px;
    
    
    --transition-fast: 0.3s ease;
    --transition-medium: 0.5s ease;
    
    
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    --radius-xl: 24px;
}

body {
    font-family: 'Outfit', sans-serif;
    color: var(--text-dark);
    font-size: 1rem;
    line-height: 1.6;
    background-color: var(--off-white);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1rem;
    color: var(--deep-indigo);
}

p {
    margin-bottom: 1.5rem;
}

a {
    color: var(--deep-teal);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--warm-terra-cotta);
}

img {
    max-width: 100%;
    height: auto;
}

.section-padding {
    padding: 6rem 0;
}

@media (max-width: 768px) {
    .section-padding {
        padding: 4rem 0;
    }
}

.bg-light {
    background-color: var(--light-gray);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-subtitle {
    font-size: 1.25rem;
    color: var(--text-medium);
    margin-bottom: 2.5rem;
}

.text-primary {
    color: var(--deep-teal) !important;
}

.bg-primary {
    background-color: var(--deep-teal) !important;
}

.text-success {
    color: var(--soft-sage) !important;
}

.bg-success {
    background-color: var(--soft-sage) !important;
}

.btn {
    padding: 0.75rem 1.5rem;
    font-weight: 500;
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
    text-transform: none;
    font-size: 1rem;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

.btn-primary {
    background-color: var(--deep-teal);
    border-color: var(--deep-teal);
}

.btn-primary:hover, 
.btn-primary:focus, 
.btn-primary:active {
    background-color: darken(var(--deep-teal), 10%);
    border-color: darken(var(--deep-teal), 10%);
}

.btn-outline-primary {
    color: var(--deep-teal);
    border-color: var(--deep-teal);
}

.btn-outline-primary:hover, 
.btn-outline-primary:focus, 
.btn-outline-primary:active {
    background-color: var(--deep-teal);
    border-color: var(--deep-teal);
    color: white;
}


.iti {
    width: 100%;
}

/* 
* ==========================================
* HEADER & NAVIGATION
* ==========================================
*/
.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: var(--off-white);
    box-shadow: 0 2px 15px var(--shadow-color);
    padding: 1rem 0;
}

.navbar-brand img {
    max-height: 50px;
    width: 200px;
}

.navbar-light .navbar-nav .nav-link {
    color: var(--text-dark);
    font-weight: 500;
    padding: 0.5rem 1rem;
    transition: color var(--transition-fast);
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link:focus,
.navbar-light .navbar-nav .active > .nav-link,
.navbar-light .navbar-nav .nav-link.active {
    color: var(--deep-teal);
}

.dropdown-menu {
    border: none;
    box-shadow: 0 5px 15px var(--shadow-color);
    border-radius: var(--radius-md);
    padding: 0.75rem 0;
}

.dropdown-item {
    padding: 0.5rem 1.5rem;
    font-weight: 500;
    color: var(--text-dark);
    transition: all var(--transition-fast);
}

.dropdown-item:hover, 
.dropdown-item:focus {
    background-color: rgba(26, 95, 122, 0.1);
    color: var(--deep-teal);
}

@media (max-width: 991.98px) {
    .navbar-collapse {
        background-color: var(--off-white);
        padding: 1rem;
        border-radius: var(--radius-md);
        box-shadow: 0 5px 15px var(--shadow-color);
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        margin: 0 1rem;
    }
    
    .navbar-nav .nav-item {
        margin-bottom: 0.5rem;
    }
    
    .dropdown-menu {
        box-shadow: none;
        padding-left: 1rem;
        background-color: transparent;
    }
}

/* 
* ==========================================
* HERO SECTION
* ==========================================
*/
.hero {
    padding: 6rem 0;
    background-color: var(--light-sand);
    position: relative;
    overflow: hidden;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--deep-indigo);
}

.hero .lead {
    font-size: 1.25rem;
    color: var(--text-medium);
    margin-bottom: 2rem;
}

.hero .subtitle {
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--warm-terra-cotta);
}

.hero img {
    border-radius: var(--radius-xl);
    box-shadow: 0 15px 30px var(--shadow-color);
}

@media (max-width: 991.98px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero .subtitle {
        font-size: 1.25rem;
    }
}


.page-hero {
    padding: 5rem 0;
    background-color: var(--light-sand);
    position: relative;
    text-align: center;
}

.page-hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.page-hero .lead {
    font-size: 1.25rem;
    color: var(--text-medium);
    max-width: 800px;
    margin: 0 auto;
}

@media (max-width: 767.98px) {
    .page-hero {
        padding: 4rem 0;
    }
    
    .page-hero h1 {
        font-size: 2.5rem;
    }
}

/* 
* ==========================================
* ABOUT/SERVICES SECTION
* ==========================================
*/
.service-card {
    background-color: var(--off-white);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: 0 10px 20px var(--shadow-color);
    transition: transform var(--transition-medium);
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-10px);
}

.service-card .icon-wrapper {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(26, 95, 122, 0.1);
    margin-bottom: 1.5rem;
}

.service-card i {
    font-size: 2rem;
    color: var(--deep-teal);
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--deep-indigo);
}

.service-card p {
    color: var(--text-medium);
    margin-bottom: 1rem;
}

/* 
* ==========================================
* PORTFOLIO SECTION
* ==========================================
*/
.portfolio-item {
    margin-bottom: 2rem;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 10px 20px var(--shadow-color);
    background-color: var(--off-white);
}

.portfolio-img {
    position: relative;
    overflow: hidden;
}

.portfolio-img img {
    transition: transform var(--transition-medium);
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(26, 95, 122, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--transition-medium);
}

.portfolio-item:hover .portfolio-img img {
    transform: scale(1.1);
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-info {
    padding: 1.5rem;
}

.portfolio-info .badge {
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
    padding: 0.5rem 0.75rem;
    border-radius: var(--radius-sm);
    font-weight: 500;
}

.portfolio-info h4 {
    font-size: 1.25rem;
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
}

.portfolio-info .location {
    color: var(--text-light);
    font-size: 0.875rem;
    margin-bottom: 0.75rem;
}

.portfolio-info .description {
    color: var(--text-medium);
    font-size: 0.9375rem;
    margin-bottom: 0;
}

/* 
* ==========================================
* METHODOLOGY SECTION
* ==========================================
*/
.methodology-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2rem;
}

.methodology-item .icon-box {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(26, 95, 122, 0.1);
    margin-right: 1.5rem;
    flex-shrink: 0;
}

.methodology-item i {
    font-size: 1.25rem;
    color: var(--deep-teal);
}

.methodology-item .content {
    flex-grow: 1;
}

.methodology-item h4 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--deep-indigo);
}

.methodology-item p {
    color: var(--text-medium);
    margin-bottom: 0;
}

/* 
* ==========================================
* CASE STUDIES SECTION
* ==========================================
*/
.case-study {
    margin-bottom: 4rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border-color);
}

.case-study:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.case-study img {
    border-radius: var(--radius-lg);
    box-shadow: 0 10px 20px var(--shadow-color);
}

.case-study .badge {
    padding: 0.5rem 0.75rem;
    border-radius: var(--radius-sm);
    font-weight: 500;
}

.case-study h3 {
    font-size: 1.75rem;
    margin-top: 0.5rem;
    margin-bottom: 0.75rem;
}

.case-study .location {
    color: var(--text-light);
    margin-bottom: 1.25rem;
}

.case-study .objective,
.case-study .solution,
.case-study .result {
    margin-bottom: 1rem;
}

.case-study .objective strong,
.case-study .solution strong,
.case-study .result strong {
    color: var(--deep-teal);
}

/* 
* ==========================================
* CONTACT SECTION
* ==========================================
*/
.contact-info {
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    box-shadow: 0 10px 20px var(--shadow-color);
    height: fit-content;
}

.contact-info h3 {
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
    color: var(--deep-indigo);
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.contact-item:last-child {
    margin-bottom: 0;
}

.contact-item .icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(26, 95, 122, 0.1);
    margin-right: 1rem;
    flex-shrink: 0;
}

.contact-item i {
    font-size: 1rem;
    color: var(--deep-teal);
}

.contact-item .content {
    flex-grow: 1;
}

.contact-item h4 {
    font-size: 1.125rem;
    margin-bottom: 0.25rem;
    color: var(--deep-indigo);
}

.contact-item p {
    color: var(--text-medium);
    margin-bottom: 0;
}

.contact-form-wrapper {
    background-color: var(--off-white);
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    box-shadow: 0 10px 20px var(--shadow-color);
    height: 100%;
}

.contact-form .form-label {
    font-weight: 500;
    color: var(--deep-indigo);
}

.contact-form .form-control {
    padding: 0.75rem 1rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    background-color: var(--off-white);
    transition: all var(--transition-fast);
}

.contact-form .form-control:focus {
    border-color: var(--deep-teal);
    box-shadow: 0 0 0 0.25rem rgba(26, 95, 122, 0.25);
}

.contact-form textarea.form-control {
    min-height: 120px;
}

.contact-form .form-check-input:checked {
    background-color: var(--deep-teal);
    border-color: var(--deep-teal);
}

/* 
* ==========================================
* FOOTER
* ==========================================
*/
.footer {
    background-color: var(--deep-indigo);
    color: #fff;
    padding: 5rem 0 2rem;
}

.footer h5 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: #fff;
}

.footer p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1rem;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    transition: color var(--transition-fast);
}

.footer-links a:hover {
    color: var(--soft-sage);
}

.footer .contact-info p {
    display: flex;
    align-items: center;
    margin-bottom: 0.75rem;
}

.footer .contact-info i {
    color: var(--soft-sage);
    margin-right: 0.5rem;
}

.footer .contact-info a {
    color: rgba(255, 255, 255, 0.7);
    transition: color var(--transition-fast);
}

.footer .contact-info a:hover {
    color: var(--soft-sage);
}

.footer hr {
    margin: 2rem 0;
    border-color: rgba(255, 255, 255, 0.1);
}

.footer .copyright p {
    font-size: 0.875rem;
    margin-bottom: 0;
}

/* 
* ==========================================
* COOKIE BANNER
* ==========================================
*/
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--off-white);
    box-shadow: 0 -5px 15px var(--shadow-color);
    padding: 1.5rem;
    z-index: 1050;
    transform: translateY(100%);
    transition: transform var(--transition-medium);
}

.cookie-banner.show {
    transform: translateY(0);
}

.cookie-banner-content {
    max-width: 1200px;
    margin: 0 auto;
}

.cookie-banner-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.cookie-banner-header h3 {
    font-size: 1.25rem;
    margin-bottom: 0;
}

.cookie-banner-body p {
    margin-bottom: 1.5rem;
    font-size: 0.9375rem;
}

.cookie-banner-footer {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.cookie-settings-modal {
    max-width: 800px;
}

.cookie-settings-modal .modal-body {
    padding: 2rem;
}

.cookie-category {
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 1.5rem;
    margin-bottom: 1.5rem;
}

.cookie-category:last-child {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 0;
}

.cookie-category-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.cookie-category-header h4 {
    font-size: 1.125rem;
    margin-bottom: 0;
}

.cookie-category-body p {
    font-size: 0.9375rem;
    margin-bottom: 0;
}

.form-switch {
    padding-left: 2.5rem;
}

.form-switch .form-check-input {
    width: 2rem;
    height: 1rem;
    margin-left: -2.5rem;
}

.form-switch .form-check-input:checked {
    background-color: var(--deep-teal);
    border-color: var(--deep-teal);
}

/* 
* ==========================================
* MODAL STYLES
* ==========================================
*/
.modal-content {
    border-radius: var(--radius-lg);
    border: none;
    overflow: hidden;
}

.modal-header {
    background-color: var(--off-white);
    border-bottom: 1px solid var(--border-color);
    padding: 1.5rem;
}

.modal-header .btn-close {
    background-size: 0.75rem;
}

.modal-title {
    font-size: 1.5rem;
    color: var(--deep-indigo);
}

.modal-body {
    padding: 2rem;
}

.modal-footer {
    background-color: var(--off-white);
    border-top: 1px solid var(--border-color);
    padding: 1rem 1.5rem;
}

/* 
* ==========================================
* THANK YOU PAGE
* ==========================================
*/
.thank-you {
    padding: 8rem 0;
}

.thank-you-wrapper {
    background-color: var(--off-white);
    padding: 4rem 2rem;
    border-radius: var(--radius-lg);
    box-shadow: 0 10px 30px var(--shadow-color);
    text-align: center;
}

.thank-you-icon {
    font-size: 4rem;
    color: var(--soft-sage);
    margin-bottom: 2rem;
}

.thank-you h1 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--deep-indigo);
}

.thank-you .lead {
    font-size: 1.25rem;
    color: var(--text-medium);
    margin-bottom: 1.5rem;
}

.related-content .card {
    border: none;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 10px 20px var(--shadow-color);
    height: 100%;
    transition: transform var(--transition-medium);
}

.related-content .card:hover {
    transform: translateY(-10px);
}

.related-content .card-img-top {
    height: 200px;
    object-fit: cover;
}

.related-content .card-body {
    padding: 1.5rem;
}

.related-content .card-title {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--deep-indigo);
}

.related-content .card-text {
    color: var(--text-medium);
    margin-bottom: 1.25rem;
}

/* 
* ==========================================
* CASES PAGE STYLES
* ==========================================
*/
.filter-buttons .btn {
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
}

.filter-buttons .btn.active {
    background-color: var(--deep-teal);
    color: white;
}

.projects-grid .project-item {
    margin-bottom: 2rem;
}

.projects-grid .card {
    border: none;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 10px 20px var(--shadow-color);
    height: 100%;
    transition: transform var(--transition-medium);
}

.projects-grid .card:hover {
    transform: translateY(-10px);
}

.projects-grid .card-img-top {
    height: 200px;
    object-fit: cover;
}

.projects-grid .card-body {
    padding: 1.5rem;
}

.projects-grid .card-tags .badge {
    margin-right: 0.5rem;
    padding: 0.5rem 0.75rem;
    border-radius: var(--radius-sm);
    font-weight: 500;
}

.projects-grid .card-title {
    margin-bottom: 0.5rem;
    color: var(--deep-indigo);
}

.projects-grid .card-location {
    color: var(--text-light);
    font-size: 0.875rem;
    margin-bottom: 0.75rem;
}

.projects-grid .card-text {
    color: var(--text-medium);
    margin-bottom: 0.75rem;
}

.projects-grid .card-sustainability {
    color: var(--soft-sage);
    font-size: 0.875rem;
    margin-bottom: 0;
    font-weight: 500;
}

.detailed-cases .detailed-case {
    margin-bottom: 5rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid var(--border-color);
}

.detailed-cases .detailed-case:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.case-image-wrapper {
    position: relative;
}

.case-tag {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background-color: var(--deep-teal);
    color: white;
    padding: 0.5rem 0.75rem;
    border-radius: var(--radius-sm);
    font-weight: 500;
    font-size: 0.875rem;
}

.case-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    color: var(--text-light);
}

.case-meta span {
    display: flex;
    align-items: center;
}

.case-section h4 {
    color: var(--deep-teal);
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.case-list {
    padding-left: 1.25rem;
}

.case-list li {
    margin-bottom: 0.75rem;
}

.case-list li strong {
    color: var(--deep-indigo);
}

.result-card {
    background-color: var(--off-white);
    padding: 1.5rem;
    border-radius: var(--radius-md);
    text-align: center;
    box-shadow: 0 5px 15px var(--shadow-color);
    height: 100%;
}

.result-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--deep-teal);
    margin-bottom: 0.5rem;
}

.result-text {
    font-size: 0.9375rem;
    color: var(--text-medium);
}

.lessons .lesson-card {
    background-color: var(--off-white);
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: 0 10px 20px var(--shadow-color);
    transition: transform var(--transition-medium);
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.lessons .lesson-card:hover {
    transform: translateY(-10px);
}

.lesson-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(26, 95, 122, 0.1);
    margin-bottom: 1.5rem;
}

.lesson-icon i {
    font-size: 1.5rem;
    color: var(--deep-teal);
}

.lesson-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--deep-indigo);
}

.lesson-card p {
    color: var(--text-medium);
    font-size: 0.9375rem;
    margin-bottom: 0.75rem;
}

.lesson-card p:last-child {
    margin-bottom: 0;
}

/* 
* ==========================================
* COLLABORATION PAGE STYLES
* ==========================================
*/
.process-overview {
    background-color: var(--off-white);
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: 0 10px 20px var(--shadow-color);
}

.process-timeline {
    position: relative;
    padding-left: 3rem;
    margin-top: 4rem;
}

.process-timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 1.25rem;
    height: 100%;
    width: 2px;
    background-color: var(--border-color);
}

.process-step {
    position: relative;
    margin-bottom: 3rem;
}

.process-step:last-child {
    margin-bottom: 0;
}

.process-number {
    position: absolute;
    top: 0;
    left: -3rem;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background-color: var(--deep-teal);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.125rem;
    z-index: 1;
}

.process-content h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--deep-indigo);
}

.process-content p {
    color: var(--text-medium);
    margin-bottom: 1.5rem;
}

.process-details {
    background-color: var(--off-white);
    padding: 1.5rem;
    border-radius: var(--radius-md);
    box-shadow: 0 5px 15px var(--shadow-color);
}

.process-details h4 {
    font-size: 1.125rem;
    color: var(--deep-teal);
    margin-bottom: 0.75rem;
}

.process-details ul {
    padding-left: 1.25rem;
    margin-bottom: 1.5rem;
}

.process-details ul li {
    margin-bottom: 0.5rem;
}

.process-details p {
    margin-bottom: 0;
}

.format-card {
    background-color: var(--off-white);
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: 0 10px 20px var(--shadow-color);
    transition: transform var(--transition-medium);
}

.format-card:hover {
    transform: translateY(-10px);
}

.format-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(26, 95, 122, 0.1);
    margin-bottom: 1.5rem;
}

.format-icon i {
    font-size: 1.5rem;
    color: var(--deep-teal);
}

.format-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--deep-indigo);
}

.format-details p {
    color: var(--text-medium);
    margin-bottom: 1.25rem;
}

.format-details h4 {
    font-size: 1rem;
    color: var(--deep-teal);
    margin-bottom: 0.5rem;
}

.format-details ul {
    padding-left: 1.25rem;
    margin-bottom: 1.25rem;
}

.format-details ul li {
    margin-bottom: 0.5rem;
    color: var(--text-medium);
}

.info-requirements {
    margin-top: 2rem;
}

.requirement-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
    background-color: var(--off-white);
    padding: 1.5rem;
    border-radius: var(--radius-md);
    box-shadow: 0 5px 15px var(--shadow-color);
}

.requirement-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(26, 95, 122, 0.1);
    margin-right: 1.5rem;
    flex-shrink: 0;
}

.requirement-icon i {
    font-size: 1.25rem;
    color: var(--deep-teal);
}

.requirement-content {
    flex-grow: 1;
}

.requirement-content h4 {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
    color: var(--deep-indigo);
}

.requirement-content p {
    color: var(--text-medium);
    margin-bottom: 0;
}

.commercial-timeline {
    position: relative;
    padding-left: 2rem;
    border-left: 2px dashed var(--border-color);
    margin-left: 0.5rem;
}

.timeline-item {
    position: relative;
    padding-bottom: 2rem;
}

.timeline-item:last-child {
    padding-bottom: 0;
}

.timeline-dot {
    position: absolute;
    top: 0;
    left: -2.5rem;
    width: 1rem;
    height: 1rem;
    border-radius: 50%;
    background-color: var(--deep-teal);
}

.timeline-content {
    position: relative;
    margin-bottom: 1rem;
}

.timeline-content h4 {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
    color: var(--deep-indigo);
}

.timeline-content p {
    color: var(--text-medium);
    margin-bottom: 0.5rem;
}

.timeline-duration {
    font-size: 0.875rem;
    color: var(--warm-terra-cotta);
    font-weight: 500;
}

.evaluation-note {
    background-color: var(--light-sand);
    padding: 2rem;
    border-radius: var(--radius-lg);
    border-left: 4px solid var(--deep-teal);
}

.evaluation-note h3 {
    color: var(--deep-indigo);
    font-size: 1.5rem;
}

.evaluation-note ul {
    padding-left: 1.25rem;
    margin-bottom: 0;
}

.evaluation-note ul li {
    margin-bottom: 0.75rem;
    color: var(--text-medium);
}

.evaluation-note ul li:last-child {
    margin-bottom: 0;
}

/* 
* ==========================================
* CONTACTS PAGE STYLES
* ==========================================
*/
.contact-info-section .contact-card {
    background-color: var(--off-white);
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: 0 10px 20px var(--shadow-color);
    height: 100%;
    transition: transform var(--transition-medium);
}

.contact-info-section .contact-card:hover {
    transform: translateY(-10px);
}

.contact-icon {
    font-size: 2rem;
    color: var(--deep-teal);
}

.contact-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--deep-indigo);
}

.contact-card p {
    color: var(--text-medium);
    margin-bottom: 0.5rem;
}

.contact-card p:last-child {
    margin-bottom: 0;
}

.map-wrapper {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 10px 20px var(--shadow-color);
}

.map-wrapper iframe {
    display: block;
}

.directions-list {
    margin-top: 1.5rem;
}

.direction-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.direction-item:last-child {
    margin-bottom: 0;
}

.direction-number {
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    background-color: var(--deep-teal);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    margin-right: 1rem;
    flex-shrink: 0;
}

.direction-item p {
    margin-bottom: 0;
    padding-top: 0.25rem;
}

.additional-info-list {
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
}

.additional-info-list li {
    margin-bottom: 0.75rem;
    padding-left: 1.5rem;
    position: relative;
}

.additional-info-list li:last-child {
    margin-bottom: 0;
}

.additional-info-list li::before {
    content: '\f058';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 0.15rem;
    color: var(--deep-teal);
}

/* 
* ==========================================
* CTA SECTION
* ==========================================
*/
.cta-section {
    padding: 5rem 0;
}

.cta-box {
    background-color: var(--off-white);
    padding: 3rem;
    border-radius: var(--radius-lg);
    box-shadow: 0 10px 30px var(--shadow-color);
    position: relative;
    overflow: hidden;
}

.cta-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: linear-gradient(to right, var(--deep-teal), var(--soft-sage));
}

.cta-box h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--deep-indigo);
}

.cta-box .lead {
    color: var(--text-medium);
    margin-bottom: 1.5rem;
}

@media (max-width: 767.98px) {
    .cta-box {
        padding: 2rem;
    }
    
    .cta-box h2 {
        font-size: 1.75rem;
    }
}

/* 
* ==========================================
* POLICY PAGES
* ==========================================
*/
.policy-content {
    padding: 5rem 0;
}

.policy-section {
    margin-bottom: 3rem;
}

.policy-section:last-child {
    margin-bottom: 0;
}

.policy-section h2 {
    font-size: 1.75rem;
    margin-bottom: 1.25rem;
    color: var(--deep-indigo);
}

.policy-section h3 {
    font-size: 1.25rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: var(--deep-teal);
}

.policy-section p {
    margin-bottom: 1rem;
    color: var(--text-medium);
}

.policy-section ul, 
.policy-section ol {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.policy-section li {
    margin-bottom: 0.5rem;
    color: var(--text-medium);
}

.cookie-table {
    margin-bottom: 2rem;
}

.cookie-table th {
    background-color: var(--light-gray);
    color: var(--deep-indigo);
    font-weight: 600;
}

/* 
* ==========================================
* RESPONSIVE ADJUSTMENTS
* ==========================================
*/
@media (max-width: 1199.98px) {
    .section-title {
        font-size: 2.25rem;
    }
    
    .hero h1 {
        font-size: 3rem;
    }
    
    .page-hero h1 {
        font-size: 2.75rem;
    }
}

@media (max-width: 991.98px) {
    .section-padding {
        padding: 5rem 0;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .hero {
        padding: 5rem 0;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .page-hero {
        padding: 4rem 0;
    }
    
    .page-hero h1 {
        font-size: 2.5rem;
    }
    
    .process-timeline {
        padding-left: 2.5rem;
    }
    
    .process-number {
        left: -2.5rem;
        width: 2rem;
        height: 2rem;
        font-size: 1rem;
    }
    
    .commercial-timeline {
        padding-left: 1.5rem;
    }
    
    .timeline-dot {
        left: -2rem;
    }
}

@media (max-width: 767.98px) {
    .section-padding {
        padding: 4rem 0;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .hero {
        padding: 4rem 0;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero .subtitle {
        font-size: 1.25rem;
    }
    
    .page-hero {
        padding: 3rem 0;
    }
    
    .page-hero h1 {
        font-size: 2rem;
    }
    
    .service-card, 
    .portfolio-item, 
    .contact-info, 
    .contact-form-wrapper,
    .format-card,
    .lesson-card {
        padding: 1.5rem;
    }
    
    .methodology-item .icon-box {
        width: 40px;
        height: 40px;
        margin-right: 1rem;
    }
    
    .cta-box {
        padding: 2rem;
    }
    
    .cta-box h2 {
        font-size: 1.5rem;
    }
    
    .thank-you-wrapper {
        padding: 2.5rem 1.5rem;
    }
    
    .thank-you h1 {
        font-size: 2rem;
    }
    
    .thank-you-icon {
        font-size: 3rem;
    }
    
    .process-content h3 {
        font-size: 1.25rem;
    }
}

@media (max-width: 575.98px) {
    .section-padding {
        padding: 3rem 0;
    }
    
    .hero h1 {
        font-size: 1.75rem;
    }
    
    .hero .lead {
        font-size: 1.125rem;
    }
    
    .hero .subtitle {
        font-size: 1.125rem;
    }
    
    .page-hero h1 {
        font-size: 1.75rem;
    }
    
    .page-hero .lead {
        font-size: 1.125rem;
    }
    
    .contact-item .icon {
        width: 35px;
        height: 35px;
    }
    
    .case-meta {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .policy-section h2 {
        font-size: 1.5rem;
    }
    
    .policy-section h3 {
        font-size: 1.25rem;
    }
}


.reveal-fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

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

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

.reveal-scale-up {
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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