/* =========================================================
   SIGNME MEDIA
   MASTER WEBSITE STYLESHEET
   ========================================================= */

/* =========================================================
   1. VARIABLES
   ========================================================= */

:root {
    --primary: #1E3A8A;
    --primary-dark: #172554;
    --secondary: #22C55E;
    --secondary-dark: #16A34A;
    --accent: #F97316;
    --accent-dark: #EA580C;

    --dark: #0F172A;
    --dark-2: #111827;
    --text: #334155;
    --muted: #64748B;

    --light: #F8FAFC;
    --cream: #FEF1E4;
    --white: #FFFFFF;

    --border: #E2E8F0;

    --shadow-sm: 0 8px 25px rgba(15, 23, 42, 0.06);
    --shadow: 0 15px 40px rgba(15, 23, 42, 0.10);
    --shadow-lg: 0 25px 60px rgba(15, 23, 42, 0.14);

    --radius-sm: 12px;
    --radius: 20px;
    --radius-lg: 28px;

    --container: 1200px;
}


/* =========================================================
   2. RESET
   ========================================================= */

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

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;

    font-family: "Poppins", sans-serif;

    background: var(--white);
    color: var(--text);

    font-size: 16px;
    line-height: 1.7;

    overflow-x: hidden;
}

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

a {
    color: inherit;
}

button,
input,
textarea,
select {
    font: inherit;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    margin-top: 0;
    line-height: 1.25;
}

p {
    margin-top: 0;
}

section {
    position: relative;
}

.container {
    width: min(90%, var(--container));
    margin-left: auto;
    margin-right: auto;
}


/* =========================================================
   3. GLOBAL TYPOGRAPHY
   ========================================================= */

.section-title {
    max-width: 850px;
    margin: 0 auto 55px;
    text-align: center;
}

.section-title h2 {
    margin-bottom: 16px;

    color: var(--primary);

    font-size: clamp(32px, 4vw, 46px);
    font-weight: 700;
    line-height: 1.15;
}

.section-title p {
    max-width: 760px;
    margin: 0 auto;

    color: var(--muted);

    font-size: 17px;
    line-height: 1.8;
}


/* =========================================================
   4. BUTTONS
   ========================================================= */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 52px;
    padding: 14px 28px;

    border: 0;
    border-radius: 14px;

    background: var(--secondary);
    color: var(--white);

    text-decoration: none;
    font-weight: 600;

    box-shadow: 0 10px 25px rgba(34, 197, 94, 0.25);

    transition:
        transform 0.25s ease,
        background 0.25s ease,
        box-shadow 0.25s ease;
}

.btn:hover {
    transform: translateY(-3px);

    background: var(--secondary-dark);

    color: var(--white);

    box-shadow: 0 14px 30px rgba(34, 197, 94, 0.30);
}

.secondary-btn {
    background: var(--accent);

    box-shadow: 0 10px 25px rgba(249, 115, 22, 0.25);
}

.secondary-btn:hover {
    background: var(--accent-dark);

    box-shadow: 0 14px 30px rgba(249, 115, 22, 0.30);
}


/* =========================================================
   5. HEADER / NAVIGATION
   ========================================================= */

.site-header {
    position: sticky;
    top: 0;
    z-index: 9999;

    background: rgba(255, 255, 255, 0.96);

    border-bottom: 1px solid rgba(226, 232, 240, 0.75);

    box-shadow: 0 5px 25px rgba(15, 23, 42, 0.06);

    backdrop-filter: blur(14px);
}

.site-header .container {
    min-height: 82px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 30px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;

    flex-shrink: 0;
}

.logo a {
    display: flex;
    align-items: center;

    color: var(--primary);
    text-decoration: none;
}

.logo .site-logo-text {
    margin: 0;

    color: var(--primary);

    font-size: 27px;
    font-weight: 700;
}

.logo .site-logo-image,
.logo .custom-logo {
    width: 70px;
    height: 70px;
    object-fit: contain;

    display: block;

    transition: transform 0.4s ease;
}

.logo:hover .site-logo-image,
.logo:hover .custom-logo {
    transform: rotate(-8deg) scale(1.05);
}

@media (max-width: 768px) {
    .logo .site-logo-image,
    .logo .custom-logo {
        width: 52px;
        height: 52px;
    }
}

.custom-logo-link {
    display: flex;
    align-items: center;
}

.custom-logo {
    max-width: 65px;
    max-height: 65px;
    width: auto;
    height: auto;
}

.main-navigation {
    display: flex;
    align-items: center;
}

.main-menu {
    display: flex;
    align-items: center;

    gap: 28px;

    margin: 0;
    padding: 0;

    list-style: none;
}

.main-menu li {
    position: relative;
    margin: 0;
    padding: 0;
    transition: transform 0.3s ease;
}

.main-menu li:hover {
    transform: translateY(-2px);
}

.main-menu a {
    position: relative;
    display: block;

    padding: 10px 0;

    color: #1E293B;

    text-decoration: none;
    font-size: 15px;
    font-weight: 600;

    transition: color 0.25s ease;
}

.main-menu a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--secondary), var(--accent));
    border-radius: 20px;
    transition: width 0.35s ease;
}

.main-menu a:hover {
    color: var(--secondary);
}

.main-menu a:hover::after {
    width: 100%;
}

/* Active page — supports both our manual .active class (fallback menu)
   and WordPress's automatic current-menu-item / current_page_item classes
   (real menus created under Appearance > Menus) */
.main-menu a.active,
.main-menu .current-menu-item > a,
.main-menu .current_page_item > a,
.main-menu .current-menu-ancestor > a {
    color: var(--primary);
}

.main-menu a.active::after,
.main-menu .current-menu-item > a::after,
.main-menu .current_page_item > a::after,
.main-menu .current-menu-ancestor > a::after {
    width: 100%;
}


/* =========================================================
   6. HERO
   ========================================================= */

.hero {
    min-height: 720px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 120px 20px;

    text-align: center;

    color: var(--white);

    background:
        linear-gradient(
            135deg,
            rgba(15, 23, 42, 0.94),
            rgba(30, 58, 138, 0.88)
        ),
        url("https://images.unsplash.com/photo-1519389950473-47ba0277781c?auto=format&fit=crop&w=1800&q=85")
        center / cover no-repeat;

    overflow: hidden;
}

.hero::before {
    content: "";

    position: absolute;
    inset: 0;

    background:
        radial-gradient(
            circle at 15% 20%,
            rgba(34, 197, 94, 0.25),
            transparent 30%
        ),
        radial-gradient(
            circle at 85% 80%,
            rgba(249, 115, 22, 0.25),
            transparent 30%
        );

    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;

    width: 100%;
    max-width: 920px;

    margin: auto;
}

.premium-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    margin-bottom: 24px;
    padding: 9px 18px;

    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 999px;

    background: rgba(255, 255, 255, 0.10);

    color: var(--white);

    font-size: 14px;
    font-weight: 500;

    backdrop-filter: blur(10px);
}

.hero h2 {
    margin-bottom: 25px;

    color: var(--white);

    font-size: clamp(42px, 7vw, 72px);
    font-weight: 700;
    line-height: 1.08;
}

.gradient-text {
    background: linear-gradient(
        90deg,
        #4ADE80,
        #22C55E,
        #FB923C
    );

    -webkit-background-clip: text;
    background-clip: text;

    -webkit-text-fill-color: transparent;
}

.hero p {
    max-width: 820px;
    margin: 0 auto 35px;

    color: rgba(255, 255, 255, 0.94);

    font-size: 18px;
    line-height: 1.8;
}

.hero .btn {
    margin: 4px;
}

.hero-stats {
    display: flex;
    justify-content: center;
    align-items: stretch;

    gap: 18px;

    margin-top: 50px;

    flex-wrap: wrap;
}

.hero-stat {
    min-width: 180px;

    padding: 22px 25px;

    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 18px;

    background: rgba(255, 255, 255, 0.10);

    backdrop-filter: blur(12px);
}

.hero-stat h3 {
    margin-bottom: 5px;

    color: var(--white);

    font-size: 25px;
}

.hero-stat p {
    margin: 0;

    color: rgba(255, 255, 255, 0.80);

    font-size: 14px;
}


/* =========================================================
   7. ABOUT
   ========================================================= */

#about {
    padding: 100px 0;

    background: var(--white);
}

.about-grid {
    display: grid;

    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);

    gap: 70px;

    align-items: center;
}

.about-image {
    position: relative;
}

.about-image img {
    width: 100%;
    min-height: 500px;

    object-fit: cover;

    border-radius: var(--radius-lg);

    box-shadow: var(--shadow-lg);
}

.about-content {
    max-width: 600px;
}

.about-content .premium-badge {
    margin-bottom: 20px;

    background: rgba(34, 197, 94, 0.10);

    border: 1px solid rgba(34, 197, 94, 0.18);

    color: var(--secondary);
}

.about-content h2 {
    margin-bottom: 25px;

    color: var(--primary);

    font-size: clamp(32px, 4vw, 46px);
}

.about-content p {
    margin-bottom: 18px;

    color: var(--text);

    font-size: 16px;
    line-height: 1.85;
}

.about-stats {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 16px;

    margin-top: 35px;
}

.stat-card {
    padding: 25px 18px;

    border: 1px solid var(--border);
    border-radius: 18px;

    background: var(--light);

    text-align: center;

    box-shadow: var(--shadow-sm);
}

.stat-card h3 {
    margin-bottom: 8px;

    color: var(--primary);

    font-size: 25px;
}

.stat-card p {
    margin: 0;

    color: var(--muted);

    font-size: 13px;
    line-height: 1.5;
}


/* =========================================================
   8. SERVICES
   ========================================================= */

#services {
    padding: 100px 0;

    background: var(--light);
}

.services {
    display: grid;

    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));

    gap: 28px;
}

.card {
    padding: 35px;

    border-radius: 24px;

    background: var(--white);

    color: var(--text);

    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.06);

    transition: 0.4s;
}

.card:hover {
    transform: translateY(-8px);
}

.card h3 {
    margin-bottom: 13px;

    color: var(--primary);

    font-size: 22px;
}

.card p {
    margin-bottom: 0;

    color: var(--text);

    line-height: 1.75;
}


/* =========================================================
   9. WHY US
   ========================================================= */

#why-us {
    padding: 100px 0;

    background: var(--white);
}


/* =========================================================
   10. PORTFOLIO
   ========================================================= */

.portfolio-section {
    padding: 100px 0;

    background: var(--light);
}

.portfolio-grid {
    display: grid;

    grid-template-columns: repeat(3, minmax(0, 1fr));

    gap: 30px;
}

.portfolio-card {
    overflow: hidden;

    border: 1px solid rgba(226, 232, 240, 0.9);
    border-radius: var(--radius);

    background: var(--white);

    box-shadow: var(--shadow-sm);

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.portfolio-card:hover {
    transform: translateY(-8px);

    box-shadow: var(--shadow);
}

.portfolio-card img {
    width: 100%;
    height: 245px;

    object-fit: cover;
}



/* Portfolio archive visual fallback for projects without a Media Library featured image. */
.portfolio-card-media {
    display: block;
}

.portfolio-card-fallback {
    position: relative;
    min-height: 245px;
    padding: 30px;
    overflow: hidden;
    color: #fff;
    text-decoration: none;
    background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 62%, #2563eb 100%);
}

.portfolio-card-fallback::after {
    content: "";
    position: absolute;
    width: 180px;
    height: 180px;
    right: -55px;
    bottom: -70px;
    border-radius: 50%;
    background: rgba(34, 197, 94, 0.18);
}

.portfolio-card-fallback--real-estate-marketing {
    background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 70%, #334155 100%);
}

.portfolio-card-fallback--seo-growth-strategy {
    background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 58%, #16a34a 140%);
}

.portfolio-card-fallback--meta-ads-case-study {
    background: linear-gradient(135deg, #0f172a 0%, #1d4ed8 68%, #22c55e 150%);
}

.portfolio-card-fallback--email-analytics-dashboard {
    background: linear-gradient(135deg, #111827 0%, #1e3a8a 65%, #0ea5e9 130%);
}

.portfolio-card-fallback__icon {
    display: grid;
    place-items: center;
    width: 54px;
    height: 54px;
    margin-bottom: 34px;
    border: 1px solid rgba(255,255,255,.2);
    border-radius: 14px;
    background: rgba(255,255,255,.12);
    font-size: 23px;
}

.portfolio-card-fallback__eyebrow {
    display: block;
    margin-bottom: 8px;
    color: #86efac;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .11em;
    text-transform: uppercase;
}

.portfolio-card-fallback strong {
    position: relative;
    z-index: 1;
    display: block;
    max-width: 260px;
    color: #fff;
    font-size: 23px;
    line-height: 1.15;
}


.portfolio-content {
    padding: 28px;
}

.portfolio-category {
    display: inline-block;

    margin-bottom: 10px;

    color: var(--secondary);

    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.portfolio-content h3 {
    margin-bottom: 13px;

    color: var(--primary);

    font-size: 24px;
}

.portfolio-content p {
    margin-bottom: 20px;

    color: var(--text);

    line-height: 1.75;
}

.portfolio-link {
    color: var(--secondary);

    text-decoration: none;
    font-weight: 700;
}

.portfolio-link:hover {
    color: var(--secondary-dark);
}


/* =========================================================
   11. SEO CONTENT
   ========================================================= */

#seo-content {
    padding: 100px 0;

    background: var(--white);
}

.seo-content-text {
    max-width: 950px;

    margin: 0 auto;

    color: var(--text);

    font-size: 17px;
    line-height: 1.9;
}

.seo-content-text p {
    margin-bottom: 24px;
}


/* =========================================================
   12. PROCESS
   ========================================================= */

#process {
    padding: 100px 0;

    background: var(--white) !important;
}

#process .services {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

#process .card {
    position: relative;

    border-top: 4px solid var(--secondary);
}

#process .card h3 {
    font-size: 21px;
}


/* =========================================================
   13. TESTIMONIALS
   ========================================================= */

.testimonials-section {
    padding: 100px 0;

    background: var(--light);
}

.testimonials-section .section-title h2 {
    color: var(--primary);
}

.testimonials-section .section-title p {
    color: var(--muted);
}

.testimonial-grid {
    display: grid;

    grid-template-columns: repeat(3, minmax(0, 1fr));

    gap: 28px;
}

.testimonial-card {
    padding: 32px;

    border: 1px solid var(--border);
    border-radius: var(--radius);

    background: var(--white);

    color: var(--text);

    box-shadow: var(--shadow-sm);
}

.testimonial-icon {
    margin-bottom: 20px;

    color: var(--secondary);

    font-size: 28px;
}

.testimonial-text {
    margin-bottom: 25px;

    color: var(--text);

    font-size: 16px;
    line-height: 1.8;
}

.testimonial-author {
    display: flex;
    flex-direction: column;

    gap: 3px;
}

.testimonial-author strong {
    color: var(--primary);
}

.testimonial-author span {
    color: var(--muted);

    font-size: 14px;
}


/* =========================================================
   14. BLOG
   ========================================================= */

.blog-section {
    padding: 100px 0;

    background: var(--white);
}

.blog-layout {
    display: grid;

    grid-template-columns: minmax(0, 2fr) minmax(260px, 1fr);

    gap: 40px;

    align-items: start;
}

.blog-posts {
    display: flex;
    flex-direction: column;

    gap: 28px;
}

.blog-post {
    display: grid;

    grid-template-columns: 300px minmax(0, 1fr);

    overflow: hidden;

    border: 1px solid var(--border);
    border-radius: var(--radius);

    background: var(--white);

    box-shadow: var(--shadow-sm);

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.blog-post:hover {
    transform: translateY(-5px);

    box-shadow: var(--shadow);
}

.blog-post img {
    width: 100%;
    height: 100%;
    min-height: 260px;

    object-fit: cover;
}

.blog-content {
    padding: 30px;
}

.blog-category {
    display: inline-block;

    margin-bottom: 10px;

    color: var(--secondary);

    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
}

.blog-content h3 {
    margin-bottom: 14px;

    color: var(--primary);

    font-size: 25px;
}

.blog-content p {
    margin-bottom: 18px;

    color: var(--text);

    line-height: 1.75;
}

.blog-link {
    color: var(--secondary);

    text-decoration: none;
    font-weight: 700;
}

.blog-link:hover {
    color: var(--secondary-dark);
}

.sidebar {
    position: sticky;
    top: 110px;

    padding: 30px;

    border: 1px solid var(--border);
    border-radius: var(--radius);

    background: var(--light);

    box-shadow: var(--shadow-sm);
}

.sidebar h3 {
    margin-bottom: 18px;

    color: var(--primary);

    font-size: 21px;
}

.sidebar ul {
    margin: 0 0 30px;
    padding: 0;

    list-style: none;
}

.sidebar li {
    padding: 8px 0;

    border-bottom: 1px solid var(--border);

    color: var(--text);
}

.sidebar-about p {
    margin: 0;

    color: var(--muted);

    line-height: 1.75;
}


/* =========================================================
   15. FAQ
   ========================================================= */

.faq-section {
    padding: 100px 0;

    background: var(--light);
}

.faq-list {
    max-width: 900px;

    margin: 0 auto;
}

.faq-item {
    margin-bottom: 18px;
    padding: 0;

    border: 1px solid var(--border);
    border-radius: var(--radius-sm);

    background: var(--white);

    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.faq-item:last-child {
    margin-bottom: 0;
}

.faq-item h3 {
    margin: 0;
    font-size: 20px;
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    width: 100%;

    padding: 24px 28px;

    background: transparent;
    border: none;

    color: var(--primary);
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 18px;
    text-align: left;

    cursor: pointer;
}

.faq-question:hover {
    color: var(--secondary-dark);
}

.faq-icon {
    flex-shrink: 0;
    width: 30px;
    height: 30px;
    border-radius: 50%;

    background: var(--light);
    color: var(--primary);

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 20px;
    font-weight: 700;
    line-height: 1;

    transition: background 0.25s ease, color 0.25s ease;
}

.faq-question[aria-expanded="true"] .faq-icon {
    background: var(--primary);
    color: var(--white);
}

.faq-answer {
    padding: 0 28px 24px;
}

.faq-answer p {
    margin: 0;

    color: var(--text);

    line-height: 1.75;
}


/* =========================================================
   16. CTA
   ========================================================= */

#cta {
    padding: 100px 20px;

    background: var(--primary);

    color: var(--white);

    text-align: center;
}

#cta h2 {
    margin-bottom: 18px;

    color: var(--white);

    font-size: clamp(32px, 5vw, 50px);
}

#cta p {
    max-width: 700px;

    margin: 0 auto 30px;

    color: #E2E8F0;

    font-size: 17px;
}


/* =========================================================
   17. CONTACT
   ========================================================= */

#contact {
    padding: 100px 0;

    background: var(--cream);
}

#contact .section-title h2 {
    color: var(--primary);
}

#contact .section-title p {
    color: var(--text);
}

.contact-form {
    max-width: 700px;

    margin: 40px auto 0;

    padding: 40px;

    border: 1px solid var(--border);
    border-radius: var(--radius-lg);

    background: var(--white);

    box-shadow: var(--shadow);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;

    margin-bottom: 8px;

    color: var(--dark);

    font-weight: 600;
}

.form-group input,
.form-group textarea,
.contact-form input,
.contact-form textarea {
    width: 100%;

    padding: 15px 16px;

    border: 1px solid #CBD5E1;
    border-radius: 12px;

    background: var(--light);
    color: var(--dark);

    outline: none;

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--primary);

    box-shadow: 0 0 0 4px rgba(30, 58, 138, 0.10);
}

.form-group textarea,
.contact-form textarea {
    min-height: 150px;

    resize: vertical;
}


/* =========================================================
   18. FOOTER
   ========================================================= */

.site-footer,
footer {
    background: var(--dark-2);

    color: #CBD5E1;
}

footer .container {
    position: relative;
}

footer h3 {
    color: var(--white);
}

footer p {
    color: #CBD5E1;
}

footer a {
    color: #CBD5E1;

    text-decoration: none;

    transition: color 0.2s ease;
}

footer a:hover {
    color: var(--secondary);
}

footer ul {
    margin: 0;
    padding: 0;

    list-style: none;
}

footer li {
    margin-bottom: 8px;
}


/* =========================================================
   19. WORDPRESS
   ========================================================= */

.wp-block-button__link {
    border-radius: 14px;
}

.aligncenter {
    margin-left: auto;
    margin-right: auto;
}

.screen-reader-text {
    position: absolute !important;

    width: 1px;
    height: 1px;

    padding: 0;
    margin: -1px;

    overflow: hidden;
    clip: rect(0, 0, 0, 0);

    white-space: nowrap;

    border: 0;
}


/* =========================================================
   20. MOBILE NAVIGATION
   ========================================================= */

.menu-toggle {
    display: none;

    color: var(--primary);

    font-size: 28px;

    cursor: pointer;
}


/* =========================================================
   21. TABLET
   ========================================================= */

@media (max-width: 992px) {

    .services,
    #process .services {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .portfolio-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

    .about-grid {
        gap: 45px;
    }

    .blog-layout {
        grid-template-columns: 1fr;
    }

    .sidebar {
        position: relative;
        top: auto;
    }

}


/* =========================================================
   22. MOBILE
   ========================================================= */

@media (max-width: 768px) {

    .site-header .container {
        min-height: 72px;
    }

    .logo h1 {
        font-size: 23px;
    }

    .custom-logo {
        max-width: 52px;
        max-height: 52px;
    }

    .menu-toggle {
        display: block;
    }

    .main-navigation {
        position: absolute;

        top: 100%;
        left: 0;
        right: 0;

        display: none;

        padding: 20px;

        background: var(--white);

        border-top: 1px solid var(--border);

        box-shadow: var(--shadow);
    }

    .main-navigation.active {
        display: block;
    }

    .main-menu {
        flex-direction: column;
        align-items: stretch;

        gap: 4px;
    }

    .main-menu a {
        padding: 12px 10px;
    }

    .hero {
        min-height: 650px;

        padding: 90px 20px;
    }

    .hero h2 {
        font-size: 43px;
    }

    .hero p {
        font-size: 17px;
    }

    .hero-stat {
        min-width: 145px;

        padding: 17px;
    }

    #about,
    #services,
    #why-us,
    .portfolio-section,
    #seo-content,
    #process,
    .testimonials-section,
    .blog-section,
    .faq-section,
    #contact,
    #cta {
        padding: 75px 0;
    }

    .about-grid {
        grid-template-columns: 1fr;

        gap: 40px;
    }

    .about-image img {
        min-height: 330px;
    }

    .about-content {
        max-width: none;
    }

    .about-stats {
        grid-template-columns: 1fr;
    }

    .services,
    #process .services,
    .portfolio-grid {
        grid-template-columns: 1fr;
    }

    .card {
        padding: 28px;
    }

    .blog-post {
        grid-template-columns: 1fr;
    }

    .blog-post img {
        height: 230px;
        min-height: 230px;
    }

    .blog-content {
        padding: 25px;
    }

    .contact-form {
        padding: 28px 22px;
    }

}


/* =========================================================
   23. SMALL MOBILE
   ========================================================= */

@media (max-width: 480px) {

    .container {
        width: 92%;
    }

    .hero {
        min-height: 620px;
    }

    .hero h2 {
        font-size: 36px;
    }

    .hero-buttons {
        display: flex;
        flex-direction: column;
    }

    .hero .btn {
        width: 100%;
        margin: 4px 0;
    }

    .hero-stats {
        display: grid;

        grid-template-columns: 1fr;

        gap: 10px;

        margin-top: 35px;
    }

    .hero-stat {
        width: 100%;
    }

    .section-title {
        margin-bottom: 40px;
    }

    .section-title h2 {
        font-size: 31px;
    }

    .section-title p {
        font-size: 15px;
    }

    .portfolio-content,
    .testimonial-card,
    .faq-item {
        padding: 23px;
    }

}


/* =========================================================
   24. ACCESSIBILITY / CONTRAST
   ========================================================= */

.hero h1,
.hero h2,
.hero h3,
.hero h4,
.hero p,
.hero a {
    color: inherit;
}

#cta h1,
#cta h2,
#cta h3,
#cta h4 {
    color: var(--white);
}

#cta p {
    color: #E2E8F0;
}


/* =========================================================
   END SIGNME MEDIA MASTER STYLES
   ========================================================= */
/* =========================================================
   ADDED — Accessibility, blog loop, form messages, 404
   ========================================================= */

.skip-link {
    position: absolute;
    top: -100px;
    left: 0;
    background: var(--primary);
    color: var(--white);
    padding: 12px 20px;
    z-index: 10000;
    border-radius: 0 0 8px 0;
    text-decoration: none;
    font-weight: 600;
    transition: top 0.2s ease;
}

.skip-link:focus {
    top: 0;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
    outline: 3px solid var(--accent);
    outline-offset: 2px;
}

.form-message {
    padding: 14px 18px;
    border-radius: 10px;
    margin-bottom: 20px;
    font-size: 15px;
    font-weight: 500;
}

.form-message-success {
    background: rgba(34, 197, 94, 0.12);
    border: 1px solid var(--secondary);
    color: var(--secondary-dark);
}

.form-message-error {
    background: rgba(249, 115, 22, 0.10);
    border: 1px solid var(--accent);
    color: var(--accent-dark);
}

.blog-empty-state {
    padding: 40px 20px;
    text-align: center;
    color: var(--muted);
    background: var(--light);
    border-radius: 14px;
    grid-column: 1 / -1;
}

.blog-empty-state a {
    color: var(--primary);
    font-weight: 600;
}

.blog-meta {
    font-size: 13px;
    color: var(--muted);
    margin-bottom: 8px;
}

.breadcrumbs {
    font-size: 14px;
    color: var(--muted);
    margin-bottom: 20px;
}

.breadcrumbs a {
    color: var(--primary);
    text-decoration: none;
}

.blog-archive-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 40px;
}

.pagination a,
.pagination span {
    padding: 10px 18px;
    border-radius: 8px;
    border: 1px solid var(--border);
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
}

.pagination .current {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

.single-post-content {
    margin-top: 30px;
    line-height: 1.8;
    color: var(--text);
}

.single-post-content h2,
.single-post-content h3 {
    margin-top: 30px;
    margin-bottom: 15px;
    color: var(--dark);
}

.single-post-thumbnail img {
    width: 100%;
    border-radius: 16px;
    margin: 20px 0;
}

.blog-view-all {
    text-align: center;
    margin-top: 40px;
}

@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
    }
}

/* =========================================================
   ADDED — Floating WhatsApp Button (reproduced from My Website)
   ========================================================= */

.whatsapp-float {
    position: fixed;
    width: 65px;
    height: 65px;
    bottom: 25px;
    right: 25px;

    background: #25D366;
    color: #fff;

    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 34px;

    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
    z-index: 99999;

    transition: 0.3s ease;
    text-decoration: none;

    animation: floatWhatsapp 2s ease-in-out infinite;
}

.whatsapp-float:hover {
    transform: scale(1.12);
    background: #1ebe5d;
}

@keyframes floatWhatsapp {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

@media (prefers-reduced-motion: reduce) {
    .whatsapp-float {
        animation: none;
    }
}

/* =========================================================
   POLISH 04 — MOBILE READABILITY & PORTFOLIO RHYTHM
   Desktop presentation intentionally unchanged.
   ========================================================= */
@media (max-width: 768px) {
    .card p,
    .portfolio-content p,
    .testimonial-card p,
    .blog-content p,
    .faq-answer,
    .about-content p,
    #contact p {
        font-size: 16px;
        line-height: 1.8;
    }

    .seo-content-text {
        font-size: 16px;
        line-height: 1.85;
    }

    .seo-content-text p {
        margin-bottom: 28px;
    }

    .portfolio-grid {
        gap: 22px;
    }

    .portfolio-card img {
        height: 220px;
    }

    .portfolio-card-fallback {
        min-height: 220px;
        padding: 26px;
    }

    .portfolio-content {
        padding: 24px;
    }
}

@media (max-width: 480px) {
    .section-title p {
        font-size: 16px;
        line-height: 1.75;
    }

    .card {
        padding: 24px;
    }

    .card h3 {
        font-size: 21px;
    }

    .portfolio-content {
        padding: 21px;
    }

    .portfolio-content h3 {
        font-size: 22px;
    }

    .portfolio-card img {
        height: 205px;
    }

    .portfolio-card-fallback {
        min-height: 205px;
        padding: 23px;
    }
}
