/* ========================================
   RESET & BASE STYLES
   ======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #3f444b;
    background-color: #f9fafa;
    overflow-x: hidden;
}

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

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

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

/* ========================================
   TYPOGRAPHY
   ======================================== */
h1, h2, h3 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    color: #2C2C2C;
    line-height: 1.2;
}

h1 {
    font-size: 48px;
}

h2 {
    font-size: 36px;
}

h3 {
    font-size: 24px;
}

@media (max-width: 768px) {
    h1 { font-size: 32px; }
    h2 { font-size: 28px; }
    h3 { font-size: 20px; }
}

/* ========================================
   HEADER
   ======================================== */
.header {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
}

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

.logo-text {
    font-family: 'Playfair Display', serif;
    font-size: 22px;
    font-weight: 700;
    color: #8B7355;
}

.nav {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav a {
    font-size: 14px;
    font-weight: 500;
    color: #3f444b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.nav a:hover {
    color: #8B7355;
}

.btn-whatsapp {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: #25D366;
    color: white;
    border-radius: 5px;
    font-weight: 600;
    font-size: 14px;
}

.btn-whatsapp:hover {
    background: #20BA5A;
    transform: translateY(-2px);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: #3f444b;
    transition: all 0.3s ease;
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: white;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    z-index: 999;
}

.mobile-menu.active {
    display: block;
}

.mobile-nav {
    display: flex;
    flex-direction: column;
    padding: 20px;
}

.mobile-nav a {
    padding: 15px;
    border-bottom: 1px solid #f0f0f0;
    font-weight: 500;
    color: #3f444b;
}

.mobile-nav a:hover {
    color: #8B7355;
    background: #f9fafa;
}

.btn-whatsapp-mobile {
    background: #25D366;
    color: white;
    text-align: center;
    border-radius: 5px;
    margin-top: 10px;
}

@media (max-width: 768px) {
    .nav, .header-cta {
        display: none;
    }
    .mobile-menu-toggle {
        display: flex;
    }
}

/* ========================================
   BUTTONS
   ======================================== */
.btn {
    display: inline-block;
    padding: 14px 32px;
    font-weight: 600;
    font-size: 16px;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    text-align: center;
}

.btn-primary {
    background: #D4AF37;
    color: white;
    border-color: #D4AF37;
}

.btn-primary:hover {
    background: #C19B28;
    border-color: #C19B28;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(212,175,55,0.3);
}

.btn-secondary {
    background: transparent;
    color: #8B7355;
    border-color: #8B7355;
}

.btn-secondary:hover {
    background: #8B7355;
    color: white;
}

.btn-large {
    padding: 18px 40px;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

/* ========================================
   SECTIONS
   ======================================== */
.section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 20px;
    color: #8B7355;
}

.section-subtitle {
    text-align: center;
    font-size: 18px;
    color: #697882;
    margin-bottom: 50px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.section-intro {
    text-align: center;
    font-size: 18px;
    color: #697882;
    margin-bottom: 40px;
}

/* ========================================
   HERO SECTION
   ======================================== */
.hero {
    position: relative;
    min-height: 650px;
    display: flex;
    align-items: center;
    color: white;
    padding: 100px 0 80px;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    z-index: -1;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 35%;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(139,115,85,0.85) 0%, rgba(44,44,44,0.75) 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
}

.certification-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(10px);
    padding: 10px 20px;
    border-radius: 30px;
    margin-bottom: 30px;
    border: 1px solid rgba(255,255,255,0.3);
}

.certification-badge img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.certification-badge span {
    font-size: 14px;
    font-weight: 600;
    color: white;
}

.hero-title {
    color: white;
    margin-bottom: 20px;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.3);
}

.hero-subtitle {
    font-size: 20px;
    line-height: 1.7;
    margin-bottom: 30px;
    opacity: 0.95;
}

.hero-benefits {
    display: flex;
    gap: 30px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.benefit {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    font-weight: 500;
}

.benefit svg {
    color: #D4AF37;
    flex-shrink: 0;
}

.hero-ctas {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    .hero {
        min-height: 550px;
        padding: 80px 0 60px;
    }
    .hero-subtitle {
        font-size: 18px;
    }
    .hero-benefits {
        gap: 15px;
    }
    .benefit {
        font-size: 14px;
    }
}

/* ========================================
   WHAT IS SECTION
   ======================================== */
.what-is {
    background: white;
}

.what-is-content {
    max-width: 900px;
    margin: 0 auto 50px;
    text-align: center;
}

.intro-text {
    font-size: 20px;
    margin-bottom: 20px;
    color: #2C2C2C;
}

.what-is-content p {
    margin-bottom: 15px;
    font-size: 17px;
    color: #697882;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.feature-card {
    background: white;
    padding: 30px;
    border-radius: 12px;
    border: 1px solid #D4AF37;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.feature-icon {
    color: #D4AF37;
    margin-bottom: 20px;
}

.feature-card h3 {
    margin-bottom: 15px;
    color: #8B7355;
}

.feature-card p {
    color: #697882;
    font-size: 15px;
}

/* ========================================
   AREAS SECTION
   ======================================== */
.areas {
    background: #F9F7F4;
}

.areas-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-top: 50px;
}

.areas-image img {
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.area-item {
    display: flex;
    gap: 20px;
    padding: 20px;
    background: white;
    border-radius: 12px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.area-item:hover {
    transform: translateX(5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.area-icon {
    font-size: 40px;
    flex-shrink: 0;
}

.area-content h3 {
    color: #8B7355;
    margin-bottom: 10px;
}

.area-content ul {
    list-style: disc;
    padding-left: 20px;
}

.area-content li {
    color: #697882;
    margin-bottom: 5px;
    font-size: 15px;
}

@media (max-width: 768px) {
    .areas-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

/* ========================================
   COMPARISON TABLE
   ======================================== */
.comparison {
    background: white;
}

.comparison-table-wrapper {
    overflow-x: auto;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
}

.comparison-table thead th {
    background: #D4AF37;
    color: white;
    padding: 20px;
    text-align: left;
    font-weight: 600;
    font-size: 18px;
}

.comparison-table tbody tr:nth-child(even) {
    background: #F9F7F4;
}

.comparison-table tbody tr:nth-child(odd) {
    background: white;
}

.comparison-table td {
    padding: 18px 20px;
    border-bottom: 1px solid #f0f0f0;
    font-size: 16px;
}

.aptos-column {
    background: rgba(212,175,55,0.08) !important;
    border-left: 3px solid #D4AF37;
    border-right: 3px solid #D4AF37;
    font-weight: 600;
    color: #2C2C2C;
}

/* Fix for table header text */
.comparison-table thead th.aptos-column {
    color: #2C2C2C !important;
    font-weight: 700 !important;
}

/* ========================================
   TECHNICAL SECTION
   ======================================== */
.technical {
    background: #F9F7F4;
}

.technical-cards {
    display: grid;
    gap: 40px;
    margin-top: 50px;
}

.technical-card {
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    position: relative;
    transition: all 0.3s ease;
}

.technical-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.12);
}

.technical-number {
    position: absolute;
    top: -15px;
    left: 30px;
    background: #D4AF37;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 700;
    box-shadow: 0 5px 15px rgba(212,175,55,0.3);
}

.technical-icon {
    font-size: 60px;
    margin-bottom: 20px;
}

.technical-card h3 {
    color: #8B7355;
    margin-bottom: 20px;
    font-size: 28px;
}

.technical-card p {
    color: #697882;
    font-size: 17px;
    line-height: 1.7;
    margin-bottom: 15px;
}

.technical-image {
    margin-top: 30px;
    border-radius: 8px;
    overflow: hidden;
}

.technical-image img {
    width: 100%;
    border-radius: 8px;
}

/* ========================================
   THREAD TYPES SECTION
   ======================================== */
.thread-types {
    background: white;
}

.thread-types-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.thread-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.thread-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

.thread-image {
    height: 250px;
    overflow: hidden;
    background: #F9F7F4;
}

.thread-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.thread-content {
    padding: 30px;
}

.thread-badge {
    font-size: 40px;
    margin-bottom: 15px;
}

.thread-content h3 {
    color: #8B7355;
    margin-bottom: 15px;
}

.thread-description {
    color: #2C2C2C;
    font-size: 16px;
    margin-bottom: 20px;
    font-weight: 500;
}

.thread-content h4 {
    color: #8B7355;
    font-size: 16px;
    margin-bottom: 12px;
    font-weight: 600;
}

.thread-content ul {
    list-style: none;
}

.thread-content li {
    color: #697882;
    font-size: 15px;
    padding-left: 25px;
    position: relative;
    margin-bottom: 8px;
}

.thread-content li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #D4AF37;
    font-weight: 700;
}

/* ========================================
   PROCEDURE TIMELINE
   ======================================== */
.procedure {
    background: #F9F7F4;
}

.timeline {
    max-width: 900px;
    margin: 50px auto 0;
}

.timeline-item {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 30px;
    align-items: center;
    margin-bottom: 40px;
    padding: 30px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.08);
    position: relative;
}

.timeline-item:not(:last-child):after {
    content: "";
    position: absolute;
    left: 40px;
    bottom: -40px;
    width: 2px;
    height: 40px;
    background: linear-gradient(to bottom, #D4AF37, transparent);
}

.timeline-number {
    font-size: 48px;
    flex-shrink: 0;
}

.timeline-content h3 {
    color: #8B7355;
    margin-bottom: 15px;
}

.timeline-content p {
    color: #697882;
    font-size: 16px;
    line-height: 1.7;
}

.timeline-duration {
    display: inline-block;
    margin-top: 10px;
    padding: 5px 15px;
    background: #F9F7F4;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    color: #8B7355;
}

.timeline-image {
    width: 150px;
    height: 150px;
    border-radius: 12px;
    overflow: hidden;
}

.timeline-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.procedure-total {
    text-align: center;
    margin-top: 40px;
    padding: 20px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.08);
}

.procedure-total p {
    font-size: 18px;
    color: #8B7355;
}

@media (max-width: 768px) {
    .timeline-item {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .timeline-number {
        font-size: 36px;
    }
    .timeline-image {
        width: 100%;
        height: 200px;
    }
}

/* ========================================
   RECOVERY SECTION
   ======================================== */
.recovery {
    background: white;
}

.recovery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.recovery-card {
    background: #F9F7F4;
    padding: 30px;
    border-radius: 12px;
    border-left: 4px solid #D4AF37;
    box-shadow: 0 3px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.recovery-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.recovery-period {
    display: inline-block;
    padding: 8px 20px;
    background: #D4AF37;
    color: white;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.5px;
    margin-bottom: 15px;
}

.recovery-card h3 {
    color: #8B7355;
    margin-bottom: 20px;
}

.recovery-card ul {
    list-style: none;
}

.recovery-card li {
    color: #697882;
    font-size: 15px;
    margin-bottom: 10px;
    padding-left: 25px;
    position: relative;
}

.recovery-card li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #25D366;
    font-weight: 700;
}

.alert-box {
    margin-top: 50px;
    padding: 25px;
    background: #FFF8E1;
    border-left: 4px solid #FFC107;
    border-radius: 8px;
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.alert-icon {
    font-size: 32px;
    flex-shrink: 0;
}

.alert-content {
    color: #856404;
    font-size: 16px;
    line-height: 1.6;
}

.alert-content strong {
    display: block;
    margin-bottom: 8px;
    font-size: 18px;
}

/* ========================================
   BEFORE AFTER SECTION
   ======================================== */
.before-after {
    background: #F9F7F4;
}

.before-after-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.before-after-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.before-after-card:hover {
    transform: scale(1.03);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.before-after-card img,
.before-after-card video {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.before-after-caption {
    padding: 20px;
    text-align: center;
    font-weight: 600;
    color: #8B7355;
}

/* ========================================
   FAQ SECTION
   ======================================== */
.faq {
    background: white;
}

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

.faq-item {
    margin-bottom: 20px;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

.faq-question {
    width: 100%;
    padding: 25px 30px;
    background: white;
    border: none;
    text-align: left;
    font-size: 18px;
    font-weight: 600;
    color: #2C2C2C;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.faq-question:hover {
    color: #8B7355;
    background: #F9F7F4;
}

.faq-question svg {
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

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

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    padding: 0 30px;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 0 30px 25px;
}

.faq-answer p {
    color: #697882;
    font-size: 16px;
    line-height: 1.7;
}

/* ========================================
   CTA FINAL SECTION
   ======================================== */
.cta-final {
    background: linear-gradient(135deg, #8B7355 0%, #6B5D4F 100%);
    color: white;
    text-align: center;
    padding: 100px 0;
}

.cta-content h2 {
    color: white;
    margin-bottom: 20px;
}

.cta-content > p {
    font-size: 20px;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.95;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.cta-contact {
    margin-top: 30px;
}

.cta-contact p {
    font-size: 18px;
    opacity: 0.9;
}

.cta-contact a {
    color: #D4AF37;
    font-weight: 700;
}

.cta-contact a:hover {
    text-decoration: underline;
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
    background: #2C2C2C;
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    color: #D4AF37;
    margin-bottom: 20px;
    font-size: 20px;
}

.footer-section p {
    color: rgba(255,255,255,0.8);
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 10px;
}

.footer-section a {
    color: rgba(255,255,255,0.8);
    display: block;
    margin-bottom: 10px;
    font-size: 15px;
}

.footer-section a:hover {
    color: #D4AF37;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
    text-align: center;
}

.footer-bottom p {
    color: rgba(255,255,255,0.6);
    font-size: 14px;
}

/* ========================================
   WHATSAPP FLOATING BUTTON
   ======================================== */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 20px rgba(37,211,102,0.4);
    z-index: 1000;
    transition: all 0.3s ease;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 30px rgba(37,211,102,0.6);
}

/* ========================================
   ANIMATIONS
   ======================================== */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ========================================
   RESPONSIVE ADJUSTMENTS
   ======================================== */
@media (max-width: 768px) {
    .section {
        padding: 60px 0;
    }
    
    .btn {
        padding: 12px 24px;
        font-size: 14px;
    }
    
    .btn-large {
        padding: 14px 28px;
        font-size: 16px;
    }
    
    .hero-ctas {
        flex-direction: column;
    }
    
    .hero-ctas .btn {
        width: 100%;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .thread-types-grid {
        grid-template-columns: 1fr;
    }
    
    .recovery-grid {
        grid-template-columns: 1fr;
    }
    
    .before-after-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-final {
        padding: 60px 0;
    }
    
    .whatsapp-float {
        width: 55px;
        height: 55px;
        bottom: 20px;
        right: 20px;
    }
    
    .comparison-table {
        font-size: 14px;
    }
    
    .comparison-table td,
    .comparison-table th {
        padding: 12px 15px;
    }
}