/*
Theme Name: TPS Slate Pro
Theme URI: https://tpslatestone.com
Author: TPS Stone
Description: Premium international stone website with full Customizer support — hero video, solutions, projects, resources.
Version: 4.1.0
License: GPL v2
Text Domain: tps-slate
*/
/* ===========================================
   TPS Natural Slate — International Theme v4
   =========================================== */
:root {
  --navy: #1a1a2e;--navy-light: #16213e;--gold: #c8924a;--gold-light: #e8c07a;
  --text: #2d2d2d;--text-light: #5a5a5a;--text-muted: #888;
  --bg: #f8f7f4;--bg-white: #fff;--border: #e5e2dd;--border-light: #f0ede8;
  --red: #b8453a;--green: #3a7d5a;
  --shadow: 0 2px 16px rgba(0,0,0,0.06);--shadow-lg: 0 8px 40px rgba(0,0,0,0.1);
  --radius: 6px;--radius-lg: 12px;--radius-xl: 20px;
  --transition: all 0.3s cubic-bezier(0.4,0,0.2,1);--max: 1280px;--header-h: 76px;
}
*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}
html{scroll-behavior:smooth;font-size:16px}
body{font-family:'Inter','Segoe UI',-apple-system,sans-serif;color:var(--text);background:var(--bg-white);line-height:1.7;-webkit-font-smoothing:antialiased}
img{max-width:100%;height:auto;display:block}
a{color:var(--navy);text-decoration:none;transition:var(--transition)}
a:hover{color:var(--gold)}
.navbar{position:fixed;top:0;left:0;right:0;height:var(--header-h);background:rgba(255,255,255,0.97);backdrop-filter:blur(16px);border-bottom:1px solid var(--border-light);z-index:1000}
.navbar.scrolled{box-shadow:var(--shadow)}
.nav-inner{max-width:var(--max);margin:0 auto;padding:0 2rem;display:flex;align-items:center;justify-content:space-between;height:100%}
.logo{font-size:1.25rem;font-weight:700;color:var(--navy);display:flex;align-items:center;gap:0.5rem}
.logo span{color:var(--gold)}
.nav-links{display:flex;align-items:center;gap:1.8rem;list-style:none}
.nav-links a{color:var(--text);font-weight:500;font-size:0.9rem;position:relative;padding:0.3rem 0}
.nav-links a::after{content:'';position:absolute;bottom:0;left:0;width:0;height:2px;background:var(--gold);transition:width 0.3s}
.nav-links a:hover::after,.nav-links .current-menu-item>a::after{width:100%}
.nav-dropdown{position:relative}.nav-dropdown>a::after{display:none}
.nav-dropdown-menu{position:absolute;top:100%;left:0;background:#fff;border-radius:var(--radius-lg);box-shadow:var(--shadow-lg);padding:0.8rem 0;min-width:200px;opacity:0;pointer-events:none;transform:translateY(8px);transition:var(--transition);list-style:none}
.nav-dropdown:hover .nav-dropdown-menu{opacity:1;pointer-events:auto;transform:translateY(0)}
.nav-dropdown-menu a{display:block;padding:0.5rem 1.5rem;font-size:0.85rem;white-space:nowrap}
.nav-dropdown-menu a:hover{background:var(--bg);color:var(--gold)}
.nav-cta{background:var(--gold)!important;color:#fff!important;padding:0.55rem 1.5rem!important;border-radius:var(--radius);font-weight:600!important}
.nav-cta:hover{background:var(--gold-light)!important;color:#fff!important}
.hamburger{display:none;flex-direction:column;gap:5px;cursor:pointer;background:none;border:none;padding:4px}
.hamburger span{width:26px;height:2px;background:var(--text);transition:var(--transition);border-radius:1px}
.btn{display:inline-flex;align-items:center;gap:0.5rem;padding:0.85rem 2rem;border-radius:var(--radius);font-weight:600;font-size:0.95rem;border:none;cursor:pointer;transition:var(--transition);text-align:center}
.btn-primary{background:var(--gold);color:#fff}.btn-primary:hover{background:var(--gold-light);transform:translateY(-2px);box-shadow:0 6px 20px rgba(200,146,74,0.3)}
.btn-outline{background:transparent;color:#fff;border:2px solid rgba(255,255,255,0.4)}.btn-outline:hover{border-color:#fff}
.btn-dark{background:var(--navy);color:#fff}.btn-dark:hover{background:var(--navy-light);transform:translateY(-2px)}
.btn-white{background:#fff;color:var(--navy)}.btn-white:hover{transform:translateY(-2px)}
.btn-sm{padding:0.5rem 1.2rem;font-size:0.85rem}.btn-lg{padding:1rem 2.5rem;font-size:1.05rem}
.hero{margin-top:var(--header-h);position:relative;min-height:90vh;background:var(--navy);display:flex;align-items:center;overflow:hidden}
.hero-video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:0.5}
.hero-bg-img{position:absolute;inset:0;background-size:cover;background-position:center;opacity:0.5}
.hero-overlay{position:absolute;inset:0;background:linear-gradient(160deg,rgba(26,26,46,0.85) 0%,rgba(22,33,62,0.6) 100%)}
.hero-content{position:relative;z-index:1;max-width:var(--max);margin:0 auto;padding:6rem 2rem;text-align:center}
.hero-tag{display:inline-block;background:rgba(200,146,74,0.2);color:var(--gold-light);padding:0.3rem 1rem;border-radius:20px;font-size:0.8rem;font-weight:600;letter-spacing:0.06em;text-transform:uppercase;margin-bottom:1.5rem}
.hero-content h1{font-size:3.2rem;font-weight:800;color:#fff;line-height:1.2;margin-bottom:1.2rem;letter-spacing:-0.02em}
.hero-content h1 span{color:var(--gold-light);display:block;font-size:2.2rem;font-weight:600;margin-top:0.5rem}
.hero-content p{font-size:1.1rem;color:rgba(255,255,255,0.75);max-width:700px;margin:0 auto 2.5rem;line-height:1.7}
.hero-buttons{display:flex;gap:1rem;justify-content:center;flex-wrap:wrap}
.section{padding:5rem 2rem}.section-dark{background:var(--navy);color:#fff}.section-gray{background:var(--bg)}
.section-inner{max-width:var(--max);margin:0 auto}
.section-tag{display:inline-block;background:rgba(200,146,74,0.1);color:var(--gold);padding:0.3rem 1rem;border-radius:20px;font-size:0.78rem;font-weight:600;letter-spacing:0.05em;text-transform:uppercase;margin-bottom:1rem}
.section-title{font-size:2.2rem;font-weight:700;color:var(--navy);margin-bottom:0.8rem;letter-spacing:-0.01em}
.section-dark .section-title{color:#fff}.section-subtitle{color:var(--text-light);font-size:1.05rem;max-width:600px;margin:0 auto}
.section-dark .section-subtitle{color:rgba(255,255,255,0.65)}.section-header{text-align:center;margin-bottom:3.5rem}
.pain-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:1.5rem}
.pain-card{background:#fff;border-radius:var(--radius-lg);padding:2rem;border:1px solid var(--border-light);transition:var(--transition)}
.pain-card:hover{transform:translateY(-4px);box-shadow:var(--shadow-lg)}
.pain-icon{font-size:2.5rem;margin-bottom:1rem}.pain-card h3{font-size:1rem;font-weight:700;color:var(--navy);margin-bottom:0.5rem;line-height:1.3}
.pain-card p{font-size:0.85rem;color:var(--text-light);line-height:1.6;margin-bottom:1rem}.pain-card a{color:var(--gold);font-weight:600;font-size:0.85rem}
.solution-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1.5rem}
.solution-card{border-radius:var(--radius-xl);overflow:hidden;position:relative;aspect-ratio:4/5;cursor:pointer;transition:var(--transition)}
.solution-card:hover{transform:translateY(-4px);box-shadow:var(--shadow-lg)}
.solution-card img{width:100%;height:100%;object-fit:cover}
.solution-card-overlay{position:absolute;inset:0;background:linear-gradient(transparent 30%,rgba(26,26,46,0.85));display:flex;flex-direction:column;justify-content:flex-end;padding:2rem}
.solution-card-overlay h3{color:#fff;font-size:1.3rem;font-weight:700;margin-bottom:0.5rem}
.solution-card-overlay p{color:rgba(255,255,255,0.8);font-size:0.88rem;line-height:1.5}
.case-slider{display:flex;gap:1.5rem;overflow-x:auto;padding:1rem 0;scroll-snap-type:x mandatory;-webkit-overflow-scrolling:touch}
.case-slider::-webkit-scrollbar{display:none}
.case-slide{flex:0 0 320px;scroll-snap-align:start;border-radius:var(--radius-lg);overflow:hidden;background:#fff;border:1px solid var(--border-light);transition:var(--transition)}
.case-slide:hover{transform:translateY(-2px);box-shadow:var(--shadow)}.case-slide img{width:100%;aspect-ratio:16/10;object-fit:cover}
.case-slide-body{padding:1rem}.case-slide-body h4{font-size:0.95rem;font-weight:600;color:var(--navy)}.case-slide-body span{font-size:0.8rem;color:var(--text-muted)}
.factory-split{display:grid;grid-template-columns:1fr 1fr;gap:3rem;align-items:center}
.factory-video{border-radius:var(--radius-lg);overflow:hidden;aspect-ratio:16/10;background:var(--navy-light);display:flex;align-items:center;justify-content:center;cursor:pointer}
.factory-video .play-btn{width:64px;height:64px;border-radius:50%;background:rgba(255,255,255,0.9);display:flex;align-items:center;justify-content:center;font-size:1.5rem;transition:var(--transition)}
.factory-video:hover .play-btn{transform:scale(1.1);background:#fff}
.factory-list{list-style:none;display:flex;flex-direction:column;gap:1.2rem}
.factory-list li{display:flex;align-items:center;gap:1rem;font-size:1.05rem;font-weight:600;color:var(--navy)}
.factory-list li::before{content:'✓';width:32px;height:32px;border-radius:50%;background:rgba(58,125,90,0.1);color:var(--green);display:flex;align-items:center;justify-content:center;font-weight:700;flex-shrink:0}
.resource-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1.5rem}
.resource-card{background:#fff;border-radius:var(--radius-lg);overflow:hidden;border:1px solid var(--border-light);transition:var(--transition)}
.resource-card:hover{box-shadow:var(--shadow-lg);transform:translateY(-2px)}
.resource-card img{width:100%;aspect-ratio:16/10;object-fit:cover}.resource-card-body{padding:1.3rem}
.resource-card-body .date{font-size:0.78rem;color:var(--text-muted);margin-bottom:0.5rem}
.resource-card-body h3{font-size:1rem;font-weight:600;color:var(--navy);margin-bottom:0.5rem;line-height:1.4}
.resource-card-body p{font-size:0.85rem;color:var(--text-light);line-height:1.5;margin-bottom:1rem}.resource-card-body a{color:var(--gold);font-weight:600;font-size:0.85rem}
.cta-banner{padding:6rem 2rem;text-align:center;background:linear-gradient(160deg,var(--navy),var(--navy-light));position:relative;overflow:hidden}
.cta-banner::before{content:'';position:absolute;inset:0;background:url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4z'/%3E%3C/g%3E%3C/svg%3E")}
.cta-banner-content{position:relative;z-index:1;max-width:700px;margin:0 auto}
.cta-banner h2{font-size:2rem;font-weight:700;color:#fff;margin-bottom:1rem}
.cta-banner p{color:rgba(255,255,255,0.7);font-size:1.05rem;margin-bottom:2rem}
.footer{background:var(--navy);color:rgba(255,255,255,0.6);padding:4rem 2rem 2rem}
.footer-grid{max-width:var(--max);margin:0 auto;display:grid;grid-template-columns:2fr 1fr 1fr 1fr;gap:3rem}
.footer-brand h3{color:#fff;font-size:1.2rem;margin-bottom:0.8rem}.footer-brand p{font-size:0.85rem;line-height:1.7}
.footer-col h4{color:#fff;font-size:0.9rem;margin-bottom:1rem}.footer-col ul{list-style:none}.footer-col li{margin-bottom:0.5rem}
.footer-col a{color:rgba(255,255,255,0.5);font-size:0.85rem}.footer-col a:hover{color:#fff}
.footer-bottom{max-width:var(--max);margin:3rem auto 0;padding-top:1.5rem;border-top:1px solid rgba(255,255,255,0.08);text-align:center;font-size:0.8rem;color:rgba(255,255,255,0.3)}
.page-hero{margin-top:var(--header-h);background:var(--navy);padding:5rem 2rem;text-align:center}
.page-hero h1{color:#fff;font-size:2.5rem;font-weight:800;margin-bottom:0.8rem}
.page-hero p{color:rgba(255,255,255,0.65);font-size:1.05rem;max-width:600px;margin:0 auto}
.breadcrumb{padding:1.2rem 2rem;background:var(--bg);border-bottom:1px solid var(--border);font-size:0.85rem}
.breadcrumb-inner{max-width:var(--max);margin:0 auto;color:var(--text-muted)}.breadcrumb-inner a{color:var(--text-light)}
.challenge-card{background:#fff;border-radius:var(--radius-lg);overflow:hidden;border:1px solid var(--border-light);margin-bottom:1.5rem}
.challenge-header{padding:1.5rem;background:var(--bg);cursor:pointer;display:flex;align-items:center;gap:1rem}
.challenge-header h3{flex:1;font-size:1.1rem;font-weight:600;color:var(--navy)}.challenge-header .arrow{font-size:1.2rem;transition:transform 0.3s}
.challenge-header.active .arrow{transform:rotate(180deg)}
.challenge-body{padding:0 1.5rem 1.5rem;display:none}.challenge-body.open{display:block}
.challenge-body .solution{background:rgba(58,125,90,0.05);padding:1rem;border-radius:var(--radius);margin:0.8rem 0}
.challenge-body .result{font-weight:600;color:var(--green)}
.specs-table{width:100%;border-collapse:collapse;background:#fff;border-radius:var(--radius);overflow:hidden;box-shadow:var(--shadow)}
.specs-table th{background:var(--navy);color:#fff;padding:1rem 1.2rem;text-align:left;font-size:0.85rem;font-weight:600;letter-spacing:0.04em}
.specs-table td{padding:0.9rem 1.2rem;border-bottom:1px solid var(--border-light);font-size:0.9rem}.specs-table tr:hover td{background:var(--bg)}
.project-snapshot{display:grid;grid-template-columns:repeat(4,1fr);gap:1.5rem;margin-bottom:3rem}
.snapshot-item{background:var(--bg);padding:1.5rem;border-radius:var(--radius-lg);text-align:center}
.snapshot-item .label{font-size:0.75rem;color:var(--text-muted);text-transform:uppercase;letter-spacing:0.04em;margin-bottom:0.3rem}
.snapshot-item .value{font-size:1.1rem;font-weight:700;color:var(--navy)}
.product-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:1.5rem}
.product-card{background:#fff;border-radius:var(--radius-lg);overflow:hidden;border:1px solid var(--border-light);transition:var(--transition)}
.product-card:hover{transform:translateY(-4px);box-shadow:var(--shadow-lg)}.product-card img{width:100%;aspect-ratio:1;object-fit:cover}
.product-card-body{padding:1.3rem}.product-card-body h3{font-size:1.05rem;font-weight:600;color:var(--navy);margin-bottom:0.3rem}
.product-card-body p{font-size:0.85rem;color:var(--text-light)}.tags{display:flex;flex-wrap:wrap;gap:0.3rem;margin-top:0.8rem}
.tag{background:var(--bg);color:var(--text-light);padding:0.2rem 0.7rem;border-radius:12px;font-size:0.72rem;font-weight:500}
.content-layout{display:grid;grid-template-columns:1fr 320px;gap:3rem}
.sidebar-card{background:var(--bg);border-radius:var(--radius-lg);padding:1.5rem;margin-bottom:1.5rem}
.sidebar-card h4{font-size:0.95rem;color:var(--navy);margin-bottom:1rem}.sidebar-card ul{list-style:none}.sidebar-card li{margin-bottom:0.5rem}
.sidebar-card a{font-size:0.85rem;color:var(--text-light)}.sidebar-card .cta-mini{background:var(--gold);color:#fff;display:block;text-align:center;padding:0.7rem;border-radius:var(--radius);font-weight:600;font-size:0.88rem;margin-top:0.8rem}
.article-content{max-width:780px}.article-content h2{font-size:1.5rem;color:var(--navy);margin:2rem 0 1rem}
.article-content h3{font-size:1.2rem;color:var(--navy);margin:1.5rem 0 0.8rem}.article-content p{margin-bottom:1.1rem;line-height:1.8}
.article-content blockquote{border-left:4px solid var(--gold);background:var(--bg);padding:1rem 1.5rem;margin:1.5rem 0;border-radius:0 var(--radius) var(--radius) 0;font-style:italic;color:var(--text-light)}
.article-content ul,.article-content ol{margin:1rem 0 1.5rem 1.5rem}.article-meta{color:var(--text-muted);font-size:0.9rem;margin-bottom:2rem}
.faq-item{border:1px solid var(--border-light);border-radius:var(--radius);margin-bottom:0.8rem;overflow:hidden}
.faq-q{padding:1.2rem;background:var(--bg);cursor:pointer;font-weight:600;color:var(--navy);display:flex;justify-content:space-between;align-items:center}
.faq-a{padding:0 1.2rem 1.2rem;display:none;color:var(--text-light);font-size:0.9rem;line-height:1.7}.faq-a.open{display:block}
.timeline{position:relative;padding-left:2rem}
.timeline::before{content:'';position:absolute;left:0;top:0;bottom:0;width:2px;background:var(--border)}
.timeline-item{position:relative;margin-bottom:2.5rem;padding-left:1.5rem}
.timeline-item::before{content:'';position:absolute;left:-1.3rem;top:0.5rem;width:12px;height:12px;border-radius:50%;background:var(--gold);border:3px solid #fff;box-shadow:0 0 0 2px var(--gold)}
.timeline-item h4{font-size:1.1rem;color:var(--navy)}.timeline-item p{font-size:0.9rem;color:var(--text-light)}
.fade-up{opacity:0;transform:translateY(24px);transition:opacity 0.6s,transform 0.6s}.fade-up.visible{opacity:1;transform:translateY(0)}
@media(max-width:1024px){.pain-grid{grid-template-columns:repeat(2,1fr)}.solution-grid{grid-template-columns:1fr}.factory-split{grid-template-columns:1fr}.resource-grid{grid-template-columns:repeat(2,1fr)}.footer-grid{grid-template-columns:1fr 1fr}.content-layout{grid-template-columns:1fr}.project-snapshot{grid-template-columns:repeat(2,1fr)}.hero-content h1{font-size:2.5rem}}
@media(max-width:768px){.nav-links{position:fixed;inset:0;top:var(--header-h);background:#fff;flex-direction:column;justify-content:flex-start;padding:2rem;gap:1.5rem;transform:translateX(100%);transition:transform 0.3s ease}.nav-links.active{transform:translateX(0)}.hamburger{display:flex}.hero-content h1{font-size:2rem}.pain-grid,.resource-grid{grid-template-columns:1fr}.section-title{font-size:1.7rem}.product-grid{grid-template-columns:1fr}.footer-grid{grid-template-columns:1fr}.project-snapshot{grid-template-columns:1fr 1fr}}
.aligncenter{display:block;margin-left:auto;margin-right:auto}.screen-reader-text{clip:rect(1px,1px,1px,1px);position:absolute!important}
