/* Contact Page Address Section Styles */

.contact-offices-area {
    background-color: #f7f7f7;
    padding: 100px 0;
    padding-top: 80px;
}

.contact-office-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.office-card {
    background: #fff;
    border-radius: 20px;
    padding: 40px;
    position: relative;
    transition: all 0.3s ease;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
}

.office-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.08);
}

.office-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 25px;
}

.office-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    display: inline-block;
}

.dot-blue {
    background-color: #3b82f6;
}

.dot-orange {
    background-color: #f97316;
}

.dot-purple {
    background-color: #8b5cf6;
}

.read-time {
    font-size: 14px;
    color: #999;
}

.office-title {
    font-size: 24px;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 20px;
    color: #111;
    font-family: var(--font_recoleta);
}

.office-address {
    font-size: 16px;
    line-height: 1.6;
    color: #000;
    font-family: var(--font_dmsans);
    margin-bottom: 40px;
    min-height: 80px;
}

.office-link-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 1px solid #eee;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #111;
    transition: all 0.3s ease;
}

.office-card:hover .office-link-btn {
    background-color: #111;
    color: #fff;
    border-color: #111;
}

.office-contact-details {
    margin-bottom: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    /* Added gap between rows */
}

/* Updated Contact Row Styles */
.contact-row {
    display: flex;
    align-items: center;
    margin-bottom: 0px !important;
    /* Override .info-row margin */
    padding: 10px;
    border-radius: 12px;
    transition: background-color 0.3s;
    background-color: #f4eeff;
}

.office-card:nth-child(2) .contact-row {
    background-color: #fff;
}

.contact-row:hover {
    background-color: #f9fafb;
}

/* Icon Box overrides for office card if needed */
.office-card .icon-box {
    width: 45px;
    /* Slightly smaller in cards? Or keep 50 */
    height: 45px;
    margin-right: 15px;
}

/* Typography updates for contact rows */
.office-card .label {
    font-size: 13px;
    color: #888;
    font-weight: 500;
    margin-bottom: 2px;
    display: block;
}

.office-card .value {
    font-size: 16px;
    font-weight: 600;
    color: #111;
    text-decoration: none;
    font-family: var(--font_dmsans);
}

.office-card .value:hover {
    color: #2563EB;
}


/* ... (Existing Media Queries) ... */
@media only screen and (max-width: 991px) {
    .contact-office-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media only screen and (max-width: 767px) {
    .contact-office-grid {
        grid-template-columns: 1fr;
    }
}

/* Contact Info Sidebar Styles (Keeping these for the sidebar section below) */
.contact-sidebar {
    padding-left: 20px;
}

@media (max-width: 991px) {
    .contact-sidebar {
        padding-left: 0;
        margin-top: 60px;
    }
}

.sidebar-card {
    display: flex;
    align-items: center;
    background: #fff;
    padding: 25px;
    border-radius: 16px;
    margin-bottom: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
    border: 1px solid #f0f0f0;
    transition: transform 0.3s, box-shadow 0.3s;
}

.sidebar-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
}

.icon-circle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    flex-shrink: 0;
}

.icon-circle svg {
    width: 24px;
    height: 24px;
}

.icon-orange {
    background: #fff7ed;
    color: #ea580c;
}

.icon-purple {
    background: #f3e8ff;
    color: #9333ea;
}

.card-content {
    display: flex;
    flex-direction: column;
}

.card-label {
    font-size: 12px;
    color: #888;
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.card-value {
    font-size: 17px;
    font-weight: 600;
    color: #111;
    text-decoration: none;
    font-family: var(--font_dmsans);
    transition: color 0.3s;
}

.card-value:hover {
    color: #2563EB;
}

.sidebar-divider {
    height: 1px;
    background: #eee;
    margin: 40px 0;
}

.group-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #111;
    font-family: var(--font_recoleta, serif);
}

.country-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    padding: 12px 20px;
    background: #fff;
    border-radius: 12px;
    border: 1px solid #f0f0f0;
    transition: all 0.3s;
}

.country-item:hover {
    border-color: #ddd;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}

.country-flag {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    margin-right: 15px;
    flex-shrink: 0;
}

.flag-blue {
    background: #3b82f6;
}

.flag-orange {
    background: #f97316;
}

.flag-purple {
    background: #8b5cf6;
}

.country-name {
    width: 60px;
    font-size: 14px;
    font-weight: 500;
    color: #666;
    margin-right: 10px;
    flex-shrink: 0;
}

/* Unified Contact Info Sidebar Styles - V2 */
.contact-info-card {
    background: #fff;
    border-radius: 30px;
    padding: 50px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.05);
    height: 100%;
    border: 1px solid #f7f7f7;
}

.sidebar-heading {
    font-size: 32px;
    font-weight: 600;
    font-family: var(--font_recoleta);
    margin-bottom: 10px;
    color: #111;
}

.sidebar-sub {
    font-size: 16px;
    color: #666;
    margin-bottom: 50px;
}

.info-section {
    margin-bottom: 0;
}

.info-title {
    font-size: 13px;
    text-transform: uppercase;
    color: #999;
    letter-spacing: 1.5px;
    margin-bottom: 25px;
    font-weight: 700;
}

.info-row {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
}

.icon-box {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    flex-shrink: 0;
}

.icon-box svg {
    width: 24px;
    height: 24px;
}

.icon-orange-light {
    background: #fff7ed;
    color: #f97316;
}

.icon-purple-light {
    background: #f3e8ff;
    color: #9333ea;
}

.icon-green-light {
    background: #f0fdf4;
    color: #16a34a;
}

.info-content {
    display: flex;
    flex-direction: column;
}

.info-content .label {
    font-size: 13px;
    color: #888;
    font-weight: 500;
    margin-bottom: 4px;
}

.info-content .value {
    font-size: 18px;
    color: #111;
    text-decoration: none;
    font-family: var(--font_dmsans);
    transition: color 0.3s;
    line-height: 1.2;
}

.info-content .value:hover {
    color: #2563EB;
}

.sidebar-divider {
    height: 1px;
    background: #eee;
    margin: 40px 0;
}

.mt-30 {
    margin-top: 40px;
}

/* Styles for Multi-Value items if needed */
.icon-blue-light {
    background: #eff6ff;
    color: #3b82f6;
}

/* User requested center card background */
.contact-office-grid .office-card:nth-child(2) {
    background-color: #f4eeff;
    border: solid 1px #ded4f6;
}