/* ===== Design tokens ===== */
:root {
    --color-sage: #6f8f74;
    --color-sage-dark: #52704f;
    --color-sage-light: #e4ece2;
    --color-terracotta: #dd8f66;
    --color-terracotta-dark: #c06f4a;
    --color-cream: #fdfaf4;
    --color-cream-alt: #f4ece0;
    --color-charcoal: #332e2a;
    --color-charcoal-light: #6c655c;
    --color-white: #ffffff;
    --color-border: #e6ddcd;

    --font-heading: "Fraunces", "Georgia", serif;
    --font-body: "Inter", "Segoe UI", sans-serif;

    --radius-sm: 10px;
    --radius-md: 18px;
    --radius-lg: 28px;

    --shadow-soft: 0 12px 32px rgba(51, 46, 42, 0.08);
    --shadow-lift: 0 20px 45px rgba(51, 46, 42, 0.14);

    --container-width: 1140px;
}

/* ===== Reset ===== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: var(--font-body);
    color: var(--color-charcoal);
    background: var(--color-cream);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { padding-left: 1.2rem; }
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    line-height: 1.2;
    margin: 0 0 0.6em;
    color: var(--color-charcoal);
}
p { margin: 0 0 1em; }

.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    background: var(--color-sage);
    color: #fff;
    padding: 0.75rem 1.25rem;
    z-index: 1000;
    border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--color-sage-dark);
    margin: 0 0 1rem;
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.85rem 1.6rem;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.98rem;
    border: 2px solid transparent;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
    white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
    background: var(--color-sage);
    color: #fff;
    box-shadow: var(--shadow-soft);
}
.btn-primary:hover { background: var(--color-sage-dark); }
.btn-outline {
    background: transparent;
    border-color: var(--color-charcoal);
    color: var(--color-charcoal);
}
.btn-outline:hover { background: var(--color-charcoal); color: #fff; }
.btn-whatsapp {
    background: #25d366;
    color: #fff;
    box-shadow: var(--shadow-soft);
}
.btn-whatsapp:hover { background: #1ebc59; }
.btn-whatsapp-icon { width: 20px; height: 20px; }

/* ===== Header ===== */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(253, 250, 244, 0.92);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--color-border);
}
.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.9rem 1.5rem;
    gap: 1rem;
}
.brand { display: flex; align-items: center; gap: 0.7rem; }
.brand__mark { display: flex; align-items: center; }
.brand__mark img { height: 42px; width: auto; }
.brand__text { display: flex; flex-direction: column; line-height: 1.15; }
.brand__name { font-family: var(--font-heading); font-weight: 600; font-size: 1.15rem; }
.brand__title { font-size: 0.72rem; color: var(--color-charcoal-light); letter-spacing: 0.03em; }

.site-nav {
    display: flex;
    align-items: center;
    gap: 1.8rem;
}
.site-nav a:not(.btn) {
    font-weight: 500;
    color: var(--color-charcoal-light);
    position: relative;
    padding: 0.25rem 0;
}
.site-nav a:not(.btn):hover { color: var(--color-sage-dark); }

.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 42px;
    height: 42px;
    border: none;
    background: transparent;
    cursor: pointer;
}
.nav-toggle span {
    display: block;
    height: 2px;
    width: 24px;
    background: var(--color-charcoal);
    margin: 0 auto;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

/* ===== Hero ===== */
.hero { padding: 4rem 0 3rem; overflow: hidden; }
.hero__inner {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
    gap: 3rem;
}
.hero h1 {
    font-size: clamp(2.1rem, 4vw, 3.1rem);
    margin-bottom: 0.7em;
}
.hero h1 span { color: var(--color-terracotta-dark); }
.hero__lead {
    font-size: 1.1rem;
    color: var(--color-charcoal-light);
    max-width: 42ch;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; margin: 1.6rem 0; }
.hero__badges { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.hero__badges span {
    background: var(--color-white);
    border: 1px solid var(--color-border);
    padding: 0.4rem 0.9rem;
    border-radius: 999px;
    font-size: 0.82rem;
    color: var(--color-charcoal-light);
}
.hero__art { width: 100%; display: flex; justify-content: center; }
.hero__photo-frame {
    position: relative;
    width: 100%;
    max-width: 380px;
    aspect-ratio: 4 / 5;
}
.hero__photo-frame::before {
    content: "";
    position: absolute;
    inset: -18px;
    background: linear-gradient(135deg, var(--color-sage), var(--color-terracotta));
    opacity: 0.18;
    border-radius: 40% 60% 55% 45% / 45% 40% 60% 55%;
    z-index: 0;
}
.hero__photo {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lift);
    border: 6px solid var(--color-white);
}

/* ===== Sections ===== */
.section { padding: 3.5rem 0; }
.section--alt { background: var(--color-cream-alt); }
.section__title {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    text-align: center;
}
.section__lead {
    text-align: center;
    color: var(--color-charcoal-light);
    max-width: 60ch;
    margin: -0.5rem auto 2.5rem;
}
.section__cta { text-align: center; margin-top: 2.5rem; }

.page-hero {
    padding: 3.5rem 0 2.5rem;
    background: var(--color-cream-alt);
    border-bottom: 1px solid var(--color-border);
}
.page-hero h1 { font-size: clamp(2rem, 4vw, 2.8rem); }
.page-hero__lead { color: var(--color-charcoal-light); max-width: 60ch; font-size: 1.05rem; }
.page-hero--article { background: var(--color-cream-alt); }
.blog-article__meta { color: var(--color-charcoal-light); font-size: 0.92rem; }

/* ===== Cards ===== */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.6rem;
}
.card-grid--blog { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }

.service-card {
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 2rem 1.7rem;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.service-card:hover { box-shadow: var(--shadow-soft); transform: translateY(-3px); }
.service-card h3 { font-size: 1.15rem; margin-top: 0.9rem; }
.service-card p { color: var(--color-charcoal-light); font-size: 0.95rem; margin-bottom: 0; }

.icon {
    width: 34px;
    height: 34px;
    color: var(--color-sage-dark);
    background: var(--color-sage-light);
    border-radius: 50%;
    padding: 8px;
    box-sizing: content-box;
}

/* ===== About teaser ===== */
.about-teaser__grid, .about-content {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 3rem;
    align-items: center;
}
.about-content__text p { color: var(--color-charcoal-light); }

/* ===== Timeline ===== */
.timeline { display: flex; flex-direction: column; gap: 1.8rem; position: relative; padding-left: 1.6rem; border-left: 2px solid var(--color-border); }
.timeline__item { position: relative; }
.timeline__dot {
    position: absolute;
    left: -1.95rem;
    top: 0.3rem;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--color-sage);
    border: 3px solid var(--color-cream);
    box-shadow: 0 0 0 2px var(--color-sage);
}
.timeline__date { color: var(--color-terracotta-dark); font-weight: 600; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.04em; }
.timeline__content h3 { margin: 0.3rem 0 0.2rem; font-size: 1.1rem; }
.timeline__content p { color: var(--color-charcoal-light); margin: 0; }

.chip-grid { display: flex; flex-wrap: wrap; gap: 0.7rem; justify-content: center; }
.chip {
    background: var(--color-white);
    border: 1px solid var(--color-border);
    padding: 0.55rem 1.1rem;
    border-radius: 999px;
    font-size: 0.9rem;
}
.about-award { text-align: center; margin-top: 2rem; color: var(--color-charcoal-light); }

/* ===== Team ===== */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.8rem;
    max-width: 800px;
    margin: 0 auto;
}
.team-card {
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 2rem 1.8rem 1.8rem;
    text-align: center;
}
.team-card__photo {
    width: 130px;
    height: 130px;
    border-radius: 50%;
    margin: 0 auto 1.1rem;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    border: 4px solid var(--color-cream-alt);
}
.team-card__photo img { width: 100%; height: 100%; object-fit: cover; }
.team-card__photo--placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-sage-light);
}
.team-card__photo--placeholder span {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 600;
    color: var(--color-sage-dark);
}
.team-card h3 { font-size: 1.2rem; margin-bottom: 0.2rem; }
.team-card__role { color: var(--color-terracotta-dark); font-weight: 600; font-size: 0.88rem; margin-bottom: 1.3rem; }
.team-card__section { text-align: left; margin-top: 1.1rem; }
.team-card__section h4 {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--color-charcoal-light);
    margin-bottom: 0.5rem;
}
.team-card__section ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 0.4rem; }
.team-card__section li {
    font-size: 0.92rem;
    color: var(--color-charcoal);
    padding-left: 1.2rem;
    position: relative;
}
.team-card__section li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.5em;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--color-sage);
}
.team-card__social { margin-top: 1.4rem; display: flex; justify-content: center; }
.team-card__social a {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 1rem;
    border-radius: 999px;
    border: 1px solid var(--color-border);
    color: var(--color-charcoal-light);
    font-size: 0.85rem;
    font-weight: 600;
    transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.team-card__social a svg { width: 18px; height: 18px; }
.team-card__social a:hover {
    background: var(--color-terracotta);
    border-color: var(--color-terracotta);
    color: #fff;
}

/* ===== Blog cards ===== */
.blog-card {
    display: flex;
    flex-direction: column;
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.blog-card:hover { box-shadow: var(--shadow-soft); transform: translateY(-3px); }
.blog-card__image { aspect-ratio: 16 / 10; background: var(--color-sage-light); overflow: hidden; }
.blog-card__image img { width: 100%; height: 100%; object-fit: cover; }
.blog-card__placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; }
.blog-card__placeholder .icon { width: 40px; height: 40px; background: transparent; }
.blog-card__body { padding: 1.4rem 1.5rem 1.6rem; }
.blog-card__date { font-size: 0.8rem; color: var(--color-terracotta-dark); font-weight: 600; }
.blog-card__body h3 { font-size: 1.15rem; margin: 0.4rem 0 0.5rem; }
.blog-card__body p { color: var(--color-charcoal-light); font-size: 0.93rem; margin: 0; }

.blog-article__cover { margin: 0 auto 1rem; max-width: var(--container-width); }
.blog-article__cover img { border-radius: var(--radius-md); width: 100%; max-height: 420px; object-fit: cover; }
.blog-article__content { max-width: 74ch; margin: 0 auto; }
.blog-article__content h2 { margin-top: 1.6em; font-size: 1.5rem; }
.blog-article__content h3 { margin-top: 1.3em; font-size: 1.2rem; }
.blog-article__content ul, .blog-article__content ol { color: var(--color-charcoal); margin-bottom: 1.2em; }
.blog-article__content p { color: var(--color-charcoal); }

.pagination { display: flex; justify-content: center; gap: 0.5rem; margin-top: 2.5rem; }
.pagination__link {
    width: 40px; height: 40px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 50%;
    border: 1px solid var(--color-border);
    font-weight: 600;
}
.pagination__link.is-active { background: var(--color-sage); color: #fff; border-color: var(--color-sage); }
.empty-state { text-align: center; color: var(--color-charcoal-light); padding: 2rem 0; }

/* ===== FAQ ===== */
.faq { max-width: 74ch; margin: 0 auto; }
.faq__item { padding: 1.4rem 0; border-bottom: 1px solid var(--color-border); }
.faq__item:last-child { border-bottom: none; }
.faq__item h3 { font-size: 1.05rem; margin-bottom: 0.4rem; }
.faq__item p { color: var(--color-charcoal-light); margin: 0; }

/* ===== Callback (Sizi Arayalım) ===== */
.callback-section { padding-top: 1rem; }
.callback-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 3rem;
    align-items: start;
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 2.8rem;
    box-shadow: var(--shadow-soft);
}
.callback-intro h2 { font-size: 1.8rem; margin-bottom: 0.6rem; }
.callback-intro p { color: var(--color-charcoal-light); }
.callback-intro__alt { margin-top: 1.8rem; padding-top: 1.5rem; border-top: 1px solid var(--color-border); }
.callback-intro__alt-text { font-size: 0.88rem; color: var(--color-charcoal-light); margin-bottom: 0.7rem; }
.callback-intro__alt .btn-whatsapp {
    background: transparent;
    color: var(--color-charcoal-light);
    border: 1px solid var(--color-border);
    box-shadow: none;
    font-size: 0.85rem;
    padding: 0.6rem 1.2rem;
}
.callback-intro__alt .btn-whatsapp:hover { background: var(--color-cream-alt); color: var(--color-charcoal); }
.callback-form .form-group { margin-bottom: 1.1rem; }
.callback-form label { display: block; font-weight: 600; font-size: 0.9rem; margin-bottom: 0.4rem; }
.callback-form input,
.callback-form textarea {
    width: 100%;
    padding: 0.75rem 0.9rem;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 0.96rem;
    background: var(--color-cream);
}
.callback-form input:focus, .callback-form textarea:focus { outline: 2px solid var(--color-sage); outline-offset: 1px; }
.callback-form textarea { resize: vertical; }
.callback-form__message { margin-top: 1rem; font-size: 0.92rem; font-weight: 600; min-height: 1.3em; }
.callback-form__message.is-success { color: var(--color-sage-dark); }
.callback-form__message.is-error { color: #b23a3a; }

/* ===== CTA ===== */
.cta-section { background: var(--color-charcoal); color: #fff; border-radius: var(--radius-lg); margin: 0 1.5rem 3.5rem; }
.cta-section .container { max-width: calc(var(--container-width) - 3rem); }
.cta-section__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    padding: 3rem 2.5rem;
    flex-wrap: wrap;
}
.cta-section h2 { color: #fff; font-size: 1.6rem; margin-bottom: 0.4rem; }
.cta-section p { color: #d8d3c9; margin: 0; }

/* ===== Footer ===== */
.site-footer { background: var(--color-cream-alt); border-top: 1px solid var(--color-border); padding: 3rem 0 1.5rem; margin-top: 2rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2.5rem; }
.footer-grid h4 { font-size: 0.95rem; margin-bottom: 0.9rem; }
.footer-grid p { color: var(--color-charcoal-light); font-size: 0.9rem; }
.footer-location { display: flex; align-items: center; gap: 0.4rem; }
.footer-tabela { max-width: 260px; width: 100%; height: auto; margin-bottom: 1rem; }
.footer-links, .footer-contact { display: flex; flex-direction: column; gap: 0.55rem; }
.footer-links a, .footer-contact a { color: var(--color-charcoal-light); font-size: 0.92rem; }
.footer-links a:hover, .footer-contact a:hover { color: var(--color-sage-dark); }
.footer-bottom { border-top: 1px solid var(--color-border); margin-top: 2.2rem; padding-top: 1.2rem; text-align: center; }
.footer-bottom p { color: var(--color-charcoal-light); font-size: 0.85rem; margin: 0; }

/* ===== WhatsApp floating button ===== */
.whatsapp-fab {
    position: fixed;
    bottom: 1.6rem;
    right: 1.6rem;
    width: 60px;
    height: 60px;
    background: #25d366;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lift);
    z-index: 200;
    animation: pulse 2.4s infinite;
}
.whatsapp-fab svg { width: 30px; height: 30px; }
@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.45), var(--shadow-lift); }
    70% { box-shadow: 0 0 0 14px rgba(37, 211, 102, 0), var(--shadow-lift); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0), var(--shadow-lift); }
}

/* ===== Responsive ===== */
@media (max-width: 900px) {
    .hero__inner { grid-template-columns: 1fr; }
    .hero__art { max-width: 320px; margin: 0 auto; }
    .about-teaser__grid, .about-content { grid-template-columns: 1fr; }
    .about-teaser__art, .about-content__art { max-width: 280px; margin: 0 auto; }
    .footer-grid { grid-template-columns: 1fr; text-align: center; }
    .footer-location { justify-content: center; }
    .callback-grid { grid-template-columns: 1fr; padding: 2rem; }
}

@media (max-width: 760px) {
    .nav-toggle { display: flex; }
    .site-nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--color-cream);
        border-bottom: 1px solid var(--color-border);
        flex-direction: column;
        align-items: flex-start;
        padding: 1.2rem 1.5rem 1.6rem;
        gap: 1rem;
        display: none;
    }
    .site-nav.is-open { display: flex; }
    .cta-section__inner { justify-content: center; text-align: center; }
    .cta-section { margin: 0 1rem 2.5rem; }
}
