/* ==========================================
   TURTLES WEB - DENTAL CLINICS PAGE STYLES
   ========================================== */

/* Hero Section with Fixed Navbar Clearance */
.hero-section {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    padding: 200px 24px 40px !important;
    width: 100% !important;
    box-sizing: border-box !important;
    position: relative !important;
}

.hero-section .container {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    width: 100% !important;
    max-width: 1300px !important;
}

.hero-title {
    font-size: clamp(36px, 5.5vw, 76px) !important;
    line-height: 1.05 !important;
    letter-spacing: -2px !important;
    color: #F6F6F6 !important;
    margin: 0 0 32px 0 !important;
    max-width: 100% !important;
    width: 100% !important;
    font-weight: 600 !important;
}

.hero-title .title-italic,
.title-italic {
    font-style: italic !important;
    font-weight: 200 !important;
    color: inherit !important;
    font-family: var(--font-serif, 'Playfair Display', Georgia, serif);
}

.hero-content {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    width: 100% !important;
    margin-bottom: 60px !important;
    gap: 32px !important;
}

.hero-description {
    margin: 0 !important;
    font-size: 19px !important;
    line-height: 1.65 !important;
    letter-spacing: -0.4px !important;
    color: rgba(255, 255, 255, 0.8) !important;
    max-width: 880px !important;
    width: 100% !important;
}

.hero-actions {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 16px !important;
    flex-wrap: wrap;
}

/* Buttons System & Secondary Action Button */
.btn {
    box-sizing: border-box !important;
    display: inline-flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 12px 24px !important;
    height: 48px !important;
    border-radius: 12px !important;
    font-size: 14.5px !important;
    font-weight: 500 !important;
    line-height: 1.3 !important;
    letter-spacing: -0.3px !important;
    text-decoration: none !important;
    transition: all 0.25s ease-in-out !important;
    cursor: pointer !important;
    white-space: nowrap !important;
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.04) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    color: rgba(255, 255, 255, 0.8) !important;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1) !important;
    color: #ffffff !important;
    border-color: rgba(255, 255, 255, 0.35) !important;
    transform: translateY(-1px);
}

.btn-secondary:active {
    transform: scale(0.98);
}

/* Hero Media Preview Wrapper with Scroll Scaling */
.hero-image-wrapper {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 16 / 9 !important;
    background: #111111 !important;
    border-radius: 20px !important;
    overflow: hidden !important;
    display: flex !important;
    transform-origin: center center;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 25px 80px -20px rgba(0, 0, 0, 0.8);
    position: relative;
}

.hero-image {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
}

.hero-image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px;
    background: linear-gradient(0deg, rgba(0,0,0,0.85) 0%, transparent 100%);
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    pointer-events: none;
}

.hero-badge-live {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(15, 15, 15, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 13px;
    color: #fff;
}
.hero-badge-live .pulse-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ffffff;
    box-shadow: 0 0 10px #ffffff;
}

/* Word Reveal Animation */
@keyframes wordReveal {
    0% { opacity: 0; filter: blur(10px); }
    100% { opacity: 1; filter: blur(0px); }
}
.word-reveal-span {
    display: inline-block;
    opacity: 0;
    filter: blur(10px);
    animation: wordReveal 0.5s ease-out forwards;
}
@keyframes heroFadeSlideUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}
.hero-fade-in {
    opacity: 0;
    transform: translateY(30px);
    animation: heroFadeSlideUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.hero-fade-in--buttons { animation-delay: 0.15s; }
.hero-fade-in--image   { animation-delay: 0.3s; }

/* ==========================================
   ALL 10 DENTAL SERVICES (ZIGZAG SPLIT SHOWCASE)
   ========================================== */
.services-section-wrapper {
    padding: 80px 24px 120px;
    max-width: 1300px;
    margin: 0 auto;
    width: 100%;
    position: relative;
}

.services-zigzag-container {
    display: flex;
    flex-direction: column;
    gap: 120px;
    margin-top: 60px;
}

.service-row {
    display: grid;
    grid-template-columns: 1fr 1.25fr;
    gap: 80px;
    align-items: center;
}

.service-row.mirrored {
    grid-template-columns: 1.25fr 1fr;
}

.service-row.mirrored .svc-text-col {
    grid-column: 2;
}

.service-row.mirrored .svc-visual-col {
    grid-column: 1;
    grid-row: 1;
}

.svc-text-col {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.svc-trigger-title {
    font-size: clamp(28px, 4vw, 36px);
    font-weight: 600;
    color: #ffffff;
    letter-spacing: -1.5px;
    line-height: 1.2;
}

.svc-trigger-desc {
    font-size: 16px;
    line-height: 1.7;
    color: #aaaaaa;
    max-width: 480px;
}

.svc-visual-col {
    background: transparent;
    border: none;
    border-radius: 24px;
    padding: 0;
    min-height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.svc-webp-img {
    width: 100%;
    height: auto;
    aspect-ratio: 11 / 8;
    object-fit: cover;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: block;
    box-shadow: 0 20px 60px -15px rgba(0, 0, 0, 0.7);
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.5s ease;
}

.service-row:hover .svc-webp-img {
    transform: scale(1.02);
    box-shadow: 0 30px 80px -15px rgba(0, 0, 0, 0.9);
}

/* ==========================================
   WHY CHOOSE US (EDITORIAL ACCORDION & MONOCHROME SVGS)
   ========================================== */
.why-choose-section {
    padding: 80px 24px 120px;
    max-width: 1300px;
    margin: 0 auto;
    width: 100%;
}

.editorial-list { 
    display: flex; 
    flex-direction: column; 
    margin-top: 40px; 
}
.ed-item { 
    border-top: 1px solid rgba(255,255,255,0.1); 
    padding: 48px 0; 
    cursor: pointer; 
    position: relative; 
    overflow: hidden; 
}
.ed-item:last-child { border-bottom: 1px solid rgba(255,255,255,0.1); }
.ed-top { display: flex; align-items: center; justify-content: space-between; }
.ed-left { display: flex; align-items: center; gap: 48px; }
.ed-num { font-size: 16px; font-weight: 500; color: #555; width: 30px; transition: color 0.4s ease; font-family: monospace; }
.ed-title { 
    font-size: clamp(28px, 4vw, 56px); 
    font-weight: 600; 
    letter-spacing: -1.5px; 
    color: #ffffff; 
    margin: 0; 
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), color 0.4s ease; 
    transform-origin: left center; 
}

.ed-arrow { 
    width: 48px; 
    height: 48px; 
    border-radius: 50%; 
    border: 1px solid rgba(255,255,255,0.1); 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    color: #ffffff; 
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1); 
    flex-shrink: 0; 
}

.editorial-list:hover .ed-item:not(:hover) .ed-title { color: #444; transform: translateX(0); }
.editorial-list:hover .ed-item:not(:hover) .ed-arrow { opacity: 0.2; }

.ed-item:hover .ed-title { transform: translateX(24px); color: #ffffff; }
.ed-item:hover .ed-num { color: #ffffff; }
.ed-item:hover .ed-arrow { background: #ffffff; border-color: #ffffff; color: #000; transform: rotate(-45deg); }

.ed-content-wrapper { 
    display: grid; 
    grid-template-columns: 1fr 1.3fr; 
    gap: 60px; 
    max-height: 0; 
    opacity: 0; 
    overflow: hidden; 
    transition: max-height 0.8s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.5s ease 0.1s, padding 0.5s ease; 
}
.ed-item:hover .ed-content-wrapper { max-height: 550px; opacity: 1; padding-top: 36px; }
.ed-desc-wrap {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.ed-subtitle {
    font-size: 20px;
    font-weight: 600;
    color: #fff;
    letter-spacing: -0.4px;
}
.ed-desc { 
    font-size: 16.5px; 
    line-height: 1.7; 
    color: #a8a8a8; 
    margin: 0; 
    transform: translateY(20px); 
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.1s; 
}
.ed-item:hover .ed-desc { transform: translateY(0); }

.ed-wow-container { 
    width: 100%; 
    height: 280px; 
    border-radius: 20px; 
    overflow: hidden; 
    background: radial-gradient(circle at 50% 50%, rgba(255,255,255,0.03), transparent 75%), #0a0a0a; 
    border: 1px solid rgba(255,255,255,0.06); 
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.wow-svg-art { width: 100%; max-width: 200px; height: 200px; z-index: 2; position: relative; overflow: visible; }
.wow-glow { filter: drop-shadow(0 0 12px rgba(255,255,255,0.7)); }

.roi-spin { transform-origin: center; animation: spinInfinite 14s linear infinite; }
.roi-spin-reverse { transform-origin: center; animation: spinInfiniteRev 18s linear infinite; }
@keyframes spinInfinite { to { transform: rotate(360deg); } }
@keyframes spinInfiniteRev { to { transform: rotate(-360deg); } }

.radar-sweep {
    transform-origin: 100px 100px;
    animation: radarRotate 4s linear infinite;
}
@keyframes radarRotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* ==========================================
   COMPARISON MATRIX TABLE (MONOCHROME)
   ========================================== */
.comparison-section {
    padding: 80px 24px 120px;
    max-width: 1300px;
    margin: 0 auto;
    width: 100%;
}

.matrix-table-container {
    width: 100%;
    margin-top: 40px;
    border-radius: var(--radius-xl, 32px);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: #080808;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.matrix-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

.matrix-table th, 
.matrix-table td {
    padding: 24px 32px;
    vertical-align: middle;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.matrix-table th {
    font-size: 18px;
    font-weight: 600;
    letter-spacing: -0.5px;
    color: #ffffff;
    background: #111111;
}

.matrix-table th.highlight-col {
    background: #161616;
    color: #ffffff;
    border-left: 1px solid rgba(255, 255, 255, 0.15);
    border-right: 1px solid rgba(255, 255, 255, 0.15);
}

.matrix-table tr:last-child td {
    border-bottom: none;
}

.matrix-table tr:hover td {
    background: rgba(255, 255, 255, 0.02);
}

.matrix-table td.col-traditional {
    color: rgba(255, 255, 255, 0.45);
    font-size: 15.5px;
    width: 50%;
}

.matrix-table td.col-turtles {
    color: #ffffff;
    font-size: 16px;
    font-weight: 500;
    width: 50%;
    background: rgba(255, 255, 255, 0.025);
    border-left: 1px solid rgba(255, 255, 255, 0.08);
    border-right: 1px solid rgba(255, 255, 255, 0.08);
    display: table-cell;
}

.matrix-table .bad-indicator {
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.matrix-table .good-indicator {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: #ffffff;
}

.icon-cross {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.4);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: 700;
    flex-shrink: 0;
}

.icon-check {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #ffffff;
    color: #000000;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 800;
    flex-shrink: 0;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

/* ==========================================
   TESTIMONIALS SECTION CARD REFINEMENTS
   ========================================== */
.testi-avatar {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.2);
    object-fit: cover;
}

/* ==========================================
   FAQ ACCORDION SECTION (13 QUESTIONS)
   ========================================== */
.faq-section {
    padding: 100px 24px 120px;
    max-width: 1100px;
    margin: 0 auto;
    width: 100%;
}

.faq-accordion-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-top: 40px;
}

.faq-item {
    border: 1px solid rgba(255, 255, 255, 0.07);
    background: #090909;
    border-radius: 18px;
    overflow: hidden;
    transition: border-color 0.3s ease, background 0.3s ease;
}

.faq-item:hover,
.faq-item.active {
    border-color: rgba(255, 255, 255, 0.2);
    background: #0e0e0e;
}

.faq-trigger {
    width: 100%;
    background: none;
    border: none;
    outline: none;
    padding: 24px 28px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    text-align: left;
    color: #ffffff;
    font-size: 18px;
    font-weight: 600;
    letter-spacing: -0.3px;
    gap: 20px;
}

.faq-number {
    font-family: monospace;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.35);
    margin-right: 8px;
}

.faq-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), background 0.3s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
    background: #ffffff;
    color: #000000;
}
.faq-item.active .faq-icon svg {
    stroke: #000000;
}

.faq-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.45s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease, padding 0.3s ease;
    opacity: 0;
    padding: 0 28px;
}

.faq-item.active .faq-body {
    max-height: 400px;
    opacity: 1;
    padding: 0 28px 28px 28px;
}

.faq-text {
    font-size: 15.5px;
    line-height: 1.7;
    color: #aaaaaa;
}

/* ==========================================
   CONVERSION SECTION & DENTAL QUOTATION FORM
   ========================================== */
.conversion-section {
    padding: 100px 24px 140px;
    max-width: 1300px;
    margin: 0 auto;
    width: 100%;
}

.conversion-card {
    background: radial-gradient(circle at 10% 20%, rgba(255, 255, 255, 0.03) 0%, transparent 60%), #0c0c0c;
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: var(--radius-xl, 32px);
    padding: 60px 48px;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: center;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.7);
}

.conversion-info h2 {
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 600;
    color: #ffffff;
    letter-spacing: -1.5px;
    line-height: 1.1;
    margin-bottom: 20px;
}

.conversion-info p {
    font-size: 17px;
    color: #a0a0a0;
    line-height: 1.6;
    margin-bottom: 32px;
}

.conversion-features {
    display: flex;
    flex-direction: column;
    gap: 14px;
    list-style: none;
}
.conversion-features li {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.85);
    display: flex;
    align-items: center;
    gap: 12px;
}
.conversion-features li svg {
    stroke: #ffffff;
}

/* Embedded Form Card Styles */
.dental-form-card {
    background-color: #121212;
    border: 1px solid #242424;
    width: 100%;
    padding: 36px 30px;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.8);
    position: relative;
    overflow: hidden;
}

.dental-form-card .form-header {
    margin-bottom: 28px;
    text-align: center;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.dental-form-card .form-header h2 {
    color: #ffffff;
    font-size: 1.6rem;
    font-weight: 700;
    margin: 0 0 8px 0;
    letter-spacing: -0.5px;
}

.dental-form-card .form-header p {
    color: #8e8e93;
    font-size: 0.9rem;
    margin: 0;
}

.dental-form-card form {
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.dental-form-card .form-group {
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
}

.dental-form-card .form-group label {
    font-size: 0.85rem;
    font-weight: 600;
    color: #a1a1aa;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.dental-form-card input[type="text"],
.dental-form-card input[type="tel"] {
    background-color: #1a1a1a;
    border: 1px solid #2e2e2e;
    border-radius: 8px;
    padding: 12px 16px;
    color: #ffffff;
    font-size: 0.95rem;
    outline: none;
    width: 100%;
    transition: border-color 0.2s ease, background-color 0.2s ease;
}

.dental-form-card input[type="text"]:focus,
.dental-form-card input[type="tel"]:focus {
    border-color: #52525b;
    background-color: #222222;
}

.dental-form-card input::placeholder {
    color: #52525b;
}

.dental-form-card .budget-group {
    background-color: #161616;
    padding: 18px;
    border-radius: 12px;
    border: 1px solid #262626;
    margin-top: 24px;
    margin-bottom: 28px;
}

.dental-form-card .budget-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.dental-form-card .budget-header label {
    margin-bottom: 0;
}

.dental-form-card .currency-toggle {
    display: flex;
    background-color: #0d0d0d;
    padding: 3px;
    border-radius: 6px;
    border: 1px solid #222222;
}

.dental-form-card .curr-btn {
    background: transparent;
    border: none;
    color: #71717a;
    padding: 4px 10px;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.dental-form-card .curr-btn.active {
    background-color: #27272a;
    color: #ffffff;
}

.dental-form-card .slider-display {
    text-align: center;
    font-size: 1.8rem;
    font-weight: 700;
    color: #ffffff;
    margin: 10px 0 16px 0;
}

.dental-form-card input[type="range"] {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 6px;
    background: #27272a;
    border-radius: 3px;
    outline: none;
}

.dental-form-card input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #ffffff;
    cursor: pointer;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
    transition: transform 0.1s ease;
}

.dental-form-card input[type="range"]::-webkit-slider-thumb:hover {
    transform: scale(1.15);
}

.dental-form-card .slider-labels {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    color: #71717a;
    margin-top: 8px;
}

.dental-form-card .submit-btn {
    position: relative;
    width: 100%;
    background-color: #ffffff;
    color: #000000;
    border: none;
    border-radius: 8px;
    padding: 14px;
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: background-color 0.2s ease, transform 0.1s ease, opacity 0.2s ease;
}

.dental-form-card .submit-btn:hover {
    background-color: #e4e4e7;
}

.dental-form-card .submit-btn:active {
    transform: scale(0.99);
}

.dental-form-card .submit-btn.loading {
    pointer-events: none;
    opacity: 0.8;
}

.dental-form-card .submit-btn.loading .btn-text {
    visibility: hidden;
    opacity: 0;
}

.dental-form-card .btn-spinner {
    display: none;
    position: absolute;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(0, 0, 0, 0.2);
    border-radius: 50%;
    border-top-color: #000000;
    animation: spin 0.8s linear infinite;
}

.dental-form-card .submit-btn.loading .btn-spinner {
    display: block;
}

.dental-form-card .fade-out {
    opacity: 0;
    transform: translateY(-15px);
    pointer-events: none;
}

.dental-form-card .success-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px 10px;
    animation: fadeInScale 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.dental-form-card .success-state.hidden {
    display: none;
}

.dental-form-card .success-icon-wrapper {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
}

.dental-form-card .checkmark-svg {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    stroke-width: 3;
    stroke: #ffffff;
    stroke-miterlimit: 10;
    box-shadow: inset 0px 0px 0px #ffffff;
}

.dental-form-card .checkmark-circle {
    stroke-dasharray: 166;
    stroke-dashoffset: 166;
    stroke-width: 3;
    stroke-miterlimit: 10;
    stroke: #27272a;
    fill: none;
    animation: stroke 0.6s cubic-bezier(0.65, 0, 0.45, 1) forwards;
}

.dental-form-card .checkmark-check {
    transform-origin: 50% 50%;
    stroke-dasharray: 48;
    stroke-dashoffset: 48;
    stroke: #ffffff;
    animation: stroke 0.4s cubic-bezier(0.65, 0, 0.45, 1) 0.5s forwards;
}

.dental-form-card .success-state h3 {
    color: #ffffff;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 0 10px 0;
}

.dental-form-card .success-state p {
    color: #a1a1aa;
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0 0 28px 0;
}

.dental-form-card .reset-btn {
    background-color: #1a1a1a;
    color: #e4e4e7;
    border: 1px solid #2e2e2e;
    border-radius: 8px;
    padding: 10px 20px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.dental-form-card .reset-btn:hover {
    background-color: #27272a;
    color: #ffffff;
    border-color: #52525b;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes stroke {
    100% { stroke-dashoffset: 0; }
}

@keyframes fadeInScale {
    0% {
        opacity: 0;
        transform: scale(0.9) translateY(10px);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

/* ==========================================
   FREE DENTAL VISIBILITY REPORT MODAL POPUP
   ========================================== */
.modal-backdrop {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    background: rgba(0, 0, 0, 0.82);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 10005;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.35s ease;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.modal-backdrop.is-active {
    opacity: 1;
    visibility: visible;
    pointer-events: all;
}

.modal-card {
    background: radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.08) 0%, transparent 70%), #0d0d0d;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 28px;
    width: 100%;
    max-width: 560px;
    max-height: calc(100vh - 48px);
    max-height: calc(100dvh - 48px);
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    padding: 44px 38px;
    box-shadow: 0 35px 100px -15px rgba(0, 0, 0, 0.95), 0 0 40px rgba(255, 255, 255, 0.03);
    transform: scale(0.9) translateY(24px);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    margin: auto;
}

.modal-backdrop.is-active .modal-card {
    transform: scale(1) translateY(0);
}

.modal-close-btn {
    position: absolute;
    top: 22px;
    right: 22px;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.25s ease;
    z-index: 10;
    outline: none;
}

.modal-close-btn:hover {
    background: rgba(255, 255, 255, 0.18);
    border-color: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

.modal-header {
    text-align: center;
    margin-bottom: 28px;
}

.modal-header h2 {
    font-size: clamp(24px, 3.5vw, 30px);
    font-weight: 700;
    color: #ffffff;
    letter-spacing: -0.8px;
    line-height: 1.2;
    margin: 8px 0 10px 0;
}

.modal-header p {
    font-size: 14.5px;
    color: #8e8e93;
    line-height: 1.5;
    margin: 0;
}

.modal-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.modal-form-group {
    display: flex;
    flex-direction: column;
}

.modal-form-group label {
    font-size: 0.8rem;
    font-weight: 600;
    color: #a1a1aa;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.modal-form-group input,
.modal-form-group textarea {
    background-color: #161616;
    border: 1px solid #282828;
    border-radius: 10px;
    padding: 13px 16px;
    color: #ffffff;
    font-size: 0.95rem;
    outline: none;
    width: 100%;
    transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.modal-form-group input:focus,
.modal-form-group textarea:focus {
    border-color: #666;
    background-color: #1e1e1e;
    box-shadow: 0 0 12px rgba(255, 255, 255, 0.08);
}

.modal-form-group input::placeholder,
.modal-form-group textarea::placeholder,
.dental-form-card input::placeholder {
    color: rgba(255, 255, 255, 0.22) !important;
    font-weight: 300 !important;
    opacity: 1 !important;
}

.modal-form-group textarea {
    min-height: 70px;
    resize: vertical;
}

.modal-submit-btn {
    position: relative;
    width: 100%;
    background-color: #ffffff;
    color: #000000;
    border: none;
    border-radius: 10px;
    padding: 16px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 10px;
    transition: background-color 0.2s ease, transform 0.1s ease, box-shadow 0.2s ease;
    box-shadow: 0 4px 20px rgba(255, 255, 255, 0.15);
}

.modal-submit-btn:hover {
    background-color: #f0f0f0;
    box-shadow: 0 6px 25px rgba(255, 255, 255, 0.25);
    transform: translateY(-1px);
}

.modal-submit-btn:active {
    transform: scale(0.985);
}

.modal-submit-btn.loading {
    pointer-events: none;
    opacity: 0.8;
}

.modal-submit-btn.loading .btn-text {
    visibility: hidden;
    opacity: 0;
}

.modal-submit-btn .btn-spinner {
    display: none;
    position: absolute;
    width: 22px;
    height: 22px;
    border: 3px solid rgba(0, 0, 0, 0.2);
    border-radius: 50%;
    border-top-color: #000000;
    animation: spin 0.8s linear infinite;
}

.modal-submit-btn.loading .btn-spinner {
    display: block;
}

/* Modal Success State */
.modal-success-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px 10px 10px 10px;
    animation: fadeInScale 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.modal-success-state.hidden {
    display: none;
}

.modal-success-icon-wrapper {
    width: 90px;
    height: 90px;
    margin-bottom: 24px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-success-pulse {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    animation: radialPulse 2s ease-out infinite;
}

@keyframes radialPulse {
    0% { transform: scale(0.8); opacity: 0.8; }
    100% { transform: scale(1.6); opacity: 0; }
}

.modal-success-state h3 {
    color: #ffffff;
    font-size: clamp(22px, 3vw, 26px);
    font-weight: 700;
    margin: 0 0 12px 0;
    letter-spacing: -0.5px;
}

.modal-success-state .report-time-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 16px;
}

.modal-success-state p {
    color: #a1a1aa;
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0 0 28px 0;
    max-width: 440px;
}

.modal-success-close-btn {
    background: #ffffff;
    color: #000000;
    border: none;
    border-radius: 10px;
    padding: 12px 32px;
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
}

.modal-success-close-btn:hover {
    background: #e4e4e7;
    transform: translateY(-1px);
}

/* ==========================================
   RESPONSIVE MEDIA QUERIES
   ========================================== */
@media (max-width: 1024px) {
    .services-zigzag-container { gap: 80px; }
    .service-row, .service-row.mirrored { grid-template-columns: 1fr; gap: 32px; }
    .service-row.mirrored .svc-text-col { grid-column: auto; order: 1; }
    .service-row.mirrored .svc-visual-col { grid-column: auto; grid-row: auto; order: 2; }
    .svc-visual-col { padding: 0; min-height: auto; width: 100%; }
    .svc-webp-img { width: 100%; height: auto; aspect-ratio: 11 / 8; object-fit: cover; }
    .conversion-card { grid-template-columns: 1fr; gap: 40px; }
    .ed-title { font-size: 40px; }
    .ed-content-wrapper { grid-template-columns: 1fr; gap: 30px; }
    .testi-card { flex: 0 0 540px; padding: 48px 36px; min-height: 380px; }
}

@media (max-width: 850px) {
    .matrix-table-container { overflow-x: visible; }
}

@media (max-width: 768px) {
    .hero-section { padding: 130px 20px 32px !important; }
    .hero-title { font-size: clamp(38px, 9vw, 56px) !important; letter-spacing: -1.5px !important; }
    .hero-description { font-size: 16.5px !important; }
    .hero-actions { width: 100% !important; flex-direction: column !important; }
    .btn, .button { width: 100% !important; }
    .hero-badge-live { display: none !important; }
    .services-zigzag-container { gap: 60px; }
    .service-row, .service-row.mirrored { grid-template-columns: 1fr; gap: 24px; }
    .svc-visual-col { padding: 0; border-radius: 16px; min-height: auto; width: 100%; }
    .svc-webp-img { width: 100%; height: auto; aspect-ratio: 11 / 8; border-radius: 16px; object-fit: cover; }
    .svc-trigger-title { font-size: clamp(24px, 6vw, 32px); }
    .svc-trigger-desc { font-size: 15px; line-height: 1.6; max-width: 100%; }
    .ed-item { padding: 32px 0; }
    .ed-arrow { display: none; }
    .ed-title { font-size: 26px; }
    .ed-content-wrapper { max-height: 1000px; opacity: 1; padding-top: 20px; }
    .ed-wow-container { height: 220px; }
    .testi-card { flex: 0 0 85vw; padding: 36px 24px; min-height: auto; }
    .testi-text { font-size: 18px; }

    /* Comparison Table Mobile Fix (No Horizontal Scroll) */
    .comparison-section { padding: 60px 16px 80px; }
    .matrix-table-container {
        overflow-x: visible;
        border-radius: 20px;
        margin-top: 24px;
        width: 100%;
    }
    .matrix-table {
        width: 100% !important;
        min-width: 0 !important;
        table-layout: fixed;
    }
    .matrix-table th, 
    .matrix-table td {
        padding: 14px 10px !important;
        box-sizing: border-box;
    }
    .matrix-table th {
        font-size: 14px !important;
        letter-spacing: -0.3px !important;
    }
    .matrix-table td.col-traditional {
        font-size: 13px !important;
        width: 50% !important;
    }
    .matrix-table td.col-turtles {
        font-size: 13.5px !important;
        width: 50% !important;
    }
    .matrix-table .bad-indicator,
    .matrix-table .good-indicator {
        display: flex !important;
        align-items: flex-start !important;
        gap: 6px !important;
        line-height: 1.35 !important;
    }
    .icon-cross {
        width: 16px !important;
        height: 16px !important;
        font-size: 9px !important;
        margin-top: 2px !important;
        flex-shrink: 0 !important;
    }
    .icon-check {
        width: 18px !important;
        height: 18px !important;
        font-size: 10px !important;
        margin-top: 1px !important;
        flex-shrink: 0 !important;
    }

    /* Conversion Section & Form Mobile Fix (Full Width & No Cramped Padding) */
    .conversion-section {
        padding: 60px 16px 80px !important;
    }
    .conversion-card {
        padding: 28px 18px !important;
        border-radius: 24px !important;
        gap: 32px !important;
    }
    .conversion-info h2 {
        font-size: clamp(26px, 7vw, 36px) !important;
        margin-bottom: 14px !important;
    }
    .conversion-info p {
        font-size: 15px !important;
        margin-bottom: 24px !important;
    }
    .dental-form-card {
        padding: 24px 18px !important;
        border-radius: 18px !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .dental-form-card .form-header {
        margin-bottom: 20px !important;
    }
    .dental-form-card .form-header h2 {
        font-size: 1.35rem !important;
    }
    .dental-form-card input[type="text"],
    .dental-form-card input[type="tel"] {
        padding: 13px 14px !important;
        font-size: 16px !important; /* 16px prevents mobile browser auto-zoom on input focus */
        border-radius: 10px !important;
    }
    .dental-form-card .budget-group {
        padding: 16px 14px !important;
        margin-top: 18px !important;
        margin-bottom: 22px !important;
        border-radius: 12px !important;
    }
    .dental-form-card .slider-display {
        font-size: 1.6rem !important;
        margin: 8px 0 14px 0 !important;
    }
    .dental-form-card .submit-btn {
        padding: 14px !important;
        font-size: 0.95rem !important;
        border-radius: 10px !important;
    }

    /* Modal Form Mobile Optimization (Fit on Screen & Smooth Scroll) */
    .modal-backdrop {
        padding: 12px 10px !important;
        align-items: flex-start !important;
        overflow-y: auto !important;
        -webkit-overflow-scrolling: touch !important;
    }
    .modal-card {
        padding: 22px 18px 24px !important;
        border-radius: 20px !important;
        max-height: calc(100dvh - 24px) !important;
        max-height: calc(100vh - 24px) !important;
        overflow-y: auto !important;
        -webkit-overflow-scrolling: touch !important;
        margin: auto 0 !important;
    }
    .modal-close-btn {
        top: 14px !important;
        right: 14px !important;
        width: 32px !important;
        height: 32px !important;
    }
    .modal-header {
        margin-bottom: 14px !important;
        text-align: center !important;
    }
    .modal-header h2 {
        font-size: 1.2rem !important;
        margin: 4px 0 6px 0 !important;
    }
    .modal-header p {
        font-size: 12.5px !important;
        line-height: 1.35 !important;
    }
    .modal-form {
        gap: 10px !important;
    }
    .modal-form-group label {
        font-size: 0.72rem !important;
        margin-bottom: 4px !important;
        letter-spacing: 0.3px !important;
    }
    .modal-form-group input,
    .modal-form-group textarea {
        padding: 10px 12px !important;
        font-size: 16px !important; /* 16px prevents mobile browser auto-zoom */
        border-radius: 8px !important;
    }
    .modal-form-group textarea {
        min-height: 48px !important;
        max-height: 70px !important;
    }
    .modal-submit-btn {
        padding: 13px !important;
        font-size: 0.95rem !important;
        margin-top: 6px !important;
        border-radius: 8px !important;
    }
}
