/* ================================================================
   ACO Investment Group — Main Stylesheet
   ================================================================ */

/* ----------------------------------------------------------------
   0. LOCAL FONTS
   ---------------------------------------------------------------- */
@font-face {
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('../fonts/poppins-400.woff2') format('woff2');
}
@font-face {
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url('../fonts/poppins-500.woff2') format('woff2');
}
@font-face {
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('../fonts/poppins-600.woff2') format('woff2');
}
@font-face {
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('../fonts/poppins-700.woff2') format('woff2');
}
@font-face {
    font-family: 'Abhaya Libre';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url('../fonts/abhaya-libre-500.woff2') format('woff2');
}
@font-face {
    font-family: 'Abhaya Libre';
    font-style: normal;
    font-weight: 800;
    font-display: swap;
    src: url('../fonts/abhaya-libre-800.woff2') format('woff2');
}

/* ----------------------------------------------------------------
   1. CSS VARIABLES
   ---------------------------------------------------------------- */
:root {
    --color-bg:            #06293b;
    --color-gold:          #fbc852;
    --color-gold-nav:      #e4ba5b;
    --color-white:         #ffffff;
    --color-text-light:    #f3ffff;
    --color-placeholder:   #516a8e;
    --color-form-label:    #142b4c;
    --color-form-dark:     #06293b;
    --color-card-bg:       rgba(255, 255, 255, 0.69);

    --font-primary:  'Poppins', sans-serif;
    --font-display:  'Abhaya Libre', serif;

    --nav-height:        100px;
    --nav-height-text:   0px;
    --container-max:     1630px;
    --section-pad-v:     80px;
    --section-pad-h:     145px;

    --radius-sm:   10px;
    --radius-md:   15px;
    --radius-card: 13.593px;

    --shadow-img:  0 4px 10px rgba(0, 0, 0, 0.31);
    --shadow-card: 0 0 82px 41px rgba(0, 0, 0, 0.03);

    --transition: 0.3s ease;
}

/* ----------------------------------------------------------------
   2. RESET & BASE
   ---------------------------------------------------------------- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-primary);
    background-color: var(--color-bg);
    color: var(--color-white);
    overflow-x: hidden;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    position: relative;
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

ul, ol {
    list-style: none;
}

button {
    font-family: inherit;
    cursor: pointer;
}

/* ----------------------------------------------------------------
   3. UTILITIES
   ---------------------------------------------------------------- */
.section-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--section-pad-h);
}

.section-heading {
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: clamp(26px, 2.5vw, 40px);
    color: var(--color-gold);
    line-height: normal;
    margin-bottom: 15px;
}

/* ----------------------------------------------------------------
   4. NAVIGATION
   ---------------------------------------------------------------- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: background-color var(--transition), box-shadow var(--transition);
}

.site-header.scrolled {
    background-color: rgba(6, 41, 59, 0.96);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 2px 24px rgba(0, 0, 0, 0.35);
}

.navbar {
    height: var(--nav-height);
    display: flex;
    align-items: center;
}

.nav-container {
    width: 100%;
    max-width: 1920px;
    margin: 0 auto;
    padding: 0 59px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

.nav-brand {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.nav-logo {
    height: 80px;
    width: auto;
    filter: drop-shadow(1px 1px 0.5px rgba(0, 0, 0, 0.26));
    transition: opacity var(--transition);
}

.nav-logo:hover {
    opacity: 0.85;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 40px;
    padding: 0 40px;
}

.nav-link {
    font-family: var(--font-primary);
    font-weight: 700;
    font-size: clamp(16px, 1.2vw, 22px);
    color: var(--color-white);
    white-space: nowrap;
    text-shadow: 0 3px 1.5px rgba(0, 0, 0, 0.25);
    transition: color var(--transition);
    position: relative;
}

.nav-link:hover,
.nav-link--active {
    color: var(--color-gold-nav);
}

/* Hamburger */
.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    background: none;
    border: none;
    padding: 8px;
    z-index: 1001;
    cursor: pointer;
}

.hamburger-line {
    display: block;
    width: 28px;
    height: 2px;
    background-color: var(--color-white);
    border-radius: 2px;
    transition: transform var(--transition), opacity var(--transition);
}

.nav-toggle[aria-expanded="true"] {
    display: none;
}

/* Mobile overlay */
.mobile-overlay {
    position: fixed;
    inset: 0;
    background-color: rgba(6, 41, 59, 0.98);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition);
}

.mobile-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.mobile-close {
    position: absolute;
    top: 24px;
    right: 28px;
    background: none;
    border: none;
    color: var(--color-white);
    font-size: 32px;
    line-height: 1;
    padding: 8px;
    transition: color var(--transition);
}

.mobile-close:hover {
    color: var(--color-gold);
}

.mobile-nav-list {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 36px;
}

.mobile-nav-link {
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 26px;
    color: var(--color-white);
    letter-spacing: 2px;
    transition: color var(--transition);
}

.mobile-nav-link:hover {
    color: var(--color-gold);
}

/* ----------------------------------------------------------------
   5. HERO SECTION
   ---------------------------------------------------------------- */

/* Mountain wrapper spans hero + about section */
.site-mountain-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: calc(100vh + 300px);
    min-height: 700px;
    overflow: hidden;
    z-index: 0;
    pointer-events: none;
}

.site-mountain-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
}

.hero-gradient-top {
    position: absolute;
    top: 0px;
    left: 0;
    right: 0;
    height: 273px;
    background: linear-gradient(to bottom, rgba(16, 43, 57, 0.4), rgba(11, 29, 38, 0));
    z-index: 1;
    pointer-events: none;
}

.hero-gradient-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 400px;
    /* background: linear-gradient(to bottom, rgba(6, 41, 59, 0), var(--color-bg)); */
    background: linear-gradient(180deg, rgba(11, 29, 38, 0.00) 0%, rgba(6, 41, 59, 0.90) 61.38%);
    z-index: 1;
    pointer-events: none;
}

.hero-section {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 0 24px;
    max-width: 1085px;
    width: 100%;
    margin-top: var(--nav-height-text);
    gap: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-title-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 10px;
}

.hero-title-line {
    display: block;
    width: 72px;
    height: 2px;
    background-color: var(--color-gold);
    flex-shrink: 0;
}

.hero-title {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: clamp(18px, 2.3vw, 36px);
    color: var(--color-gold);
    letter-spacing: 6px;
    text-transform: uppercase;
    white-space: nowrap;
    line-height: 1.2;
}

.hero-quote {
    font-style: normal;
}

.hero-quote-text {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: clamp(20px, 2.8vw, 40px);
    color: var(--color-text-light);
    line-height: 40px;
    text-shadow: 0 3px 3px rgba(0, 0, 0, 0.4);
    margin-bottom: 8px;
}

.hero-quote-author {
    font-family: var(--font-display);
    font-weight: 500;
    font-size: clamp(18px, 2.2vw, 36px);
    color: var(--color-text-light);
    text-shadow: 0 3px 3px rgba(0, 0, 0, 0.4);
}

/* Responsive hero image crop — Figma frames 2811:42–53 */
@media (max-width: 375px) {
    .site-mountain-img { object-position: 28% center; }
}
@media (min-width: 376px) and (max-width: 430px) {
    .site-mountain-img { object-position: 32% center; }
}
@media (min-width: 431px) and (max-width: 530px) {
    .site-mountain-img { object-position: 35% center; }
}
@media (min-width: 531px) and (max-width: 640px) {
    .site-mountain-img { object-position: 38% 25%; }
}
@media (min-width: 641px) and (max-width: 768px) {
    .site-mountain-img { object-position: 40% 20%; }
}
@media (min-width: 769px) and (max-width: 900px) {
    .site-mountain-img { object-position: center 22%; }
}
@media (min-width: 901px) and (max-width: 1024px) {
    .site-mountain-img { object-position: center 18%; }
}
@media (min-width: 1025px) and (max-width: 1280px) {
    .site-mountain-img { object-position: center 15%; }
}
@media (min-width: 1281px) and (max-width: 1440px) {
    .site-mountain-img { object-position: center 12%; }
}
@media (min-width: 1441px) {
    .site-mountain-img { object-position: center top; }
}

/* ----------------------------------------------------------------
   6. ABOUT SECTION
   ---------------------------------------------------------------- */
.about-section {
    padding: var(--section-pad-v) 0;
    /* background-color: transparent; mountain wrapper shows through */
    background: linear-gradient(180deg, rgba(11, 29, 38, 0.00) 0%, rgba(6, 41, 59, 0.90) 61.38%) !important;
    position: relative;
    z-index: 1;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 544px;
    gap: 90px;
    align-items: start;
    position: relative;
    z-index: 1;
}

.about-heading {
    margin-bottom: 40px;
}

.about-body p {
    font-family: var(--font-primary);
    font-weight: 400;
    font-size: clamp(14px, 1vw, 22px);
    color: var(--color-white);
    line-height: 24px;
    text-align: justify;
    margin-bottom: 32px;
}

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

.about-image-wrap {
    align-self: start;
}

.about-image {
    width: 100%;
    height: 635px;
    object-fit: cover;
    object-position: center;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-img);
}

/* ----------------------------------------------------------------
   7. PORTFOLIO SECTION
   ---------------------------------------------------------------- */
.portfolio-section {
    padding-top: 60px;
    padding-bottom: 0;
    background-color: var(--color-bg);
}

.portfolio-section .section-container {
    padding-bottom: 32px;
}

.portfolio-strip {
    border-top: 3px solid var(--color-gold);
    border-bottom: 3px solid var(--color-gold);
    background-image: url('../images/portfolio-strip-bg-new.png');
    background-size: cover;
    background-position: center bottom;
    overflow: hidden;
    height: 260px;
    display: flex;
    align-items: center;
    position: relative;
}

.portfolio-strip::before {
    content: '';
    position: absolute;
    inset: 0;
    background-color: rgba(6, 41, 59, 0.14);
    z-index: 0;
    pointer-events: none;
}

.portfolio-track {
    display: flex;
    width: max-content;
    animation: marquee-scroll 24s linear infinite;
    position: relative;
    z-index: 1;
}

.portfolio-track:hover {
    animation-play-state: paused;
}

@media (prefers-reduced-motion: reduce) {
    .portfolio-track { animation: none; }
}

.portfolio-logos {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.portfolio-logo-link {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px 60px;
    transition: transform var(--transition);
    cursor: pointer;
}

.portfolio-logo-link:is(a):hover {
    transform: scale(1.06);
}

.portfolio-logo {
    height: 94px;
    width: auto;
    max-width: 330px;
    object-fit: contain;
}

@keyframes marquee-scroll {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ----------------------------------------------------------------
   8. ADVISORY SERVICES SECTION
   ---------------------------------------------------------------- */
.advisory-section {
    padding: var(--section-pad-v) 0;
    padding-top: 80px;
    background-color: var(--color-bg);
}

.advisory-grid {
    display: grid;
    grid-template-columns: 497px 1fr;
    gap: 90px;
    align-items: start;
}

.advisory-card-img {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    /* box-shadow: var(--shadow-img); */
    height: 678px;
}

.advisory-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: bottom center;
    display: block;
}

.digipay-badge {
    position: absolute;
    top: 22px;
    left: 18px;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 8px;
    background-color: rgba(6, 41, 59, 0.55);
    padding: 8px 14px 8px 10px;
    border-radius: 8px;
    backdrop-filter: blur(4px);
}

.digipay-icon {
    width: 50px;
    height: 50px;
    object-fit: contain;
    flex-shrink: 0;
}

.digipay-name {
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 24px;
    color: var(--color-white);
    text-shadow: 0 2px 2px rgba(0, 0, 0, 0.2);
    white-space: nowrap;
}

.advisory-content .section-heading {
    margin-bottom: 40px;
}

.advisory-body p {
    font-family: var(--font-primary);
    font-weight: 400;
    font-size: clamp(15px, 1vw, 22px);
    color: var(--color-white);
    line-height: 24px;
    text-align: justify;
    margin-bottom: 32px;
}

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

/* ----------------------------------------------------------------
   9. CONTACT SECTION
   ---------------------------------------------------------------- */

/* Wrapper div that holds contact section + footer with shared background */
.contact-footer-bg {
    position: relative;
    background-image: url('../images/footer.png');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    overflow: hidden;
}

.contact-footer-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(6, 41, 59, 0.74) 0%, rgba(6, 41, 59, 0.08) 24%, rgba(6, 41, 59, 0.18) 48%, #06293B 92%),
        radial-gradient(circle at 50% 45%, rgba(255, 255, 255, 0.18) 0%, rgba(6, 41, 59, 0) 46%);
    pointer-events: none;
    z-index: 0;
}

.contact-section {
    padding: 86px var(--section-pad-h) 62px;
    position: relative;
    z-index: 1;
}

.contact-card {
    position: relative;
    z-index: 1;
    max-width: 1626px;
    margin: 0 auto;
    background-color: var(--color-card-bg);
    border-radius: var(--radius-card);
    box-shadow: var(--shadow-card);
    display: grid;
    grid-template-columns: 530px 1fr;
    overflow: hidden;
}

/* ---- Contact Info Panel ---- */
.contact-info-panel {
    padding: 48px 5px 48px 53px;
    position: relative;
    overflow: hidden;
    background-color: rgba(6, 41, 59, 1);
    border-radius: var(--radius-card);
    margin: 15px 10px;
}

.contact-info-panel::before {
    /* opacity: 0.12; */
    pointer-events: none;
}

.contact-info-heading {
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: clamp(22px, 2vw, 35px);
    color: var(--color-gold);
    margin-bottom: 36px;
    position: relative;
    z-index: 1;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 26px;
    position: relative;
    z-index: 1;
}

.contact-office-name {
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: clamp(15px, 1.1vw, 18px);
    color: var(--color-gold);
}

.contact-details p {
    font-family: var(--font-primary);
    font-weight: 400;
    font-size: clamp(13px, 1vw, 17px);
    color: var(--color-white);
    line-height: 1.5;
}

.contact-details strong {
    font-weight: 600;
    color: var(--color-white);
}

.contact-phone {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 6px;
}

.contact-icon-img {
    width: 20px;
    height: 20px;
    object-fit: contain;
    opacity: 0.8;
}

.contact-email-link {
    color: var(--color-white);
    transition: color var(--transition);
    word-break: break-all;
}

.contact-email-link:hover {
    color: var(--color-gold);
}

/* ---- Contact Form Panel ---- */
.contact-form-panel {
    padding: 48px 52px 48px 44px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 24px;
}

.form-group--full {
    grid-column: 1 / -1;
}

.form-label {
    font-family: var(--font-primary);
    font-weight: 700;
    font-size: clamp(14px, 1vw, 17px);
    color: var(--color-form-label);
    display: block;
}

.form-label--subject {
    display: block;
    margin-bottom: 10px;
    font-size: clamp(14px, 1vw, 17px);
}

.form-required {
    color: #e00;
}

.form-input {
    background: transparent;
    border: none;
    border-bottom: 1.5px solid var(--color-form-label);
    padding: 8px 0;
    font-family: var(--font-primary);
    font-weight: 500;
    font-size: clamp(14px, 1vw, 17px);
    color: var(--color-form-label);
    outline: none;
    width: 100%;
    transition: border-color var(--transition);
}

.form-input::placeholder {
    color: var(--color-placeholder);
    font-weight: 500;
}

.form-input:focus {
    border-bottom-color: var(--color-gold);
}

.form-textarea {
    background: transparent;
    border: none;
    border-bottom: 1.5px solid var(--color-form-label);
    padding: 8px 0;
    font-family: var(--font-primary);
    font-weight: 500;
    font-size: clamp(14px, 1vw, 17px);
    color: var(--color-form-label);
    outline: none;
    width: 100%;
    resize: none;
    line-height: 1.7;
    transition: border-color var(--transition);
}

.form-textarea::placeholder {
    color: var(--color-placeholder);
}

.form-textarea:focus {
    border-bottom-color: var(--color-gold);
}

/* ============================================================
   INTL-TEL-INPUT — bottom-border-only, match ACO form style
   ============================================================ */
.iti {
    width: 100%;
    display: block;
    position: relative; /* required for absolutely-positioned flag container */
}

/* Input keeps its own full-width border-bottom — no extra border on the flag container */
.iti input[type="tel"] {
    padding-left: 58px !important;
    padding-right: 0 !important;
}

/* Flag container: absolutely positioned, no border — rides on top of input's underline */
.iti__flag-container {
    border-bottom: none;
    top: 0;
    bottom: 0;
    left: 0;
}

.iti__selected-flag {
    background: transparent !important;
    border-radius: 0;
    height: 100%;
    display: flex;
    align-items: center;
    padding: 0 6px 0 4px;
}
.iti__selected-flag:hover,
.iti__selected-flag:focus {
    background: rgba(20, 43, 76, 0.06) !important;
}
.iti__arrow {
    border-top-color: var(--color-form-label);
    margin-left: 4px;
}
.iti__arrow--up {
    border-bottom-color: var(--color-form-label);
}
.iti__country-list {
    background-color: #fff;
    border: 1px solid rgba(20, 43, 76, 0.25);
    border-radius: 4px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
    z-index: 100;
    max-height: 220px;
}
.iti__country {
    color: var(--color-form-label);
    font-family: var(--font-primary);
    font-size: 14px;
}
.iti__country.iti__highlight,
.iti__country:hover {
    background-color: rgba(20, 43, 76, 0.06);
}
.iti__search-input {
    border: none;
    border-bottom: 1px solid rgba(20, 43, 76, 0.2);
    font-family: var(--font-primary);
    font-size: 14px;
    color: var(--color-form-label);
    outline: none;
    width: 100%;
    padding: 6px 8px;
}
.iti__dial-code {
    color: rgba(20, 43, 76, 0.6);
}

.char-count {
    font-family: var(--font-primary);
    font-size: 13px;
    color: var(--color-placeholder);
    text-align: right;
    display: block;
    margin-top: 4px;
}

/* Subject checkboxes */
.subject-options {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 28px;
}

.subject-option {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    user-select: none;
}

.subject-checkbox {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
    pointer-events: none;
}

.subject-custom-check {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 1.5px solid var(--color-form-label);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background-color var(--transition), border-color var(--transition);
    position: relative;
}

.subject-checkbox:checked ~ .subject-custom-check {
    background-color: var(--color-form-label);
    border-color: var(--color-form-label);
}

.subject-checkbox:checked ~ .subject-custom-check::after {
    content: '';
    position: absolute;
    width: 5px;
    height: 9px;
    border: 2px solid var(--color-white);
    border-top: none;
    border-left: none;
    transform: rotate(45deg) translate(-1px, -2px);
}

.subject-label-text {
    font-family: var(--font-primary);
    font-weight: 500;
    font-size: clamp(13px, 0.95vw, 16px);
    color: var(--color-form-label);
    white-space: nowrap;
}

/* reCAPTCHA */

.g-recaptcha {
    flex-shrink: 0;
}

/* Send button */
.form-footer {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    margin-top: 20px;
}

.btn-send-message {
    background-color: var(--color-form-dark);
    border: 1px solid #000;
    color: var(--color-gold);
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 14px;
    padding: 14px 36px;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color var(--transition), color var(--transition), border-color var(--transition);
    box-shadow: 0 0 7px rgba(0, 0, 0, 0.12);
    letter-spacing: 0.3px;
}

.btn-send-message:hover {
    background-color: var(--color-gold);
    color: var(--color-form-dark);
    border-color: var(--color-gold);
}

/* ----------------------------------------------------------------
   SWEETALERT — ACO theme overrides
   ---------------------------------------------------------------- */
.swal-overlay {
    background-color: rgba(6, 41, 59, 0.65);
}
.swal-modal {
    font-family: 'Poppins', sans-serif;
    border-radius: 10px;
    padding: 32px 32px 28px;
}
.swal-title {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 20px;
    color: #06293b;
    margin-bottom: 8px;
}
.swal-text {
    font-family: 'Poppins', sans-serif;
    font-size: 15px;
    color: #142b4c;
    text-align: center;
}
.swal-footer {
    text-align: center;
}
.swal-button {
    background-color: #06293b !important;
    color: #fbc852 !important;
    font-family: 'Poppins', sans-serif !important;
    font-weight: 600 !important;
    font-size: 14px !important;
    padding: 12px 36px !important;
    border-radius: 6px !important;
    border: 1px solid #000 !important;
    box-shadow: 0 0 7px rgba(0, 0, 0, 0.12) !important;
    letter-spacing: 0.3px !important;
    transition: background-color 0.2s, color 0.2s, border-color 0.2s !important;
}
.swal-button:hover:not([disabled]) {
    background-color: #fbc852 !important;
    color: #06293b !important;
    border-color: #fbc852 !important;
}
.swal-button:focus {
    outline: none !important;
    box-shadow: 0 0 0 3px rgba(251, 200, 82, 0.35) !important;
}
/* Success icon — gold ring + navy checkmark */
.swal-icon--success {
    border-color: #fbc852 !important;
}
.swal-icon--success__ring {
    border-color: #fbc852 !important;
}
.swal-icon--success__line {
    background-color: #06293b !important;
}
.swal-icon--success:after,
.swal-icon--success:before {
    background: #fff !important;
}
.swal-icon--success__hide-corners {
    background: #fff !important;
}

/* ----------------------------------------------------------------
   10. FOOTER
   ---------------------------------------------------------------- */
.site-footer {
    background-color: transparent;
    padding: 28px 80px 36px;
    position: relative;
    z-index: 1;
    /* sits above .contact-footer-bg::after gradient overlay */
}

.footer-inner {
    max-width: 1626px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 180px 1fr 180px;
    align-items: end;
    gap: 24px;
}

.footer-logo {
    height: 61px;
    width: auto;
    object-fit: contain;
    box-shadow: 0 3px 3px rgba(0, 0, 0, 0.05);
}

.footer-copy {
    font-family: var(--font-primary);
    font-weight: 400;
    font-size: clamp(13px, 1vw, 17px);
    color: var(--color-white);
    line-height: 1.6;
    text-align: center;
    grid-column: 2;
    padding-bottom: 4px;
}

/* ----------------------------------------------------------------
   11. SCROLL-IN ANIMATIONS
   ---------------------------------------------------------------- */
[data-animate] {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

[data-animate].animated {
    opacity: 1;
    transform: translateY(0);
}

.contact-section:target .contact-card {
    opacity: 1;
    transform: none;
}

[data-delay="200"] { transition-delay: 0.2s; }
[data-delay="400"] { transition-delay: 0.4s; }

@media (prefers-reduced-motion: reduce) {
    [data-animate] {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* ----------------------------------------------------------------
   12. RESPONSIVE — DESKTOP XL (max-width: 1440px)
   ---------------------------------------------------------------- */
@media (max-width: 1440px) {
    :root { --section-pad-h: 100px; }
    .contact-card { grid-template-columns: 480px 1fr; }

    .site-mountain-bg {
        height: calc(100vh + 250px);
        min-height: 700px;
    }
}

/* ----------------------------------------------------------------
   13. RESPONSIVE — LAPTOP (max-width: 1200px)
   ---------------------------------------------------------------- */
@media (max-width: 1200px) {
    :root {
        --section-pad-h: 60px;
        --section-pad-v: 60px;
    }

    .nav-container { padding: 0 40px; }

    .about-grid {
        grid-template-columns: 1fr 420px;
        gap: 56px;
    }
    .about-image { height: 500px; }

    .advisory-grid {
        grid-template-columns: 420px 1fr;
        gap: 56px;
    }
    .advisory-card-img { height: 560px; }

    .contact-card { grid-template-columns: 440px 1fr; }
    .contact-section { padding: 60px var(--section-pad-h); }

    .portfolio-logo { height: 75px; }
    .portfolio-logo-link { padding: 16px 44px; }
    .portfolio-strip { height: 270px; }

    .site-mountain-bg {
        height: calc(100vh + 200px);
        min-height: 650px;
    }
}

/* ----------------------------------------------------------------
   14. RESPONSIVE — TABLET LANDSCAPE (max-width: 1024px)
   ---------------------------------------------------------------- */
@media (max-width: 1024px) {
    :root {
        --nav-height: 80px;
        --section-pad-h: 40px;
    }

    .nav-menu { display: none; }
    .nav-toggle { display: flex; }
    .nav-logo { height: 60px; }
    .nav-container { padding: 0 24px; }

    .hero-quote-text br { display: none; }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .about-image-wrap {
        position: static;
        max-width: 600px;
        width: 100%;
        margin: 0 auto;
    }
    .about-image { height: 420px; }
    .about-content .section-heading { margin-bottom: 48px; }

    .advisory-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .advisory-image-wrap {
        max-width: 500px;
        width: 100%;
        margin: 0 auto;
    }
    .advisory-card-img { height: 440px; }
    .advisory-content .section-heading { margin-bottom: 48px; }

    .contact-card { grid-template-columns: 1fr; }
    .contact-section { padding: 60px 24px; }
    .contact-info-panel { padding: 36px 32px; }
    .contact-form-panel { padding: 36px 32px; }

    .site-footer { padding: 28px 40px 28px; }
    .footer-inner {
        grid-template-columns: 140px 1fr 140px;
    }

    /* tablet landscape image — reduce wrapper to prevent stretch */
    .site-mountain-bg {
        height: calc(100vh + 200px);
        min-height: 600px;
    }
}

/* ----------------------------------------------------------------
   15. RESPONSIVE — TABLET PORTRAIT (max-width: 768px)
   ---------------------------------------------------------------- */
@media (max-width: 768px) {
    :root {
        --section-pad-v: 48px;
        --section-pad-h: 20px;
    }

    .hero-title {
        white-space: normal;
        letter-spacing: 3px;
        font-size: clamp(16px, 4.5vw, 26px);
    }
    .hero-title-line { width: 36px; }
    .hero-title-row { gap: 12px; }
    .hero-quote-text {
        font-size: clamp(18px, 4vw, 28px);
        line-height: 1.35;
    }
    .hero-quote-author { font-size: clamp(16px, 3.5vw, 24px); }

    .about-content .section-heading { margin-bottom: 32px; }
    .about-image { height: 300px; }

    .portfolio-strip { height: 200px; }
    .portfolio-logo { height: 58px; max-width: 200px; }
    .portfolio-logo-link { padding: 12px 28px; }

    .advisory-content .section-heading { margin-bottom: 32px; }
    .advisory-card-img { height: 320px; }

    .form-row { grid-template-columns: 1fr; gap: 0; }
    .subject-options { gap: 10px 20px; }

    .contact-section { padding: 48px 16px; }
    .contact-info-panel,
    .contact-form-panel { padding: 28px 20px; }

    .site-footer { padding: 24px 20px; }
    .footer-inner {
        grid-template-columns: 92px 1fr 92px;
        gap: 16px;
    }
    .footer-logo { height: 48px; }
    .footer-copy { font-size: 12px; }

    /* mobile images are portrait/hero-only — keep wrapper tight */
    .site-mountain-bg {
        height: calc(100vh + 180px);
        min-height: 550px;
    }
}

/* ----------------------------------------------------------------
   16. RESPONSIVE — MOBILE (max-width: 480px)
   ---------------------------------------------------------------- */
@media (max-width: 480px) {
    .hero-section { min-height: 520px; }
    .hero-content { padding: 0 16px; margin-top: 60px; }
    .hero-title { font-size: clamp(14px, 4.2vw, 20px); letter-spacing: 2px; }
    .hero-title-line { width: 22px; }
    .hero-quote-text {
        font-size: clamp(17px, 4.5vw, 22px);
        line-height: 1.4;
    }
    .hero-quote-author { font-size: clamp(15px, 3.8vw, 19px); }

    .section-heading { font-size: 24px; }

    .about-image { height: 240px; }
    .about-body p, .advisory-body p {
        font-size: 15px;
        line-height: 26px;
        margin-bottom: 20px;
    }

    .advisory-card-img { height: 280px; }

    .portfolio-strip { height: 160px; }
    .portfolio-logo { height: 44px; max-width: 150px; }
    .portfolio-logo-link { padding: 10px 18px; }

    .contact-card { border-radius: 10px; }
    .contact-info-heading { font-size: 22px; }

    .form-footer {
        flex-direction: column;
        justify-content: center;
        gap: 14px;
    }
    .btn-send-message { width: 100%; text-align: center; }
    .g-recaptcha { margin: 0 auto; }

    .subject-options { flex-direction: column; gap: 10px; }
    .subject-label-text { white-space: normal; }

    .site-mountain-bg {
        top: 0;
        height: calc(100vh + 150px);
        min-height: 500px;
    }
}

@media (max-width: 430px) {

    .site-mountain-bg {
        top: 0;
        height: calc(100vh + 150px);
        min-height: 500px;
    }
}
@media (max-width: 412px) {

    .site-mountain-bg {
        top: 0;
        height: calc(100vh + 150px);
        min-height: 500px;
    }
}
/* ----------------------------------------------------------------
   17. RESPONSIVE — SMALL MOBILE (max-width: 360px)
   ---------------------------------------------------------------- */
@media (max-width: 360px) {
    :root { --nav-height: 70px; }
    .nav-logo { height: 48px; }
    .hero-title { font-size: 13px; letter-spacing: 1.5px; }
    .hero-title-line { width: 16px; }
    .hero-quote-text { font-size: 15px; line-height: 1.45; }
    .hero-quote-author { font-size: 14px; }
    .portfolio-logo { height: 36px; max-width: 120px; }
    .portfolio-logo-link { padding: 8px 14px; }
    .portfolio-strip { height: 130px; }
    .contact-section { padding: 36px 12px; }
    .site-footer { padding: 20px 16px; }
    .footer-inner {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .footer-copy {
        grid-column: auto;
    }

    .site-mountain-bg {
        top: 0;
        height: calc(100vh + 150px);
        min-height: 500px;
    }
}
