/* =====================================================================
   OUR ACHIEVEMENTS & AWARDS PAGE
   Styles: public/css/achievements.css (app/Views/pages/achievements.php)
   Scoped strictly under .pac for luxury architectural design.
   ===================================================================== */

.pac {
    --night: #12070a;
    --night-2: #1f0b10;
    --maroon: #8B1A1A;
    --maroon-dark: #6e1419;
    --gold: #C59B2B;
    --gold-hi: #F6DC98;
    --gold-soft: #E2B46A;
    --gold-lo: #8A6417;
    --gold-grad: linear-gradient(135deg, #F6DC98 0%, #D9B048 38%, #C59B2B 62%, #8A6417 100%);
    --ivory: #FFF8EF;
    --cream: #FBF3E7;
    --ink: #241c19;
    --muted: #6a5d52;
    --border: #EFE3CF;
    --wa: #1FAF54;
    --serif: "Cormorant Garamond", "Playfair Display", Georgia, serif;
    --sans: "Raleway", "Roboto", system-ui, sans-serif;
    --ease-out: cubic-bezier(.22, 1, .36, 1);
    --shadow-card: 0 1px 2px rgba(60, 31, 18, .04), 0 16px 40px -16px rgba(60, 31, 18, .22);
    --shadow-lift: 0 2px 4px rgba(60, 31, 18, .05), 0 30px 64px -22px rgba(110, 20, 25, .38);

    --pac-facets-light: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cg fill='%23fff' stroke='%23fff' stroke-opacity='.10' stroke-width='.6'%3E%3Cpath d='M0 0L0 40L40 40Z' fill-opacity='0.050'/%3E%3Cpath d='M0 0L80 0L40 40Z' fill-opacity='0.110'/%3E%3Cpath d='M80 0L40 40L120 40Z' fill-opacity='0.020'/%3E%3Cpath d='M80 0L120 40L160 40Z' fill-opacity='0.080'/%3E%3Cpath d='M80 0L160 0L160 40Z' fill-opacity='0.140'/%3E%3Cpath d='M0 40L40 40L0 80Z' fill-opacity='0.040'/%3E%3Cpath d='M40 40L0 80L80 80Z' fill-opacity='0.090'/%3E%3Cpath d='M40 40L120 40L80 80Z' fill-opacity='0.010'/%3E%3Cpath d='M120 40L80 80L160 80Z' fill-opacity='0.120'/%3E%3Cpath d='M120 40L160 40L160 80Z' fill-opacity='0.060'/%3E%3Cpath d='M0 80L0 120L40 120Z' fill-opacity='0.030'/%3E%3Cpath d='M0 80L80 80L40 120Z' fill-opacity='0.100'/%3E%3Cpath d='M80 80L40 120L120 120Z' fill-opacity='0.070'/%3E%3Cpath d='M80 80L120 120L160 120Z' fill-opacity='0.130'/%3E%3Cpath d='M80 80L160 80L160 120Z' fill-opacity='0.020'/%3E%3Cpath d='M0 120L40 120L0 160Z' fill-opacity='0.080'/%3E%3Cpath d='M40 120L0 160L80 160Z' fill-opacity='0.050'/%3E%3Cpath d='M40 120L120 120L80 160Z' fill-opacity='0.110'/%3E%3Cpath d='M120 120L80 160L160 160Z' fill-opacity='0.030'/%3E%3Cpath d='M120 120L160 120L160 160Z' fill-opacity='0.090'/%3E%3C/g%3E%3C/svg%3E");

    font-family: var(--sans);
    color: var(--ink);
    background: var(--ivory);
    background-image: var(--pac-facets-light);
    overflow-x: clip;
}

.pac *, .pac *::before, .pac *::after { box-sizing: border-box; }
.pac img { max-width: 100%; display: block; }
.pac a { text-decoration: none; }

.pac [class^="flaticon-"]::before,
.pac [class*=" flaticon-"]::before,
.pac [class^="flaticon-"]::after,
.pac [class*=" flaticon-"]::after,
.pac .fa::before,
.pac .fa::after {
    margin: 0 !important;
    display: inline-block;
    line-height: 1;
    text-align: center;
    vertical-align: middle;
}

/* Sections & Typography */
.pac-section { padding: clamp(68px, 8vw, 110px) 0; position: relative; background: var(--ivory); }
.pac-section--cream { background: var(--cream); }
.pac-head { text-align: center; max-width: 820px; margin: 0 auto clamp(36px, 4.5vw, 60px); }
.pac-eyebrow {
    display: inline-flex; align-items: center; gap: 12px;
    font: 600 12.5px/1.2 var(--sans); letter-spacing: .22em; text-transform: uppercase;
    color: var(--maroon); margin: 0 0 16px;
}
.pac-eyebrow__line { width: 36px; height: 1px; background: var(--gold); }
.pac-title { font: 600 clamp(34px, 4.4vw, 54px)/1.1 var(--serif); color: var(--ink); margin: 0; }
.pac-title em { color: var(--maroon); font-style: italic; }
.pac-intro { font-size: 17px; line-height: 1.75; color: var(--muted); margin: 18px auto 0; max-width: 720px; }

/* Buttons */
.pac-btn {
    position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    min-height: 50px; padding: 0 28px; border-radius: 999px; border: 0; cursor: pointer;
    font: 600 13.5px/1 var(--sans); letter-spacing: .08em; text-transform: uppercase;
    isolation: isolate; overflow: hidden; white-space: nowrap; text-decoration: none !important;
    transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out), filter .3s;
}
.pac-btn:hover { filter: brightness(1.06) saturate(1.08); transform: translateY(-2px); }
.pac-btn--gold {
    color: #3b0d10 !important; text-shadow: 0 1px 0 rgba(255, 245, 215, .55);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, .5) 0%, rgba(255, 255, 255, 0) 45%, rgba(90, 55, 0, 0) 60%, rgba(90, 55, 0, .3) 100%),
        linear-gradient(115deg, #8A6417 0%, #D9B048 16%, #FFF1C4 30%, #C59B2B 45%, #F6DC98 60%, #A77A1E 78%, #EBCB6E 100%);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, .9), inset 0 -2px 1px rgba(110, 70, 10, .45),
        0 3px 0 #8A6417, 0 14px 30px -10px rgba(197, 155, 43, .8);
}
.pac-btn--maroon {
    color: #fff !important;
    background:
        linear-gradient(180deg, rgba(255, 200, 200, .32) 0%, rgba(255, 255, 255, 0) 45%, rgba(0, 0, 0, 0) 60%, rgba(30, 0, 0, .35) 100%),
        linear-gradient(115deg, #4a0b10 0%, #8B1A1A 22%, #cf4a4f 36%, #8B1A1A 52%, #b52d34 70%, #5a0f14 100%);
    box-shadow: 0 3px 0 #4a0b10, 0 14px 30px -10px rgba(139, 26, 26, .75);
}
.pac-btn--ghost-dark {
    color: var(--maroon) !important; background: #fff;
    box-shadow: inset 0 0 0 1px var(--gold-soft), 0 4px 14px rgba(60, 31, 18, .08);
}

/* 4-Pillar Trust Pavilion */
.pac-hero-trust {
    position: relative; z-index: 4; background: #fffdf9;
    border-top: 1px solid rgba(246, 220, 152, 0.35);
    border-bottom: 1px solid rgba(197, 155, 43, 0.22);
    padding: 24px 0;
    box-shadow: 0 10px 30px -15px rgba(60, 31, 18, 0.1);
}
.pac-hero-trust__deck { display: flex; flex-direction: column; gap: 16px; }
.pac-hero-trust__pillars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.pac-trust-pod {
    display: flex; align-items: center; gap: 14px; padding: 12px 16px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.96) 0%, rgba(253, 247, 237, 0.85) 100%);
    border: 1px solid rgba(197, 155, 43, 0.2); border-radius: 14px;
    box-shadow: 0 4px 14px -6px rgba(60, 31, 18, 0.06);
}
.pac-trust-pod__icon {
    display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
    background: var(--gold-grad); color: #3b0d10; font-size: 15px; flex-shrink: 0;
}
.pac-trust-pod__title { display: block; font-size: 13.5px; font-weight: 700; color: var(--ink); }
.pac-trust-pod__desc { display: block; font-size: 11.5px; font-weight: 500; color: var(--muted); margin-top: 2px; }

/* Featured Award Spotlight (Gold Medal) */
.pac-spotlight {
    display: grid; grid-template-columns: 5fr 6fr; gap: clamp(36px, 4.5vw, 60px);
    align-items: center; border-radius: 24px; padding: clamp(28px, 4vw, 48px);
    background: #fff;
    border: 1px solid transparent;
    background:
        linear-gradient(#fff, #fff) padding-box,
        linear-gradient(145deg, rgba(246, 220, 152, .95), var(--border) 32%, var(--border) 68%, rgba(197, 155, 43, .85)) border-box;
    box-shadow: var(--shadow-lift);
    margin-bottom: 50px;
}
.pac-spotlight__media {
    position: relative; border-radius: 20px; overflow: hidden; box-shadow: var(--shadow-lift);
}
.pac-spotlight__media img { width: 100%; height: auto; display: block; }
.pac-spotlight__zoom {
    position: absolute; inset: 0; display: grid; place-items: center;
    background: rgba(18, 7, 10, .4); opacity: 0; transition: opacity .35s;
    color: #fff; font-size: 14px; font-weight: 700;
}
.pac-spotlight__zoom i {
    width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center;
    background: var(--gold-grad); color: #3b0d10; font-size: 20px;
}
.pac-spotlight__media:hover .pac-spotlight__zoom { opacity: 1; }

.pac-spotlight__content { display: flex; flex-direction: column; gap: 16px; }
.pac-badge-seal {
    display: inline-flex; align-items: center; gap: 8px; padding: 6px 16px;
    border-radius: 999px; background: rgba(139, 26, 26, 0.08); border: 1px solid rgba(197, 155, 43, 0.35);
    font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--maroon);
    align-self: flex-start;
}

/* Awards Cards Grid */
.pac-awards__grid {
    display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px;
    margin-bottom: 60px;
}
.pac-award-card {
    display: flex; flex-direction: column; border-radius: 22px; overflow: hidden;
    background: #fff; border: 1px solid rgba(197, 155, 43, 0.25);
    box-shadow: var(--shadow-card);
    transition: transform .4s var(--ease-out), box-shadow .4s;
}
.pac-award-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lift); }
.pac-award-card__media { position: relative; overflow: hidden; }
.pac-award-card__media img {
    width: 100%; height: 320px; object-fit: cover; display: block;
    transition: transform 0.6s var(--ease-out);
}
.pac-award-card:hover .pac-award-card__media img { transform: scale(1.04); }
.pac-award-card__info { padding: 22px 24px; background: #fff; flex: 1; display: flex; flex-direction: column; }
.pac-award-card__title {
    font: 600 20px/1.3 var(--serif); color: var(--ink); margin: 0 0 6px;
}
.pac-award-card__caption { font-size: 14px; line-height: 1.6; color: var(--muted); margin: 0; }

/* 9-Planet Honours Grid */
.pac-honours__grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.pac-honour-card {
    border-radius: 18px; overflow: hidden; background: #fff;
    border: 1px solid rgba(197, 155, 43, 0.22); box-shadow: var(--shadow-card);
    transition: transform .4s var(--ease-out), box-shadow .4s;
}
.pac-honour-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lift); }
.pac-honour-card img {
    width: 100%; height: 260px; object-fit: cover; display: block;
    transition: transform 0.6s var(--ease-out);
}
.pac-honour-card:hover img { transform: scale(1.05); }
.pac-honour-card__text { padding: 14px 18px; font-size: 13px; font-weight: 600; color: #433932; line-height: 1.45; }

/* Conferences Grid */
.pac-events__grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.pac-event-card {
    border-radius: 18px; overflow: hidden; background: #fff;
    border: 1px solid rgba(197, 155, 43, 0.22); box-shadow: var(--shadow-card);
    transition: transform .4s var(--ease-out), box-shadow .4s;
}
.pac-event-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lift); }
.pac-event-card img {
    width: 100%; height: 260px; object-fit: cover; display: block;
    transition: transform 0.6s var(--ease-out);
}
.pac-event-card:hover img { transform: scale(1.05); }
.pac-event-card__caption { padding: 14px 18px; font-size: 13.5px; font-weight: 600; color: #433932; }

/* Grand Cosmic Closing Band */
.pac-band {
    position: relative; overflow: hidden; padding: clamp(68px, 8vw, 104px) 0;
    color: #fff; text-align: center;
    background:
        radial-gradient(900px 500px at 50% 20%, rgba(139, 26, 26, .7), transparent 70%),
        linear-gradient(180deg, var(--night-2), var(--night));
}
.pac-band > .container { position: relative; z-index: 2; }
.pac-band h2 { font: 600 clamp(32px, 4.4vw, 54px)/1.15 var(--serif); color: #fff; margin: 0 0 18px; }
.pac-band h2 em { color: transparent; background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; }
.pac-band p { font-size: 17px; line-height: 1.75; color: rgba(255, 244, 228, .8); max-width: 620px; margin: 0 auto 34px; }
.pac-band__ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }

/* Responsive */
@media (max-width: 1199px) {
    .pac-hero-trust__pillars { grid-template-columns: repeat(2, 1fr); }
    .pac-honours__grid { grid-template-columns: repeat(2, 1fr); }
    .pac-events__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 991px) {
    .pac-spotlight { grid-template-columns: 1fr; }
    .pac-awards__grid { grid-template-columns: 1fr; }
}
@media (max-width: 767px) {
    .pac-hero-trust__pillars { grid-template-columns: 1fr; }
    .pac-honours__grid { grid-template-columns: 1fr; }
    .pac-events__grid { grid-template-columns: 1fr; }
    .pac-btn { width: 100%; justify-content: center; }
}
