/* ==========================================================
   Homepage — editorial dark layout (loaded on index.php only)
   ========================================================== */
.home-am {
    --am-bg: #140b09;
    --am-bg-2: #1c110e;
    --am-line: rgba(214, 162, 73, .26);
    --am-text: rgba(255, 255, 255, .7);
    background: var(--am-bg);
}
.home-am main { background: var(--am-bg); color: var(--am-text); }

.am-section { padding: 130px 0; position: relative; }

.am-kicker {
    font: 700 .72rem/1.5 var(--font-body);
    letter-spacing: .26em; text-transform: uppercase;
    color: var(--gold); margin: 0 0 18px;
}
.am-kicker span { opacity: .55; margin: 0 .35em; }

.am-title {
    font-family: var(--font-display); font-weight: 500;
    font-size: clamp(2.2rem, 4vw, 3.4rem); line-height: 1.12;
    color: #fff; margin: 0 0 24px;
}
.am-title em { font-style: italic; color: var(--gold-light); }
.am-title--caps { text-transform: uppercase; letter-spacing: .06em; }

.am-head { text-align: center; max-width: 780px; margin: 0 auto 64px; }
.am-head p:not(.am-kicker) { margin: 0 auto; max-width: 680px; }

.am-text p { margin: 0 0 18px; }
.am-text strong { color: #fff; font-weight: 600; }

.am-btns { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 34px; }
.am-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    min-width: 190px; padding: 16px 30px;
    border: 1px solid var(--gold); background: transparent; color: #fff;
    font: 600 .78rem/1 var(--font-body); letter-spacing: .18em; text-transform: uppercase;
    cursor: pointer; transition: background .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease);
}
.am-btn--gold { background: var(--gold); color: var(--ink); }
.am-btn--gold:hover { background: var(--gold-light); border-color: var(--gold-light); }
.am-btn--line:hover { background: var(--gold); color: var(--ink); }
.am-btn--light { border-color: rgba(255, 255, 255, .55); }
.am-btn--light:hover { background: #fff; border-color: #fff; color: var(--maroon); }

.am-link {
    display: inline-flex; align-items: center; gap: 10px;
    font: 700 .74rem/1 var(--font-body); letter-spacing: .2em; text-transform: uppercase; color: var(--gold-light);
}
.am-link i { transition: transform .3s var(--ease); }
a:hover > .am-link i, .am-link:hover i, a:hover .am-link i { transform: translateX(5px); }

.am-center { text-align: center; margin-top: 60px; }
.am-intro-media img, .am-roots-media img, .am-cons-media img { height: auto; }

/* ---------- Hero award seal ---------- */
.am-seal {
    position: absolute; z-index: 4; right: 48px; top: calc(var(--header-h) + 36px);
    width: 128px; height: 128px; display: grid; place-items: center;
    border-radius: 50%; background: rgba(20, 11, 9, .35); backdrop-filter: blur(4px);
    border: 1px solid rgba(236, 201, 131, .35); color: var(--gold-light);
}
.am-seal svg { position: absolute; inset: 0; width: 100%; height: 100%; animation: am-spin 28s linear infinite; }
.am-seal text { fill: currentColor; font: 700 9px var(--font-body); letter-spacing: .5px; text-transform: uppercase; }
.am-seal i { font-size: 1.8rem; }
@keyframes am-spin { to { transform: rotate(360deg); } }

/* ---------- Intro ---------- */
.am-intro { padding-top: 150px; }
.am-intro-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 100px; align-items: center; }
.am-intro-media { position: relative; padding: 0 90px 90px 0; }
.am-intro-media::before {
    content: ''; position: absolute; top: -22px; left: -22px; right: 112px; bottom: 112px;
    border: 1px solid var(--am-line); pointer-events: none;
}
.am-intro-main { position: relative; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 30%; }
.am-intro-accent {
    position: absolute; right: 0; bottom: 0; width: 56%; aspect-ratio: 4 / 3; object-fit: cover;
    border: 10px solid var(--am-bg); box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .7);
}
.am-intro-text .am-title { font-size: clamp(2.2rem, 3.6vw, 3.1rem); }

/* ---------- Extraordinary experiences ---------- */
.am-exp { padding-top: 40px; }
.am-exp .am-head { margin-bottom: 40px; }
.am-day {
    display: grid; grid-template-columns: repeat(3, 1fr);
    max-width: 1080px; margin: 0 auto 70px;
    border-top: 1px solid var(--am-line); border-bottom: 1px solid var(--am-line);
}
.am-day-item { padding: 36px 34px; text-align: center; }
.am-day-item + .am-day-item { border-left: 1px solid var(--am-line); }
.am-day-item i { color: var(--gold); font-size: 1.35rem; }
.am-day-item span {
    display: block; margin: 14px 0 8px;
    font-family: var(--font-display); font-style: italic; font-size: 1.5rem; color: #fff;
}
.am-day-item p { margin: 0; font-size: .95rem; }

.am-mosaic { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 250px; grid-auto-flow: dense; gap: 14px; }
.am-mosaic-item { position: relative; overflow: hidden; display: block; }
.am-mosaic-item--w { grid-column: span 2; }
.am-mosaic-item--t { grid-row: span 2; }
.am-mosaic-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease), filter .6s; filter: saturate(.9); }
.am-mosaic-item::after {
    content: ''; position: absolute; inset: 12px; border: 1px solid rgba(236, 201, 131, .8);
    opacity: 0; transform: scale(1.04); transition: opacity .5s var(--ease), transform .5s var(--ease);
}
.am-mosaic-item:hover img { transform: scale(1.07); filter: saturate(1.05); }
.am-mosaic-item:hover::after { opacity: 1; transform: none; }

/* ---------- Services ---------- */
.am-services { padding-top: 40px; }
.am-divider { display: flex; align-items: center; margin-bottom: 56px; }
.am-divider::before, .am-divider::after { content: ''; flex: 1; height: 1px; background: var(--am-line); }
.am-divider span { width: 9px; height: 9px; margin: 0 18px; border: 1px solid var(--gold); transform: rotate(45deg); }

.am-svc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.am-svc { position: relative; display: block; aspect-ratio: 3 / 4.5; overflow: hidden; color: #fff; isolation: isolate; }
.am-svc img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.4s var(--ease); }
.am-svc::before {
    content: ''; position: absolute; inset: 0; z-index: -1;
    background: linear-gradient(180deg, rgba(20, 11, 9, 0) 35%, rgba(20, 11, 9, .92) 100%);
    transition: background .6s var(--ease);
}
.am-svc::after {
    content: ''; position: absolute; inset: 14px; border: 1px solid rgba(255, 255, 255, .28);
    transition: border-color .5s var(--ease); pointer-events: none;
}
.am-svc-body { position: absolute; left: 0; right: 0; bottom: 0; padding: 34px 32px; }
.am-svc-num { font-family: var(--font-display); font-style: italic; font-size: 1.15rem; color: var(--gold-light); }
.am-svc h3 { font-family: var(--font-display); font-weight: 500; font-size: 1.75rem; line-height: 1.15; margin: 6px 0 0; color: #fff; }
.am-svc-more { display: grid; grid-template-rows: 0fr; opacity: 0; transition: grid-template-rows .6s var(--ease), opacity .5s var(--ease); }
.am-svc-more > * { min-height: 0; overflow: hidden; }
.am-svc-more p { margin: 14px 0 18px; font-size: .92rem; line-height: 1.65; color: rgba(255, 255, 255, .82); }
.am-svc:hover img { transform: scale(1.08); }
.am-svc:hover::before { background: linear-gradient(180deg, rgba(20, 11, 9, .25) 0%, rgba(20, 11, 9, .94) 100%); }
.am-svc:hover::after { border-color: var(--gold); }
.am-svc:hover .am-svc-more, .am-svc:focus-visible .am-svc-more { grid-template-rows: 1fr; opacity: 1; }

/* ---------- Trust strip ---------- */
.am-trust { border-top: 1px solid var(--am-line); border-bottom: 1px solid var(--am-line); background: var(--am-bg-2); }
.am-trust-inner { display: grid; grid-template-columns: 250px 1fr; align-items: center; gap: 40px; padding-top: 40px; padding-bottom: 40px; }
.am-trust h2 { font-family: var(--font-display); font-weight: 500; font-size: 1.9rem; line-height: 1.15; color: #fff; margin: 0; }
.am-marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.am-marquee-track { display: flex; width: max-content; animation: am-marquee 42s linear infinite; }
.am-marquee:hover .am-marquee-track { animation-play-state: paused; }
.am-trust-list { display: flex; list-style: none; margin: 0; padding: 0; }
.am-trust-list li {
    display: flex; align-items: center; gap: 14px; padding: 6px 40px; white-space: nowrap;
    border-right: 1px solid var(--am-line);
    font-family: var(--font-display); font-style: italic; font-size: 1.4rem; color: rgba(255, 255, 255, .88);
}
.am-trust-list li > i, .am-trust-list .icon-ta { color: var(--gold); font-size: 1.25rem; width: 24px; height: 24px; }
@keyframes am-marquee { to { transform: translateX(-50%); } }

/* ---------- Tripadvisor awards ---------- */
.am-ta { padding-top: 90px; padding-bottom: 90px; background: var(--am-bg-2); border-bottom: 1px solid var(--am-line); }
.am-ta-grid { display: flex; flex-direction: column; align-items: center; gap: 56px; }
.am-ta-copy { text-align: center; max-width: 820px; }
.am-ta-copy .am-title { margin-bottom: 18px; }
.am-ta-copy .am-btns { justify-content: center; }
.am-ta-copy .am-btn .icon-ta { width: 20px; height: 20px; }
.am-ta-brand {
    display: inline-flex; align-items: center; justify-content: center; gap: 20px;
    margin: 0 0 28px; color: #fff;
}
.am-ta-ollie { width: 96px; height: 96px; flex: none; }
.am-ta-name {
    font-family: var(--font-body); font-weight: 800;
    font-size: clamp(2.4rem, 5vw, 3.8rem); letter-spacing: -.04em; line-height: .95;
}
.am-ta-years {
    display: grid; grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 16px; margin: 0; padding: 0; list-style: none; width: 100%;
}
.am-ta-badge {
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    gap: 6px; min-height: 168px; padding: 22px 14px;
    text-align: center;
    border: 1px solid var(--am-line); background: var(--am-bg);
    transition: border-color .35s var(--ease), transform .35s var(--ease);
}
.am-ta-badge:hover { border-color: var(--gold); transform: translateY(-4px); }
.am-ta-owl .ta-ollie { width: 36px; height: 36px; }
.am-ta-badge strong {
    font-family: var(--font-display); font-weight: 600; font-size: 2.15rem;
    line-height: 1; color: #fff; letter-spacing: .02em;
}
.am-ta-badge > span:last-child {
    font: 700 .62rem/1.3 var(--font-body);
    letter-spacing: .16em; text-transform: uppercase; color: var(--gold-light);
}

/* ---------- The difference ---------- */
.am-diff-track {
    display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 56px) / 3); gap: 28px;
    overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
}
.am-diff-track::-webkit-scrollbar { display: none; }
.am-diff-card { scroll-snap-align: start; text-align: center; }
.am-diff-img { border: 1px solid var(--gold); padding: 8px; overflow: hidden; }
.am-diff-img img { width: 100%; aspect-ratio: 4 / 4.6; object-fit: cover; transition: transform 1.2s var(--ease); }
.am-diff-card:hover .am-diff-img img { transform: scale(1.05); }
.am-diff-card h3 { font-family: var(--font-display); font-weight: 500; font-size: 1.55rem; color: #fff; margin: 26px 0 8px; }
.am-diff-card p { margin: 0 auto; max-width: 340px; font-size: .94rem; }

.am-track-nav { display: flex; align-items: center; justify-content: center; gap: 28px; margin-top: 48px; }
.am-arrow {
    width: 52px; height: 52px; display: grid; place-items: center;
    border: 1px solid var(--am-line); background: transparent; color: #fff; cursor: pointer;
    transition: background .3s var(--ease), border-color .3s var(--ease), color .3s var(--ease);
}
.am-arrow:hover { background: var(--gold); border-color: var(--gold); color: var(--ink); }

/* ---------- Our roots ---------- */
.am-roots { background: linear-gradient(120deg, var(--maroon-900) 0%, var(--maroon) 100%); color: rgba(255, 255, 255, .8); overflow: hidden; }
.am-roots-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 100px; align-items: center; }
.am-roots-media { position: relative; padding: 0 0 70px 0; }
.am-roots-main { width: 100%; height: auto; display: block; object-fit: contain; }
.am-roots-accent {
    position: absolute; left: 18px; bottom: 0; width: 34%; aspect-ratio: 1; object-fit: cover;
    border: 10px solid var(--maroon); box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .6);
}
.am-roots .am-kicker { color: var(--gold-light); }

/* ---------- Quote band ---------- */
.am-quote { position: relative; padding: 180px 0; text-align: center; color: #fff; isolation: isolate; }
.am-quote::before {
    content: ''; position: absolute; inset: 0; z-index: -2;
    background: var(--bg) center 45% / cover no-repeat;
}
.am-quote::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(20, 11, 9, .9) 0%, rgba(20, 11, 9, .55) 60%, rgba(20, 11, 9, .7) 100%); }
.am-quote blockquote {
    margin: 0 auto; max-width: 920px;
    font-family: var(--font-display); font-style: italic; font-weight: 500;
    font-size: clamp(2.1rem, 4.6vw, 3.8rem); line-height: 1.18; color: #fff;
}
.am-quote cite { display: block; margin-top: 26px; font: 700 .76rem/1 var(--font-body); font-style: normal; letter-spacing: .26em; text-transform: uppercase; color: var(--gold-light); }

/* ---------- Iconic destinations ---------- */
.am-dest-track {
    display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 66px) / 4); gap: 22px;
    overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
}
.am-dest-track::-webkit-scrollbar { display: none; }
.am-dest-card { position: relative; display: block; aspect-ratio: 3 / 4.3; overflow: hidden; color: #fff; scroll-snap-align: start; isolation: isolate; border: 1px solid var(--am-line); }
.am-dest-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.4s var(--ease); }
.am-dest-card::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(20, 11, 9, 0) 40%, rgba(20, 11, 9, .9) 100%); transition: background .6s var(--ease); }
.am-dest-tag {
    position: absolute; top: 18px; left: 18px;
    background: #fff; color: var(--ink); padding: 8px 13px;
    font: 700 .66rem/1 var(--font-body); letter-spacing: .2em; text-transform: uppercase;
}
.am-dest-body { position: absolute; left: 0; right: 0; bottom: 0; padding: 28px 26px; }
.am-dest-body h3 { font-family: var(--font-display); font-weight: 500; font-size: 2rem; line-height: 1.1; margin: 0; color: #fff; }
.am-dest-more { display: grid; grid-template-rows: 0fr; opacity: 0; transition: grid-template-rows .6s var(--ease), opacity .5s var(--ease); }
.am-dest-more > * { min-height: 0; overflow: hidden; }
.am-dest-more p { margin: 12px 0 16px; font-size: .9rem; line-height: 1.6; color: rgba(255, 255, 255, .82); }
.am-dest-card:hover img { transform: scale(1.08); }
.am-dest-card:hover::before { background: linear-gradient(180deg, rgba(20, 11, 9, .2) 0%, rgba(20, 11, 9, .94) 100%); }
.am-dest-card:hover .am-dest-more, .am-dest-card:focus-visible .am-dest-more { grid-template-rows: 1fr; opacity: 1; }

/* ---------- Ready to plan ---------- */
.am-ready { position: relative; padding: 150px 0; text-align: center; isolation: isolate; }
.am-ready::before { content: ''; position: absolute; inset: 0; z-index: -2; background: var(--bg) center 60% / cover no-repeat; }
.am-ready::after { content: ''; position: absolute; inset: 0; z-index: -1; background: rgba(20, 11, 9, .62); }
.am-ready .am-title { margin-bottom: 34px; }

/* ---------- Conservation ---------- */
.am-cons-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 90px; align-items: center; }
.am-cons-media { position: relative; }
.am-cons-media img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; border: 1px solid var(--gold); padding: 8px; }
.am-cons-badge {
    position: absolute; left: -34px; bottom: -34px;
    display: flex; align-items: center; gap: 14px; padding: 20px 26px;
    background: var(--maroon); color: rgba(255, 255, 255, .8); font-size: .85rem; line-height: 1.35;
    box-shadow: 0 24px 50px -20px rgba(0, 0, 0, .7);
}
.am-cons-badge i { font-size: 1.7rem; color: var(--gold-light); }
.am-cons-badge strong { color: #fff; font-family: var(--font-display); font-size: 1.3rem; font-weight: 600; }

/* ---------- Contact ---------- */
.am-contact { background: var(--am-bg-2); border-top: 1px solid var(--am-line); }
.am-contact-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 90px; align-items: start; }
.am-office { padding: 26px 0; border-top: 1px solid var(--am-line); display: grid; gap: 8px; }
.am-office:last-child { border-bottom: 1px solid var(--am-line); }
.am-office h3 { font-family: var(--font-display); font-weight: 500; font-size: 1.5rem; color: #fff; margin: 0 0 4px; }
.am-office a, .am-office p { display: flex; align-items: baseline; gap: 12px; margin: 0; color: var(--am-text); width: fit-content; transition: color .3s; }
.am-office a:hover { color: var(--gold-light); }
.am-office i { color: var(--gold); width: 16px; flex: none; }
.home-am .am-form { border-radius: 4px; }

/* ---------- Stay connected ---------- */
.am-social { padding: 110px 0; text-align: center; border-top: 1px solid var(--am-line); }
.am-social .am-title { font-size: clamp(1.9rem, 3.2vw, 2.7rem); margin-bottom: 34px; }
.am-social-links { display: flex; justify-content: center; gap: 16px; }
.am-social-links a {
    width: 58px; height: 58px; display: grid; place-items: center;
    border: 1px solid var(--am-line); color: #fff; font-size: 1.2rem;
    transition: background .3s var(--ease), border-color .3s var(--ease), color .3s var(--ease);
}
.am-social-links .icon-ta { width: 22px; height: 22px; }
.am-social-links a:hover { background: var(--gold); border-color: var(--gold); color: var(--ink); }

/* ---------- Responsive ---------- */
@media (hover: none) {
    .am-svc-more, .am-dest-more { grid-template-rows: 1fr; opacity: 1; }
}

@media (max-width: 1200px) {
    .am-svc-grid { grid-template-columns: repeat(2, 1fr); }
    .am-svc { aspect-ratio: 4 / 4.4; }
    .am-dest-track { grid-auto-columns: calc((100% - 44px) / 3); }
}

@media (max-width: 991px) {
    .am-section { padding: 90px 0; }
    .am-intro { padding-top: 110px; }
    .am-seal { display: none; }
    .am-intro-grid, .am-roots-grid, .am-cons-grid, .am-contact-grid { grid-template-columns: 1fr; gap: 60px; }
    .am-ta-years { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .am-intro-media { max-width: 560px; }
    .am-roots-media { max-width: 620px; }
    .am-mosaic { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 200px; }
    .am-diff-track { grid-auto-columns: calc((100% - 28px) / 2); }
    .am-dest-track { grid-auto-columns: calc((100% - 22px) / 2); }
    .am-trust-inner { grid-template-columns: 1fr; gap: 22px; text-align: center; }
    .am-cons-badge { left: 16px; bottom: -28px; }
}

@media (max-width: 640px) {
    .am-section { padding: 72px 0; }
    .am-head { margin-bottom: 44px; }
    .am-btns { flex-direction: column; }
    .am-btn { width: 100%; }
    .am-intro-media { padding: 0 44px 60px 0; }
    .am-intro-media::before { top: -12px; left: -12px; right: 60px; bottom: 76px; }
    .am-day { grid-template-columns: 1fr; margin-bottom: 44px; }
    .am-day-item { padding: 26px 10px; }
    .am-day-item + .am-day-item { border-left: 0; border-top: 1px solid var(--am-line); }
    .am-mosaic { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 150px; gap: 10px; }
    .am-svc-grid { grid-template-columns: 1fr; }
    .am-svc { aspect-ratio: 4 / 4.8; }
    .am-svc-body { padding: 28px 26px; }
    .am-trust h2 { font-size: 1.6rem; }
    .am-trust-list li { font-size: 1.2rem; padding: 4px 26px; }
    .am-ta-years { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .am-ta-badge { min-height: 148px; }
    .am-ta-badge strong { font-size: 1.85rem; }
    .am-ta-ollie { width: 72px; height: 72px; }
    .am-ta-brand { gap: 14px; margin-bottom: 22px; }
    .am-diff-track, .am-dest-track { grid-auto-columns: 84%; gap: 16px; }
    .am-quote { padding: 120px 0; }
    .am-ready { padding: 110px 0; }
    .am-roots-main { width: 100%; }
    .am-roots-accent { width: 42%; left: 8px; right: auto; }
    .am-social-links a { width: 52px; height: 52px; }
}

@media (prefers-reduced-motion: reduce) {
    .am-seal svg, .am-marquee-track { animation: none; }
}
