@import url('https://fonts.googleapis.com/css2?family=Calistoga&family=Pangolin&family=Figtree:wght@300;400;500;600;700&display=swap');

:root {
  --background: #F9F5EE;
  --foreground: #228B22;
  --forest: #228B22;
  --orange: #FF7F32;
  --brown: #8B4513;
  --beige: #F9F5EE;
}

.font-calistoga { font-family: "Calistoga", serif !important; }
.font-pangolin { font-family: "Pangolin", cursive !important; }
.font-figtree { font-family: "Figtree", sans-serif !important; }

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--background);
    color: var(--forest);
    font-family: "Figtree", system-ui, Arial, Helvetica, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

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

.bold {
    font-weight: 700;
}

.lead {
    font-size: 1.125rem;
    line-height: 1.7;
    color: #6d4a2b;
}

.text-orange {
    color: var(--orange);
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px;
    position: relative;
}

.brand-logo {
    height: 80px;
    width: auto;
}

.nav-links {
    display: none;
    gap: 32px;
    font-weight: 700;
}

.nav-links a {
    color: var(--forest);
    text-decoration: none;
}

.nav-links a:hover {
    color: var(--orange);
}

.menu-btn {
    background: none;
    border: none;
    font-size: 24px;
    color: var(--forest);
    display: inline-flex;
}

@media (min-width: 768px) {
    .nav {
        padding-left: 48px;
        padding-right: 48px;
    }

    .nav-links {
        display: flex;
    }

    .menu-btn {
        display: none;
    }
}

.mobile-menu {
    position: absolute;
    left: 24px;
    right: 24px;
    top: calc(100% + 8px);
    background: white;
    border: 2px dashed var(--forest);
    border-radius: 16px;
    padding: 24px;
    display: none;
    flex-direction: column;
    gap: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.mobile-menu.open {
    display: flex;
}

.mobile-link {
    color: var(--forest);
    text-decoration: none;
    font-weight: 700;
}

.mobile-link:hover {
    color: var(--orange);
}

.hero {
    padding: 48px 24px 96px;
}

.hero-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    gap: 48px;
    align-items: center;
}

.hero-title {
    font-family: "Pangolin", cursive;
    font-weight: 700;
    font-size: 40px;
    line-height: 1.1;
    margin: 0 0 16px;
}

.hero-sub {
    color: #6d4a2b;
    font-size: 18px;
    line-height: 1.7;
    margin-bottom: 24px;
    max-width: 640px;
}

.hero-img {
    max-width: 520px;
    width: 100%;
    height: auto;
    display: block;
}

.hero-mascot-container {
    position: relative;
    display: inline-block;
}

.hero-logo-overlay {
    position: absolute;
    top: 50%;
    left: 43%;
    transform: translate(-50%, -50%);
    width: 70%;
    height: 70%;
    max-width: 280px;
    max-height: 280px;
    z-index: 10;
    filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.3));
    object-fit: contain;
    padding: 20px;
    box-sizing: border-box;
}

.btn {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 600;
    transition: 200ms ease;
}

.btn-primary {
    background: var(--forest);
    color: var(--beige);
}

.btn-primary:hover {
    background: var(--orange);
    transform: scale(1.03);
}

@media (min-width: 1024px) {
    .hero-inner {
        grid-template-columns: 1fr 1fr;
    }

    .hero-title {
        font-size: 64px;
    }
}

.section {
    padding: 80px 24px;
}

.section-alt {
    background: white;
}

.section-title {
    font-family: "Pangolin", cursive;
    font-size: 40px;
    margin: 0 0 40px;
    text-align: left;
}

.section .section-title {
    text-align: left;
}

.section .text-center .section-title,
.text-center .section-title {
    text-align: center;
}

.cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

.card {
    background: white;
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(34, 139, 34, 0.2);
}

.icon-circle {
    width: 48px;
    height: 48px;
    border-radius: 999px;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-circle i {
    color: white;
    font-size: 20px;
}

.bg-forest {
    background: var(--forest);
}

.bg-orange {
    background: var(--orange);
}

.bg-brown {
    background: var(--brown);
}

.card-title {
    font-family: "Calistoga", serif;
    font-size: 22px;
    margin: 0 0 12px;
    color: var(--forest);
}

.card-text {
    color: #6d4a2b;
    line-height: 1.7;
    margin: 0;
}

@media (min-width: 768px) {
    .cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .cards {
        grid-template-columns: repeat(3, 1fr);
    }
}

.highlight {
    background: var(--beige);
    border: 2px dashed var(--forest);
    border-radius: 16px;
    padding: 32px;
    margin: 48px 0;
    text-align: center;
}

.highlight-title {
    font-family: "Calistoga", serif;
    font-size: 32px;
    margin: 0 0 12px;
}

.highlight-text {
    color: var(--forest);
    font-size: 18px;
    line-height: 1.7;
    margin: 0;
}

.grid-3 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

@media (min-width: 768px) {
    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .grid-3 {
        grid-template-columns: repeat(3, 1fr);
    }
}

.work-card {
    display: block;
    background: white;
    border-radius: 16px;
    overflow: hidden;
    border: 2px dashed var(--forest);
    text-decoration: none;
    color: inherit;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
}

.work-thumb {
    height: 192px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.work-thumb.forest {
    background: rgba(34, 139, 34, 0.1);
}

.work-thumb.orange {
    background: rgba(255, 127, 50, 0.1);
}

.work-thumb.brown {
    background: rgba(139, 69, 19, 0.1);
}

.work-img {
    height: 64px;
    width: auto;
}

.work-overlay {
    position: absolute;
    inset: 0;
    background: rgba(34, 139, 34, 0.9);
    color: var(--beige);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: 200ms ease;
    font-family: "Calistoga", serif;
    font-size: 14px;
}

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

.work-body {
    padding: 24px;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    margin: 32px 0;
}

.contact-card {
    background: white;
    padding: 24px;
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
}

.contact-title {
    font-family: "Calistoga", serif;
    font-size: 20px;
    margin: 0 0 8px;
}

.link {
    color: #6d4a2b;
    text-decoration: none;
}

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

@media (min-width: 768px) {
    .contact-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* One Box Design */
.one-box {
    background: white;
    border-radius: 24px;
    padding: 48px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(34, 139, 34, 0.1);
    text-align: center;
    max-width: 1000px;
    margin: 0 auto;
}

.one-box .section-title {
    margin-bottom: 16px;
    color: var(--forest);
}

.one-box .lead {
    font-size: 18px;
    color: #6d4a2b;
    margin-bottom: 40px;
    line-height: 1.6;
}

.one-box-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-bottom: 40px;
}

.one-box-col {
    text-align: left;
}

.one-box-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.one-box-list li {
    padding: 12px 0;
    color: #6d4a2b;
    font-size: 16px;
    line-height: 1.5;
    position: relative;
    padding-left: 24px;
}

.one-box-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 12px;
    color: var(--forest);
    font-weight: bold;
    font-size: 14px;
}

.one-box-cta {
    border-top: 1px solid rgba(34, 139, 34, 0.1);
    padding-top: 32px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.one-box-note {
    font-size: 14px;
    color: #6d4a2b;
    font-style: italic;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
}

.cta-buttons .btn {
    min-width: 140px;
    padding: 12px 24px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-primary {
    background: var(--forest);
    color: white;
    border: 2px solid var(--forest);
}

.btn-primary:hover {
    background: #1a5a1a;
    border-color: #1a5a1a;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(34, 139, 34, 0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--forest);
    border: 2px solid var(--forest);
}

.btn-secondary:hover {
    background: var(--forest);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(34, 139, 34, 0.3);
}

/* Mobile Responsive for One Box */
@media (max-width: 768px) {
    .one-box {
        padding: 32px 24px;
        border-radius: 16px;
        margin: 0 16px;
    }
    
    .one-box .section-title {
        font-size: 24px;
        margin-bottom: 12px;
    }
    
    .one-box .lead {
        font-size: 16px;
        margin-bottom: 32px;
    }
    
    .one-box-grid {
        grid-template-columns: 1fr;
        gap: 24px;
        margin-bottom: 32px;
    }
    
    .one-box-col {
        text-align: center;
    }
    
    .one-box-list li {
        font-size: 15px;
        padding: 10px 0;
        padding-left: 20px;
    }
    
    .one-box-list li::before {
        top: 10px;
        font-size: 12px;
    }
    
    .one-box-cta {
        padding-top: 24px;
        gap: 16px;
    }
    
    .cta-buttons {
        flex-direction: column;
        width: 100%;
        gap: 12px;
    }
    
    .cta-buttons .btn {
        width: 100%;
        min-width: auto;
        padding: 14px 20px;
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    .one-box {
        padding: 24px 20px;
        margin: 0 12px;
    }
    
    .one-box .section-title {
        font-size: 22px;
    }
    
    .one-box .lead {
        font-size: 15px;
        margin-bottom: 28px;
    }
    
    .one-box-grid {
        gap: 20px;
        margin-bottom: 28px;
    }
    
    .one-box-list li {
        font-size: 14px;
        padding: 8px 0;
        padding-left: 18px;
    }
    
    .one-box-list li::before {
        top: 8px;
        font-size: 11px;
    }
    
    .one-box-cta {
        padding-top: 20px;
        gap: 12px;
    }
    
    .one-box-note {
        font-size: 13px;
    }
    
    .cta-buttons .btn {
        padding: 12px 16px;
        font-size: 14px;
    }
}

/* Tablet Responsive for One Box */
@media (min-width: 769px) and (max-width: 1024px) {
    .one-box {
        padding: 40px 32px;
        margin: 0 24px;
    }
    
    .one-box-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 28px;
    }
    
    .one-box-col:last-child {
        grid-column: 1 / -1;
        text-align: center;
    }
    
    .one-box-col:last-child .one-box-list {
        display: inline-block;
        text-align: left;
    }
}

/* Desktop Enhancements for One Box */
@media (min-width: 1025px) {
    .one-box {
        padding: 56px;
        border-radius: 28px;
    }
    
    .one-box .section-title {
        font-size: 32px;
        margin-bottom: 20px;
    }
    
    .one-box .lead {
        font-size: 20px;
        margin-bottom: 48px;
    }
    
    .one-box-grid {
        gap: 40px;
        margin-bottom: 48px;
    }
    
    .one-box-list li {
        font-size: 17px;
        padding: 14px 0;
        padding-left: 28px;
    }
    
    .one-box-list li::before {
        top: 14px;
        font-size: 16px;
    }
    
    .one-box-cta {
        padding-top: 40px;
        gap: 24px;
    }
    
    .cta-buttons .btn {
        min-width: 160px;
        padding: 14px 28px;
        font-size: 17px;
    }
}

/* Reveal Animation */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.footer {
    background: var(--forest);
    color: var(--beige);
    padding: 48px 24px 24px;
}

.footer-inner {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
}

.footer-section {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-section h4 {
    font-family: "Calistoga", serif;
    font-size: 18px;
    margin: 0;
    color: var(--orange);
}

.footer-brand {
    font-family: "Pangolin", cursive;
    font-weight: 700;
    font-size: 28px;
    margin-bottom: 8px;
}

.footer-description {
    color: rgba(249, 245, 238, 0.9);
    line-height: 1.6;
    margin: 0;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-links a {
    color: var(--beige);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--orange);
}

.footer-section p {
    margin: 0;
    color: rgba(249, 245, 238, 0.9);
    line-height: 1.6;
}

.footer-section a {
    color: var(--beige);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--orange);
}

.socials {
    display: flex;
    gap: 24px;
}

.social-link {
    color: var(--beige);
    text-decoration: none;
    transition: color 0.3s ease;
}

.social-link:hover {
    color: var(--orange);
}

.footer-bottom {
    border-top: 1px solid rgba(249, 245, 238, 0.2);
    padding-top: 24px;
    text-align: center;
}

.copyright {
    opacity: 0.8;
    text-align: center;
}

@media (min-width: 768px) {
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .footer-content {
        grid-template-columns: repeat(4, 1fr);
    }
}

.mascot {
    position: fixed;
    left: 0;
    bottom: -48px;
    z-index: 50;
    display: inline-block;
    text-decoration: none;
}

.mascot-img-wrap {
    width: 80px;
    height: 80px;
    overflow: hidden;
    position: relative;
    transition: transform 300ms ease;
}

.mascot:hover .mascot-img-wrap {
    transform: translateY(-18px);
}

.mascot-img {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
}

.mascot-bubble {
    position: absolute;
    left: 32px;
    bottom: 100%;
    margin-bottom: 64px;
    background: var(--forest);
    color: var(--beige);
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 14px;
    white-space: nowrap;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    opacity: 0;
    pointer-events: none;
    transition: opacity 200ms ease;
    font-family: "Calistoga", serif;
}

.mascot:hover .mascot-bubble {
    opacity: 1;
}

/* Mobile mascot adjustments */
@media (max-width: 768px) {
    .mascot {
        bottom: -24px; /* Move higher on mobile */
    }
    
    .mascot-img-wrap {
        width: 100px; /* Increase size on mobile */
        height: 100px;
    }
    
    .mascot-bubble {
        left: 40px; /* Adjust bubble position for larger mascot */
        margin-bottom: 80px; /* Increase distance from mascot */
        font-size: 16px; /* Larger text on mobile */
        padding: 10px 16px; /* More padding on mobile */
    }
}

@media (max-width: 480px) {
    .mascot {
        bottom: -16px; /* Even higher on very small screens */
    }
    
    .mascot-img-wrap {
        width: 120px; /* Even larger on very small screens */
        height: 120px;
    }
    
    .mascot-bubble {
        left: 48px;
        margin-bottom: 100px;
        font-size: 18px;
        padding: 12px 20px;
    }
}

/* Desktop mascot adjustments */
@media (min-width: 1024px) {
    .mascot-img-wrap {
        width: 100px; /* Increase size on desktop */
        height: 100px;
    }
    
    .mascot-bubble {
        left: 40px;
        margin-bottom: 80px;
        font-size: 16px;
        padding: 10px 16px;
    }
}

@media (min-width: 1440px) {
    .mascot-img-wrap {
        width: 120px; /* Even larger on very large screens */
        height: 120px;
    }
    
    .mascot-bubble {
        left: 48px;
        margin-bottom: 100px;
        font-size: 18px;
        padding: 12px 20px;
    }
}

/* Comprehensive Mobile Responsiveness */
@media (max-width: 768px) {
    /* Navigation adjustments */
    .nav {
        padding: 16px;
    }
    
    .brand-logo {
        height: 60px;
    }
    
    /* Hero section mobile optimization */
    .hero {
        padding: 32px 16px 64px;
    }
    
    .hero-title {
        font-size: 32px;
        line-height: 1.2;
    }
    
    .hero-sub {
        font-size: 16px;
        line-height: 1.6;
    }
    
    .hero-img {
        max-width: 280px;
        margin: 0 auto;
    }
    
    .hero-logo-overlay {
        width: 75%;
        height: 75%;
        max-width: 200px;
        max-height: 200px;
        top: 50%;
        transform: translate(-50%, -50%);
        padding: 15px;
    }
    
    /* Services section mobile */
    .section {
        padding: 48px 16px;
    }
    
    .section-title {
        font-size: 28px;
        margin-bottom: 32px;
    }
    
    .cards {
        gap: 24px;
    }
    
    .card {
        padding: 24px;
    }
    
    .card-title {
        font-size: 20px;
    }
    
    .card-text {
        font-size: 15px;
    }
    
    /* Clients section mobile */
    .clients-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        margin: 32px 0;
    }
    
    .client-item {
        padding: 20px;
    }
    
    .client-logo {
        width: 60px;
        height: 60px;
    }
    
    .client-img {
        width: 45px;
        height: 45px;
    }
    
    .client-name {
        font-size: 16px;
    }
    
    .client-service {
        font-size: 13px;
    }
    
    /* CTA section mobile */
    .cta-section {
        margin-top: 48px;
        padding: 32px 24px;
    }
    
    .cta-title {
        font-size: 24px;
    }
    
    .cta-text {
        font-size: 16px;
    }
    
    /* Contact section mobile */
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .contact-card {
        padding: 24px;
    }
    
    /* Footer mobile */
    .footer {
        padding: 32px 16px;
    }
    
    .footer-inner {
        flex-direction: column;
        gap: 24px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    /* Extra small devices */
    .hero-title {
        font-size: 28px;
    }
    
    .hero-sub {
        font-size: 15px;
    }
    
    .hero-logo-overlay {
        width: 80%;
        height: 80%;
        max-width: 160px;
        max-height: 160px;
        top: 50%;
        transform: translate(-50%, -50%);
        padding: 12px;
    }
    
    .section-title {
        font-size: 24px;
    }
    
    .clients-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .client-item {
        padding: 16px;
    }
    
    .card {
        padding: 20px;
    }
    
    .btn {
        padding: 12px 20px;
        font-size: 16px;
        width: 100%;
        max-width: 300px;
    }
    
    .cta-buttons {
        flex-direction: column;
        gap: 12px;
    }
    
    .btn-secondary {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 360px) {
    /* Very small devices */
    .hero-title {
        font-size: 24px;
    }
    
    .section-title {
        font-size: 22px;
    }
    
    .nav {
        padding: 12px;
    }
    
    .brand-logo {
        height: 50px;
    }
    
    .container {
        padding: 0 16px;
    }
}

/* Landscape orientation adjustments */
@media (max-height: 500px) and (orientation: landscape) {
    .hero {
        padding: 24px 16px 48px;
    }
    
    .hero-title {
        font-size: 28px;
        margin-bottom: 12px;
    }
    
    .hero-sub {
        margin-bottom: 20px;
    }
    
    .section {
        padding: 32px 16px;
    }
}

/* High DPI displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .brand-logo,
    .client-img,
    .work-img {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* Touch device optimizations */
@media (hover: none) and (pointer: coarse) {
    .card:hover,
    .work-item:hover,
    .client-item:hover {
        transform: none;
    }
    
    .btn:hover,
    .work-link:hover {
        transform: none;
    }
    
    /* Increase touch targets */
    .nav-links a,
    .mobile-link,
    .btn {
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .mascot {
        min-width: 60px;
        min-height: 60px;
    }
}

/* Print styles */
@media print {
    .nav,
    .mascot,
    .btn {
        display: none;
    }
    
    .hero {
        padding: 20px 0;
    }
    
    .section {
        padding: 20px 0;
        break-inside: avoid;
    }
}

/* Work page specific styles */
.work-hero {
    padding: 80px 24px 120px;
    text-align: center;
}

.work-hero .hero-title {
    font-size: 48px;
    margin-bottom: 24px;
}

.work-hero .hero-sub {
    font-size: 20px;
    max-width: 600px;
    margin: 0 auto;
}

.work-grid {
    display: grid;
    gap: 48px;
    margin-top: 48px;
}

.work-item {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    border: 2px dashed var(--forest);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.work-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.12);
}

.work-thumb {
    position: relative;
    height: 300px;
    overflow: hidden;
}

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

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

.work-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(34, 139, 34, 0.9);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    color: white;
    gap: 12px;
}

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

.overlay-text {
    font-size: 18px;
    font-weight: 600;
    font-family: "Calistoga", serif;
}

.work-overlay i {
    font-size: 24px;
}

.work-content {
    padding: 32px;
}

.work-title {
    font-family: "Calistoga", serif;
    font-size: 28px;
    margin: 0 0 16px;
    color: var(--forest);
}

.work-description {
    color: #6d4a2b;
    line-height: 1.7;
    margin: 0 0 24px;
    font-size: 16px;
}

.work-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 24px;
}

.tag {
    background: var(--beige);
    color: var(--forest);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    border: 1px solid var(--forest);
}

.work-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--orange);
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: color 0.3s ease;
}

.work-link:hover {
    color: var(--forest);
}

.work-link i {
    transition: transform 0.3s ease;
}

.work-link:hover i {
    transform: translateX(4px);
}

@media (min-width: 768px) {
    .work-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
    }
    
    .work-hero .hero-title {
        font-size: 56px;
    }
}

@media (min-width: 1024px) {
    .work-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 40px;
    }
    
    .work-hero .hero-title {
        font-size: 64px;
    }
}

/* Work page mobile responsiveness */
@media (max-width: 768px) {
    .work-hero {
        padding: 48px 16px 80px;
    }
    
    .work-hero .hero-title {
        font-size: 36px;
    }
    
    .work-hero .hero-sub {
        font-size: 18px;
    }
    
    .work-grid {
        gap: 32px;
        margin-top: 32px;
    }
    
    .work-item {
        border-radius: 16px;
    }
    
    .work-thumb {
        height: 200px;
    }
    
    .work-content {
        padding: 24px;
    }
    
    .work-title {
        font-size: 24px;
    }
    
    .work-description {
        font-size: 15px;
    }
    
    .work-tags {
        gap: 6px;
        margin-bottom: 20px;
    }
    
    .tag {
        font-size: 13px;
        padding: 5px 10px;
    }
}

@media (max-width: 480px) {
    .work-hero .hero-title {
        font-size: 32px;
    }
    
    .work-hero .hero-sub {
        font-size: 16px;
    }
    
    .work-grid {
        gap: 24px;
    }
    
    .work-thumb {
        height: 180px;
    }
    
    .work-content {
        padding: 20px;
    }
    
    .work-title {
        font-size: 22px;
    }
    
    .work-description {
        font-size: 14px;
    }
}

/* Clients section styles */
.clients-grid {
    display: grid;
    gap: 32px;
    margin: 48px 0;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.client-item {
    background: white;
    padding: 24px;
    border-radius: 16px;
    border: 2px dashed var(--forest);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.client-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
}

.client-logo {
    width: 80px;
    height: 80px;
    margin: 0 auto 16px;
    border-radius: 50%;
    overflow: hidden;
    background: var(--beige);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--forest);
}

.client-img {
    width: 60px;
    height: 60px;
    object-fit: contain;
}

.client-name {
    font-family: "Calistoga", serif;
    font-size: 18px;
    margin: 0 0 8px;
    color: var(--forest);
}

.client-service {
    color: #6d4a2b;
    font-size: 14px;
    margin: 0;
    font-weight: 500;
}

.cta-section {
    margin-top: 64px;
    padding: 48px;
    background: white;
    border-radius: 20px;
    border: 2px dashed var(--forest);
}

.cta-title {
    font-family: "Calistoga", serif;
    font-size: 28px;
    margin: 0 0 16px;
    color: var(--forest);
}

.cta-text {
    color: #6d4a2b;
    font-size: 18px;
    margin: 0 0 32px;
    line-height: 1.6;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-secondary {
    background: transparent;
    color: var(--forest);
    border: 2px solid var(--forest);
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-secondary:hover {
    background: var(--forest);
    color: white;
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .clients-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
    
    .cta-section {
        padding: 32px 24px;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-secondary {
        width: 100%;
        max-width: 300px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .clients-grid {
        grid-template-columns: 1fr;
    }
}

/* utilities */
.page {
    min-height: 100vh;
}

.text-center .section-title {
    text-align: center;
}

/* Team Section Styles */
.team-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    margin-top: 48px;
}

.team-member {
    background: white;
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(34, 139, 34, 0.2);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    position: relative;
}

.team-member:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.team-member:active {
    transform: translateY(-2px);
}

.member-avatar {
    margin-bottom: 20px;
}

.member-photo {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
    margin: 0 auto;
    border: 3px solid rgba(34, 139, 34, 0.3);
}

.avatar-placeholder {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.avatar-placeholder i {
    color: white;
    font-size: 32px;
}

.member-name {
    font-family: "Calistoga", serif;
    font-size: 24px;
    margin: 0 0 8px;
    color: var(--forest);
}

.member-role {
    font-weight: 600;
    color: var(--orange);
    margin: 0 0 20px;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.member-socials {
    display: flex;
    justify-content: center;
    gap: 12px;
}

.member-socials .social-link {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--forest);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

.member-socials .social-link:hover {
    background: var(--orange);
    transform: scale(1.1);
}

.member-socials .social-link i {
    font-size: 16px;
}

/* Team Member Click Hint */
.member-click-hint {
    margin-top: 20px;
    padding: 10px 16px;
    background: rgba(34, 139, 34, 0.15);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 12px;
    color: var(--forest);
    font-weight: 500;
    border: 1px solid rgba(34, 139, 34, 0.2);
}

.member-click-hint i {
    font-size: 14px;
}

/* Team Member Modal */
.team-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.team-modal.active {
    display: flex;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
}

.modal-content {
    position: relative;
    background: white;
    border-radius: 20px;
    max-width: 500px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 40px;
    height: 40px;
    border: none;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 50%;
    color: #666;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
}

.modal-close:hover {
    background: rgba(0, 0, 0, 0.2);
    color: #333;
}

.modal-body {
    padding: 40px 32px 32px;
    text-align: center;
}

.modal-avatar {
    margin-bottom: 24px;
}

.modal-photo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid rgba(34, 139, 34, 0.3);
    margin: 0 auto;
    display: block;
}

.modal-placeholder {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    border: 4px solid rgba(34, 139, 34, 0.3);
}

.modal-placeholder i {
    color: white;
    font-size: 48px;
}

.modal-info {
    text-align: center;
}

.modal-name {
    font-family: "Calistoga", serif;
    font-size: 28px;
    margin: 0 0 8px;
    color: var(--forest);
}

.modal-role {
    font-weight: 600;
    color: var(--orange);
    margin: 0 0 20px;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.modal-bio {
    color: #6d4a2b;
    line-height: 1.7;
    margin: 0 0 24px;
    font-size: 16px;
    text-align: left;
}

.modal-bio p {
    margin-bottom: 16px;
}

.modal-bio ul {
    margin: 16px 0;
    padding-left: 20px;
}

.modal-bio li {
    margin-bottom: 8px;
    line-height: 1.5;
}

.modal-socials {
    display: flex;
    justify-content: center;
    gap: 16px;
}

.modal-socials .social-link {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--forest);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 18px;
}

.modal-socials .social-link:hover {
    background: var(--orange);
    transform: scale(1.1);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .team-modal {
        padding: 16px;
    }
    
    .modal-content {
        max-width: 100%;
        border-radius: 16px;
    }
    
    .modal-body {
        padding: 32px 24px 24px;
    }
    
    .modal-photo,
    .modal-placeholder {
        width: 100px;
        height: 100px;
    }
    
    .modal-placeholder i {
        font-size: 40px;
    }
    
    .modal-name {
        font-size: 24px;
    }
    
    .modal-role {
        font-size: 14px;
    }
    
    .modal-bio {
        font-size: 15px;
    }
    
    .modal-socials .social-link {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    
    .member-click-hint {
        font-size: 11px;
        padding: 8px 12px;
    }
    
    .member-click-hint span {
        display: none;
    }
    
    .member-click-hint i {
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .modal-body {
        padding: 24px 20px 20px;
    }
    
    .modal-photo,
    .modal-placeholder {
        width: 80px;
        height: 80px;
    }
    
    .modal-placeholder i {
        font-size: 32px;
    }
    
    .modal-name {
        font-size: 22px;
    }
    
    .modal-bio {
        font-size: 14px;
    }
}

@media (min-width: 768px) {
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .team-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    bottom: 100px;
    right: 24px;
    width: 60px;
    height: 60px;
    background: #25D366;
    color: white;
    border-radius: 50%;
    text-align: center;
    font-size: 30px;
    box-shadow: 0 4px 16px rgba(37, 211, 102, 0.3);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    animation: whatsapp-pulse 2s infinite;
}

.whatsapp-float:hover {
    background: #128C7E;
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

@keyframes whatsapp-pulse {
    0% {
        box-shadow: 0 4px 16px rgba(37, 211, 102, 0.3);
    }
    50% {
        box-shadow: 0 4px 16px rgba(37, 211, 102, 0.6);
    }
    100% {
        box-shadow: 0 4px 16px rgba(37, 211, 102, 0.3);
    }
}

@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 80px;
        right: 16px;
        width: 50px;
        height: 50px;
        font-size: 24px;
    }
    
    /* Mobile SEO Optimizations */
    .hero-title {
        font-size: 36px;
        line-height: 1.2;
    }
    
    .section-title {
        font-size: 28px;
        line-height: 1.3;
    }
    
    .card-title {
        font-size: 20px;
    }
    
    .lead {
        font-size: 16px;
        line-height: 1.6;
    }
    
    /* Mobile Performance */
    .hero-img {
        max-width: 100%;
        height: auto;
    }
    
    .brand-logo {
        height: 60px;
    }
    
    /* Mobile Accessibility */
    .nav-links a,
    .mobile-link {
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .btn {
        min-height: 44px;
        padding: 12px 24px;
    }
    
    /* Mobile SEO Performance */
    .hero-img {
        will-change: transform;
    }
    
    .card {
        will-change: transform;
    }
    
    /* Mobile Loading Optimization */
    .brand-logo {
        loading: lazy;
    }
    
    .hero-img {
        loading: lazy;
    }
}

/* Additional SEO Optimizations */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Print Styles for SEO */
@media print {
    .nav, .mascot, .whatsapp-float {
        display: none !important;
    }
    
    .hero {
        page-break-after: avoid;
    }
    
    .section {
        page-break-inside: avoid;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
    }
    
    .hero-title {
        font-size: 24pt;
    }
    
    .section-title {
        font-size: 18pt;
    }
}

:root {
  --background: #F9F5EE;
  --foreground: #228B22;
  --forest: #228B22;
  --orange: #FF7F32;
  --brown: #8B4513;
  --beige: #F9F5EE;
}

body {
  background: var(--background);
  color: var(--foreground);
  font-family: "Figtree", system-ui, Arial, Helvetica, sans-serif;
  overflow-x: hidden;
}

/* Hide scrollbar for webkit browsers (Chrome, Safari, Edge) */
::-webkit-scrollbar {
  width: 0px;
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: transparent;
}

/* Hide scrollbar for Firefox */
html {
  scrollbar-width: none;
  -ms-overflow-style: none;
}

/* Ensure smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* Updated utility classes for consistent font application */
.font-calistoga {
  font-family: "Calistoga", serif !important;
}

.font-pangolin {
  font-family: "Pangolin", cursive !important;
}

.pangolin-regular {
  font-family: "Pangolin", cursive !important;
  font-weight: 400;
  font-style: normal;
}

.font-figtree {
  font-family: "Figtree", sans-serif !important;
}

/* Additional utility classes for specific use cases */
.title-pangolin {
  font-family: "Pangolin", cursive !important;
}

.heading-calistoga {
  font-family: "Calistoga", serif !important;
}

.body-figtree {
  font-family: "Figtree", sans-serif !important;
}:root {
    --background: #F9F5EE;
    --forest: #228B22;
    --orange: #FF7F32;
    --brown: #8B4513;
    --beige: #F9F5EE;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    /* Prevent iOS from automatically resizing text in landscape/zoom scenarios */
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    background: var(--background);
    color: var(--forest);
    font-family: "Figtree", system-ui, Arial, Helvetica, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

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

.bold {
    font-weight: 700;
}

.lead {
    font-size: 1.125rem;
    line-height: 1.7;
    color: #6d4a2b;
}

.text-orange {
    color: var(--orange);
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px;
    position: relative;
}

.brand-logo {
    height: 80px;
    width: auto;
}

.nav-links {
    display: none;
    gap: 32px;
    font-weight: 700;
}

.nav-links a {
    color: var(--forest);
    text-decoration: none;
}

.nav-links a:hover {
    color: var(--orange);
}

.menu-btn {
    background: none;
    border: none;
    font-size: 24px;
    color: var(--forest);
    display: inline-flex;
}

@media (min-width: 768px) {
    .nav {
        padding-left: 48px;
        padding-right: 48px;
    }

    .nav-links {
        display: flex;
    }

    .menu-btn {
        display: none;
    }
}

.mobile-menu {
    position: absolute;
    left: 24px;
    right: 24px;
    top: calc(100% + 8px);
    background: white;
    border: 2px dashed var(--forest);
    border-radius: 16px;
    padding: 24px;
    display: none;
    flex-direction: column;
    gap: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.mobile-menu.open {
    display: flex;
}

.mobile-link {
    color: var(--forest);
    text-decoration: none;
    font-weight: 700;
}

.mobile-link:hover {
    color: var(--orange);
}

.hero {
    padding: 48px 24px 96px;
}

.hero-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    gap: 48px;
    align-items: center;
}

/* ensure hero stacks on very narrow devices and images do not overflow */
@media (max-width: 640px) {
    .hero-inner {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .hero-left, .hero-right {
        width: 100%;
    }

    .hero-img {
        max-width: 100%;
        height: auto;
    }
}

.hero-title {
    font-family: "Pangolin", cursive;
    font-weight: 700;
    font-size: 40px;
    line-height: 1.1;
    margin: 0 0 16px;
}

.hero-sub {
    color: #6d4a2b;
    font-size: 18px;
    line-height: 1.7;
    margin-bottom: 24px;
    max-width: 640px;
}

.hero-img {
    max-width: 520px;
    width: 100%;
    height: auto;
    display: block;
}

.hero-mascot-container {
    position: relative;
    display: inline-block;
}

.hero-logo-overlay {
    position: absolute;
    top: 50%;
    left: 43%;
    transform: translate(-50%, -50%);
    width: 70%;
    height: 70%;
    max-width: 280px;
    max-height: 280px;
    z-index: 10;
    filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.3));
    object-fit: contain;
    padding: 20px;
    box-sizing: border-box;
}

.btn {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 600;
    transition: 200ms ease;
}

.btn-primary {
    background: var(--forest);
    color: var(--beige);
}

.btn-primary:hover {
    background: var(--orange);
    transform: scale(1.03);
}

@media (min-width: 1024px) {
    .hero-inner {
        grid-template-columns: 1fr 1fr;
    }

    .hero-title {
        font-size: 64px;
    }
}

.section {
    padding: 80px 24px;
}

.section-alt {
    background: white;
}

.section-title {
    font-family: "Pangolin", cursive;
    font-size: 40px;
    margin: 0 0 40px;
    text-align: left;
}

.section .section-title {
    text-align: left;
}

.section .text-center .section-title,
.text-center .section-title {
    text-align: center;
}

.cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

.card {
    background: white;
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(34, 139, 34, 0.2);
}

.icon-circle {
    width: 48px;
    height: 48px;
    border-radius: 999px;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-circle i {
    color: white;
    font-size: 20px;
}

.bg-forest {
    background: var(--forest);
}

.bg-orange {
    background: var(--orange);
}

.bg-brown {
    background: var(--brown);
}

.card-title {
    font-family: "Calistoga", serif;
    font-size: 22px;
    margin: 0 0 12px;
    color: var(--forest);
}

.card-text {
    color: #6d4a2b;
    line-height: 1.7;
    margin: 0;
}

@media (min-width: 768px) {
    .cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .cards {
        grid-template-columns: repeat(3, 1fr);
    }
}

.highlight {
    background: var(--beige);
    border: 2px dashed var(--forest);
    border-radius: 16px;
    padding: 32px;
    margin: 48px 0;
    text-align: center;
}

.highlight-title {
    font-family: "Calistoga", serif;
    font-size: 32px;
    margin: 0 0 12px;
}

.highlight-text {
    color: var(--forest);
    font-size: 18px;
    line-height: 1.7;
    margin: 0;
}

.grid-3 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

@media (min-width: 768px) {
    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .grid-3 {
        grid-template-columns: repeat(3, 1fr);
    }
}

.work-card {
    display: block;
    background: white;
    border-radius: 16px;
    overflow: hidden;
    border: 2px dashed var(--forest);
    text-decoration: none;
    color: inherit;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
}

.work-thumb {
    height: 192px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.work-thumb.forest {
    background: rgba(34, 139, 34, 0.1);
}

.work-thumb.orange {
    background: rgba(255, 127, 50, 0.1);
}

.work-thumb.brown {
    background: rgba(139, 69, 19, 0.1);
}

.work-img {
    height: 64px;
    width: auto;
}

.work-overlay {
    position: absolute;
    inset: 0;
    background: rgba(34, 139, 34, 0.9);
    color: var(--beige);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: 200ms ease;
    font-family: "Calistoga", serif;
    font-size: 14px;
}

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

.work-body {
    padding: 24px;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    margin: 32px 0;
}

.contact-card {
    background: white;
    padding: 24px;
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
}

.contact-title {
    font-family: "Calistoga", serif;
    font-size: 20px;
    margin: 0 0 8px;
}

.link {
    color: #6d4a2b;
    text-decoration: none;
}

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

@media (min-width: 768px) {
    .contact-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.footer {
    background: var(--forest);
    color: var(--beige);
    padding: 48px 24px 24px;
}

.footer-inner {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
}

.footer-section {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-section h4 {
    font-family: "Calistoga", serif;
    font-size: 18px;
    margin: 0;
    color: var(--orange);
}

.footer-brand {
    font-family: "Pangolin", cursive;
    font-weight: 700;
    font-size: 28px;
    margin-bottom: 8px;
}

.footer-description {
    color: rgba(249, 245, 238, 0.9);
    line-height: 1.6;
    margin: 0;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-links a {
    color: var(--beige);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--orange);
}

.footer-section p {
    margin: 0;
    color: rgba(249, 245, 238, 0.9);
    line-height: 1.6;
}

.footer-section a {
    color: var(--beige);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--orange);
}

.socials {
    display: flex;
    gap: 24px;
}

/* Footer social centering and Instagram styling on small screens */
@media (max-width: 768px) {
    .footer .socials {
        justify-content: center;
        align-items: center;
    }

    .footer-instagram {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        color: var(--beige);
        text-decoration: none;
        font-weight: 600;
    }

    .footer-instagram i {
        font-size: 20px;
        color: var(--beige);
    }

    .footer-instagram-handle {
        display: inline-block;
        font-size: 14px;
    }
}

.social-link {
    color: var(--beige);
    text-decoration: none;
    transition: color 0.3s ease;
}

.social-link:hover {
    color: var(--orange);
}

.footer-bottom {
    border-top: 1px solid rgba(249, 245, 238, 0.2);
    padding-top: 24px;
    text-align: center;
}

.copyright {
    opacity: 0.8;
    text-align: center;
}

@media (min-width: 768px) {
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .footer-content {
        grid-template-columns: repeat(4, 1fr);
    }
}

.mascot {
    position: fixed;
    left: 0;
    /* place above the bottom safe inset (iOS notch/home indicator) with a small fallback */
    bottom: env(safe-area-inset-bottom, 12px);
    z-index: 50;
    display: inline-block;
    text-decoration: none;
}

.mascot-img-wrap {
    width: 80px;
    height: 80px;
    overflow: hidden;
    position: relative;
    transition: transform 300ms ease;
}

.mascot:hover .mascot-img-wrap {
    transform: translateY(-18px);
}

.mascot-img {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
}

.mascot-bubble {
    position: absolute;
    left: 32px;
    bottom: 100%;
    margin-bottom: 64px;
    background: var(--forest);
    color: var(--beige);
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 14px;
    white-space: nowrap;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    opacity: 0;
    pointer-events: none;
    transition: opacity 200ms ease;
    font-family: "Calistoga", serif;
}

.mascot:hover .mascot-bubble {
    opacity: 1;
}

/* Mobile mascot adjustments */
@media (max-width: 768px) {
    .mascot {
        bottom: calc(env(safe-area-inset-bottom, 12px) + 6px);
    }
    
    .mascot-img-wrap {
        width: 92px;
        height: 92px;
        transform: translateY(-18px);
    }
    
    .mascot-bubble {
        left: 40px;
        margin-bottom: 80px;
        font-size: 16px;
        padding: 10px 16px;
    }
}

@media (max-width: 480px) {
    .mascot {
        bottom: calc(env(safe-area-inset-bottom, 12px) + 8px);
    }
    
    .mascot-img-wrap {
        width: 108px;
        height: 108px;
        transform: translateY(-20px);
    }
    
    .mascot-bubble {
        left: 48px;
        margin-bottom: 100px;
        font-size: 18px;
        padding: 12px 20px;
    }
}

/* Desktop mascot adjustments */
@media (min-width: 1024px) {
    .mascot-img-wrap {
        width: 100px; /* Increase size on desktop */
        height: 100px;
    }
    
    .mascot-bubble {
        left: 40px;
        margin-bottom: 80px;
        font-size: 16px;
        padding: 10px 16px;
    }
}

@media (min-width: 1440px) {
    .mascot-img-wrap {
        width: 120px; /* Even larger on very large screens */
        height: 120px;
    }
    
    .mascot-bubble {
        left: 48px;
        margin-bottom: 100px;
        font-size: 18px;
        padding: 12px 20px;
    }
}

/* Comprehensive Mobile Responsiveness */
@media (max-width: 768px) {
    /* Navigation adjustments */
    .nav {
        padding: 16px;
    }
    
    .brand-logo {
        height: 60px;
    }
    
    /* Hero section mobile optimization */
    .hero {
        padding: 32px 16px 64px;
    }
    
    .hero-title {
        font-size: 32px;
        line-height: 1.2;
    }
    
    .hero-sub {
        font-size: 16px;
        line-height: 1.6;
    }
    
    .hero-img {
        max-width: 280px;
        margin: 0 auto;
    }
    
    .hero-logo-overlay {
        width: 75%;
        height: 75%;
        max-width: 200px;
        max-height: 200px;
        top: 50%;
        transform: translate(-50%, -50%);
        padding: 15px;
    }
    
    /* Services section mobile */
    .section {
        padding: 48px 16px;
    }
    
    .section-title {
        font-size: 28px;
        margin-bottom: 32px;
    }
    
    .cards {
        gap: 24px;
    }
    
    .card {
        padding: 24px;
    }
    
    .card-title {
        font-size: 20px;
    }
    
    .card-text {
        font-size: 15px;
    }
    
    /* Clients section mobile */
    .clients-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        margin: 32px 0;
    }
    
    .client-item {
        padding: 20px;
    }
    
    .client-logo {
        width: 60px;
        height: 60px;
    }
    
    .client-img {
        width: 45px;
        height: 45px;
    }
    
    .client-name {
        font-size: 16px;
    }
    
    .client-service {
        font-size: 13px;
    }
    
    /* CTA section mobile */
    .cta-section {
        margin-top: 48px;
        padding: 32px 24px;
    }
    
    .cta-title {
        font-size: 24px;
    }
    
    .cta-text {
        font-size: 16px;
    }
    
    /* Contact section mobile */
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .contact-card {
        padding: 24px;
    }
    
    /* Footer mobile */
    .footer {
        padding: 32px 16px;
    }
    
    .footer-inner {
        flex-direction: column;
        gap: 24px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    /* Extra small devices */
    .hero-title {
        font-size: 28px;
    }
    
    .hero-sub {
        font-size: 15px;
    }
    
    .hero-logo-overlay {
        width: 80%;
        height: 80%;
        max-width: 160px;
        max-height: 160px;
        top: 50%;
        transform: translate(-50%, -50%);
        padding: 12px;
    }
    
    .section-title {
        font-size: 24px;
    }
    
    .clients-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .client-item {
        padding: 16px;
    }
    
    .card {
        padding: 20px;
    }
    
    .btn {
        padding: 12px 20px;
        font-size: 16px;
        width: 100%;
        max-width: 300px;
    }
    
    .cta-buttons {
        flex-direction: column;
        gap: 12px;
    }
    
    .btn-secondary {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 360px) {
    /* Very small devices */
    .hero-title {
        font-size: 24px;
    }
    
    .section-title {
        font-size: 22px;
    }
    
    .nav {
        padding: 12px;
    }
    
    .brand-logo {
        height: 50px;
    }
    
    .container {
        padding: 0 16px;
    }
}

/* Landscape orientation adjustments */
@media (max-height: 500px) and (orientation: landscape) {
    .hero {
        padding: 24px 16px 48px;
    }
    
    .hero-title {
        font-size: 28px;
        margin-bottom: 12px;
    }
    
    .hero-sub {
        margin-bottom: 20px;
    }
    
    .section {
        padding: 32px 16px;
    }
}

/* High DPI displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .brand-logo,
    .client-img,
    .work-img {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* Touch device optimizations */
@media (hover: none) and (pointer: coarse) {
    .card:hover,
    .work-item:hover,
    .client-item:hover {
        transform: none;
    }
    
    .btn:hover,
    .work-link:hover {
        transform: none;
    }
    
    /* Increase touch targets */
    .nav-links a,
    .mobile-link,
    .btn {
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .mascot {
        min-width: 60px;
        min-height: 60px;
    }
}

/* Print styles */
@media print {
    .nav,
    .mascot,
    .btn {
        display: none;
    }
    
    .hero {
        padding: 20px 0;
    }
    
    .section {
        padding: 20px 0;
        break-inside: avoid;
    }
}

/* Work page specific styles */
.work-hero {
    padding: 80px 24px 120px;
    text-align: center;
}

.work-hero .hero-title {
    font-size: 48px;
    margin-bottom: 24px;
}

.work-hero .hero-sub {
    font-size: 20px;
    max-width: 600px;
    margin: 0 auto;
}

.work-grid {
    display: grid;
    gap: 48px;
    margin-top: 48px;
}

.work-item {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    border: 2px dashed var(--forest);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.work-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.12);
}

.work-thumb {
    position: relative;
    height: 300px;
    overflow: hidden;
}

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

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

.work-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(34, 139, 34, 0.9);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    color: white;
    gap: 12px;
}

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

.overlay-text {
    font-size: 18px;
    font-weight: 600;
    font-family: "Calistoga", serif;
}

.work-overlay i {
    font-size: 24px;
}

.work-content {
    padding: 32px;
}

.work-title {
    font-family: "Calistoga", serif;
    font-size: 28px;
    margin: 0 0 16px;
    color: var(--forest);
}

.work-description {
    color: #6d4a2b;
    line-height: 1.7;
    margin: 0 0 24px;
    font-size: 16px;
}

.work-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 24px;
}

.tag {
    background: var(--beige);
    color: var(--forest);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    border: 1px solid var(--forest);
}

.work-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--orange);
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: color 0.3s ease;
}

.work-link:hover {
    color: var(--forest);
}

.work-link i {
    transition: transform 0.3s ease;
}

.work-link:hover i {
    transform: translateX(4px);
}

@media (min-width: 768px) {
    .work-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
    }
    
    .work-hero .hero-title {
        font-size: 56px;
    }
}

@media (min-width: 1024px) {
    .work-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 40px;
    }
    
    .work-hero .hero-title {
        font-size: 64px;
    }
}

/* Work page mobile responsiveness */
@media (max-width: 768px) {
    .work-hero {
        padding: 48px 16px 80px;
    }
    
    .work-hero .hero-title {
        font-size: 36px;
    }
    
    .work-hero .hero-sub {
        font-size: 18px;
    }
    
    .work-grid {
        gap: 32px;
        margin-top: 32px;
    }
    
    .work-item {
        border-radius: 16px;
    }
    
    .work-thumb {
        height: 200px;
    }
    
    .work-content {
        padding: 24px;
    }
    
    .work-title {
        font-size: 24px;
    }
    
    .work-description {
        font-size: 15px;
    }
    
    .work-tags {
        gap: 6px;
        margin-bottom: 20px;
    }
    
    .tag {
        font-size: 13px;
        padding: 5px 10px;
    }
}

@media (max-width: 480px) {
    .work-hero .hero-title {
        font-size: 32px;
    }
    
    .work-hero .hero-sub {
        font-size: 16px;
    }
    
    .work-grid {
        gap: 24px;
    }
    
    .work-thumb {
        height: 180px;
    }
    
    .work-content {
        padding: 20px;
    }
    
    .work-title {
        font-size: 22px;
    }
    
    .work-description {
        font-size: 14px;
    }
}

/* Clients section styles */
.clients-grid {
    display: grid;
    gap: 32px;
    margin: 48px 0;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.client-item {
    background: white;
    padding: 24px;
    border-radius: 16px;
    border: 2px dashed var(--forest);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.client-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
}

.client-logo {
    width: 100px;
    height: 100px;
    margin: 0 auto 16px;
    border-radius: 0;
    overflow: visible;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
}

.client-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease, opacity 0.3s ease, filter 0.3s ease;
}

.client-name {
    font-family: "Calistoga", serif;
    font-size: 18px;
    margin: 0 0 8px;
    color: var(--forest);
}

.client-service {
    color: #6d4a2b;
    font-size: 14px;
    margin: 0;
    font-weight: 500;
}

/* Logos-only variant */
.clients-grid.logos-only {
    grid-template-columns: repeat(5, minmax(120px, 1fr));
    gap: 40px 48px;
}

.clients-grid.logos-only .client-item {
    box-shadow: none;
    border: none;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.clients-grid.logos-only .client-item:hover .client-img {
    transform: scale(1.06);
}

@media (max-width: 1024px) {
    .clients-grid.logos-only {
        grid-template-columns: repeat(4, minmax(110px, 1fr));
    }
}

@media (max-width: 768px) {
    .clients-grid.logos-only {
        grid-template-columns: repeat(3, minmax(100px, 1fr));
        gap: 32px 24px;
    }
}

/* Reveal on scroll animations */
.reveal {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 500ms ease, transform 500ms ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    .reveal,
    .reveal.visible,
    .client-img {
        transition: none !important;
        transform: none !important;
    }
}
@media (max-width: 480px) {
    .clients-grid.logos-only {
        grid-template-columns: repeat(2, minmax(100px, 1fr));
        gap: 24px 16px;
    }
}

.cta-section {
    margin-top: 64px;
    padding: 48px;
    background: white;
    border-radius: 20px;
    border: 2px dashed var(--forest);
}

.cta-title {
    font-family: "Calistoga", serif;
    font-size: 28px;
    margin: 0 0 16px;
    color: var(--forest);
}

.cta-text {
    color: #6d4a2b;
    font-size: 18px;
    margin: 0 0 32px;
    line-height: 1.6;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-secondary {
    background: transparent;
    color: var(--forest);
    border: 2px solid var(--forest);
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-secondary:hover {
    background: var(--forest);
    color: white;
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .clients-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
    
    .cta-section {
        padding: 32px 24px;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-secondary {
        width: 100%;
        max-width: 300px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .clients-grid {
        grid-template-columns: 1fr;
    }
}

/* utilities */
.page {
    min-height: 100vh;
    /* Ensure content doesn't get hidden behind iOS home indicator / safe area */
    padding-bottom: env(safe-area-inset-bottom, 16px);
}

.text-center .section-title {
    text-align: center;
}

/* Team Section Styles */
.team-grid {
    display: grid;
    /* allow the grid to fit as many columns as will comfortably fit, each at least 240px */
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 28px;
    margin-top: 48px;
    /* stretch grid items so cards match height on the same row */
    align-items: stretch;
}

.team-member {
    background: white;
    border-radius: 16px;
    padding: 28px 24px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(34, 139, 34, 0.2);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.team-member:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.member-avatar {
    margin-bottom: 20px;
}

.member-photo {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
    margin: 0 auto;
    border: 3px solid rgba(34, 139, 34, 0.3);
}

.avatar-placeholder {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.avatar-placeholder i {
    color: white;
    font-size: 32px;
}

.member-name {
    font-family: "Calistoga", serif;
    font-size: 24px;
    margin: 0 0 8px;
    color: var(--forest);
}

.member-role {
    font-weight: 600;
    color: var(--orange);
    margin: 0 0 16px;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.member-bio {
    color: #6d4a2b;
    line-height: 1.6;
    margin: 0 0 20px;
    font-size: 14px;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.3s ease, opacity 0.3s ease;
}

.team-member.open .member-bio {
    opacity: 1;
}

.team-member:focus-visible {
    outline: 3px solid var(--orange);
    outline-offset: 4px;
}

/* stronger focus styles for keyboard users site-wide */
:focus-visible {
    outline: 3px solid var(--orange);
    outline-offset: 3px;
}

.member-socials {
    display: flex;
    justify-content: center;
    gap: 12px;
}

.member-socials .social-link {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--forest);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

.member-socials .social-link:hover {
    background: var(--orange);
    transform: scale(1.1);
}

.member-socials .social-link i {
    font-size: 16px;
}

@media (min-width: 768px) {
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .team-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    /* keep above bottom safe-area with fallback */
    bottom: calc(env(safe-area-inset-bottom, 12px) + 100px);
    right: 24px;
    width: 60px;
    height: 60px;
    background: #25D366;
    color: white;
    border-radius: 50%;
    text-align: center;
    font-size: 30px;
    box-shadow: 0 4px 16px rgba(37, 211, 102, 0.3);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    animation: whatsapp-pulse 2s infinite;
}

.whatsapp-float:hover {
    background: #128C7E;
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

@keyframes whatsapp-pulse {
    0% {
        box-shadow: 0 4px 16px rgba(37, 211, 102, 0.3);
    }
    50% {
        box-shadow: 0 4px 16px rgba(37, 211, 102, 0.6);
    }
    100% {
        box-shadow: 0 4px 16px rgba(37, 211, 102, 0.3);
    }
}

@media (max-width: 768px) {
    .whatsapp-float {
        bottom: calc(env(safe-area-inset-bottom, 12px) + 64px);
        right: 16px;
        width: 50px;
        height: 50px;
        font-size: 24px;
    }
    
    /* Mobile SEO Optimizations */
    .hero-title {
        font-size: 36px;
        line-height: 1.2;
    }
    
    .section-title {
        font-size: 28px;
        line-height: 1.3;
    }
    
    .card-title {
        font-size: 20px;
    }
    
    .lead {
        font-size: 16px;
        line-height: 1.6;
    }
    
    /* Mobile Performance */
    .hero-img {
        max-width: 100%;
        height: auto;
    }
    
    .brand-logo {
        height: 60px;
    }
    
    /* Mobile Accessibility */
    .nav-links a,
    .mobile-link {
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .btn {
        min-height: 44px;
        padding: 12px 24px;
    }
    
    /* Mobile SEO Performance */
    .hero-img {
        will-change: transform;
    }
    
    .card {
        will-change: transform;
    }
    
    /* Mobile Loading Optimization: use attributes on images (loading="lazy") in HTML instead of CSS */
}

/* Additional SEO Optimizations */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* One-box section for DM & Web Design */
.one-box {
    background: white;
    border: 2px dashed var(--forest);
    border-radius: 20px;
    padding: 32px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.one-box-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 16px;
}

.one-box-col {
    background: var(--beige);
    border: 1px solid rgba(34, 139, 34, 0.2);
    border-radius: 12px;
    padding: 16px;
}

.one-box-list {
    margin: 0;
    padding-left: 18px;
    color: #6d4a2b;
    line-height: 1.7;
}

.one-box-cta {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.one-box-note {
    font-weight: 600;
    color: var(--forest);
}

@media (min-width: 768px) {
    .one-box-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
        margin-top: 24px;
    }
}

/* Additional responsive improvements for laptops, Mac/PC and large screens */
/* Fluid typography for headings to scale smoothly between devices */
.hero-title {
    font-size: clamp(28px, 4.5vw, 64px);
}

.section-title {
    font-size: clamp(22px, 2.8vw, 40px);
}

/* Wider container on very large screens */
@media (min-width: 1200px) {
    .container {
        max-width: 1400px;
        padding: 0 32px;
    }

    .hero-inner {
        grid-template-columns: 1fr 1fr;
        gap: 64px;
    }

    .hero-img {
        max-width: 640px;
    }

    .brand-logo {
        height: 96px;
    }

    .nav-links {
        gap: 40px;
    }

    .whatsapp-float {
        bottom: calc(env(safe-area-inset-bottom, 12px) + 140px);
        right: 32px;
    }
}

/* Intermediate breakpoints for smoother scaling */
@media (min-width: 900px) and (max-width: 1199px) {
    .hero-inner {
        grid-template-columns: 1fr 1fr;
        gap: 48px;
        align-items: center;
    }

    .hero-img {
        max-width: 520px;
        margin: 0 auto;
    }
}

/* Team grid: 1 column on small, 2 on tablets, 3 on medium laptops, 4 on large desktop */
@media (min-width: 700px) {
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 900px) {
    .team-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 1200px) {
    .team-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Responsive avatar sizing */
.member-photo {
    width: clamp(72px, 6vw, 120px);
    height: clamp(72px, 6vw, 120px);
}

/* Ensure images never overflow their containers */
img {
    max-width: 100%;
    height: auto;
}


/* Print Styles for SEO */
@media print {
    .nav, .mascot, .whatsapp-float {
        display: none !important;
    }
    
    .hero {
        page-break-after: avoid;
    }
    
    .section {
        page-break-inside: avoid;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
    }
    
    .hero-title {
        font-size: 24pt;
    }
    
    .section-title {
        font-size: 18pt;
    }
}


@media (max-width: 360px) {
    .mascot,
    .mascot-img-wrap,
    .mascot-bubble {
        display: none !important;
    }
}