/* ==========================================================================
   Alivre Main CSS Library
   Ortak kullanım: Ana sayfa, hizmet sayfaları, blog, iletişim, hakkımızda, referanslar
   ========================================================================== */

:root {
    --primary: #d71952;
    --primary-dark: #b91343;
    --navy: #071525;
    --navy-2: #0c1b2d;
    --text: #111827;
    --muted: #667085;
    --light: #f6f8fb;
    --border: #e8edf3;
    --white: #ffffff;
    --green: #25d366;
    --warning: #ffb020;
    --shadow: 0 18px 50px rgba(7, 21, 37, .10);
    --shadow-soft: 0 12px 35px rgba(7, 21, 37, .05);
    --radius: 22px;
    --radius-sm: 14px;
    --container: 1180px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: 'Roboto', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--text);
    background: var(--white);
    line-height: 1.6;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    text-decoration: none;
    color: inherit;
}

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

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

.container {
    width: min(var(--container), calc(100% - 40px));
    margin: 0 auto;
}

.section {
    padding: 86px 0;
}

.section-sm {
    padding: 58px 0;
}

.light {
    background: var(--light);
}

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

.dark .section-title,
.dark h2,
.dark h3 {
    color: var(--white);
}

.dark p,
.dark .section-desc {
    color: rgba(255, 255, 255, .74);
}

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

.mt-0 {
    margin-top: 0;
}

.mt-24 {
    margin-top: 24px;
}

.mt-34 {
    margin-top: 34px;
}

.eyebrow {
    display: inline-flex;
    color: var(--primary);
    background: rgba(215, 25, 82, .08);
    font-size: 13px;
    font-weight: 600;
    padding: 7px 12px;
    border-radius: 999px;
    margin-bottom: 14px;
}

.dark .eyebrow {
    background: rgba(255, 255, 255, .12);
    color: var(--white);
}

.section-title {
    font-size: clamp(30px, 4vw, 46px);
    line-height: 1.08;
    margin: 0 0 14px;
    letter-spacing: -0.5px;
    color: var(--navy);
    font-weight: 700;
}

.section-title strong,
.hero h1 strong {
    color: var(--primary);
}

.section-desc {
    color: var(--muted);
    font-size: 17px;
    margin: 0 auto 34px;
    max-width: 760px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 50px;
    padding: 14px 22px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 15px;
    border: 1px solid transparent;
    transition: .2s ease;
    cursor: pointer;
    white-space: nowrap;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), #ee3269);
    color: var(--white);
    box-shadow: 0 14px 28px rgba(215, 25, 82, .25);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 34px rgba(215, 25, 82, .32);
}

.btn-outline {
    background: var(--white);
    border-color: rgba(215, 25, 82, .25);
    color: var(--primary);
}

.btn-whatsapp {
    background: var(--white);
    border-color: rgba(37, 211, 102, .35);
    color: #128c43;
}

.top-bar {
    background: #0f172a;
    color: rgba(255, 255, 255, 0.7);
    font-size: 13px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

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

.top-bar a {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease, opacity 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.top-bar a:hover {
    opacity: 0.8;
}

.top-bar a svg {
    color: var(--primary);
    width: 14px;
    height: 14px;
}

.header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(255, 255, 255, .92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(232, 237, 243, .8);
}

.nav {
    min-height: 82px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.logo {
    display: flex;
    flex-direction: column;
    line-height: 1;
    color: var(--primary);
    font-weight: 900;
    font-size: 38px;
    letter-spacing: -1px;
}

.logo img {
    height: 48px;
    width: auto;
    display: block;
    object-fit: contain;
}

.logo span {
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 3px;
    margin-left: 4px;
    margin-top: 4px;
}

.menu {
    color: #1f2937;
    display: flex;
    align-items: center;
}

.menu > ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 44px;
}

.menu-item {
    position: relative;
}

.menu-item > a {
    font-family: 'Manrope', 'Plus Jakarta Sans', 'Inter', sans-serif;
    color: #1f2937;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: -0.2px;
    padding: 8px 0;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    z-index: 1;
}

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

@media (min-width: 769px) {
    .menu > ul > .menu-item > a {
        background: linear-gradient(to right, var(--primary) 50%, #1f2937 50%);
        background-size: 200% 100%;
        background-position: 100% 0;
        -webkit-background-clip: text;
        background-clip: text;
        -webkit-text-fill-color: transparent;
        color: transparent;
        transition: background-position 0.85s cubic-bezier(0.16, 1, 0.3, 1);
    }

    .menu > ul > .menu-item > a:hover,
    .menu > ul > .menu-item.active > a {
        background-position: 0 0;
    }

    .menu > ul > .menu-item > a .chevron {
        border-color: #1f2937;
        transition: border-color 0.85s cubic-bezier(0.16, 1, 0.3, 1), transform 0.2s ease;
    }

    .menu > ul > .menu-item > a:hover .chevron,
    .menu > ul > .menu-item.active > a .chevron {
        border-color: var(--primary);
    }
}

/* Chevron icon for submenus */
.chevron {
    display: inline-block;
    width: 6px;
    height: 6px;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: rotate(45deg) translateY(-2px);
    transition: transform 0.2s ease;
}

.menu-item:hover .chevron {
    transform: rotate(225deg) translateY(2px);
}

.dropdown-submenu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    min-width: 200px;
    padding: 12px;
    list-style: none;
    margin: 12px 0 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
    z-index: 100;
    
    /* Animation & Hide by default */
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(8px);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Make hover zone contiguous */
.menu-item::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 14px;
}

.menu-item:hover .dropdown-submenu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}

.dropdown-submenu .menu-item {
    width: 100%;
}

.dropdown-submenu .menu-item > a {
    font-size: 13.5px;
    font-weight: 500;
    color: #374151;
    padding: 6px 12px;
    border-radius: 8px;
    display: block;
    width: 100%;
    transition: all 0.15s ease;
}

.dropdown-submenu .menu-item > a:hover {
    background: rgba(215, 25, 82, 0.05);
    color: var(--primary);
}

.hero {
    padding: 82px 0 78px;
    background:
        radial-gradient(circle at 8% 20%, rgba(215, 25, 82, .08), transparent 24%),
        linear-gradient(180deg, #fff 0%, #f8fbff 100%);
    overflow: hidden;
}

.hero-grid,
.split {
    display: grid;
    grid-template-columns: 1fr 1.05fr;
    align-items: center;
    gap: 58px;
}

.hero h1 {
    font-size: clamp(28px, 3.4vw, 40px);
    line-height: 1.2;
    letter-spacing: -0.5px;
    margin: 0 0 20px;
    color: var(--navy);
    font-weight: 800;
}

.hero p {
    font-size: 19px;
    color: #475467;
    margin: 0 0 28px;
    max-width: 640px;
}

.cta-row {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.trust-row {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
    margin-top: 22px;
    color: #344054;
    font-size: 14px;
    font-weight: 600;
}

.mockup,
.image-placeholder {
    min-height: 360px;
    border-radius: 34px;
    background: transparent;
    border: none;
    box-shadow: none;
    display: grid;
    place-items: center;
    padding: 0;
    color: #6b7280;
    text-align: center;
    font-weight: 900;
}

.dark .image-placeholder,
.dark .mockup {
    background: transparent;
    border-color: transparent;
    color: rgba(255, 255, 255, .68);
}

.mockup-screen {
    width: 100%;
    aspect-ratio: 16 / 10;
    background: linear-gradient(135deg, #e5e7eb, #f8fafc);
    border: 12px solid #111827;
    border-radius: 34px;
    display: grid;
    place-items: center;
    color: #6b7280;
    text-align: center;
    font-weight: 900;
}

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

.cards-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
}

.cards-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px 24px;
    box-shadow: var(--shadow-soft);
}

a.card {
    text-decoration: none;
    display: block;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

a.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.06);
    border-color: rgba(215, 25, 82, 0.3);
}

.dark .card {
    background: rgba(255, 255, 255, .06);
    border-color: rgba(255, 255, 255, .12);
    box-shadow: none;
}

.card h3 {
    margin: 0 0 8px;
    font-size: 20px;
    color: var(--navy);
}

.dark .card h3 {
    color: var(--white);
}

.card p {
    margin: 0;
    color: var(--muted);
    font-size: 15px;
}

.icon {
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    border-radius: 15px;
    background: rgba(215, 25, 82, .09);
    color: var(--primary);
    font-weight: 900;
    margin-bottom: 14px;
    font-size: 21px;
}

.check-list {
    display: grid;
    gap: 14px;
    margin: 28px 0;
    padding: 0;
    list-style: none;
}

.check-list li {
    display: grid;
    grid-template-columns: 32px 1fr;
    gap: 12px;
    align-items: start;
    color: #344054;
    font-weight: 500;
}

.dark .check-list li {
    color: rgba(255, 255, 255, .88);
}

.check-list span {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(215, 25, 82, .12);
    color: var(--primary);
    display: grid;
    place-items: center;
    font-weight: 900;
}

.geo-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
    margin-top: 32px;
}

.answer-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px;
    box-shadow: var(--shadow-soft);
}

.answer-card h3 {
    margin: 0 0 10px;
    font-size: 21px;
    color: var(--navy);
}

.answer-card p {
    margin: 0;
    color: var(--muted);
    font-size: 15px;
}

.process {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    margin-top: 34px;
}

.step {
    text-align: center;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 26px 20px;
}

.step-number {
    width: 52px;
    height: 52px;
    margin: 0 auto 14px;
    border-radius: 50%;
    background: var(--primary);
    color: var(--white);
    display: grid;
    place-items: center;
    font-weight: 900;
    font-size: 20px;
}

.step h3 {
    margin: 0 0 8px;
    font-size: 17px;
    color: var(--navy);
}

.step p {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
}

.faq-grid {
    display: grid;
    gap: 14px;
    max-width: 900px;
    margin: 34px auto 0;
}

details {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 20px 22px;
    box-shadow: 0 10px 28px rgba(7, 21, 37, .04);
}

summary {
    cursor: pointer;
    font-weight: 600;
    color: var(--navy);
    font-size: 17px;
}

details p {
    color: var(--muted);
    margin: 12px 0 0;
}

.logo-strip {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 12px;
    margin-top: 30px;
}

.logo-box {
    height: 72px;
    border-radius: 14px;
    background: var(--white);
    border: 1px solid var(--border);
    display: grid;
    place-items: center;
    color: #98a2b3;
    font-weight: 900;
    font-size: 12px;
}

.lead {
    padding: 62px 0;
    background: linear-gradient(135deg, var(--primary), #ee3269);
    color: var(--white);
}

.lead-grid {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 42px;
    align-items: center;
}

.lead h2 {
    font-size: clamp(30px, 4vw, 48px);
    line-height: 1.08;
    margin: 0 0 16px;
    letter-spacing: -1px;
}

.lead p {
    color: rgba(255, 255, 255, .86);
    font-size: 17px;
}

.lead-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 22px;
    font-size: 13px;
    font-weight: 600;
}

.lead-badges span {
    padding: 9px 12px;
    background: rgba(255, 255, 255, .13);
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 999px;
}

.form-box {
    background: var(--white);
    padding: 26px;
    border-radius: 24px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, .14);
}

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

input,
textarea,
select {
    width: 100%;
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 15px 16px;
    font-family: inherit;
    font-size: 15px;
    outline: none;
    margin-bottom: 14px;
}

input:focus,
textarea:focus,
select:focus {
    border-color: rgba(215, 25, 82, .55);
    box-shadow: 0 0 0 4px rgba(215, 25, 82, .08);
}

textarea {
    min-height: 110px;
    resize: vertical;
}

.form-box .btn {
    width: 100%;
    border-radius: 14px;
}

.blog-card-image {
    min-height: 180px;
    margin-bottom: 18px;
    border-radius: 18px;
    background: linear-gradient(135deg, #e5e7eb, #f8fafc);
    display: grid;
    place-items: center;
    color: #98a2b3;
    font-weight: 900;
}

.article {
    max-width: 880px;
    margin: 0 auto;
}

.article h2 {
    color: var(--navy);
    font-size: clamp(26px, 3vw, 36px);
    margin-top: 44px;
}

.article p,
.article li {
    color: #475467;
    font-size: 18px;
}

.article table {
    width: 100%;
    border-collapse: collapse;
    margin: 2.5rem 0;
    font-size: 15px;
    text-align: left;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
    border: 1px solid #eaecf0;
}

.article table th {
    background-color: #f9fafb;
    color: #344054;
    font-weight: 600;
    padding: 14px 18px;
    border-bottom: 1px solid #eaecf0;
    font-size: 13.5px;
    letter-spacing: 0.3px;
}

.article table thead.table-dark th {
    background-color: var(--navy) !important;
    color: #ffffff !important;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.article table td {
    padding: 16px 18px;
    border-bottom: 1px solid #eaecf0;
    color: #475467;
    line-height: 1.6;
    vertical-align: top;
}

.article table.table-bordered th,
.article table.table-bordered td {
    border: 1px solid #eaecf0;
}

.article table tr:last-child td {
    border-bottom: none;
}

.article table tr:hover,
.article table.table-hover tr:hover {
    background-color: #f9fafb;
}

.article table .text-primary {
    color: var(--primary) !important;
}

.article table .fw-bold {
    font-weight: 700 !important;
}

.article table .text-center {
    text-align: center !important;
}

.article table .align-middle {
    vertical-align: middle !important;
}

@media (max-width: 768px) {
    .article table {
        display: block;
        width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
}

.article .blog-cta-box {
    background: linear-gradient(135deg, rgba(215, 25, 82, 0.03), rgba(0, 123, 255, 0.03));
    border: 1px solid rgba(215, 25, 82, 0.1);
    border-radius: 14px;
    padding: 24px;
    margin: 2.5rem 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.article .blog-cta-box p {
    margin: 0 0 16px 0;
    font-size: 16.5px;
    color: #344054;
    line-height: 1.6;
}

.article .blog-cta-actions {
    width: 100%;
    display: flex;
    justify-content: center;
}

.article .blog-cta-button {
    display: inline-block;
    background-color: var(--primary, #d71952);
    color: #ffffff !important;
    font-weight: 600;
    font-size: 16px;
    padding: 12px 28px;
    border-radius: 30px;
    text-decoration: none !important;
    transition: all 0.3s ease;
    box-shadow: 0 4px 14px rgba(215, 25, 82, 0.2);
}

.article .blog-cta-button:hover {
    background-color: var(--navy, #071525);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(7, 21, 37, 0.15);
}

.article-meta {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    color: var(--muted);
    font-size: 14px;
    font-weight: 700;
    margin: 18px 0 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: .85fr 1.15fr;
    gap: 42px;
    align-items: start;
}

.floating-whatsapp,
.back-top {
    position: fixed;
    bottom: 22px;
    z-index: 30;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: var(--white);
    font-weight: 900;
    box-shadow: 0 12px 30px rgba(0, 0, 0, .20);
}

.floating-whatsapp {
    left: 22px;
    background: var(--green);
}

.back-top {
    right: 22px;
    background: var(--primary);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
    text-decoration: none;
}

.back-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.footer {
    background: var(--navy);
    color: rgba(255, 255, 255, .72);
    padding: 44px 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr repeat(3, 1fr);
    gap: 28px;
}

.footer h3,
.footer h4 {
    color: var(--white);
    margin-top: 0;
}

.footer a {
    display: block;
    margin: 8px 0;
}

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

@media (max-width: 980px) {
    .hero-grid,
    .split,
    .lead-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .cards,
    .cards-4,
    .geo-grid,
    .blog-grid {
        grid-template-columns: 1fr 1fr;
    }

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

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

.menu-toggle {
    display: none;
    background: none;
    border: none;
    padding: 10px;
    cursor: pointer;
    z-index: 100;
    position: relative;
}
.hamburger {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--navy);
    position: relative;
    transition: background 0.3s;
}
.hamburger::before, .hamburger::after {
    content: '';
    display: block;
    width: 24px;
    height: 2px;
    background: var(--navy);
    position: absolute;
    transition: transform 0.3s, top 0.3s;
}
.hamburger::before { top: -8px; }
.hamburger::after { top: 8px; }

.menu-toggle.active .hamburger { background: transparent; }
.menu-toggle.active .hamburger::before { top: 0; transform: rotate(45deg); }
.menu-toggle.active .hamburger::after { top: 0; transform: rotate(-45deg); }

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
    .menu {
        display: block;
        visibility: hidden;
        opacity: 0;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #fff;
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
        padding: 20px 28px;
        z-index: 90;
        border-bottom: 2px solid var(--primary);
        transform: translateY(-10px);
        transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
    }
    .menu.active {
        visibility: visible;
        opacity: 1;
        transform: translateY(0);
    }
    .menu > ul {
        flex-direction: column;
        gap: 16px;
        align-items: flex-start;
    }
    .menu-item {
        width: 100%;
    }
    .menu-item > a {
        font-size: 18px;
        padding: 8px 0;
        display: flex;
        width: 100%;
        justify-content: space-between;
        align-items: center;
    }
    
    /* Reset dropdown submenu for mobile */
    .dropdown-submenu {
        position: static;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: none;
        box-shadow: none;
        border: none;
        padding: 0 0 0 16px;
        margin: 4px 0 0;
        display: flex;
        flex-direction: column;
        gap: 8px;
        min-width: unset;
        width: 100%;
    }
    .dropdown-submenu .menu-item > a {
        font-size: 16px;
        padding: 6px 0;
        color: var(--muted);
    }
    .menu-item::after {
        display: none;
    }
}

@media (max-width: 640px) {
    .top-bar-inner {
        flex-direction: column;
        gap: 6px;
        text-align: center;
    }

    .container {
        width: min(100% - 48px, var(--container));
    }

    .section {
        padding: 58px 0;
    }

    .nav {
        min-height: 70px;
    }

    .logo {
        font-size: 32px;
    }

    .header .btn {
        display: none;
    }

    .cards,
    .cards-2,
    .cards-4,
    .process,
    .form-row,
    .geo-grid,
    .blog-grid,
    .footer-grid,
    .logo-strip {
        grid-template-columns: 1fr;
    }

    .hero h1 {
        letter-spacing: -2px;
    }

    .cta-row .btn {
        width: 100%;
    }

    .floating-whatsapp,
    .back-top {
        bottom: 16px;
        width: 48px;
        height: 48px;
    }
}


/* ── Contact Page ───────────────────────────────── */
.contact-alert {
    padding: 14px 18px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.5;
}

.contact-alert--success {
    background: #f0fdf4;
    color: #15803d;
    border: 1px solid #bbf7d0;
}

.contact-alert--error {
    background: #fff1f2;
    color: #be123c;
    border: 1px solid #fecdd3;
}


.contact-info-card {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.contact-info-icon {
    font-size: 22px;
    flex-shrink: 0;
    margin-top: 2px;
}

.contact-social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 8px;
}

.contact-social-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 500;
    color: #1f2937;
    text-decoration: none;
    transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.contact-social-link:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}

.contact-grid {

    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 64px;
    align-items: start;
}

.form-box {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 40px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-field {
    display: flex;
    flex-direction: column;
}

.form-box input,
.form-box select,
.form-box textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 14px;
    font-family: inherit;
    color: #1f2937;
    background: #f8fafc;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    outline: none;
    box-sizing: border-box;
}

.form-box input:focus,
.form-box select:focus,
.form-box textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(215, 25, 82, 0.08);
    background: #fff;
}

.form-box textarea {
    resize: vertical;
    min-height: 130px;
}

.form-box select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2394a3b8' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 36px;
    cursor: pointer;
}

.form-box .btn {
    align-self: flex-start;
}

/* purgecss start ignore */
figure.image {
    margin: 10px 0;
    display: inline-block;
}

figcaption {
    background: #f5f5f5;
    padding: 10px;
    font-size: 90%;
    text-align: center;
}
/* purgecss end ignore */

/* WhatsApp floating button pulse animation */
@keyframes pulse-whatsapp {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}
.floating-whatsapp {
    animation: pulse-whatsapp 2s infinite;
}

/* Reference Cards and Badges */
.reference-item {
    transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.25s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}
.reference-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.06);
    border-color: rgba(215, 25, 82, 0.2);
}
.reference-badge.sector-badge {
    background-color: #f1f5f9;
    color: #64748b;
    border: 1px solid #e2e8f0;
}
.reference-work-badge {
    text-transform: uppercase;
    font-size: 11px !important;
    letter-spacing: 0.5px;
    background: rgba(215, 25, 82, 0.08);
    color: var(--primary) !important;
    padding: 2px 8px;
    border-radius: 4px;
}