/* Explain: Styles for site header, navigation, cards, forms, and fixed action buttons. */
.site-header {
    background: linear-gradient(180deg, rgba(250, 249, 246, 0.92), rgba(250, 249, 246, 0.72));
    backdrop-filter: blur(18px);
}

.nav-dropdown-panel {
    visibility: hidden;
    opacity: 0;
    transform: translate(-50%, 4px);
    transition: opacity 200ms ease, transform 200ms ease, visibility 200ms ease;
}

.nav-dropdown:hover .nav-dropdown-panel,
.nav-dropdown:focus-within .nav-dropdown-panel,
.nav-dropdown.is-open .nav-dropdown-panel {
    visibility: visible;
    opacity: 1;
    transform: translate(-50%, 0);
}

.section-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    color: var(--sage-dark);
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.section-kicker::before {
    display: inline-block;
    width: 2.4rem;
    height: 1px;
    background: var(--accent-color);
    content: "";
}

.section-kicker--plain::before {
    display: none;
}

.glass-panel {
    border: 1px solid var(--glass-border);
    background: linear-gradient(145deg, rgba(250, 249, 246, 0.85), rgba(255, 255, 255, 0.55));
    box-shadow: var(--shadow-soft);
    backdrop-filter: blur(18px);
}

.media-frame {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--glass-border);
    background: var(--surface-color);
    box-shadow: var(--shadow-soft);
}

.media-frame::after {
    position: absolute;
    inset: 0.85rem;
    border: 1px solid rgba(250, 249, 246, 0.42);
    border-radius: inherit;
    content: "";
    pointer-events: none;
}

.service-card,
.tractor-card,
.branch-card {
    border-radius: 1.8rem;
    transition: transform 300ms ease, border-color 300ms ease, box-shadow 300ms ease;
}

.service-card:hover,
.tractor-card:hover,
.branch-card:hover {
    border-color: rgba(88, 129, 87, 0.58);
    box-shadow: 0 26px 80px rgba(31, 46, 35, 0.11);
    transform: translateY(-6px);
}

.service-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3.4rem;
    height: 3.4rem;
    border-radius: 1.1rem;
    background: var(--sage-soft);
    color: var(--sage-dark);
    font-size: 1.35rem;
}

.tractor-specs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.6rem;
}

.tractor-specs div {
    border: 1px solid var(--glass-border);
    border-radius: 0.9rem;
    background: rgba(250, 249, 246, 0.6);
    padding: 0.55rem 0.7rem;
    color: var(--text-muted);
    font-size: 0.76rem;
    font-weight: 600;
}

.tractor-specs-lg {
    gap: 0.7rem;
}

.tractor-specs-lg div {
    padding: 0.7rem 0.85rem;
    color: var(--text-color);
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.4;
}

.stat-tile {
    border: 1px solid var(--glass-border);
    border-radius: 1.6rem;
    background: rgba(250, 249, 246, 0.6);
    padding: 1.25rem;
}

.stat-tile span {
    display: inline-flex;
    margin-bottom: 0.7rem;
    color: var(--accent-color);
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
}

.stat-tile p {
    color: var(--text-color);
    font-size: 1.02rem;
    font-weight: 700;
    line-height: 1.75;
}

.contact-form {
    border-radius: 2.2rem;
    padding: clamp(1.5rem, 4vw, 2.5rem);
}

.form-label {
    display: block;
    margin-bottom: 0.55rem;
    color: var(--text-color);
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.form-status.success {
    color: #4A6B53;
}

.form-status.error {
    color: #9B4A3D;
}

.weather-status.weather-error {
    color: #9B4A3D;
}

.map-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--sage-dark);
    font-size: 0.85rem;
    font-weight: 600;
    transition: color 300ms ease;
}

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

@media (max-width: 767px) {
    .section-kicker::before {
        width: 1.6rem;
    }
}

.rate-card {
    border-radius: 1.8rem;
    transition: transform 300ms ease, border-color 300ms ease, box-shadow 300ms ease;
}

.rate-card:hover {
    border-color: rgba(88, 129, 87, 0.58);
    box-shadow: 0 26px 80px rgba(31, 46, 35, 0.11);
    transform: translateY(-6px);
}

.rate-status.rate-error {
    color: #9B4A3D;
}

.weather-specs {
    gap: 0.7rem;
}

.weather-specs div {
    padding: 0.7rem 0.85rem;
    color: var(--text-color);
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.4;
}

.fixed-actions {
    position: fixed;
    right: 1rem;
    bottom: 1rem;
    z-index: 60;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.fixed-action {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    min-height: 3rem;
    padding: 0 1.1rem;
    border-radius: 999px;
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: 600;
    box-shadow: var(--shadow-button);
    transition: transform 300ms ease, background-color 300ms ease, box-shadow 300ms ease;
}

.fixed-action:hover {
    transform: translateY(-3px);
}

.fixed-action i {
    font-size: 1.25rem;
}

.fixed-action-whatsapp {
    background: #25D366;
}

.fixed-action-whatsapp:hover {
    background: #1ebe5a;
}

.fixed-action-call {
    background: var(--primary-color);
}

.fixed-action-call:hover {
    background: var(--accent-color);
}

@media (max-width: 639px) {
    .fixed-action {
        justify-content: center;
        width: 3.4rem;
        min-height: 3.4rem;
        padding: 0;
    }

    .fixed-action i {
        font-size: 1.45rem;
    }

    .fixed-action-label {
        display: none;
    }
}