/* =============================================
   DESIGN TOKENS — Adiós Mascota Landing
   ============================================= */
:root {
    --am-bg:            #F4F9FC;
    --am-surface:       #FFFFFF;
    --am-surface-warm:  #F0F7FB;
    --am-text:          #1A2A33;
    --am-text-muted:    #4A6272;
    --am-accent:        #83bfd9;
    --am-accent-dark:   #3A7FA0;
    --am-accent-light:  #E4F3F9;
    --am-accent-border: #B8DCEA;
    --am-border:        #D8EAF2;
    --am-shadow-sm:     0 1px 4px rgba(0,0,0,0.06);
    --am-shadow-md:     0 4px 20px rgba(0,0,0,0.08);
    --am-shadow-img:    0 8px 32px rgba(0,0,0,0.10);
    --am-radius-img:    14px;
    --am-radius-card:   18px;
    --am-radius-btn:    50px;
    --am-font-head:     'Lora', Georgia, 'Times New Roman', serif;
    --am-font-body:     'Nunito Sans', system-ui, -apple-system, sans-serif;
    --am-max-width:     780px;
    --am-section-gap:   64px;
}

/* =============================================
   RESET / BASE
   ============================================= */
.am-local-template *,
.am-local-template *::before,
.am-local-template *::after {
    box-sizing: border-box;
}

/* =============================================
   LAYOUT WRAPPER
   ============================================= */
.am-local-template {
    background: var(--am-bg);
    font-family: var(--am-font-body);
    color: var(--am-text);
    line-height: 1.75;
    -webkit-font-smoothing: antialiased;
}

.am-wrap {
    max-width: var(--am-max-width);
    margin: 0 auto;
    padding: 0 20px 80px;
}

/* =============================================
   HERO SECTION
   ============================================= */
.am-hero {
    margin-bottom: var(--am-section-gap);
}

.am-hero:first-child {
    padding-top: 48px;
}

.am-hero__title {
    font-family: var(--am-font-head);
    font-size: clamp(1.65rem, 4vw, 2.25rem);
    font-weight: 700;
    color: var(--am-text);
    line-height: 1.3;
    letter-spacing: -0.01em;
    margin: 0 0 28px;
    text-align: left;
}

.am-hero__title::after {
    content: '';
    display: block;
    width: 52px;
    height: 3px;
    background: var(--am-accent);
    border-radius: 2px;
    margin-top: 18px;
}

/* =============================================
   IMAGES
   ============================================= */
.am-img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: var(--am-radius-img);
    box-shadow: var(--am-shadow-img);
    object-fit: cover;
    margin: 28px 0;
    aspect-ratio: 16 / 7;
}

/* =============================================
   CONTENT SECTIONS
   ============================================= */
.am-section {
    background: var(--am-surface);
    border-radius: var(--am-radius-card);
    padding: 40px;
    margin-bottom: 28px;
    box-shadow: var(--am-shadow-sm);
    border: 1px solid var(--am-border);
}

/* =============================================
   TYPOGRAPHY
   ============================================= */
.am-h2 {
    font-family: var(--am-font-head);
    font-size: clamp(1.25rem, 3vw, 1.6rem);
    font-weight: 600;
    color: var(--am-text);
    line-height: 1.35;
    margin: 0 0 24px;
    padding-bottom: 16px;
    border-bottom: 2px solid var(--am-accent-light);
    position: relative;
}

.am-h2::before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--am-accent);
    border-radius: 1px;
}

.am-h3 {
    font-family: var(--am-font-head);
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--am-accent-dark);
    line-height: 1.4;
    margin: 28px 0 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.am-h3::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    background: var(--am-accent);
    border-radius: 50%;
    flex-shrink: 0;
}

.am-p {
    font-size: 1rem;
    color: var(--am-text-muted);
    line-height: 1.8;
    margin: 0 0 18px;
}

.am-p:last-child { margin-bottom: 0; }

.am-p strong {
    color: var(--am-text);
    font-weight: 600;
}

/* =============================================
   INTRO PARAGRAPHS (hero)
   ============================================= */
.am-hero .am-p {
    font-size: 1.05rem;
    color: var(--am-text-muted);
    line-height: 1.85;
    background: var(--am-surface-warm);
    border-left: 3px solid var(--am-accent);
    padding: 18px 20px;
    border-radius: 0 10px 10px 0;
    margin-bottom: 14px;
}

/* =============================================
   FINAL / CTA SECTION
   ============================================= */
.final.am-section {
    background: linear-gradient(135deg, #1A5470 0%, #2E7FA3 50%, #83bfd9 100%);
    border-color: transparent;
    color: #FFFFFF;
}

.final.am-section .am-h2 {
    color: #FFFFFF;
    border-bottom-color: rgba(255,255,255,0.15);
}

.final.am-section .am-h2::before { background: rgba(255,255,255,0.6); }
.final.am-section .am-p { color: rgba(255,255,255,0.85); }
.final.am-section .am-p strong { color: #FFFFFF; }

/* =============================================
   CTA BUTTON
   ============================================= */
.am-link {
    display: inline-block;
    background: #FFFFFF;
    color: #1A5470 !important;
    font-family: var(--am-font-body);
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none !important;
    padding: 16px 36px;
    border-radius: var(--am-radius-btn);
    border: none;
    box-shadow: 0 6px 24px rgba(0,0,0,0.15);
    transition: transform 150ms ease, box-shadow 150ms ease, background 150ms ease;
    letter-spacing: 0.01em;
    cursor: pointer;
}

.am-link:hover {
    background: var(--am-accent-light);
    transform: translateY(-2px);
    box-shadow: 0 10px 32px rgba(0,0,0,0.18);
}

.am-link:active {
    transform: translateY(0);
    box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}

.am-link:focus-visible {
    outline: 3px solid rgba(255,255,255,0.7);
    outline-offset: 3px;
}

/* =============================================
   SERVICES / CONTENT step cards
   ============================================= */
.services.am-section .am-h3,
.content.am-section .am-h3 {
    background: var(--am-accent-light);
    border-radius: 8px;
    padding: 10px 14px;
    margin-left: -14px;
    margin-right: -14px;
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 600px) {
    .am-wrap { padding: 0 16px 60px; }
    .am-section { padding: 28px 20px; }
    .am-hero:first-child { padding-top: 32px; }
    :root { --am-section-gap: 40px; }
}

@media (prefers-reduced-motion: reduce) {
    .am-link { transition: none; }
}
