/* ===================================
   THINK MARKETING - STYLES
   Clean, modern one-page site
   =================================== */

/* ===================================
   GLOBAL STYLES & RESET
   =================================== */

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

:root {
    /* Color Variables */
    --primary-red: #BA0C2F;
    --dark-red: #950a26;
    --text-dark: #000000;
    --text-medium: #424242;
    --text-light: #757575;
    --background-light: #FFFFFF;
    --white: #FFFFFF;
    --border-color: #E0E0E0;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 3rem;
    --spacing-xl: 4rem;
    
    /* Typography */
    --font-primary: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    --line-height-base: 1.6;
    --line-height-heading: 1.2;
}

body {
    font-family: var(--font-primary);
    font-size: 16px;
    line-height: var(--line-height-base);
    color: var(--text-dark);
    background-color: var(--white);
}

/* ===================================
   TYPOGRAPHY
   =================================== */

h1, h2, h3, h4 {
    line-height: var(--line-height-heading);
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: var(--spacing-sm);
}

h1 {
    font-size: 2rem;
    margin-bottom: var(--spacing-md);
}

h2 {
    font-size: 1.75rem;
    margin-bottom: var(--spacing-md);
}

h3 {
    font-size: 1.25rem;
}

p {
    margin-bottom: var(--spacing-sm);
    color: var(--text-medium);
}

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

a:hover {
    color: var(--dark-red);
    text-decoration: underline;
}

/* ===================================
   LAYOUT & CONTAINER
   =================================== */

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

section {
    padding: var(--spacing-xl) 0;
}

/* ===================================
   HEADER
   =================================== */

.header {
    background-color: var(--white);
    padding: 0.75rem 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 60px;
    width: auto;
    display: block;
}

.header-buttons {
    display: flex;
    gap: 0.75rem;
}

.btn-call,
.btn-text {
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    white-space: nowrap;
}

@media (max-width: 767px) {
    .logo img {
        height: 45px;
    }
    
    .header-buttons {
        gap: 0.5rem;
    }
    
    .btn-call,
    .btn-text {
        padding: 0.625rem 1rem;
        font-size: 0.875rem;
    }
}

/* ===================================
   BUTTONS
   =================================== */

.btn {
    display: inline-block;
    padding: 0.875rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--primary-red);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--dark-red);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(211, 47, 47, 0.3);
    text-decoration: none;
}

/* ===================================
   HERO SECTION
   =================================== */

.hero {
    background-color: var(--background-light);
    background-image: url('/assets/images/think-marketing-hero.jpg');
    background-size: cover;
    background-position: bottom right;
    background-repeat: no-repeat;
    text-align: center;
    padding: var(--spacing-xl) 0;
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

/* Mobile: Show more of the image by zooming out */
@media (max-width: 767px) {
    .hero {
        background-size: 160%;
        padding: var(--spacing-md) 0 var(--spacing-xl) 0;
        min-height: 60vh;
        align-items: flex-start;
    }
}

.hero .container {
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 2.25rem;
    color: var(--text-dark);
    margin-bottom: var(--spacing-md);
}

.hero .subheadline {
    font-size: 1.125rem;
    color: var(--text-medium);
    max-width: 600px;
    margin: 0 auto var(--spacing-lg) auto;
}

/* ===================================
   SERVICES SECTION
   =================================== */

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

.services h2 {
    text-align: center;
    margin-bottom: var(--spacing-lg);
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-md);
}

.service-card {
    padding: var(--spacing-md);
    border: 2px solid var(--border-color);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.service-card:hover {
    border-color: var(--primary-red);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transform: translateY(-4px);
}

.service-card h3 {
    color: var(--primary-red);
    margin-bottom: var(--spacing-sm);
}

/* ===================================
   WHY US SECTION
   =================================== */

.why-us {
    background-color: var(--background-light);
}

.why-us h2 {
    text-align: center;
    margin-bottom: var(--spacing-lg);
}

.benefits-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-md);
}

.benefit h3 {
    color: var(--text-dark);
    margin-bottom: var(--spacing-xs);
}

.benefit p {
    color: var(--text-medium);
}

/* ===================================
   LOCAL SEO SECTION
   =================================== */

.local-seo {
    background-color: var(--white);
    text-align: center;
}

.local-seo h2 {
    margin-bottom: var(--spacing-md);
}

.local-seo p {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    font-size: 1.0625rem;
    margin-bottom: var(--spacing-sm);
}

/* ===================================
   CONTACT SECTION
   =================================== */

.contact {
    background-color: var(--background-light);
    padding-bottom: var(--spacing-sm);
}

.contact h2 {
    text-align: center;
    margin-bottom: var(--spacing-sm);
}

.contact > .container > p {
    text-align: center;
    margin-bottom: var(--spacing-lg);
}

.btn-quote {
    display: block;
    margin: 0 auto var(--spacing-lg) auto;
    font-size: 1.25rem;
    padding: 1.125rem 2.5rem;
    max-width: 350px;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto var(--spacing-lg) auto;
}

.form-group {
    margin-bottom: var(--spacing-md);
}

.form-group label {
    display: block;
    margin-bottom: var(--spacing-xs);
    font-weight: 600;
    color: var(--text-dark);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    font-size: 1rem;
    font-family: var(--font-primary);
    border: 2px solid var(--border-color);
    border-radius: 4px;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-red);
}

.contact-form button {
    width: 100%;
}

.contact-info {
    text-align: center;
    margin-top: var(--spacing-lg);
    padding-top: var(--spacing-lg);
    border-top: 1px solid var(--border-color);
}

.contact-info p {
    margin-bottom: var(--spacing-sm);
    font-size: 1.0625rem;
}

.contact-logo {
    margin-top: var(--spacing-sm);
    margin-bottom: var(--spacing-sm);
    height: 150px;
    width: auto;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

/* ===================================
   FOOTER
   =================================== */

.footer {
    background-color: var(--text-dark);
    color: var(--white);
    text-align: center;
    padding: var(--spacing-lg) 0;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: left;
}

.footer-text p {
    color: var(--white);
    margin-bottom: var(--spacing-xs);
}

.footer-text p strong {
    font-size: 1.25rem;
}

.footer-logo {
    text-align: center;
}

.footer-logo img {
    height: 100px;
    width: auto;
    margin-bottom: var(--spacing-xs);
}

.footer-logo .copyright {
    font-size: 0.875rem;
    color: var(--text-light);
    margin-bottom: 0;
}

@media (max-width: 767px) {
    .footer-container {
        flex-direction: column;
        text-align: center;
        gap: var(--spacing-md);
    }
    
    .footer-text {
        text-align: center;
    }
    
    .footer-logo img {
        height: 70px;
    }
}

/* ===================================
   RESPONSIVE DESIGN - TABLET
   =================================== */

@media (min-width: 768px) {
    
    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    .hero h1 {
        font-size: 3rem;
    }

    .hero .subheadline {
        font-size: 1.25rem;
    }

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

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

}

/* ===================================
   RESPONSIVE DESIGN - DESKTOP
   =================================== */

@media (min-width: 1024px) {
    
    .hero h1 {
        font-size: 3.5rem;
    }

    section {
        padding: 5rem 0;
    }

    .container {
        padding: 0 var(--spacing-lg);
    }

}

/* ===================================
   SMOOTH SCROLLING
   =================================== */

html {
    scroll-behavior: smooth;
}

/* Refresh additions: retain original homepage composition. */
.home-nav{display:flex;justify-content:center;flex-wrap:wrap;gap:12px 28px;padding:16px 24px;background:#fff;border-bottom:1px solid #eee;font-size:14px;font-weight:600}.home-nav a{color:#000;text-decoration:none}.home-nav a:hover{color:#BA0C2F}.skip{position:absolute;top:-100px;background:white;padding:12px;z-index:200}.skip:focus{top:0}a:focus-visible{outline:3px solid #BA0C2F;outline-offset:4px}.footer-logo .copyright{color:#ccc}@media(max-width:600px){.home-nav{gap:10px 18px;font-size:12px}.container{padding-inline:20px}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.btn{transition:none}}

/* Compact homepage rhythm; preserve the original hero and section order. */
.homepage .container{max-width:1196px;padding-inline:48px}.homepage main>section:not(.hero){padding-block:28px}.homepage .hero{min-height:440px;padding:36px 0}.homepage .hero h1{font-size:clamp(30px,3.5vw,46px);margin-bottom:18px}.homepage .hero .subheadline{margin-bottom:22px;font-size:18px}.homepage .services h2,.homepage .why-us h2{font-size:27px;margin-bottom:20px}.homepage .services-grid,.homepage .benefits-grid{gap:20px}.homepage .service-card{padding:22px;border-width:1px;border-radius:4px}.homepage .service-card p{font-size:15px;margin-bottom:12px}.homepage .service-card>a{font-size:14px;font-weight:600}.homepage .service-card:hover{transform:none}.homepage .benefit h3{font-size:19px}.homepage .benefit p{font-size:15px;margin:0}.homepage .local-seo h2{font-size:27px;margin-bottom:14px}.homepage .local-seo p{font-size:15px;max-width:800px}.homepage .contact .container{display:flex;align-items:center;justify-content:space-between;gap:24px}.homepage .btn-quote{margin:0;font-size:16px;padding:13px 24px;max-width:none}.homepage .contact-info{margin:0;padding:0;border:0;text-align:right}.homepage .contact-info p{font-size:15px;margin-bottom:5px}.homepage .footer{padding:24px 0}.homepage .footer-logo img{height:65px}.homepage .footer-text p strong{font-size:18px}.footer-privacy{font-size:12px;margin-bottom:4px}.footer-privacy a{color:#fff;text-decoration:underline}.homepage .footer-privacy{font-size:12px}.homepage .footer-logo .copyright{font-size:12px}@media(max-width:767px){.homepage .container{padding-inline:18px}.homepage .hero{min-height:350px;padding:28px 0;background-size:160%;align-items:flex-start}.homepage .hero h1{font-size:30px}.homepage .hero .subheadline{font-size:16px;max-width:320px}.homepage main>section:not(.hero){padding-block:22px}.homepage .services-grid,.homepage .benefits-grid{gap:16px}.homepage .service-card{padding:18px}.homepage .contact .container{flex-direction:column;gap:18px}.homepage .contact-info{text-align:center}.homepage .footer-container{gap:16px}.homepage .footer-logo img{height:50px}.homepage .local-seo h2{font-size:25px}}

img{max-width:100%}.breadcrumb{padding-top:16px;font-size:12px;color:#555}.breadcrumb a{color:#BA0C2F}

/* One mobile header shared by home and service pages; desktop remains unchanged. */
.mobile-menu{display:none}
@media(max-width:767px){
 .header .header-container{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center;gap:8px;padding-inline:18px}
 .header .logo{justify-self:start}
 .header .logo img{height:34px;width:auto;max-width:none}
 .header .header-buttons{justify-self:end;display:flex;gap:6px}
 .header .header-buttons .btn{display:inline-flex;align-items:center;justify-content:center;font-family:Arial,Helvetica,sans-serif;font-size:11px;line-height:1.4;min-height:44px;padding:10px 9px;white-space:nowrap;transition:none}
 .header .header-buttons .btn:hover{transform:none}
 .header .mobile-menu{display:block;justify-self:center;font-family:Arial,Helvetica,sans-serif;font-size:12px;line-height:1.4}
 .mobile-menu summary{display:flex;align-items:center;justify-content:center;gap:6px;min-height:44px;padding:10px 11px;background:#BA0C2F;color:#fff;border-radius:4px;cursor:pointer;font-weight:600;list-style:none;user-select:none}
 .mobile-menu summary::-webkit-details-marker{display:none}
 .menu-chevron{width:6px;height:6px;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:rotate(45deg);margin-top:-3px}
 .mobile-menu[open] .menu-chevron{transform:rotate(225deg);margin-top:3px}
 .mobile-menu-links{position:absolute;left:0;right:0;top:100%;display:flex;flex-direction:column;background:#fff;border-top:1px solid #eee;border-bottom:3px solid #BA0C2F;padding:8px 18px;box-shadow:0 8px 16px #00000014;max-height:calc(100dvh - 70px);overflow-y:auto}
 .mobile-menu:not([open]) .mobile-menu-links{display:none}
 .mobile-menu-links a{display:block;padding:13px 10px;min-height:44px;border-bottom:1px solid #eee;color:#000;font-size:15px;text-decoration:none;text-align:left}
 .mobile-menu-links a:last-child{border-bottom:0}
 .mobile-menu-links a:hover{color:#BA0C2F;background:#fafafa}
 .home-nav{display:none}
}
@media(max-width:359px){.header .header-container{padding-inline:12px;gap:6px}.header .logo img{height:30px}.header .header-buttons .btn{font-size:10px;padding-inline:8px}.mobile-menu summary{padding-inline:9px}}
@media(max-width:359px){.header .header-container.container{padding-inline:12px;grid-template-columns:auto minmax(0,1fr) auto}}


.mobile-heading-break{display:none}@media(max-width:767px){.mobile-heading-break{display:inline}.desktop-heading-space{display:none}}

/* Desktop navigation shares the logo and contact-button row. */
@media(min-width:768px){
 .header .header-container{gap:24px}
 .header .logo,.header .header-buttons{flex-shrink:0}
 .header .home-nav{display:flex;flex:1;justify-content:center;align-items:center;flex-wrap:nowrap;gap:20px;padding:0;border:0;font-size:13px;line-height:1.4}
 .header .home-nav a{white-space:nowrap;padding-block:12px}
}
@media(min-width:768px) and (max-width:1099px){
 .header .header-container.container{padding-inline:24px;gap:14px}
 .header .logo img{height:45px}
 .header .home-nav{gap:12px;font-size:11px}
 .header .header-buttons{gap:6px}
 .header .header-buttons .btn{font-size:12px;padding:11px 12px}
}
@media(max-width:767px){.header .home-nav{display:none}}

/* Give the supporting homepage sections a clear, branded rhythm. */
.homepage .why-us .benefits-grid{gap:18px}
.homepage .why-us .benefit{position:relative;border:1px solid #e0e0e0;border-radius:4px;padding:22px 24px 22px 30px;background:#fff}
.homepage .why-us .benefit::before{content:"";position:absolute;left:-1px;top:22px;bottom:22px;width:4px;background:#BA0C2F;border-radius:0 2px 2px 0}
.homepage .why-us .benefit h3{margin-bottom:10px}
.homepage .local-seo>.container{position:relative;padding:28px 36px;border:1px solid #000;border-top:4px solid #BA0C2F;border-radius:4px;width:calc(100% - 96px);max-width:1100px;text-align:left}
.homepage .local-seo h2{max-width:850px;margin:0 0 14px}
.homepage .local-seo p{max-width:850px;margin-left:0;margin-right:0}
.homepage .local-seo p:last-child{margin-bottom:0}
@media(max-width:767px){
 .homepage .why-us .benefit{padding:18px 20px 18px 25px}
 .homepage .why-us .benefit::before{top:18px;bottom:18px}
 .homepage .local-seo>.container{width:calc(100% - 36px);padding:22px 20px}
}
@media(max-width:767px){.homepage .local-seo h2{text-align:center}}

.link-arrow{display:inline-block;width:.95em;height:.95em;vertical-align:-.1em;flex-shrink:0;overflow:visible}



/* One continuous original image; content ends above the embedded logo. */
@media(max-width:1199px),(hover:none) and (pointer:coarse){
 .homepage .hero{background-image:url('/assets/images/think-marketing-hero.jpg');background-size:max(100%,600px) auto;background-position:bottom right;background-repeat:no-repeat;min-height:0;padding:26px 0 clamp(78px,11vw,140px);align-items:flex-start;display:flex}
 .homepage .hero>.container{width:100%}
 .homepage .hero h1{font-size:clamp(24px,7.2vw,32px);line-height:1.16;margin-bottom:16px}
 .hero-title-line{display:block;white-space:nowrap}
 .hero-desktop-break{display:none}
 .homepage .hero .subheadline{font-size:16px;max-width:460px;margin:0 auto 18px}
}
/* Landscape phones: compact desktop composition without shrinking the page. */
@media(orientation:landscape) and (min-width:568px) and (max-width:1199px) and (max-height:600px){
 .homepage .hero{min-height:260px;padding:24px 0;background-size:cover;background-position:bottom right;text-align:left}
 .homepage .hero>.container{padding-inline:28px}
 .homepage .hero h1{font-size:clamp(24px,3.1vw,32px);line-height:1.15;max-width:62%;margin:0 0 12px}
 .homepage .hero .hero-title-line{display:inline;white-space:normal}
 .homepage .hero .hero-desktop-break{display:inline}
 .homepage .hero .subheadline{max-width:58%;font-size:15px;line-height:1.4;margin:0 0 16px}
 .homepage .hero .btn{padding:11px 20px;font-size:14px}
 .homepage .services-grid,.homepage .benefits-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
 .homepage .services-grid>.service-card:last-child{grid-column:1/-1}
 .homepage .service-card,.homepage .why-us .benefit{padding:18px 20px}
 .homepage main>section:not(.hero){padding-block:22px}
 .homepage .contact .container{flex-direction:row;align-items:center}
 .homepage .contact-info{text-align:right}
 .header{padding-block:6px}
 .header .header-container.container{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);gap:12px;padding-inline:24px}
 .header .logo{justify-self:start}.header .logo img{height:34px;width:auto}
 .header .header-buttons{justify-self:end;gap:6px}
 .header .header-buttons .btn{font-size:11px;min-height:44px;display:inline-flex;align-items:center;padding:10px 9px}
 .header .home-nav{display:none}
 .header .mobile-menu{display:block;justify-self:center;font-family:Arial,Helvetica,sans-serif;font-size:12px;line-height:1.4}
 .mobile-menu summary{display:flex;align-items:center;justify-content:center;gap:6px;min-height:44px;padding:10px 11px;background:#BA0C2F;color:#fff;border-radius:4px;cursor:pointer;font-weight:600;list-style:none}
 .mobile-menu summary::-webkit-details-marker{display:none}
 .mobile-menu-links{position:absolute;left:0;right:0;top:100%;display:flex;flex-direction:column;background:#fff;border-top:1px solid #eee;border-bottom:3px solid #BA0C2F;padding:8px 24px;box-shadow:0 8px 16px #00000014;max-height:calc(100dvh - 60px);overflow-y:auto}
 .mobile-menu:not([open]) .mobile-menu-links{display:none}
 .mobile-menu-links a{display:block;padding:11px 10px;min-height:44px;border-bottom:1px solid #eee;color:#000;font-size:15px;text-decoration:none}
}
/* Landscape tablets have space for the normal desktop hero. */
@media(orientation:landscape) and (min-width:960px) and (min-height:601px){
 .homepage .hero{min-height:400px;padding:36px 0;background-size:cover;text-align:center;align-items:center}
 .homepage .hero h1{font-size:clamp(32px,3.5vw,46px);max-width:none}
 .homepage .hero .hero-title-line{display:inline;white-space:normal}
 .homepage .hero .hero-desktop-break{display:inline}
 .homepage .hero .subheadline{max-width:600px;font-size:18px;margin:0 auto 22px}
}
@media(orientation:landscape) and (min-width:568px) and (max-width:1199px) and (max-height:600px){.menu-chevron{width:6px;height:6px;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:rotate(45deg);margin-top:-3px}.mobile-menu[open] .menu-chevron{transform:rotate(225deg);margin-top:3px}}

/* Site structure and Coming Soon pages. */
.structure-footer{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px 16px;margin-block:12px}.structure-footer a{color:#fff}.coming-soon{padding-bottom:64px}.coming-soon .button{margin-top:12px}.breadcrumb{overflow-wrap:anywhere}@media(max-width:767px){.structure-footer{justify-content:center}}

/* Homepage: two service introductions matching the primary site structure. */
.homepage .services-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.homepage .services-grid>.service-card:last-child{grid-column:auto}@media(max-width:767px){.homepage .services-grid{grid-template-columns:1fr}}

.homepage .hero .subheadline {
    font-weight: 700;
}

.home-toolbox {
    background: var(--primary-red);
    color: var(--white);
}

.home-toolbox .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px 32px;
}

.home-toolbox h2 {
    color: inherit;
    font-size: clamp(22px, 3vw, 27px);
    margin-bottom: 8px;
}

.home-toolbox p {
    color: var(--white);
    max-width: 62ch;
    margin: 0;
}

.home-toolbox .btn {
    flex: none;
    background-color: #000;
    color: var(--white);
}

.home-toolbox .btn:hover {
    background-color: #222;
}

.home-toolbox .btn:focus-visible {
    outline-color: var(--white);
}

@media (max-width: 767px) {
    .home-toolbox .container {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}
