/* DIN Next Rounded LT Pro Font Faces */
@font-face {
    font-family: "DIN Next Rounded LT Pro";
    src: url("public/fonts/DINNextRoundedLTPro-Light.otf") format("opentype");
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "DIN Next Rounded LT Pro";
    src: url("public/fonts/DINNextRoundedLTPro-Regular.otf") format("opentype");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "DIN Next Rounded LT Pro";
    src: url("public/fonts/DINNextRoundedLTPro-Medium.otf") format("opentype");
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "DIN Next Rounded LT Pro";
    src: url("public/fonts/DINNextRoundedLTPro-Bold.otf") format("opentype");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

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

body {
    font-family: "DIN Next Rounded LT Pro", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
    color: #333;
    line-height: 1.6;
    background: #F7F7F5;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background: white;
    padding: 30px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 40px;
    width: auto;
}

.logo-vivo {
    color: #fe5000;
}

.logo-facil {
    color: #00a0e6;
}

.logo-facil-footer {
    color: white;
}

.header-buttons {
    display: flex;
    gap: 15px;
    align-items: center;
}

.header-call-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
}

.header-call-icon-wrapper {
    display: none;
    width: 44px;
    height: 44px;
    background: #fe5000;
    border: 2px solid #fe5000;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s;
    flex-shrink: 0;
    text-decoration: none;
    align-items: center;
    justify-content: center;
}

.header-call-icon-wrapper:hover {
    transform: scale(1.1);
    background: #e64900;
    border-color: #e64900;
}

.header-call-icon {
    width: 17px;
    height: 17px;
    object-fit: contain;
    display: block;
}

.btn-outline {
    background: white;
    color: #fe5000;
    border: 2px solid #fe5000;
    padding: 10px 20px;
    border-radius: 25px;
    font-weight: bold;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
}

.btn-outline:hover {
    background: #fe5000;
    color: white;
}

/* Hero Section */
.hero {
    background: white;
    padding: 20px 0 30px;
}

.hero-title {
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 15px;
}

.hero-logo {
    height: 80px;
    width: auto;
}

.rainbow {
    background: linear-gradient(90deg, #fe5000, #ff8c00, #ffd700, #00a0e6, #1d6087);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.plus-text {
    color: #1d6087;
    font-size: 56px;
    font-weight: bold;
}

.hero-subtitle-box {
    background: #f8f8f8;
    padding: 15px 120px;
    margin-bottom: 20px;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

.hero-subtitle {
    color: #1d6087;
    font-size: 28px;
    font-weight: 500;
    margin-bottom: 8px;
    text-align: center;
    line-height: 1.3;
}

.hero-description {
    font-size: 18px;
    margin-bottom: 8px;
    text-align: center;
    line-height: 1.5;
}

.hero-experience {
    font-size: 18px;
    text-align: center;
    margin: 0;
    line-height: 1.5;
}

.video-container {
    max-width: 1400px;
    margin: 0 auto 15px;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.video-container video {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 15px;
}

.btn-primary {
    background: #fe5000;
    color: white;
    border: none;
    padding: 15px 40px;
    border-radius: 12px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-large {
    display: block;
    margin: 0 auto 50px;
}

.btn-primary:hover {
    background: #e04800;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(254, 80, 0, 0.3);
}

/* Services Grid Hero */
.services-grid-hero {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 30px;
    margin-top: 50px;
}

.service-card-hero {
    background: white;
    padding: 40px 30px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.service-title-hero {
    font-size: 28px;
    color: #333;
    margin-bottom: 15px;
    line-height: 1.2;
}

.service-subtitle-hero {
    font-size: 16px;
    margin-bottom: 25px;
}

.btn-outline-service {
    background: white;
    color: #fe5000;
    border: 2px solid #fe5000;
    padding: 10px 20px;
    border-radius: 25px;
    font-weight: bold;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-outline-service:hover {
    background: #fe5000;
    color: white;
}

.service-cards-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.service-small-card {
    background: #00a0e6;
    color: white;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.3;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 140px;
}

.service-dark {
    background: #1d6087;
}

.service-icon {
    width: 40px;
    height: 40px;
    margin-bottom: 10px;
}

.service-24h {
    font-size: 14px;
    font-weight: bold;
}

/* Services Section */
.services-section {
    background: #F7F7F5;
    padding: 60px 0;
}

/* Updated layout to match Figma: title left, cards right in masonry grid */
.services-layout {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 50px;
    margin-bottom: 50px;
    align-items: start;
}

.services-intro {
    padding: 20px 0;
}

.services-intro-title {
    font-size: 36px;
    color: #333;
    font-weight: bold;
    margin-bottom: 15px;
    line-height: 1.2;
}

.services-intro-subtitle {
    font-size: 16px;
    color: #333;
    margin-bottom: 30px;
}

.btn-outline-orange {
    background: white;
    color: #fe5000;
    border: 2px solid #fe5000;
    padding: 12px 25px;
    border-radius: 25px;
    font-weight: bold;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-outline-orange:hover {
    background: #fe5000;
    color: white;
}

/* Wrapper para servicios masonry con texto de condiciones */
.services-masonry-wrapper {
    position: relative;
}

/* Grid simple: 4 columnas iguales */
.services-masonry {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    max-width: 100%;
    margin-bottom: 20px;
}

/* Texto de condiciones */
.services-conditions {
    position: absolute;
    bottom: -25px;
    right: 0;
    font-size: 14px;
    color: #333;
    padding: 5px 10px;
    font-weight: 600;
    white-space: nowrap;
    z-index: 10;
}

.services-conditions-mobile {
    display: none;
}

/* Mobile Slider - Hidden on desktop */
.services-slider-mobile {
    display: none;
}

.service-card {
    background: #00a0e6;
    color: white;
    padding: 30px 20px;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    transition: transform 0.3s, box-shadow 0.3s;
    min-height: 200px;
    overflow: visible;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* Card alta ocupa 2 filas */
.service-card-tall {
    grid-row: span 2;
    min-height: 420px;
}

/* Specific grid positioning to match Figma layout exactly */
/* Specific grid positioning removed - all cards are same size */

.service-card-dark {
    background: #1d6087;
}


.service-card-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 15px;
    width: 100%;
    height: 100%;
}

/* Updated icon styles for real images - 45x45 as per Figma */
.service-card-icon-img {
    width: 35px;
    height: 35px;
    object-fit: contain;
    display: block;
    margin: 0 auto;
}

.service-card h3 {
    font-size: 15px;
    font-weight: 600;
    line-height: 1.3;
    text-align: center;
    margin: 0;
}

.service-24h-text {
    font-size: 18px !important;
    font-weight: bold !important;
    line-height: 1.3 !important;
    text-align: center !important;
    margin: 0 !important;
}

/* Tooltip styles */
.service-tooltip {
    position: absolute;
    bottom: calc(100% + 15px);
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: rgba(29, 96, 135, 0.98);
    color: white;
    padding: 15px 20px;
    border-radius: 8px;
    font-size: 14px;
    line-height: 1.5;
    max-width: 280px;
    width: max-content;
    text-align: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    pointer-events: none;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Flecha del tooltip */
.service-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 8px solid transparent;
    border-top-color: rgba(29, 96, 135, 0.98);
}

.service-tooltip.visible {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}


.section-title {
    font-size: 36px;
    text-align: center;
    margin-bottom: 15px;
}

.section-subtitle {
    text-align: center;
    font-size: 18px;
    margin-bottom: 50px;
    color: #333;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 50px;
}

/* Pricing Section */
.pricing-section {
    background: white;
    padding: 60px 0;
}

/* Toggle buttons */
.pricing-toggle {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 40px;
    align-items: center;
}

.pricing-toggle-btn {
    background: white;
    color: #333;
    border: 2px solid #333;
    padding: 10px 40px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    outline: none;
    font-family: inherit;
    border-radius: 30px;
}

.pricing-toggle-btn:hover:not(.active) {
    background: #f5f5f5;
}

.pricing-toggle-btn.active {
    background: #00a0e6;
    color: white;
    border-color: #00a0e6;
    z-index: 1;
}

.pricing-toggle-btn.active:hover {
    background: #00a0e6;
    border-color: #00a0e6;
}


.pricing-cards {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-bottom: 50px;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
}

.pricing-card {
    background: white;
    border: 3px solid #1D6087;
    border-radius: 10px;
    padding: 30px;
    display: flex;
    gap: 30px;
    position: relative;
    width: 100%;
    transition: all 0.3s ease;
    cursor: pointer;
}

.pricing-card:hover {
    background: #1D6087;
}

.pricing-card:hover .pricing-type {
    color: white;
}

.pricing-card:hover .pricing-first-year {
    color: white;
}

.pricing-card:hover .pricing-price {
    color: white;
}

.pricing-card:hover .pricing-period-title {
    color: white;
}

.pricing-card:hover .pricing-after-year {
    color: white;
}

.pricing-card:hover .pricing-description {
    color: white;
}

.pricing-card:hover .pricing-terms {
    color: white;
}

.pricing-card:hover .pricing-original-price {
    color: rgba(255, 255, 255, 0.8);
    text-decoration-color: rgba(255, 255, 255, 0.9);
}

.pricing-content {
    flex: 1;
}

.pricing-type {
    font-size: 40px;
    color: #333;
    margin-bottom: 8px;
    line-height: .5;
    margin-top: 0;
}

.pricing-period-title {
    color: #00a0e6;
    font-weight: bold;
}

.pricing-first-year {
    font-size: 25px;
    color: #333;
    line-height: 1.2;
    margin-top: 0;
    font-weight: 600;
}



.pricing-price-container {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 8px;
    margin-bottom: 10px;
}

.pricing-original-price {
    font-size: 28px;
    color: #999;
    font-weight: 500;
    margin: 0;
    line-height: 1;
    text-decoration: line-through;
    text-decoration-color: #00a0e6;
    text-decoration-thickness: 4px;
    display: flex;
    align-items: center;
}

.pricing-original-price .pricing-period {
    font-size: 20px;
    margin-left: 2px;
}

.pricing-price {
    font-size: 40px;
    color: #00a0e6;
    font-weight: bold;
    margin: 0;
    line-height: 1;
}

.pricing-period {
    font-size: 24px;
}

.pricing-after-year {
    font-size: 25px;
    color: #00a0e6;
    line-height: 1;
    margin-top: 0;
    font-weight: 500;
}

.pricing-description {
    font-size: 18px;
    margin-top: 0;
    color: #333;
    line-height: 1.5;
}

.btn-secondary {
    background: #00a0e6;
    color: white;
    margin-top: 10px;
    border: none;
    padding: 12px 35px;
    border-radius: 25px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s;
    display: inline-block;
    text-decoration: none;
    text-align: center;
}

.btn-secondary:hover {
    background: #1d6087;
    color: white;
}

.pricing-terms-wrapper {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 10px;
    justify-content: flex-start;
}

.pricing-terms {
    font-size: 12px;
    color: #666;
    margin: 0;
}

.pricing-terms-link {
    color: #666;
    text-decoration: underline;
    transition: color 0.3s;
}

.pricing-terms-link:hover {
    color: #00a0e6;
}

.pricing-card:hover .pricing-terms-link {
    color: white;
}

.pricing-card:hover .pricing-terms {
    color: white;
}

/* Para el pricing-terms que está solo (sin wrapper) */
.pricing-content>.pricing-terms {
    margin-top: 10px;
}

.pricing-image {
    flex-shrink: 0;
    width: 350px;
}

.pricing-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

.pricing-badge {
    background: #fe5000;
    color: white;
    padding: 8px 20px;
    font-size: 20px;
    white-space: nowrap;
}

.call-to-action {
    text-align: center;
    padding: 20px;
    background: #F7F7F5;
    border-radius: 15px;
}

/* Reveal on scroll animation (used por varios elementos) */
.reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.6s cubic-bezier(.22, .9, .38, 1), transform 0.6s cubic-bezier(.22, .9, .38, 1);
    will-change: opacity, transform;
}

.reveal.in-view {
    opacity: 1;
    transform: translateY(0);
}

.cta-title {
    color: #1d6087;
    font-size: 32px;
    margin-bottom: 10px;
}

.cta-subtitle {
    font-size: 18px;
    margin-bottom: 25px;
    color: #333;
}

.btn-dark {
    background: #1d6087;
    text-decoration: none;
    color: white;
    border: none;
    padding: 15px 40px;
    border-radius: 25px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-dark:hover {
    background: #154a68;
}

/* Services Vivofácil Plus Section */
.services-vivofacil-section {
    background: white;
    padding: 40px 0;
}

.services-vivofacil-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 50px;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
    align-items: start;
}

.service-vivofacil-card {
    background: #00a0e6;
    color: white;
    padding: 30px 20px;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    position: relative;
    transition: all 0.3s ease;
    min-height: auto;
    height: auto;
    overflow: hidden;
}

.service-vivofacil-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.service-vivofacil-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 12px;
    flex: 0 0 auto;
    padding-bottom: 0;
}

.service-vivofacil-expanded {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    margin-top: 0;
    padding-top: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.service-vivofacil-card.expanded .service-vivofacil-expanded {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.service-vivofacil-description {
    font-size: 16px;
    line-height: 1.6;
    text-align: center;
    margin: 0;
    color: white;
}

.service-vivofacil-tag {
    color: #000;
    font-size: 16px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.service-vivofacil-icon {
    width: 45px;
    height: 45px;
    object-fit: contain;
    display: block;
}

.service-vivofacil-card h3 {
    font-size: 18px;
    font-weight: 600;
    line-height: 1.3;
    text-align: center;
    margin: 0;
}

.service-vivofacil-expand {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #1d6087;
    color: white;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    padding: 0;
}

.service-vivofacil-expand:hover {
    background: #154a68;
    transform: scale(1.1);
}


/* FAQ Section */
.faq-section {
    background: white;
    padding: 40px 0;
}

.faq-list {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 2px solid #1d6087;
    margin-bottom: 15px;
}

.faq-item.active .faq-question {
    color: #1d6087;
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    padding: 20px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-size: 18px;
    text-align: left;
    color: #333;
    transition: color 0.3s;
}

.faq-question:hover {
    color: #1d6087;
}

.faq-icon {
    color: #00a0e6;
    font-size: 28px;
    font-weight: bold;
    transition: transform 0.3s;
    min-width: 30px;
    text-align: center;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    color: #666;
    padding: 0;
}

.faq-answer p {
    padding: 0 0 20px 0;
    margin: 0;
    line-height: 1.6;
}

/* Contact Section */
.contact-section {
    background: white;
    padding: 60px 0;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.contact-title {
    font-size: 36px;
    font-weight: 400;
    margin-bottom: 30px;
    color: #333;
}

.contact-description {
    font-size: 22px;
    margin-bottom: 40px;
    color: #333;
}

.contact-also {
    font-size: 22px;
    margin-bottom: 20px;
    color: #333;
}

.contact-options {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: flex-start;
}

.contact-option {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: white;
    border: 2px solid #333;
    border-radius: 30px;
    text-decoration: none;
    color: #333;
    transition: all 0.3s;
    width: fit-content;
}

.contact-option:hover {
    border-color: #fe5000;
    color: #fe5000;
}

.contact-option-icon {
    width: 20px;
    height: 20px;
    object-fit: contain;
    flex-shrink: 0;
}

.contact-form-container {
    background: #fe5000;
    padding: 40px;
    border-radius: 15px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 15px;
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 15px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-family: inherit;
}

.form-input {
    margin-bottom: 15px;
}

.form-textarea {
    margin-bottom: 15px;
    resize: vertical;
}

.form-checkbox {
    display: flex;
    align-items: start;
    gap: 10px;
    margin-bottom: 25px;
    color: white;
}

.form-checkbox input[type="checkbox"] {
    margin-top: 3px;
}

.form-checkbox label {
    font-size: 14px;
}

.form-link {
    color: white;
    text-decoration: underline;
}

.btn-submit {
    background: white;
    border: none;
    padding: 12px 40px;
    border-radius: 25px;
    font-weight: 500;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s;
    display: block;
    margin: 0 auto;
}

.btn-submit:hover:not(:disabled) {
    background: #F7F7F5;
}

.btn-submit:disabled {
    background: #cccccc;
    color: #666666;
    cursor: not-allowed;
    opacity: 0.6;
}

/* Footer */
.footer {
    background: #1d6087;
    color: white;
    padding: 50px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 50px;
    align-items: start;
}

.footer-section {
    padding: 0 25px;
    position: relative;
}

.footer-section::before {
    content: '';
    position: absolute;
    left: -25px;
    top: 0;
    bottom: 0;
    width: 1px;
    background: rgba(255, 255, 255, 0.3);
}

.footer-section:first-of-type::before {
    display: none;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 0 25px;
}

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

.footer-logo-img {
    height: 100px;
    width: 245px;
    object-fit: contain;
}

.footer-tagline {
    font-size: 14px;
    letter-spacing: 2px;
    font-weight: 600;
    margin-top: 10px;
    text-align: center;
}

.footer-title {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 15px;
}

.footer-text {
    font-size: 14px;
    margin-bottom: 15px;
}

.footer-social {
    display: flex;
    gap: 10px;
    flex-wrap: nowrap;
    justify-content: center;
}

.social-link {
    color: white;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s, opacity 0.3s;
}

.social-link:hover {
    transform: scale(1.1);
    opacity: 0.8;
}

.social-link svg {
    width: 28px;
    height: 28px;
}

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

.footer-links li {
    margin-bottom: 10px;
}

.footer-link {
    color: white;
    text-decoration: none;
    font-size: 14px;
    transition: opacity 0.3s;
}

.footer-link:hover {
    opacity: 0.8;
}

.footer-copyright {
    margin-top: 20px;
    font-size: 14px;
}

/* Responsive */
@media (max-width: 1024px) {
    .services-grid-hero {
        grid-template-columns: 1fr;
    }

    .service-cards-container {
        grid-template-columns: repeat(3, 1fr);
    }

    /* Updated responsive layout for services */
    .services-layout {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .services-masonry {
        grid-template-columns: repeat(2, 1fr);
    }

    .service-card-tall {
        grid-row: span 1;
        min-height: 200px;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .services-vivofacil-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* .pricing-cards grid override removed since it's now flex column by default */

    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .footer-content {
        max-width: 600px;
    }
}

@media (max-width: 768px) {
    .section-title {
        font-weight: 500;
    }

    .pricing-toggle-btn {
        padding: 8px 20px;
    }

    .hero-subtitle-box {
        padding: 15px 20px;
    }

    .hero-description {
        font-size: 16px;
    }

    .hero-subtitle {
        font-size: 20px;
    }

    .hero-experience {
        font-size: 16px;
    }

    .services-intro-title {
        font-size: 20px;
    }

    .cta-title {
        font-size: 20px;
    }

    .header {
        padding: 15px 20px;
    }

    .logo-img {
        height: 28px;
        width: auto;
    }

    .header-buttons {
        flex-direction: row;
        gap: 10px;
        justify-content: flex-end;
    }

    .btn-call-desktop {
        display: none;
    }

    .header-call-wrapper {
        display: flex;
        align-items: center;
        gap: 8px;
    }

    .header-call-icon-wrapper {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        padding: 8px;
        box-sizing: border-box;
    }

    .header-call-icon {
        object-fit: contain;
        filter: brightness(0) invert(1);
    }

    .btn-outline {
        font-size: 11px;
        padding: 8px 12px;
        white-space: nowrap;
    }

    .hero-title {
        flex-direction: column;
        gap: 10px;
    }

    .hero-logo {
        height: 35px;
        width: auto;
    }

    .plus-text {
        font-size: 36px;
    }

    .service-cards-container {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Mobile layout for services masonry - Hide grid, show slider */
    .services-masonry {
        display: none;
    }

    .services-masonry-wrapper {
        margin-bottom: 0;
    }

    .services-conditions {
        display: none;
    }

    .services-conditions-mobile {
        display: block !important;
        position: relative;
        bottom: auto;
        right: auto;
        text-align: right;
        margin-top: 15px;
        padding: 5px 10px;
        font-size: 14px;
        color: #333;
        font-weight: 600;
        white-space: nowrap;
        width: fit-content;
        margin-left: auto;
    }

    .service-card-tall {
        grid-row: span 1;
        min-height: 200px;
    }

    /* Mobile Slider Styles */
    .services-slider-mobile {
        display: block;
        position: relative;
        width: 100%;
        overflow: hidden;
    }

    .services-slider-wrapper {
        display: flex;
        transition: transform 0.3s ease;
        width: 100%;
    }

    .services-slide {
        min-width: 100%;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: auto;
        gap: 15px;
        padding: 0 10px;
        box-sizing: border-box;
    }

    .services-slide .service-card {
        min-height: 180px;
        padding: 20px 15px;
    }

    .services-slide .service-card h3 {
        font-size: 13px;
    }

    .services-slide .service-card-icon-img {
        width: 35px;
        height: 35px;
    }

    .services-slide .service-24h-text {
        font-size: 14px !important;
    }

    .services-slider-dots {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 8px;
        margin-top: 20px;
        padding: 0 10px;
    }

    .services-slider-dots .dot {
        width: 8px;
        height: 8px;
        border-radius: 50%;
        background: #D9D9D9;
        cursor: pointer;
        transition: background 0.3s ease;
    }

    .services-slider-dots .dot.active {
        background: #1D6087;
        width: 24px;
        border-radius: 4px;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .services-vivofacil-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .service-vivofacil-card {
        padding: 20px 15px;
    }

    .service-vivofacil-content {
        gap: 10px;
    }

    .service-vivofacil-icon {
        width: 40px;
        height: 40px;
    }

    .service-vivofacil-card h3 {
        font-size: 14px;
    }

    .service-vivofacil-card.expanded .service-vivofacil-expanded {
        margin-top: 15px;
        padding-top: 15px;
    }

    .pricing-card {
        flex-direction: column;
        padding: 25px;
    }

    .pricing-image {
        width: 100%;
    }

    .pricing-type {
        font-size: 20px;
        line-height: 1.2;
        margin-bottom: 12px;
    }

    .pricing-first-year {
        line-height: 1.4;
        margin-bottom: 8px;
    }

    .pricing-price {
        line-height: 1.2;
        margin-bottom: 8px;
    }

    .pricing-after-year {
        font-size: 20px;
        line-height: 1.3;
        margin-bottom: 12px;
    }

    .pricing-description {
        font-size: 16px;
        line-height: 1.6;
        margin-bottom: 15px;
    }

    .pricing-terms {
        line-height: 1.5;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .footer-content {
        display: flex;
        flex-direction: column;
        align-items: center;
        max-width: 800px;
        margin: 0 auto;
        gap: 0;
    }

    .footer-section {
        width: 100%;
        padding: 30px 0;
        border-bottom: 1px solid white;
        text-align: center;
        position: relative;
    }

    .footer-section:last-child {
        border-bottom: none;
    }

    .footer-section::before {
        display: none;
    }

    .footer-brand {
        width: 100%;
        padding: 30px 0;
        border-bottom: 1px solid white;
        align-items: center;
    }

    .btn-dark {
        padding: 10px 20px;
    }

    .footer-logo-img {
        height: 80px;
        width: 196px;
    }
}