/* === Base Variables === */
:root {
    --am-primary: #0b2e59;
    --am-secondary: #f15a24;
    --am-dark: #1f2937;
    --am-light: #f9fafb;
    --am-white: #ffffff;
    --am-radius-sm: 4px;
    --am-radius-md: 8px;
    --am-radius-lg: 16px;
    --am-container: 1200px;
}

/* === Layout & Utilities === */
.am-main {
    width: 100%;
}

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

.am-section {
    padding: 6rem 0;
}

.am-bg-light { background-color: var(--am-light); }
.am-bg-primary { background-color: var(--am-primary); }

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

/* === Typography === */
.am-heading-xl {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.am-heading-lg {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.am-heading-md {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.am-body-lg {
    font-size: 1.25rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

/* === Components === */
.am-btn {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: var(--am-radius-sm);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
    text-decoration: none;
    cursor: pointer;
}

.am-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

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

.am-btn--accent {
    background-color: var(--am-secondary);
    color: var(--am-white);
}

/* === Custom Grid Layouts === */
.am-home-grid,
.am-services-grid,
.am-pricing-grid,
.am-portfolio-grid {
    display: grid;
    gap: 3rem;
    align-items: center;
}

.am-home-grid {
    grid-template-columns: 1fr;
}

@media (min-width: 900px) {
    .am-home-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.am-services-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.am-pricing-grid {
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    max-width: 900px;
    margin: 0 auto;
    align-items: end;
}

.am-portfolio-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

/* === Hero Block === */
.am-hero {
    position: relative;
    padding: 10rem 0 6rem;
    min-height: 80vh;
    display: flex;
    align-items: center;
    color: var(--am-white);
}

.am-hero__bg {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-size: cover;
    background-position: center;
    z-index: 1;
}

.am-hero__overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(135deg, rgba(11,46,89,0.9) 0%, rgba(11,46,89,0.7) 100%);
    z-index: 2;
}

.am-hero__inner {
    position: relative;
    z-index: 3;
}

/* === Cards === */
.am-card {
    background: var(--am-white);
    border-radius: var(--am-radius-lg);
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    overflow: hidden;
    height: 100%;
}

.am-portfolio-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.am-portfolio-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.am-card__img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.am-card__body {
    padding: 2rem;
}

.am-pricing-card {
    padding: 3rem 2rem;
    text-align: center;
    border: 2px solid transparent;
}

.am-pricing-card.is-popular {
    border-color: var(--am-primary);
    position: relative;
    transform: scale(1.05);
}

.am-pricing-card__badge {
    position: absolute;
    top: 0; left: 50%;
    transform: translate(-50%, -50%);
    background: var(--am-primary);
    color: var(--am-white);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 700;
}

.am-pricing-card__price {
    font-size: 4rem;
    font-weight: 800;
    color: var(--am-dark);
    margin-bottom: 2rem;
}
