/* ============================================================
   File: public/assets/css/pages.css
   Shared styles for interior pages (About, Contact, etc.)
============================================================ */


/* ============================================================
   PAGE HERO (interior pages)
============================================================ */
.page-hero {
    position: relative;
    background: var(--forest-deep);
    padding: 100px 0 80px;
    overflow: hidden;
    text-align: center;
}

.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(201,168,76,0.07) 1px, transparent 1px);
    background-size: 28px 28px;
    pointer-events: none;
}

.page-hero-glow {
    position: absolute;
    top: 10%;
    right: 15%;
    width: 460px;
    height: 460px;
    background: radial-gradient(circle, rgba(201,168,76,0.09) 0%, transparent 65%);
    pointer-events: none;
}

.page-hero-inner {
    position: relative;
    z-index: 2;
}

.page-hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.page-hero-dot {
    width: 5px;
    height: 5px;
    background: var(--gold);
    border-radius: 50%;
    flex-shrink: 0;
    display: inline-block;
}

.page-hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.6rem, 5vw, 4.2rem);
    font-weight: 400;
    color: var(--ivory);
    line-height: 1.06;
    margin-bottom: 22px;
}

.page-hero-title em {
    font-style: italic;
    color: var(--gold);
}

.page-hero-subtitle {
    font-size: 15px;
    line-height: 1.9;
    color: rgba(247,243,236,0.54);
    max-width: 520px;
    margin: 0 auto;
}


/* ============================================================
   BREADCRUMB
============================================================ */
.breadcrumb-bar {
    background: #fff;
    border-bottom: 1px solid var(--ivory-deep);
    padding: 13px 0;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: var(--earth);
    list-style: none;
}

.breadcrumb a {
    color: var(--earth);
    text-decoration: none;
    transition: color 0.2s;
}

.breadcrumb a:hover {
    color: var(--gold);
}

.breadcrumb svg {
    width: 13px;
    height: 13px;
    flex-shrink: 0;
}

.breadcrumb-current {
    color: var(--forest);
    font-weight: 500;
}


/* ============================================================
   STAT STRIP GRID (also in home.css — duplicated for standalone use)
============================================================ */
.stat-strip-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}


/* ============================================================
   ABOUT PAGE — STORY SECTION
============================================================ */
.about-story-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 72px;
    align-items: center;
}

.about-story-visual {
    position: relative;
}

.about-story-img-wrap {
    background: var(--forest);
    aspect-ratio: 4/5;
    position: relative;
    overflow: hidden;
    max-width: 460px;
}

.about-story-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.75;
}

.about-story-img-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(13,31,21,0.6), transparent 50%);
}

.about-story-img-cap {
    position: absolute;
    bottom: 28px;
    left: 28px;
    right: 28px;
}

.about-story-accent {
    position: absolute;
    bottom: -24px;
    right: -24px;
    width: 160px;
    height: 160px;
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    z-index: -1;
    opacity: 0.15;
}

.about-story-cert {
    position: absolute;
    top: 28px;
    right: -20px;
    background: var(--forest-deep);
    border: 1px solid rgba(201,168,76,0.25);
    padding: 18px 22px;
    text-align: center;
    min-width: 120px;
    z-index: 2;
}

.about-story-text p {
    font-size: 14.5px;
    line-height: 1.88;
    color: var(--earth-dark);
    margin-bottom: 18px;
}


/* ============================================================
   ABOUT PAGE — VALUES GRID
============================================================ */
.values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
}

.value-card {
    text-align: center;
    padding: 40px 28px;
    border: 1px solid var(--ivory-deep);
    transition: all 0.3s ease;
}

.value-card:hover {
    border-color: rgba(201,168,76,0.4);
    transform: translateY(-6px);
    box-shadow: 0 20px 48px rgba(26,61,43,0.1);
}

.value-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--forest), var(--forest-light));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--gold);
}

.value-icon svg {
    width: 24px;
    height: 24px;
}

.value-title {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 500;
    color: var(--forest);
    margin-bottom: 12px;
}

.value-desc {
    font-size: 14px;
    line-height: 1.8;
    color: var(--earth);
}


/* ============================================================
   ABOUT PAGE — TIMELINE
============================================================ */
.timeline {
    max-width: 720px;
    margin: 0 auto;
    position: relative;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 19px;
    top: 0;
    bottom: 0;
    width: 1px;
    background: linear-gradient(to bottom, transparent, var(--gold), transparent);
}

.timeline-item {
    display: flex;
    gap: 32px;
    margin-bottom: 40px;
    align-items: flex-start;
}

.timeline-dot {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background: var(--forest);
    border: 2px solid var(--gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.timeline-dot span {
    font-family: var(--font-body);
    font-size: 9px;
    font-weight: 700;
    color: var(--gold);
    letter-spacing: 0.05em;
}

.timeline-content {
    padding-top: 8px;
}

.timeline-title {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 500;
    color: var(--forest);
    margin-bottom: 6px;
}

.timeline-desc {
    font-size: 14px;
    line-height: 1.8;
    color: var(--earth);
}


/* ============================================================
   ABOUT PAGE — TEAM CARD
============================================================ */
.team-card-grid {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 56px;
    align-items: center;
    background: var(--ivory);
    border: 1px solid var(--ivory-deep);
    padding: 48px;
}

.team-photo {
    background: linear-gradient(135deg, var(--forest), var(--forest-light));
    aspect-ratio: 3/4;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.team-photo-icon {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.18;
}

.team-photo-icon svg {
    width: 80px;
    height: 80px;
    color: var(--gold);
}

.team-photo-cap {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 24px;
    width: 100%;
    background: linear-gradient(to top, rgba(13,31,21,0.85), transparent);
}

.team-name {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 400;
    color: var(--forest);
    margin-bottom: 6px;
}

.team-rule {
    width: 48px;
    height: 1px;
    background: var(--gold);
    margin-bottom: 20px;
}

.team-bio {
    font-size: 14px;
    line-height: 1.85;
    color: var(--earth);
    margin-bottom: 16px;
}

.team-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.team-tag {
    display: inline-block;
    background: #EBF2EE;
    color: var(--forest);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.06em;
    padding: 4px 12px;
    text-transform: uppercase;
}


/* ============================================================
   ABOUT PAGE — CERTIFICATIONS
============================================================ */
.certs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.cert-card {
    border: 1px solid rgba(201,168,76,0.15);
    padding: 36px;
    text-align: center;
    transition: border-color 0.25s, background 0.25s;
}

.cert-card:hover {
    border-color: rgba(201,168,76,0.35);
    background: rgba(255,255,255,0.03);
}

.cert-icon {
    width: 52px;
    height: 52px;
    border: 1px solid rgba(201,168,76,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px;
    color: var(--gold);
}

.cert-icon svg {
    width: 22px;
    height: 22px;
}

.cert-title {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 400;
    color: var(--ivory);
    margin-bottom: 10px;
}

.cert-desc {
    font-size: 13.5px;
    line-height: 1.8;
    color: rgba(247,243,236,0.5);
}


/* ============================================================
   CONTACT PAGE — INFO CARDS
============================================================ */
.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2px;
    background: var(--ivory-deep);
    border: 1px solid var(--ivory-deep);
}

.contact-info-card {
    background: #fff;
    padding: 36px 28px;
    text-align: center;
    transition: background 0.25s, transform 0.25s;
}

.contact-info-card:hover {
    background: var(--ivory);
    transform: translateY(-4px);
}

.contact-info-icon {
    width: 52px;
    height: 52px;
    background: linear-gradient(135deg, rgba(201,168,76,0.1), rgba(201,168,76,0.05));
    border: 1px solid rgba(201,168,76,0.22);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px;
    color: var(--gold);
}

.contact-info-icon svg {
    width: 20px;
    height: 20px;
}

.contact-info-label {
    font-size: 9.5px;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 10px;
}

.contact-info-value {
    font-size: 14.5px;
    font-weight: 500;
    color: var(--forest);
    line-height: 1.55;
    text-decoration: none;
    display: block;
    transition: color 0.2s;
}

a.contact-info-value:hover {
    color: var(--gold-dark);
}

.contact-info-sub {
    font-size: 11.5px;
    color: var(--earth);
    margin-top: 5px;
}


/* ============================================================
   CONTACT PAGE — FORM + MAP LAYOUT
============================================================ */
.contact-main-grid {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 72px;
    align-items: start;
}

.contact-form-wrap {
    background: #fff;
    border: 1px solid var(--ivory-deep);
    padding: 48px;
}

.contact-side-info {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.contact-map-embed {
    border: 1px solid var(--ivory-deep);
    overflow: hidden;
    aspect-ratio: 4/3;
    background: var(--ivory-warm);
}

.contact-map-embed iframe {
    width: 100%;
    height: 100%;
    display: block;
    border: 0;
    filter: contrast(1.05) saturate(0.9);
}

.contact-hours-card {
    background: var(--forest);
    border: 1px solid rgba(201,168,76,0.15);
    padding: 32px;
}

.contact-hours-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid rgba(201,168,76,0.08);
    font-size: 13.5px;
}

.contact-hours-row:last-child {
    border-bottom: none;
}

.contact-hours-day {
    color: rgba(247,243,236,0.55);
}

.contact-hours-time {
    color: var(--gold);
    font-weight: 500;
}

.contact-wa-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #25D366;
    color: #fff;
    padding: 14px 24px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-decoration: none;
    transition: background 0.2s, transform 0.2s;
}

.contact-wa-btn:hover {
    background: #1DA851;
    transform: translateY(-2px);
    color: #fff;
}

.contact-wa-btn svg {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
}


/* ============================================================
   FORM FIELD ROWS
============================================================ */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}


/* ============================================================
   SUCCESS / ERROR STATES
============================================================ */
.form-success-banner {
    background: #F0FDF4;
    border: 1px solid #86EFAC;
    padding: 24px 28px;
    text-align: center;
}

.form-success-icon {
    width: 48px;
    height: 48px;
    background: #22C55E;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 14px;
    color: #fff;
}

.form-success-icon svg {
    width: 22px;
    height: 22px;
}


/* ============================================================
   RESPONSIVE
============================================================ */
@media (max-width: 1100px) {
    .about-story-grid    { gap: 52px; }
    .contact-main-grid   { gap: 48px; }
    .team-card-grid      { gap: 40px; }
}

@media (max-width: 960px) {
    .about-story-grid    { grid-template-columns: 1fr; gap: 48px; }
    .about-story-visual  { max-width: 420px; margin: 0 auto; }
    .about-story-cert    { right: 0; }
    .values-grid         { grid-template-columns: repeat(2, 1fr); }
    .team-card-grid      { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
    .certs-grid          { grid-template-columns: 1fr 1fr; }
    .contact-info-grid   { grid-template-columns: repeat(2, 1fr); }
    .contact-main-grid   { grid-template-columns: 1fr; }
    .contact-form-wrap   { padding: 36px; }
    .stat-strip-grid     { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 680px) {
    .page-hero           { padding: 80px 0 60px; }
    .values-grid         { grid-template-columns: 1fr; }
    .certs-grid          { grid-template-columns: 1fr; }
    .contact-info-grid   { grid-template-columns: 1fr; }
    .form-row            { grid-template-columns: 1fr; }
    .contact-form-wrap   { padding: 28px 20px; }
    .team-card-grid      { padding: 28px 20px; }
}

@media (max-width: 560px) {
    .page-hero-eyebrow          { flex-wrap: wrap; justify-content: center; }
    .stat-strip-grid            { grid-template-columns: repeat(2, 1fr); }
    .stat-item                  { padding: 28px 16px; }
}
