 @import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Playfair+Display:ital,wght@0,400;0,700;1,400&display=swap');
 @import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,200..800;1,200..800&display=swap');




 /* theme-toggle.css */

 :root,
 [data-theme="dark"] {
     --bg: #0A0A0A;
     --bg-secondary: #111111;
     --text: #F5F5F5;
     --text-secondary: #A3A3A3;
     /* --accent: #d9ff00; */
     --accent: #7C3AED;
     --accent-hover: #6D28D9;
     --box-shadow: rgba(128, 58, 232, 0.15);
     --light-accent: rgba(140, 0, 255, 0.16);
     --border: #262626;
     --glass: rgba(255, 255, 255, 0.03);
     --glass-border: rgba(255, 255, 255, 0.08);
     --card: #1c1c1b;
     --card-hover: #222221;
     --tag-bg: rgba(255, 255, 255, 0.05);
     --tag-text: #A3A3A3;
     --nav-bg: rgba(10, 10, 10, 0.88);
     --cta-bg: #111111;
     --cta-text: #ffffff;
     --black: #0A0A0A;
     --white: #F5F5F5;
     --contact-bg: rgba(255, 255, 255, 0.06);
     --contact-border: rgba(255, 255, 255, 0.08);
     --contact-text: #F5F5F5;
     --contact-icon-bg: #85858514;
     --footer-bg: #0A0A0A;
     --footer-text: #A3A3A3;
     --footer-border: rgba(255, 255, 255, 0.06);
 }

 [data-theme="light"] {
     --bg: #f5f4f0;
     --bg-secondary: #eeedeb;
     --text: #111110;
     --text-secondary: #555552;
     --accent: #7C3AED;
     --accent-hover: #6D28D9;
     --box-shadow: rgba(124, 58, 237, 0.12);
     --light-accent: rgba(124, 58, 237, 0.10);
     --border: rgba(0, 0, 0, 0.12);
     --toggle-border: #262626;
     --toggle-bg: rgba(255, 255, 255, 0.05);
     --glass: rgba(0, 0, 0, 0.03);
     --glass-border: rgba(0, 0, 0, 0.08);
     --card: #ffffff;
     --card-hover: #fafaf8;
     --tag-bg: rgba(0, 0, 0, 0.04);
     --tag-text: #333331;
     --nav-bg: rgba(245, 244, 240, 0.88);
     --cta-bg: #ffffff;
     --cta-text: #111110;
     --black: #ffffff;
     --white: #111110;
     --contact-bg: #ffffff;
     --contact-border: rgba(0, 0, 0, 0.08);
     --contact-text: #111110;
     --contact-icon-bg: rgba(0, 0, 0, 0.04);
     --footer-bg: #f5f4f0;
     --footer-text: #555552;
     --footer-border: rgba(0, 0, 0, 0.08);
 }


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


 html {
     scroll-behavior: smooth;
     scroll-padding-top: 80px;
 }


 body {
     font-family: "Plus Jakarta Sans", sans-serif;
     background-color: var(--bg);
     color: var(--text);
     line-height: 1.6;
     overflow-x: hidden;
     -webkit-font-smoothing: antialiased;
     word-spacing: 2px;
     transition: background 0.3s, color 0.3s;
 }

 .container {
     max-width: 1400px;
     margin: 0 auto;
     padding: 0 32px;
 }



 /* Typography */
 h1,
 h2,
 h3 {
     font-weight: 800;
     line-height: 0.9;
     letter-spacing: -0.04em;
     word-spacing: 2px;
 }

 h3 {
     line-height: 1.2;
 }

 .serif {
     font-family: 'Playfair Display', serif;
     font-weight: 400;
     font-style: italic;
 }

 a {
     color: var(--text);
     text-decoration: none;
     transition: all ease 0.3s;
 }

 a:hover {
     color: var(--accent);
 }

 p,
 li {
     color: var(--text-secondary);
 }



 section {
     padding: 140px 0;
     position: relative;
 }

 @media (orientation: landscape) and (max-height: 550px) {
     section {
         padding: 70px 0;
     }

 }

 #about {
     scroll-margin-top: -150px;
     padding-bottom: 0;
 }

 @media (max-width: 768px) {
     #about {
         padding-bottom: 80px;
     }
 }

 .section-header {
     margin-bottom: 80px;
 }

 .section-label {
     font-size: 14px;
     font-weight: 500;
     text-transform: uppercase;
     letter-spacing: 0.2em;
     color: var(--accent);
     margin-bottom: 16px;
     display: block;
 }

 .section-title {
     font-size: clamp(48px, 8vw, 120px);
     font-weight: 900;
 }

 .section-title .serif {
     color: var(--text-secondary);
 }

 .bg-accent {
     padding-bottom: 140px;
     background: radial-gradient(circle, var(--light-accent) 0%, transparent 65%);
 }


 @media (max-width: 680px) {
     .bg-accent {
         background: radial-gradient(circle at 10% 40%, var(--light-accent) 0%, transparent 65%);
     }
 }


 /* Navigation */
 nav {
     position: fixed;
     top: 0;
     left: 0;
     right: 0;
     z-index: 1000;
     padding: 24px 0;
     /* background: rgba(10, 10, 10, 0.8); */
     background: rgba(10, 10, 10, 0);
     transition: all 0.3s ease;
 }

 nav.scrolled {
     padding: 16px 0;
     background: rgba(10, 10, 10, 0.95);
     backdrop-filter: blur(12px);
     -webkit-backdrop-filter: blur(12px);
 }

 .nav-content {
     display: grid;
     grid-template-columns: 1fr auto 1fr;
     align-items: center;
     gap: 24px;
 }


 .logo {
     font-size: 20px;
     font-weight: 700;
     letter-spacing: -0.02em;
     color: var(--text);
     text-decoration: none;
     transition: color 0.3s ease;
     display: inline-flex;
     align-items: center;
     line-height: 1;
     /* Noņem lieko atstarpi virs un zem teksta */
 }

 .logo:hover {
     color: var(--accent);
 }

 .nav-content .logo {
     justify-self: start;
 }


 .nav-links {
     display: flex;
     gap: 48px;
     list-style: none;
 }

 .nav-content .nav-links {
     justify-self: center;
 }

 /* NAV - LABOTA VERSIJA */
 .nav-link,
 .footer-link {
     position: relative;
     font-size: 14px;
     font-weight: 500;
     text-transform: uppercase;
     letter-spacing: 0.1em;
     padding: 8px 0;
     display: inline-block;
     color: var(--text-secondary);
 }

 /* atslēdz to a:hover kas tev visu sabojā */
 .nav-link {
     position: relative;
     display: inline-block;
     padding: 8px 0;
     line-height: 1;
     font-size: 14px;
     font-weight: 500;
     letter-spacing: 0.1em;
     color: var(--text-secondary);
     vertical-align: middle;
 }

 .nav-link:hover {
     color: var(--text-secondary);
 }

 .nav-link::before {
     content: attr(data-text);
     position: absolute;
     inset: 0;
     /* tieši tas pats laukums */
     padding: 8px 0;
     /* tieši tā pati iekšējā mala */

     font-size: inherit;
     font-weight: inherit;
     letter-spacing: inherit;
     line-height: inherit;
     text-transform: inherit;

     color: var(--accent);
     pointer-events: none;
     white-space: nowrap;

     clip-path: inset(0 100% 0 0);
     transition: clip-path 0.55s cubic-bezier(0.22, 1, 0.36, 1);
 }

 .nav-link:hover::before,
 .nav-link.active::before {
     clip-path: inset(0 0% 0 0);
 }




 .mobile-toggle {
     display: none;
 }

 .disabled {
     color: var(--text-secondary) !important;
 }

 .disabled:hover {
     cursor: not-allowed;
     color: var(--text-secondary) !important;
 }



 @media (max-width: 768px) {
     .nav-content {
         display: flex;
         justify-content: space-between;
         align-items: center;
     }

     .nav-content .logo {
         justify-self: auto;
     }

     .nav-content .mobile-toggle {
         justify-self: auto;
         margin-left: auto;
     }
 }





 /* Hero Section */

 .hero {
     background: linear-gradient(180deg, #0A0A0A 0%, #0e0e0e 50%, #242424 100%);
     min-height: 100vh;
     display: flex;
     align-items: flex-end;
     justify-content: center;
     padding: 0 80px;
     overflow: hidden;
     position: relative;
 }


 .hero-title {
     font-family: 'Playfair Display', serif;
     font-style: italic;
     text-align: center;
     font-size: clamp(360px, 51vw, 660px);
     line-height: 0.85;
     letter-spacing: -0.04em;
     font-weight: 900;
     margin: 0;
     color: var(--bg);
     position: absolute;
     bottom: 0;
     left: 0;
     width: 100%;
     z-index: 1;
     clip-path: polygon(0 0, 100% 0, 100% 98%, 0 98%);
     transform: translateY(2%);
 }







 /* Mobile - vertikāls teksts */
 @media (max-width: 680px) {
     .hero {
         background: linear-gradient(90deg, #151515 10%, #6c6c6c 100%, #363636 100%);
         align-items: stretch;
         justify-content: flex-start;
     }

     .hero-title {
         font-size: clamp(280px, 50vh, 460px);
         letter-spacing: -0.05em;
         writing-mode: vertical-rl;
         text-orientation: mixed;
         position: absolute;
         left: 4px;
         top: 0;
         height: 100%;
         margin: 0;
         display: flex;
         align-items: flex-end;
         justify-content: flex-end;
         white-space: nowrap;

     }
 }

 @media (max-width: 680px) and (max-height: 400px) {

     .hero {
         background: linear-gradient(180deg, #0A0A0A 0%, #0e0e0e 50%, #242424 100%);
         align-items: flex-start;
         justify-content: center;
         padding: 0;
         height: 100vh;
     }

     .hero-title {
         writing-mode: horizontal-tb !important;
         text-orientation: mixed !important;
         position: relative;
         left: auto;
         top: auto;
         bottom: -16px;
         height: auto;
         width: 100%;
         display: flex;
         align-items: center;
         justify-content: center;
         white-space: normal;
         text-align: center;
         transform: none;
         letter-spacing: -0.04em !important;
         line-height: 1;
         padding: 0 20px 10px;
         margin: 0;

     }
 }









 .hero-socials {
     margin-top: 28px;
     display: flex;
     gap: 0.75rem;
 }

 @media (orientation: landscape) and (max-height: 550px) {
     .hero-socials {
         margin-top: 0;
     }
 }

 @media (max-width: 768px) {
     .hero {
         padding: 100px 5% 60px;
     }
 }


 /* Intro */

 .intro-container {
     background: var(--bg);
     min-height: 100vh;
     width: 100%;
     display: flex;
     flex-direction: column;
     justify-content: center;
     align-items: end;
     margin-bottom: 100px;
     max-width: 1400px;
     margin: 0 auto;
     padding: 0 32px;
 }


 @media (orientation: landscape) and (max-height: 550px) {
     .intro-container {
         margin-bottom: 100px;
     }
 }

 .intro-title {
     font-family: 'Playfair Display', serif;
     font-style: italic;
     font-size: clamp(48px, 9vw, 128px);
     font-weight: 400;
     line-height: 0.95;
     /* color: var(--text); */
     color: var(--text-secondary);
     margin: 0 0 32px 0;
     letter-spacing: -0.03em;
     text-align: right;
 }

 .name {
     font-family: 'Playfair Display', serif;
     font-weight: 900;
     font-style: italic;
     color: var(--text);
 }

 .intro-text {
     font-size: 18px;
     line-height: 1.7;
     color: var(--text-muted);
     max-width: 560px;
     margin-bottom: 48px;
     text-align: right;
 }




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

 .about-text p {
     font-size: 18px;
     line-height: 1.8;
     color: var(--text-secondary);
     margin-bottom: 32px;
 }

 .about-text p strong {
     color: var(--text);
     font-weight: 600;
 }

 .skills-grid {
     display: grid;
     grid-template-columns: repeat(2, 1fr);
     gap: 24px;
 }

 .skill-card {
     padding: 32px;
     background: var(--glass);
     border: 1px solid var(--glass-border);
     border-radius: 16px;
     backdrop-filter: blur(10px);
     -webkit-backdrop-filter: blur(10px);
     transition: all 0.4s ease;
     position: relative;
     overflow: hidden;
 }

 .skill-card::before {
     content: '';
     position: absolute;
     top: 0;
     left: 0;
     width: 100%;
     height: 100%;
     background: linear-gradient(135deg, var(--accent), transparent);
     opacity: 0;
     transition: opacity 0.4s ease;
 }

 .skill-card:hover {
     transform: translateY(-4px);
     border-color: var(--accent);
 }

 .skill-card:hover::before {
     opacity: 0.1;
 }

 .skill-card h3 {
     font-size: 24px;
     margin-bottom: 8px;
     position: relative;
     z-index: 1;
 }

 .skill-card p {
     font-size: 14px;
     color: var(--text-secondary);
     position: relative;
     z-index: 1;
 }

 /* Projects Section */
 .works-grid {
     display: flex;
     flex-direction: column;
     gap: 120px;
     transition: transform 0.3s ease, color 0.3s ease;
 }

 .works-grid a:visited,
 .works-grid a:active,
 .works-grid a:focus {
     color: var(--text);
 }

 .works-grid a:hover {
     color: var(--text-secondary);
 }

 .work-item {
     display: grid;
     grid-template-columns: 1.2fr 1fr;
     gap: 60px;
     align-items: center;
     position: relative;
     scroll-margin-top: 160px;
 }

 .work-item:nth-child(even) {
     grid-template-columns: 1fr 1.2fr;
 }

 .work-item:nth-child(even) .work-image {
     order: 2;
 }

 .work-image {
     position: relative;
     aspect-ratio: 16/10;
     border-radius: 16px;
     overflow: hidden;
     background: var(--bg-secondary);
     cursor: pointer;
 }

 .work-image img {
     width: 100%;
     height: 100%;
     object-fit: cover;
     transition: transform 0.6s ease;
 }

 .work-image::after {
     content: '';
     position: absolute;
     inset: 0;
     background: linear-gradient(135deg, var(--bg), transparent);
     opacity: 0;
     transition: opacity 0.4s ease;
     mix-blend-mode: multiply;
 }

 .work-image:hover img {
     transform: scale(1.05);
 }

 .work-image:hover::after {
     opacity: 0.6;
 }

 .work-overlay {
     position: absolute;
     inset: 0;
     display: flex;
     align-items: center;
     justify-content: center;
     opacity: 0;
     transition: opacity 0.4s ease;
     z-index: 2;
 }

 .work-image:hover .work-overlay {
     opacity: 1;
 }

 .work-overlay span:hover {
     color: var(--text);
     box-shadow: 0 0 12px var(--bg-secondary);
 }

 .work-overlay span {
     padding: 16px 40px;
     background: var(--bg);
     color: var(--text-secondary);
     font-weight: 600;
     font-size: 14px;
     text-transform: uppercase;
     letter-spacing: 0.1em;
     border-radius: 100px;
     transition: all linear 0.2s;
 }

 @media (max-width: 633px) {
     .work-overlay span {
         padding: 12px 28px;
         font-weight: 600;
         font-size: 12px;
         letter-spacing: 0.1em;
     }
 }

 .work-content h3 {
     font-size: clamp(32px, 5vw, 64px);
     margin-bottom: 6px;
 }

 .work-content p {
     font-size: 18px;
     color: var(--text-secondary);
     margin-bottom: 24px;
 }

 .work-tags {
     display: flex;
     flex-wrap: wrap;
     gap: 12px;
 }

 .tag {
     padding: 8px 20px;
     background: var(--glass);
     border: 1px solid var(--glass-border);
     border-radius: 100px;
     font-size: 12px;
     text-transform: uppercase;
     letter-spacing: 0.1em;
     color: var(--text-secondary);
 }

 /* Timeline Section */
 .timeline {
     position: relative;
     max-width: 900px;
     margin: 0 auto;
     padding-left: 60px;
 }

 .timeline::before {
     content: '';
     position: absolute;
     left: 0;
     top: 0;
     bottom: 0;
     width: 2px;
     background: var(--border);
     transition: background 0.3s ease;
 }

 .timeline-item {
     position: relative;
     padding-bottom: 64px;
     opacity: 0;
     transform: translateY(30px);
     transition: all 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
 }

 .timeline-item.visible {
     opacity: 1;
     transform: translateY(0);
 }

 .timeline-item::before {
     content: '';
     position: absolute;
     left: -67px;
     top: 8px;
     width: 14px;
     height: 14px;
     border-radius: 50%;
     background: var(--bg);
     border: 3px solid var(--border);
     transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
     z-index: 2;
 }

 .timeline-item:hover::before {
     border-color: var(--accent);
     box-shadow: 0 0 0 8px var(--light-accent);
     transform: scale(1.3);
 }

 .timeline-date {
     font-size: 14px;
     color: var(--text-secondary);
     font-weight: 600;
     text-transform: uppercase;
     letter-spacing: 0.1em;
     margin-bottom: 12px;
     transition: color 0.3s ease;
 }

 .timeline-item:hover .timeline-date {
     color: var(--accent);
 }

 .timeline-title {
     font-size: 28px;
     font-weight: 700;
     margin-bottom: 8px;
     transition: color 0.3s ease;
 }

 .timeline-item:hover .timeline-title {
     color: var(--accent);
 }

 .timeline-subtitle {
     font-size: 16px;
     color: var(--text-secondary);
     margin-bottom: 16px;
     transition: color 0.3s ease;
 }

 /* ===== LIELIE EKRĀNI — apraksts paslēpts ar hover ===== */
 @media (min-width: 769px) {
     .timeline-description {
         font-size: 15px;
         color: var(--text-secondary);
         line-height: 1.8;
         margin-top: 16px;
         max-height: 200px;
         overflow: hidden;
         opacity: 0.15;
         transform: translateY(-4px);
         transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
         pointer-events: none;
     }

     .timeline-item:hover .timeline-description {
         opacity: 1;
         transform: translateY(0);
     }
 }

 /* ===== MAZIE EKRĀNI — viss redzams uzreiz ===== */
 @media (max-width: 768px) {
     .timeline {
         padding-left: 40px;
     }

     .timeline-item::before {
         left: -47px;
         width: 12px;
         height: 12px;
     }

     .timeline-title {
         font-size: 22px;
     }

     .timeline-subtitle {
         font-size: 14px;
     }

     .timeline-description {
         font-size: 14px;
         opacity: 1 !important;
         transform: translateY(0) !important;
         max-height: none !important;
         pointer-events: auto !important;
         margin-top: 16px;
         line-height: 1.7;
     }

     /* Noņemam hover efektus, kas mobilajiem lieki */
     .timeline-item:hover .timeline-title {
         color: inherit;
     }

     .timeline-item:hover .timeline-date {
         color: var(--text-secondary);
     }

     .timeline-item:hover::before {
         border-color: var(--border);
         box-shadow: none;
         transform: scale(1);
     }
 }

 @media (max-width: 480px) {
     .timeline {
         padding-left: 28px;
     }

     .timeline-item::before {
         left: -35px;
         width: 10px;
         height: 10px;
         top: 6px;
     }

     .timeline-title {
         font-size: 18px;
     }

     .timeline-subtitle {
         font-size: 13px;
     }

     .timeline-description {
         font-size: 13px;
     }
 }

 .social-link {
     width: 48px;
     height: 48px;
     border: 1px solid var(--glass-border);
     border-radius: 50%;
     display: flex;
     align-items: center;
     justify-content: center;
     color: var(--text);
     text-decoration: none;
     transition: all 0.3s ease;
 }

 .social-link:hover {
     background: var(--accent);
     border-color: var(--accent);
     color: var(--bg);
     transform: translateY(-4px);
 }







 /* 14. FOOTER
-------------------------------------------------------------- */
 #footer {
     padding: 2.5rem 0;
     background: var(--bg);
 }

 .footer-inner {
     display: flex;
     align-items: center;
     justify-content: space-between;
     gap: 1.5rem;
     flex-wrap: wrap;
 }

 @media (max-width: 633px) {
     .footer-inner {
         flex-direction: column;
         align-items: center;
         gap: 1rem;
     }
 }

 .footer-link {
     transition: all 0.4s ease;
     padding: 0;
 }

 .footer-link:hover {
     color: var(--accent);
 }

 .footer-copy {
     font-size: 0.82rem;
     color: var(--gray-400);
 }

 .footer-socials {
     display: flex;
     gap: 0.5rem;
 }

 /* 15. BACK TO TOP
-------------------------------------------------------------- */
 #backToTop {
     position: fixed;
     bottom: 6rem;
     right: 32px;
     width: 44px;
     height: 44px;
     border-radius: 50%;
     background: var(--bg);
     border: 1px solid var(--accent);
     color: var(--accent);
     display: flex;
     align-items: center;
     justify-content: center;
     box-shadow: 0 4px 16px var(--glass-border);
     opacity: 0;
     pointer-events: none;
     transform: translateY(8px);
     transition: opacity 0.3s, transform 0.3s, border-color 0.2s, background 0.2s;
     z-index: 90;
     cursor: pointer;
 }


 @media (max-width: 768px) {
     #backToTop {
         right: 20px;
     }
 }

 @media (max-width: 633px) {
     #backToTop {
         bottom: 2.5rem;
     }
 }

 #backToTop.visible {
     opacity: 0.6;
     pointer-events: all;
     transform: translateY(0);
 }

 #backToTop:hover {
     background: var(--accent);
     color: var(--bg);
     border-color: var(--accent);
 }


 /* Modal */
 .modal {
     display: none;
     position: fixed;
     inset: 0;
     background: rgba(0, 0, 0, 0.95);
     z-index: 2000;
     overflow-y: auto;
     padding: 60px 24px;
 }

 .modal.active {
     display: block;
 }

 .modal-content,
 .work-container {
     max-width: 1200px;
     margin: 0 auto;
     background: var(--bg-secondary);
     border-radius: 24px;
     padding: 80px;
     position: relative;
     animation: modalSlideIn 0.4s ease;
 }

 @keyframes modalSlideIn {
     from {
         opacity: 0;
         transform: translateY(40px);
     }

     to {
         opacity: 1;
         transform: translateY(0);
     }
 }

 .modal-close {
     position: absolute;
     top: 32px;
     right: 32px;
     width: 48px;
     height: 48px;
     background: var(--bg-secondary);
     border: 1px solid var(--glass-border);
     color: var(--text);
     border-radius: 50%;
     display: flex;
     align-items: center;
     justify-content: center;
     cursor: pointer;
     transition: all 0.3s ease;
 }

 .modal-close:hover {
     border-color: var(--accent);
     transform: rotate(90deg);
     color: var(--accent);
 }

 .modal-close svg {
     width: 20px;
     height: 20px;
     stroke: var(--text);
     stroke-width: 2;
 }

 .modal-header {
     margin-bottom: 48px;
 }

 .modal-title {
     font-size: clamp(48px, 8vw, 100px);
     font-weight: 900;
     margin-bottom: 24px;
 }

 @media (max-width: 479px) {
     .modal-title {
         margin-top: 12px;
         font-size: clamp(32px, 4vw, 56px);
         font-weight: 800;
     }
 }

 .modal-meta {
     display: flex;
     flex-wrap: wrap;
     gap: 32px;
     margin-bottom: 48px;
 }

 .meta-item {
     display: flex;
     flex-direction: column;
     gap: 8px;
 }

 .meta-label {
     font-size: 12px;
     text-transform: uppercase;
     letter-spacing: 0.2em;
     color: var(--text-secondary);
 }

 .meta-value {
     font-size: 16px;
     font-weight: 600;
 }

 .meta-value a {
     display: inline-flex;
     align-items: center;
     gap: .35rem;
     color: inherit;
     text-decoration: none;
     text-decoration: none;
     color: var(--text);
     transition: all linear 0.2s;
 }

 .meta-value a:hover {
     color: var(--accent);
 }

 .external-icon {
     width: .9em;
     height: .9em;
     stroke: currentColor;
     fill: none;
     stroke-width: 2;
     stroke-linecap: round;
     stroke-linejoin: round;
     flex-shrink: 0;
     transition: transform .25s ease;
 }

 .meta-value a:hover .external-icon {
     transform: translate(1px, -1px);
 }

 .modal-hero {
     width: 100%;
     aspect-ratio: 16/9;
     border-radius: 16px;
     overflow: hidden;
     margin-bottom: 50px;
     background: var(--bg);
 }

 .modal-hero img {
     width: 100%;
     height: 100%;
     object-fit: cover;
 }

 .modal-columns {
     display: grid;
     grid-template-columns: 1fr 1fr;
     gap: 60px;
     margin-bottom: 80px;
 }

 .modal-columns h4 {
     font-size: 24px;
     margin-bottom: 16px;
     color: var(--text);
 }

 .modal-columns p {
     font-size: 16px;
     line-height: 1.8;
     color: var(--text-secondary);
 }

 .modal-gallery {
     display: grid;
     grid-template-columns: repeat(2, 1fr);
     gap: 24px;
     margin-bottom: 80px;
 }

 .gallery-item {
     aspect-ratio: 4/3;
     border-radius: 12px;
     overflow: hidden;
     background: var(--bg);
 }

 .gallery-item img {
     width: 100%;
     height: 100%;
     object-fit: cover;
 }

 .modal-nav {
     display: flex;
     justify-content: space-between;
     padding-top: 48px;
     border-top: 1px solid var(--border);
     gap: 32px;
 }

 .nav-project {
     display: flex;
     flex-direction: column;
     gap: 8px;
     text-decoration: none;
     color: var(--text);
     transition: color 0.3s ease;
 }

 .nav-project:hover {
     color: var(--accent);
 }

 .nav-project:first-of-type {
     text-align: left;
 }

 .nav-project:last-of-type {
     text-align: right;
 }

 .nav-label {
     font-size: 12px;
     text-transform: uppercase;
     letter-spacing: 0.2em;
     color: var(--text-secondary);
 }

 .nav-name {
     font-size: 20px;
     font-weight: 700;
 }

 /* Animations */
 @keyframes fadeIn {
     to {
         opacity: 1;
     }
 }

 @keyframes fadeInUp {
     to {
         opacity: 1;
         transform: translateY(0);
     }
 }

 .fade-in {
     opacity: 0;
     transform: translateY(40px);
     transition: all 0.8s ease;
 }

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

 /* Responsive */
 @media (max-width: 1024px) {

     .about-grid,
     .work-item,
     .work-item:nth-child(even),
     .contact-grid,
     .modal-columns {
         grid-template-columns: 1fr;
         gap: 40px;
     }

     .work-item:nth-child(even) .work-image {
         order: 0;
     }

     .modal-gallery {
         grid-template-columns: 1fr;
     }

     .contact {
         padding: 48px 32px;
     }

     .modal-content {
         padding: 84px 32px;
     }

 }



 @media (max-width: 768px) {

     .container {
         padding: 0 20px;
     }

     section {
         padding: 80px 0;
     }

     .nav-links {
         position: fixed;
         top: 0;
         right: -100%;
         height: 100vh;
         width: 100%;
         background: var(--bg);
         flex-direction: column;
         padding: 100px 40px;
         gap: 32px;
         transition: right 0.4s ease;
         border-left: 1px solid var(--border);
         align-items: flex-end;
         overflow-y: auto;
         -webkit-overflow-scrolling: touch;
     }

     .nav-links.active {
         right: 0;
     }


     /* ===== PIEVIENO — TOGGLES APAKŠĀ ===== */
     .nav-links .mobile-toggles {
         margin-top: auto;
         padding-top: 24px;
         padding-bottom: 40px;
         border-top: 1px solid var(--border);
         display: flex;
         gap: 16px;
         justify-content: center;
         width: 100%;
         flex-shrink: 0;
     }




     /* Pogas pamatstāvoklis */
     .mobile-toggle {
         /* Redzams tikai mobilajā režīmā */
         position: relative;
         width: 32px;
         height: 32px;
         background: transparent;
         border: none;
         cursor: pointer;
         padding: 0;
         margin: 0;
         flex-shrink: 0;
         z-index: 1001;
     }

     /* Līniju izskats */
     .mobile-toggle span {
         display: block;
         position: absolute;
         width: 24px;
         /* Nedaudz platāks, lai labāk izskatās */
         height: 2px;
         background-color: var(--text);
         border-radius: 2px;

         /* Centrējam līniju tieši pogas vidū */
         top: 50%;
         left: 50%;
         /* Sākotnējā pozīcija: viena nedaudz augstāk, otra zemāk */
         transform: translate(-50%, -50%) translateY(-4px);
         transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
     }

     /* Otrā līnija sākumā ir zemāk */
     .mobile-toggle span:nth-child(2) {
         transform: translate(-50%, -50%) translateY(4px);
     }

     /* =========================================
   AKTĪVAIS STĀVOKLIS (KRUSTIŅŠ)
   ========================================= */

     /* Pirmā līnija pagriežas pa labi */
     .mobile-toggle.active span:nth-child(1) {
         transform: translate(-50%, -50%) rotate(45deg);
     }

     /* Otrā līnija pagriežas pa kreisi */
     .mobile-toggle.active span:nth-child(2) {
         transform: translate(-50%, -50%) rotate(-45deg);
     }



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

     .works-grid {
         gap: 80px;
     }

     .timeline {
         padding-left: 40px;
     }

     .timeline-item::before {
         left: -47px;
     }
 }


 /* ===== HORIZONTĀLAIS REŽĪMS (mazs augstums) ===== */
 @media (max-height: 500px) {
     .nav-links.active {
         padding: 60px 40px 20px !important;
         gap: 8px !important;
     }

     .nav-links.active li {
         padding: 2px 0 !important;
     }

     .nav-links.active li a {
         font-size: 16px !important;
     }
 }



 /* ===== ĻOTI MAZS AUGSTUMS + MAZS PLATUMS (mazi telefoni horizontāli) ===== */
 @media (max-height: 380px) and (max-width: 700px) {

     .nav-links.active li a {
         font-size: 12px !important;
     }

 }

 /* 11. Darbu lapas
-------------------------------------------------------------- */
 .work-container {
     margin-top: 120px;
 }


 @media (max-width: 768px) {
     .work-container {
         padding: 50px;
     }
 }

 @media (max-width: 680px) {
     .work-container {
         padding: 50px 36px;
     }
 }

 @media (max-width: 576px) {
     .work-container {
         padding: 36px 20px;
     }

     .modal-close {
         top: 28px;
         right: 28px;
     }
 }

 @media (max-width: 576px) {
     .modal-close {
         top: 28px;
         right: 28px;
     }
 }

 @media (max-width: 480px) {
     .modal-close {
         top: 20px;
         right: 20px;
     }
 }



 /* 12. CTA SECTION
-------------------------------------------------------------- */
 #cta {
     padding: 0;
 }

 .cta-box {
     background: var(--black);
     border-radius: 24px;
     border: 1px solid var(--glass-border);
     padding: clamp(40px, 6vw, 80px);
     display: flex;
     align-items: center;
     justify-content: space-between;
     gap: 3rem;
     flex-wrap: wrap;
     overflow: hidden;
     position: relative;
 }

 @media (max-width: 556px) {
     .cta-box {
         justify-content: center;
     }
 }


 .cta-box::before {
     content: '';
     position: absolute;
     top: -40%;
     right: -10%;
     width: 500px;
     height: 500px;
     background: radial-gradient(circle, var(--light-accent) 0%, transparent 65%);
     pointer-events: none;
 }

 .cta-text h2 {
     font-size: clamp(1.8rem, 3.5vw, 3rem);
     font-weight: 900;
     color: var(--white);
     line-height: 1.15;
     margin-bottom: 1rem;

 }

 .cta-text h2 em {
     font-size: inherit;
 }

 .cta-text p {
     font-size: 1rem;
     color: rgba(255, 255, 255, 0.55);
     max-width: 420px;
     line-height: 1.7;
 }

 .cta-text .section-tag {
     color: rgba(255, 255, 255, 0.4);
 }

 /* .btn-light-cta {
     display: inline-flex;
     align-items: center;
     gap: 0.5rem;
     padding: 0.85rem 1.8rem;
     background: transparent;
     color: var(--white);
     font-size: 0.9rem;
     font-weight: 500;
     text-decoration: none;
     border: 1.5px solid rgba(255, 255, 255, 0.4);
     border-radius: 100px;
     transition: background 0.25s, border-color 0.25s;
     white-space: nowrap;
 }

 .btn-light-cta:hover {
     background: rgba(255, 255, 255, 0.1);
     border-color: rgba(255, 255, 255, 0.8);
 } */


 /* 13. CONTACT
-------------------------------------------------------------- */


 .contact-links {
     display: flex;
     flex-direction: column;
     gap: 1rem;
 }

 .contact-item {
     display: flex;
     align-items: center;
     gap: 1rem;
     padding: 0.5rem 1.25rem;
     background: var(--white);
     border: 1px solid var(--glass-border);
     border-radius: 50px;
     color: var(--black);
     transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s;
     position: relative;
     text-decoration: none;
 }

 .contact-item:hover {
     border-color: var(--accent);
     box-shadow: 0 4px 16px var(--light-accent);
 }

 .contact-icon-wrap {
     width: 40px;
     height: 40px;
     background: #8585850b;
     border-radius: 10px;
     display: flex;
     align-items: center;
     justify-content: center;
     flex-shrink: 0;
     color: var(--black);
     transition: background 0.2s, color 0.2s;
 }

 .contact-item:hover .contact-icon-wrap {
     background: var(--light-accent);
     color: var(--accent);
 }

 .contact-item>div:nth-child(2) {
     flex: 1;
 }

 .contact-arrow {
     flex-shrink: 0;
     transition: color 0.2s, transform 0.2s;
 }

 .contact-item:hover .contact-arrow {
     color: var(--accent);
     transform: translateX(3px);
 }



 @media (max-width: 380px) {
     .contact-item {
         padding: 0.3rem 1.12rem;
     }

     .contact-item span {
         font-size: 0.72rem;
     }

     .contact-icon-wrap {
         width: 32px;
         height: 32px;
     }
 }




 /* Privātuma politika */

 .politika-container {
     max-width: 1000px;
     margin: 0 auto;
     padding-top: 200px;
 }

 @media (max-width: 768px) {
     .politika-container {
         padding: 0 24px;
         padding-top: 120px;
     }
 }


 .politika-container>p:first-of-type {
     margin-bottom: 100px;
     margin-top: 8px;

 }

 @media (max-width: 479px) {
     .politika-container>p:first-of-type {
         margin-bottom: 70px;
     }
 }

 .politika-content:last-of-type {
     margin-bottom: 200px;

 }

 .politika-content {
     margin: 50px 0;
     padding: 0;
 }

 .politika-container>h1 {
     line-height: 1.1;
 }

 .politika-content>h2 {
     margin-bottom: 16px;
     line-height: 1.2;
 }

 .politika-content>h3 {
     margin-top: 20px;
     margin-bottom: 8px;
 }


 .list {
     padding-left: 1.5rem;
     margin-bottom: 1.5rem;
 }


 #cookie-declaration {
     background: var(--grey);
     padding: 2rem;
     margin: 2rem 0;
     border-left: 3px solid var(--accent);
 }





 /* BĀZE */

 [data-theme="light"] nav.scrolled {
     background: rgba(245, 244, 240, 0.95) !important;
 }

 /* VISĀS LAPĀS - noklusējums (gaišs fons) */
 [data-theme="light"] nav .logo {
     color: var(--text) !important;
     /* Vienmēr redzams */
 }

 [data-theme="light"] nav.scrolled .logo {
     color: var(--text) !important;
     /* Vienmēr redzams */
 }

 /* TIKAI SĀKUMLAPĀ - tumšs fons (pārraksta noklusējumu) */
 [data-theme="light"] .homepage .logo {
     color: var(--black) !important;
     /* Balts uz tumšā fona */
 }

 [data-theme="light"] .homepage nav.scrolled .logo {
     color: var(--text) !important;
     /* Scrollojot kļūst tumšs */
 }

 [data-theme="light"] .homepage .logo:hover {
     color: var(--accent) !important;
 }

 [data-theme="light"] .homepage nav.scrolled .logo:hover {
     color: var(--accent) !important;
 }


 [data-theme="light"] #backToTop:hover {
     background: var(--accent);
     color: var(--bg);
     border-color: var(--accent);
 }

 [data-theme="light"] .modal-close:hover {
     background-color: var(--light-accent);
     border-color: var(--light-accent);
     color: var(--accent);
 }



 /* HERO */

 [data-theme="light"] .hero {
     background: #0A0A0A;
 }


 [data-theme="light"] .hero-title {
     background: linear-gradient(180deg, #121212 0%, #747474 30%, var(--bg) 75%, var(--bg) 100%);
     -webkit-background-clip: text;
     background-clip: text;
     color: transparent;
 }


 @media (max-width:680px) {
     [data-theme="light"] .hero-title {
         background: linear-gradient(180deg, #121212 0%, #747474 50%, var(--bg) 100%);
         -webkit-background-clip: text;
         background-clip: text;
         color: transparent;
         left: 0;
     }
 }










 /* SKILL CARD */

 [data-theme="light"] .skill-card {
     background: rgba(255, 255, 255, 0.7) !important;
     border: 1px solid rgba(0, 0, 0, 0.08) !important;
     box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04) !important;
 }

 [data-theme="light"] .skill-card:hover {
     border-color: var(--accent) !important;
 }

 /* TAG */


 [data-theme="light"] .tag {
     background: rgba(0, 0, 0, 0.04) !important;
     border: 1px solid rgba(0, 0, 0, 0.08) !important;
     color: #555552 !important;
 }


 /* CTA BOX */

 /* DARK */
 [data-theme="dark"] .cta-box {
     background: var(--black) !important;
     border: 1px solid var(--glass-border) !important;
 }



 /* LIGHT */
 [data-theme="light"] .cta-box {
     background: #ffffff !important;
     border: 1px solid rgba(0, 0, 0, 0.08) !important;
     box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06) !important;
 }

 [data-theme="light"] .cta-text h2 {
     color: #111110 !important;
 }

 [data-theme="light"] .cta-text p {
     color: #555552 !important;
 }

 [data-theme="light"] .btn-light-cta {
     color: #111110 !important;
     border-color: rgba(0, 0, 0, 0.2) !important;
 }

 [data-theme="light"] .cta-text .section-tag {
     color: var(--text-secondary) !important;
 }





 /* DARK CONTACT */
 [data-theme="dark"] .contact-item {
     background: var(--dark);
     border: 1px solid var(--glass-border);
     color: var(--text);
 }

 [data-theme="dark"] .contact-item:hover {
     border-color: var(--accent);
     box-shadow: 0 4px 16px var(--light-accent);
     color: var(--accent);
 }


 [data-theme="dark"] .contact-icon-wrap {
     color: var(--text);
 }

 [data-theme="dark"] .contact-item:hover .contact-icon-wrap {
     background: var(--light-accent);
     color: var(--accent);
 }



 /* LIGHT CONTACT */

 [data-theme="light"] .contact-item {
     background: #ffffff !important;
     border: 1px solid rgba(0, 0, 0, 0.08) !important;
     color: #111110 !important;
     box-shadow: 0 2px 12px rgba(0, 0, 0, 0.03) !important;
 }

 [data-theme="light"] .contact-item:hover {
     border-color: var(--accent) !important;
     box-shadow: 0 4px 16px var(--light-accent) !important;
     color: var(--accent) !important;
 }


 [data-theme="light"] .contact-icon-wrap {
     background: rgba(0, 0, 0, 0.05) !important;
     color: #111110 !important;
 }

 [data-theme="light"] .contact-item:hover .contact-icon-wrap {
     background: var(--light-accent) !important;
     color: var(--accent) !important;
 }

 /* FOOTER */


 [data-theme="light"] #footer,
 [data-theme="light"] footer {
     background: #f5f4f0 !important;

 }

 /* TOGGLE + LANG + MOBILE */
 .toggle-container {
     display: flex;
     gap: 14px;
     align-items: center;
 }

 .toggle-container.desktop-only {
     display: flex;
 }

 .nav-content .toggle-container.desktop-only {
     justify-self: end;
 }

 .nav-content .mobile-toggle {
     justify-self: end;
 }

 .toggle-btn {
     background: var(--tag-bg);
     border: 1px solid var(--border);
     border-radius: 20px;
     width: 54px;
     height: 28px;
     cursor: pointer;
     position: relative;
     flex-shrink: 0;
     padding: 0;
     display: block;
     overflow: hidden;
 }


 [data-theme="light"] .homepage .toggle-btn {
     background: var(--toggle-bg);
     border: 1px solid var(--toggle-border);
 }

 [data-theme="light"] .homepage.scrolled .toggle-btn {
     background: var(--tag-bg);
     border: 1px solid var(--border);
 }

 .toggle-btn::after {
     content: '';
     position: absolute;
     width: 22px;
     height: 22px;
     border-radius: 50%;
     top: 2px;
     left: 2px;
     z-index: 2;
     box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
     transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), background 0.3s;
 }


 .toggle-btn .icon {
     position: absolute;
     top: 50%;
     width: 14px;
     height: 14px;
     transform: translateY(-50%);
     pointer-events: none;
     color: var(--text-secondary);
 }


 .toggle-btn .icon-sun {
     left: 7px;
 }

 .toggle-btn .icon-moon {
     right: 7px;
 }


 [data-theme="dark"] .toggle-btn::after {
     transform: translateX(0);
     background: #F5F5F5;
 }

 [data-theme="dark"] .icon-moon {
     color: var(--accent);
     opacity: 1;
     transform: translateY(-50%) scale(1);
 }

 [data-theme="dark"] .icon-sun {
     opacity: 0.35;
     transform: translateY(-50%) scale(0.85);
 }

 [data-theme="light"] .toggle-btn::after {
     transform: translateX(26px);
     background: #F5F5F5;
 }

 [data-theme="light"] .icon-sun {
     color: var(--accent);
     opacity: 1;
     transform: translateY(-50%) scale(1);
 }

 [data-theme="light"] .icon-moon {
     opacity: 0.35;
     transform: translateY(-50%) scale(0.85);

 }

 /* Sākumlapa — tumšs fons */
 [data-theme="light"] .homepage .mobile-toggle span {
     background: var(--black) !important;
 }

 [data-theme="light"] .homepage nav.scrolled .mobile-toggle span {
     background: var(--text) !important;
 }

 [data-theme="light"] .mobile-toggle span {
     background: var(--text) !important;
 }

 [data-theme="light"] nav.scrolled .mobile-toggle span {
     background: var(--text) !important;
 }

 [data-theme="light"] .mobile-toggle.active span {
     background: var(--white) !important;
 }




 .lang-switch {
     font-size: 13px;
     font-weight: 700;
     letter-spacing: 0.08em;
     line-height: 1;
     background: none;
     border: none;
     cursor: pointer;
     color: var(--text-secondary);
     padding: 6px 8px;
     border-radius: 8px;
     transition: color 0.3s, background 0.2s;
     flex-shrink: 0;
     font-family: inherit;
     text-transform: uppercase;
 }

 .lang-switch:hover {
     color: var(--text);
 }


 [data-theme="dark"] .homepage .lang-switch {
     transition: color 0.3s, background 0.2s;
 }

 [data-theme="light"] .homepage .lang-switch {
     transition: color 0.3s, background 0.2s;
 }

 [data-theme="light"] .homepage .lang-switch:hover {
     color: var(--black);
 }

 [data-theme="light"] .homepage.scrolled .lang-switch:hover {
     color: var(--white) !important;
 }



 .mobile-toggles {
     display: none;
     gap: 16px;
     align-items: center;
     padding-top: 20px;
     margin-top: 20px;
     border-top: 1px solid var(--border);
     width: 100%;
 }

 @media (max-width:768px) {
     .mobile-toggle {
         display: flex;

     }

     nav .toggle-container,
     .toggle-container.desktop-only,
     header .toggle-container {
         display: none !important;
     }

     .mobile-toggles {
         display: flex;
     }

     .nav-links .mobile-toggles {
         opacity: 0;
         pointer-events: none;
         transition: opacity 0.2s;
     }

     .nav-links.active .mobile-toggles {
         opacity: 1;
         pointer-events: all;
         justify-content: right;
     }
 }

 @media (min-width:769px) {
     .mobile-toggles {
         display: none !important;
     }
 }


 /* Gluda pāreja logo un menu items */
 nav .nav-link,
 nav .lang-switch,
 nav .toggle-btn {
     transition: opacity 0.25s ease, transform 0.25s ease;
 }

 /* Loading stāvoklis - viegli izbalē */
 body.changing-language nav .logo,
 body.changing-language nav .nav-link,
 body.changing-language nav .lang-switch,
 body.changing-language nav .toggle-btn {
     opacity: 0.5;
     transform: scale(0.97);
     pointer-events: none;
 }

 /* Atgriežas normālā stāvoklī */
 body:not(.changing-language) nav .logo,
 body:not(.changing-language) nav .nav-link,
 body:not(.changing-language) nav .lang-switch,
 body:not(.changing-language) nav .toggle-btn {
     opacity: 1;
     transform: scale(1);
 }





 /* CookieBot DARK
=================================== */

 #CookiebotWidget {
     display: none !important;
 }

 #CybotCookiebotDialog {
     font-family: 'Montserrat', sans-serif !important;
     background-color: #111111 !important;
     border-radius: 0 !important;
 }

 #CybotCookiebotDialogHeader {
     border-bottom: none !important;
 }


 #CybotCookiebotDialogPoweredbyCybot>svg {
     fill: #fff !important;
 }

 #CybotCookiebotDialogBodyLevelButtonsSelectPane {
     border: 1px solid rgba(255, 255, 255, 0.08) !important;
 }


 #CybotCookiebotDialogBodyLevelButtonsSelectPane .CybotCookiebotDialogBodyLevelButtonDescription {
     font-family: 'Montserrat', sans-serif !important;
     font-weight: 500 !important;
     color: #fff !important;
 }

 #CybotCookiebotDialogBodyLevelButtonsSelectPane .CybotCookiebotDialogBodyLevelButtonDescription:hover {
     color: var(--accent) !important;
 }


 #CybotCookiebotDialogFooter .CybotCookiebotScrollContainer {
     border: none !important;
 }


 #CybotCookiebotDialogBodyLevelButtonsSelectPane .CybotCookiebotDialogBodyLevelButtonWrapper:not(:last-of-type) {
     border: none !important;
 }

 .CybotCookiebotDialogBodyBottomWrapper {
     border: none !important;
 }


 #CybotCookiebotDialogBodyLevelButtonsRow {
     border: 1px solid #111111 !important;
 }


 .CybotCookiebotDialogBodyLevelButton .CybotCookiebotDialogBodyLevelConsentCheckbox {
     background-color: rgba(255, 255, 255, 0.03) !important;

 }

 .CybotCookiebotDialogBodyLevelButtonSlider {
     background-color: rgba(255, 255, 255, 0.03) !important;
 }

 #CybotCookiebotDialogFooter #CybotCookiebotDialogBodyLevelButtonLevelOptinAllowAll {
     background-color: var(--accent) !important;
     border-color: var(--accent) !important;
     color: #141414;
     border-radius: 50px;
     font-family: 'Montserrat', sans-serif;
     font-weight: 500;
     transition: ease all 0.3s;
 }


 #CybotCookiebotDialogFooter #CybotCookiebotDialogBodyLevelButtonLevelOptinAllowallSelection {
     background-color: transparent !important;
     border-color: rgba(255, 255, 255, 0.08) !important;
     color: rgba(255, 255, 255, 0.87);
     border-radius: 50px;
     font-family: 'Montserrat', sans-serif;
     font-weight: 500;
     transition: ease all 0.3s;
 }

 #CybotCookiebotDialogFooter #CybotCookiebotDialogBodyLevelButtonLevelOptinAllowallSelection:hover {
     border-color: var(--white) !important;

 }

 #CybotCookiebotDialogFooter #CybotCookiebotDialogBodyButtonDecline {
     background-color: transparent;
     border-color: rgba(255, 255, 255, 0.08) !important;
     color: rgba(255, 255, 255, 0.87);
     border-radius: 50px;
     font-family: 'Montserrat', sans-serif;
     font-weight: 500;
     transition: ease all 0.3s;
 }

 #CybotCookiebotDialogFooter #CybotCookiebotDialogBodyButtonDecline:hover {
     border-color: var(--white) !important;

 }


 #CybotCookiebotDialog .CybotCookiebotScrollContainer {
     border: none !important;
 }

 #CybotCookiebotDialog.CybotEdge #CybotCookiebotDialogBodyEdgeMoreDetails a {
     align-items: center;
     color: var(--accent) !important;
     display: flex;
     font-weight: 600;
     text-decoration: none;
     font-family: 'Montserrat', sans-serif;
     font-weight: 500;
 }

 #CybotCookiebotDialog a:after {
     border-color: var(--accent) !important;
 }


 #CybotCookiebotDialog a:hover {
     border-color: #fff !important;
 }


 #CybotCookiebotDialog input:checked+.CybotCookiebotDialogBodyLevelButtonSlider {
     background-color: var(--accent) !important;
 }

 #CybotCookiebotDialogNav {
     border-bottom: none !important;
 }

 #CybotCookiebotDialogNav .CybotCookiebotDialogNavItems {
     border-bottom: none !important;
 }

 #CybotCookiebotDialogNav .CybotCookiebotDialogNavItemLink,
 #CybotCookiebotDialogNav .CybotCookiebotDialogNavItemLink:hover {
     color: #fff !important;
 }

 #CybotCookiebotDialogNavDetails:hover {
     color: var(--accent) !important;
 }

 #CybotCookiebotDialogNav .CybotCookiebotDialogNavItemLink:hover,
 #CybotCookiebotDialogNav .CybotCookiebotDialogNavItemLink:hover {
     color: var(--accent) !important;
 }


 #CybotCookiebotDialog,
 #CybotCookiebotDialogBodyUnderlay {
     color: #fff !important;
 }

 #CybotCookiebotDialogBodyContent {
     color: #fff !important;
 }

 #CybotCookiebotDialog *,
 #CybotCookiebotDialogBodyUnderlay * {
     color: #fff !important;
 }

 #CybotCookiebotDialogNav .CybotCookiebotDialogNavItemLink {
     border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
 }

 #CybotCookiebotDialogNav .CybotCookiebotDialogNavItemLink:hover {
     border-bottom: 1px solid var(--glass-border) !important;
 }

 #CybotCookiebotDialogNav .CybotCookiebotDialogNavItemLink.CybotCookiebotDialogActive {
     border-color: transparent;
     border-bottom: 2px solid var(--accent) !important;
     color: var(--accent) !important;
 }

 #CybotCookiebotDialog a:hover {
     border: none !important;
     color: var(--accent) !important;
 }

 #CybotCookiebotDialog .CookieCard {
     border: none !important;
 }

 .CybotCookiebotDialogBodyLevelButton CybotCookiebotDialogBodyLevelConsentCheckbox #CybotCookiebotDialogDetailBodyContentCookieContainerTypes {
     border: none !important;
 }

 #CybotCookiebotDialog .CookieCard .CybotCookiebotDialogDetailBodyContentCookieContainerButton,
 #CybotCookiebotDialog .CookieCard .CybotCookiebotDialogDetailBodyContentIABv2Tab:hover {
     color: var(--accent) !important;
 }


 #CybotCookiebotDialog .CybotCookiebotDialogBodyLevelButtonIABContainerToggleHide,
 #CybotCookiebotDialog .CybotCookiebotDialogBodyLevelButtonIABContainerToggleShow,
 #CybotCookiebotDialog a:after,
 #CybotCookiebotDialog a:before,
 #CybotCookiebotDialog button:after,
 #CybotCookiebotDialog button:before {
     border-color: var(--accent) !important;
 }


 #CybotCookiebotDialog .CybotExternalLinkArrow {
     background-color: var(--accent) !important;
 }

 #CybotCookiebotDialog .CybotCookiebotDialogDetailBodyContentCookieLink,
 #CybotCookiebotDialogDetailBodyContentTextAbout a {
     color: var(--accent) !important;
 }

 #CybotCookiebotDialog #CybotCookiebotDialogDetailFooter a {
     color: var(--accent) !important;
 }

 .CybotCookiebotFader,
 .CybotCookiebotFader.CybotCookiebotDialogActive {
     background-image: none !important;
 }

 #CybotCookiebotDialogTabContent .CybotCookiebotDialogDetailBulkConsentCount {
     background-color: rgb(77, 76, 76) !important;
 }


 /* ============================================
   HORIZONTĀLAIS REŽĪMS — FIX
   ============================================ */
 @media (orientation: landscape) and (max-height: 550px) {

     /* Atceļ fade-in animācijas horizontālajā režīmā */
     .fade-in,
     .fade-in.visible,
     .timeline-item,
     .timeline-item.visible {
         opacity: 1 !important;
         transform: translateY(0) !important;
         transition: none !important;
         animation: none !important;
     }

     /* Hero arī redzams */
     .hero.fade-in,
     .hero.fade-in.visible {
         opacity: 1 !important;
         transform: translateY(0) !important;
         transition: none !important;
         animation: none !important;
     }

     /* Timeline apraksts redzams */
     .timeline-description {
         opacity: 1 !important;
         max-height: none !important;
         pointer-events: auto !important;
         transform: translateY(0) !important;
     }
 }



 /* Smalka akcenta ēna hero virsrakstam tikai mobilajos ekrānos */
 /* @media (max-width: 680px) {

     .hero-title {
         filter: drop-shadow(0.5px -0.5px 0px var(--accent));
     }

     [data-theme="light"] .hero-title {
         filter: drop-shadow(0.5px -0.5px 0px var(--accent));
     }
 } */