/* ==========================================================================
   FirmaCore - Sistem Tente (cihanyildirim.com.tr) Modern Theme Stylesheet
   ========================================================================== */

:root {
    --primary: #cf2e2e;
    --primary-hover: #b91c1c;
    --primary-light: #fef2f2;
    --accent: #ff6900;
    --accent-hover: #e05d00;
    --dark: #0f172a;
    --dark-surface: #1e293b;
    --dark-muted: #334155;
    --text: #334155;
    --text-muted: #64748b;
    --light-bg: #f8fafc;
    --white: #ffffff;
    --border: #e2e8f0;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Inter', sans-serif;
    --radius: 12px;
    --radius-sm: 8px;
    --radius-lg: 16px;
    --radius-full: 9999px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: var(--font-body);
    color: var(--text);
    background-color: var(--white);
    line-height: 1.65;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--dark);
    font-weight: 700;
    line-height: 1.25;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

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

.shell {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ==========================================================================
   Header & Topbar
   ========================================================================== */

.ty-topbar {
    background-color: var(--dark);
    color: #cbd5e1;
    font-size: 13px;
    font-weight: 500;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.ty-topbar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.ty-topbar-message {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #f1f5f9;
}

.ty-topbar-links {
    display: flex;
    align-items: center;
    gap: 20px;
}

.ty-topbar-links a {
    color: #cbd5e1;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.ty-topbar-links a:hover {
    color: var(--accent);
}

.ty-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
    transition: var(--transition);
}

.ty-nav-wrap {
    padding: 14px 0;
}

.ty-nav-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.ty-logo a {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

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

.ty-logo-text {
    font-family: 'Poppins', sans-serif;
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--dark);
    letter-spacing: -0.02em;
    line-height: 1.2;
    display: inline-block;
}

.ty-primary-nav {
    display: flex;
    align-items: center;
}

.ty-menu {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 28px;
}

.ty-menu > li {
    position: relative;
}

.ty-menu > li > a {
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 600;
    color: var(--dark);
    padding: 8px 0;
    display: inline-block;
    position: relative;
}

.ty-menu > li > a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary);
    transition: var(--transition);
}

.ty-menu > li:hover > a::after,
.ty-menu > li.active > a::after {
    width: 100%;
}

.ty-menu > li:hover > a,
.ty-menu > li.active > a {
    color: var(--primary);
}

/* Dropdown Menu */
.ty-menu .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    min-width: 220px;
    box-shadow: var(--shadow-xl);
    border-radius: var(--radius-sm);
    padding: 10px 0;
    list-style: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    border: 1px solid var(--border);
    z-index: 100;
}

.ty-menu > li:hover .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.ty-menu .sub-menu li a {
    display: block;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 500;
    color: var(--dark);
}

.ty-menu .sub-menu li a:hover {
    background-color: var(--primary-light);
    color: var(--primary);
    padding-left: 24px;
}

.ty-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 700;
    padding: 12px 24px;
    border-radius: var(--radius-full);
    border: none;
    cursor: pointer;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.ty-btn-accent {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    color: var(--white);
    box-shadow: 0 4px 14px rgba(207, 46, 46, 0.35);
}

.ty-btn-accent:hover {
    background: linear-gradient(135deg, var(--primary-hover) 0%, var(--accent-hover) 100%);
    color: var(--white);
    box-shadow: 0 6px 20px rgba(207, 46, 46, 0.45);
    transform: translateY(-2px);
}

.ty-btn-outline {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.8);
}

.ty-btn-outline:hover {
    background: var(--white);
    color: var(--dark);
    transform: translateY(-2px);
}

.ty-btn-outline-dark {
    background: transparent;
    color: var(--dark);
    border: 2px solid var(--dark);
}

.ty-btn-outline-dark:hover {
    background: var(--dark);
    color: var(--white);
    transform: translateY(-2px);
}

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

.ty-menu-toggle span {
    display: block;
    width: 24px;
    height: 3px;
    background-color: var(--dark);
    border-radius: 2px;
    transition: var(--transition);
}

/* ==========================================================================
   Hero Slider
   ========================================================================== */

.ty-hero {
    position: relative;
    overflow: hidden;
    background-color: var(--dark);
    min-height: 560px;
}

.ty-slider-track {
    position: relative;
    width: 100%;
    min-height: 560px;
}

.ty-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease-in-out, transform 0.8s ease-in-out;
    display: flex;
    align-items: center;
}

.ty-slide.is-active {
    opacity: 1;
    visibility: visible;
    position: relative;
}

.ty-hero-picture {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

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

.ty-hero-overlay {
    display: none;
}

.ty-hero-content {
    position: relative;
    z-index: 3;
    padding: 80px 0;
}

.ty-hero-copy {
    max-width: 680px;
    color: var(--white);
}

.ty-eyebrow {
    display: inline-block;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent);
    margin-bottom: 12px;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.7);
}

.ty-hero-slide-title {
    font-size: 46px;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 18px;
    line-height: 1.15;
    text-shadow: 0 2px 14px rgba(0, 0, 0, 0.85);
}

.ty-hero-copy p {
    font-size: 17px;
    color: #ffffff;
    margin-bottom: 28px;
    line-height: 1.6;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.75);
}

.ty-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 32px;
}

.ty-mini-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    font-size: 13px;
    font-weight: 600;
    color: #ffffff;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.8);
}

.ty-mini-trust span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.ty-slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
    color: var(--white);
    border: none;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    cursor: pointer;
    transition: var(--transition);
}

.ty-slider-arrow:hover {
    background: var(--primary);
}

.ty-prev { left: 24px; }
.ty-next { right: 24px; }

.ty-slider-dots {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    gap: 10px;
}

.ty-slider-dots button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.ty-slider-dots button.is-active {
    background: var(--accent);
    width: 32px;
    border-radius: 6px;
}

/* ==========================================================================
   Benefits Section
   ========================================================================== */

.ty-benefits {
    background-color: var(--white);
    padding: 36px 0;
    border-bottom: 1px solid var(--border);
}

.ty-benefit-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.ty-benefit {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    border-radius: var(--radius);
    background-color: var(--light-bg);
    transition: var(--transition);
}

.ty-benefit:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.ty-benefit-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    color: var(--white);
    font-size: 22px;
    flex-shrink: 0;
}

.ty-benefit h3, .ty-benefit h2 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 4px;
}

.ty-benefit p {
    font-size: 13px;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.4;
}

/* ==========================================================================
   Services Section
   ========================================================================== */

.ty-section {
    padding: 70px 0;
}

.ty-section-head {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 50px auto;
}

.ty-section-head h2 {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 14px;
}

.ty-section-head p {
    font-size: 16px;
    color: var(--text-muted);
}

.ty-card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.ty-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.ty-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
    border-color: rgba(207, 46, 46, 0.3);
}

.ty-card-media {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background-color: var(--dark-surface);
}

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

.ty-card:hover .ty-card-img {
    transform: scale(1.06);
}

.ty-card-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.ty-card-body h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
}

.ty-card-body h3 a:hover {
    color: var(--primary);
}

.ty-card-body p {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 18px;
    flex-grow: 1;
}

.ty-text-link {
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 700;
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.ty-text-link:hover {
    color: var(--accent);
    gap: 10px;
}

/* ==========================================================================
   Quote & Stats Section
   ========================================================================== */

.ty-quote-section {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: var(--white);
    padding: 80px 0;
    position: relative;
}

.ty-quote-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    margin-bottom: 60px;
}

.ty-quote-copy h2 {
    font-size: 38px;
    color: var(--white);
    margin-bottom: 16px;
}

.ty-quote-copy p {
    font-size: 16px;
    color: #94a3b8;
    margin-bottom: 24px;
}

.ty-quote-copy ul {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.ty-quote-copy ul li {
    font-size: 15px;
    font-weight: 600;
    color: #e2e8f0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.ty-quote-copy ul li::before {
    content: '✓';
    color: var(--accent);
    font-weight: 900;
}

.ty-quote-form-wrap {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-lg);
    padding: 36px;
    box-shadow: var(--shadow-xl);
}

.ty-quote-form-wrap h3 {
    font-size: 24px;
    color: var(--white);
    margin-bottom: 20px;
    text-align: center;
}

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

.ty-quote-form input,
.ty-quote-form textarea,
.ty-quote-form select {
    width: 100%;
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.08);
    color: var(--white);
    font-family: var(--font-body);
    font-size: 14px;
    outline: none;
    transition: var(--transition);
}

.ty-quote-form input::placeholder,
.ty-quote-form textarea::placeholder {
    color: #94a3b8;
}

.ty-quote-form input:focus,
.ty-quote-form textarea:focus,
.ty-quote-form select:focus {
    border-color: var(--accent);
    background: rgba(255, 255, 255, 0.14);
}

.ty-quote-form textarea {
    height: 90px;
    resize: vertical;
    margin-bottom: 16px;
}

.ty-quote-form button {
    width: 100%;
}

.ty-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.ty-stat {
    text-align: center;
}

.ty-stat strong {
    display: block;
    font-family: var(--font-heading);
    font-size: 44px;
    font-weight: 800;
    color: var(--accent);
    margin-bottom: 4px;
}

.ty-stat span {
    font-size: 15px;
    font-weight: 500;
    color: #94a3b8;
}

/* ==========================================================================
   Projects Section
   ========================================================================== */

.ty-project-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 40px;
}

.ty-project-card {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    aspect-ratio: 4 / 3;
    background-color: var(--dark);
    box-shadow: var(--shadow-md);
}

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

.ty-project-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(15, 23, 42, 0.9) 0%, rgba(15, 23, 42, 0.2) 60%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 24px;
    color: var(--white);
    transition: var(--transition);
}

.ty-project-overlay strong {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 4px;
}

.ty-project-overlay small {
    font-size: 13px;
    color: var(--accent);
    font-weight: 600;
}

.ty-project-card:hover .ty-project-img {
    transform: scale(1.08);
}

.ty-center {
    text-align: center;
}

/* ==========================================================================
   SEO Prose Section
   ========================================================================== */

.ty-seo-content {
    background-color: var(--light-bg);
}

.ty-prose h2 {
    font-size: 32px;
    margin-bottom: 16px;
}

.ty-prose > div:first-of-type {
    font-size: 16px;
    color: var(--text-muted);
    margin-bottom: 36px;
    line-height: 1.7;
}

.ty-prose-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 36px;
}

.ty-prose-grid h3 {
    font-size: 18px;
    font-weight: 700;
    margin: 20px 0 8px 0;
    color: var(--dark);
}

.ty-prose-grid p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
}

/* ==========================================================================
   FAQ Section
   ========================================================================== */

.ty-faq {
    background-color: var(--white);
}

.ty-faq-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 50px;
    align-items: start;
}

.ty-faq-grid h2 {
    font-size: 34px;
    margin-bottom: 16px;
}

.ty-faq-grid p {
    color: var(--text-muted);
    font-size: 15px;
}

.ty-accordion {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.ty-acc-item {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--light-bg);
    transition: var(--transition);
}

.ty-acc-item h3 button {
    width: 100%;
    padding: 18px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: none;
    border: none;
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 700;
    color: var(--dark);
    text-align: left;
    cursor: pointer;
}

.ty-acc-item h3 button span {
    font-size: 22px;
    font-weight: 400;
    color: var(--primary);
    transition: transform 0.3s ease;
}

.ty-acc-item.is-open h3 button span {
    transform: rotate(45deg);
}

.ty-acc-panel {
    padding: 0 24px 20px 24px;
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
    display: none;
}

.ty-acc-item.is-open .ty-acc-panel {
    display: block;
}

/* ==========================================================================
   Blog & Newsletter Section
   ========================================================================== */

.ty-blog-home {
    background-color: var(--light-bg);
}

.ty-blog-layout {
    display: grid;
    grid-template-columns: 2.2fr 1fr;
    gap: 30px;
}

.ty-blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.ty-blog-card .ty-card-body {
    padding: 18px;
}

.ty-blog-card small {
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 6px;
    display: block;
}

.ty-blog-card h3 {
    font-size: 16px;
    font-weight: 700;
    line-height: 1.35;
    margin-bottom: 10px;
}

.ty-newsletter {
    background: linear-gradient(135deg, var(--dark) 0%, var(--dark-surface) 100%);
    color: var(--white);
    border-radius: var(--radius);
    padding: 32px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.ty-newsletter h3 {
    font-size: 22px;
    color: var(--white);
    margin-bottom: 12px;
}

.ty-newsletter p {
    font-size: 14px;
    color: #94a3b8;
    margin-bottom: 20px;
}

.ty-newsletter form input {
    width: 100%;
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.08);
    color: var(--white);
    margin-bottom: 12px;
    outline: none;
}

.ty-newsletter form button {
    width: 100%;
}

/* ==========================================================================
   Brands Marquee
   ========================================================================== */

.ty-brands {
    background-color: var(--white);
    padding: 50px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.ty-brands-heading {
    text-align: center;
    margin-bottom: 30px;
}

.ty-brands-heading h2 {
    font-size: 28px;
}

.ty-brand-marquee {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
}

.ty-brand-item {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    background: var(--light-bg);
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    transition: var(--transition);
}

.ty-brand-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-sm);
}

.ty-brand-logo {
    max-height: 44px;
    width: auto;
}

/* ==========================================================================
   Final CTA Banner
   ========================================================================== */

.ty-final-cta {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    color: var(--white);
    padding: 60px 0;
}

.ty-final-cta-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 24px;
}

.ty-final-cta h2 {
    font-size: 32px;
    color: var(--white);
}

.ty-final-cta .ty-eyebrow {
    color: #fef08a;
}

.ty-final-cta .ty-btn {
    background: var(--white);
    color: var(--dark);
}

.ty-final-cta .ty-btn:hover {
    background: var(--dark);
    color: var(--white);
}

/* ==========================================================================
   Footer
   ========================================================================== */

.ty-footer {
    background-color: var(--dark);
    color: #cbd5e1;
}

.ty-footer-benefits {
    background-color: #0b1120;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 18px 0;
}

.ty-footer-benefits-grid {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 20px;
    font-size: 14px;
    font-weight: 700;
    color: #f1f5f9;
}

.ty-footer-benefits-grid span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.ty-footer-benefits-grid i {
    color: var(--accent);
    font-style: normal;
}

.ty-footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr 1.2fr;
    gap: 40px;
    padding: 60px 20px;
}

.ty-footer-brand p {
    font-size: 14px;
    margin: 16px 0 20px 0;
    line-height: 1.6;
    color: #94a3b8;
}

.ty-socials {
    display: flex;
    gap: 12px;
}

.ty-socials a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    transition: var(--transition);
}

.ty-socials a svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.ty-socials a:hover {
    background: var(--primary);
    transform: translateY(-2px);
}

.ty-footer h2, .ty-footer h3 {
    font-size: 18px;
    color: var(--white);
    margin-bottom: 20px;
    font-weight: 700;
}

.ty-footer ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.ty-footer ul li a {
    font-size: 14px;
    color: #94a3b8;
}

.ty-footer ul li a:hover {
    color: var(--white);
    padding-left: 6px;
}

.ty-contact-list li {
    font-size: 14px;
    color: #94a3b8;
}

.ty-footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    padding: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 13px;
    color: #64748b;
}

.ty-footer-bottom a {
    color: #94a3b8;
    margin-left: 16px;
}

.ty-footer-bottom a:hover {
    color: var(--white);
}

/* ==========================================================================
   Floating Contact Rail
   ========================================================================== */

.ty-contact-rail {
    position: fixed;
    bottom: 30px;
    right: 24px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.ty-contact-rail-item {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    min-width: 54px;
    min-height: 54px;
    border-radius: 50%;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
    color: #ffffff !important;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    text-decoration: none !important;
}

.ty-contact-rail-item i {
    font-size: 26px;
    line-height: 1;
    color: #ffffff !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.ty-contact-rail-item svg {
    width: 26px;
    height: 26px;
    fill: #ffffff !important;
    color: #ffffff !important;
}

.ty-wa {
    background-color: #25d366 !important;
}

.ty-wa:hover {
    background-color: #20ba5a !important;
    color: #ffffff !important;
    transform: scale(1.12);
}

.ty-phone,
.ty-contact-rail a:not(.ty-wa) {
    background-color: #0284c7 !important;
}

.ty-phone:hover,
.ty-contact-rail a:not(.ty-wa):hover {
    background-color: #0369a1 !important;
    color: #ffffff !important;
    transform: scale(1.12);
}

.ty-scroll-top {
    background-color: var(--dark) !important;
    color: #ffffff !important;
    display: none;
}

.ty-scroll-top:hover {
    background-color: var(--primary) !important;
    color: #ffffff !important;
    transform: scale(1.12);
}

/* ==========================================================================
   Inner Page Layouts
   ========================================================================== */

.page-header {
    background: linear-gradient(135deg, var(--dark) 0%, var(--dark-surface) 100%);
    color: var(--white);
    padding: 50px 0;
    text-align: center;
    position: relative;
}

.page-header h1 {
    font-size: 38px;
    color: var(--white);
    margin-bottom: 10px;
}

.page-breadcrumbs {
    font-size: 14px;
    color: #94a3b8;
}

.page-breadcrumbs a {
    color: var(--accent);
}

.page-body {
    padding: 60px 0;
}

.article-content {
    font-size: 16px;
    line-height: 1.8;
    color: #334155;
}

.article-content h2, .article-content h3, .article-content h4 {
    margin: 30px 0 14px 0;
}

.article-content p {
    margin-bottom: 18px;
}

.article-content ul, .article-content ol {
    margin: 0 0 20px 24px;
}

.article-content li {
    margin-bottom: 8px;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */

@media (max-width: 1024px) {
    .ty-card-grid, .ty-project-grid, .ty-blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .ty-footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .ty-benefit-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .ty-blog-layout {
        grid-template-columns: 1fr;
    }
    .ty-hero-slide-title {
        font-size: 36px;
    }
}

@media (max-width: 768px) {
    .ty-topbar {
        display: none;
    }
    .ty-menu-toggle {
        display: flex;
    }
    .ty-primary-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--white);
        box-shadow: var(--shadow-xl);
        padding: 20px;
        border-top: 1px solid var(--border);
    }
    .ty-primary-nav.is-open {
        display: block;
    }
    .ty-menu {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
    .ty-header-cta {
        display: none;
    }
    .ty-card-grid, .ty-project-grid, .ty-blog-grid, .ty-quote-grid, .ty-prose-grid, .ty-faq-grid {
        grid-template-columns: 1fr;
    }
    .ty-benefit-grid {
        grid-template-columns: 1fr;
    }
    .ty-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    .ty-footer-grid {
        grid-template-columns: 1fr;
    }
    .ty-slider-arrow {
        display: none;
    }
    .ty-hero-slide-title {
        font-size: 28px;
    }
}

/* WordPress-style Rich Article Image Cards */
.ty-post-figure {
    margin: 35px 0;
    padding: 0;
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.ty-post-figure:hover {
    box-shadow: var(--shadow-md);
}

.ty-post-figure img.ty-figure-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    max-height: 550px;
}

.ty-post-figure figcaption.ty-figure-caption {
    padding: 14px 20px;
    background-color: #fafbfc;
    border-top: 1px solid var(--border);
    font-size: 14px;
    color: var(--text-muted);
}

.ty-post-figure .ty-figure-title {
    display: block;
    font-size: 16px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 4px;
}

.ty-post-figure .ty-figure-desc {
    display: block;
    line-height: 1.5;
    margin: 0;
}

.ty-post-figure.align-left {
    float: left;
    margin: 10px 24px 20px 0;
    max-width: 480px;
}

.ty-post-figure.align-right {
    float: right;
    margin: 10px 0 20px 24px;
    max-width: 480px;
}

.ty-post-figure.align-center {
    margin: 28px auto;
    max-width: 100%;
}

@media (max-width: 768px) {
    .ty-post-figure.align-left,
    .ty-post-figure.align-right {
        float: none;
        margin: 20px 0;
        max-width: 100%;
    }
}

/* Article Body Typography */
.article-content {
    font-size: 16px;
    line-height: 1.8;
    color: #334155;
}

.article-content p {
    margin-bottom: 20px;
}

.article-content h2, .article-content h3, .article-content h4 {
    font-weight: 700;
    color: var(--dark);
    margin-top: 32px;
    margin-bottom: 16px;
}

.article-content ul, .article-content ol {
    margin-bottom: 24px;
    padding-left: 24px;
}

.article-content li {
    margin-bottom: 8px;
}

.article-content blockquote {
    border-left: 4px solid var(--primary);
    padding: 14px 20px;
    background: #f8fafc;
    border-radius: 0 var(--radius) var(--radius) 0;
    font-style: italic;
    color: #475569;
    margin: 24px 0;
}

/* ==========================================================================
   Accessibility Utilities (Screen Reader Only)
   ========================================================================== */

.visually-hidden,
.visually-hidden-focusable:not(:focus):not(:focus-within) {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

