/*
=================================================================
OSG Brochure - Page, Single, Archive, and 404 template styles
=================================================================
*/


/* ---------------------------------------------------------------
   Shared hero (page + single)
   --------------------------------------------------------------- */

.osg-page-hero,
.osg-post-hero {
    background: var(--navy-800);
    color: #fff;
    padding-block: clamp(3rem, 8vw, 5rem);
    position: relative;
    overflow: hidden;
}

.osg-page-hero--image,
.osg-post-hero--image {
    background-image:
        linear-gradient(to bottom, rgba(13, 30, 56, 0.78) 0%, rgba(13, 30, 56, 0.60) 100%),
        var(--hero-img);
    background-size: cover;
    background-position: center;
}

.osg-page-hero__title,
.osg-post-hero__title {
    font-family: var(--font-d);
    font-size: clamp(1.75rem, 5vw, 3rem);
    font-weight: 700;
    line-height: 1.15;
    color: #fff;
    margin: 0.5rem 0 0;
    max-width: 820px;
    letter-spacing: -0.02em;
}

.osg-post-meta {
    margin-top: 1rem;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.65);
    font-family: var(--font-m);
}

.osg-post-date,
.osg-post-author {
    color: rgba(255, 255, 255, 0.65);
}


/* ---------------------------------------------------------------
   Page content
   --------------------------------------------------------------- */

.osg-page-content {
    padding-block: clamp(2.5rem, 6vw, 5rem);
}

.osg-page-content .entry-content {
    max-width: 1280px;
    margin-inline: auto;
    padding-inline: clamp(1rem, 5vw, 5rem);
}

/* Block editor alignment classes */
.osg-page-content .entry-content .alignwide {
    max-width: 1440px;
    margin-inline: auto;
}

.osg-page-content .entry-content .alignfull {
    max-width: 100vw;
    margin-inline: calc(-1 * clamp(1rem, 5vw, 5rem));
}

/* Prose defaults */
.entry-content h2,
.entry-content h3,
.entry-content h4 {
    font-family: var(--font-d);
    color: var(--navy-800);
    line-height: 1.25;
    margin-top: 2em;
    margin-bottom: 0.6em;
}

.entry-content h2 { font-size: clamp(1.375rem, 3vw, 1.875rem); }
.entry-content h3 { font-size: clamp(1.125rem, 2.5vw, 1.375rem); }
.entry-content h4 { font-size: 1.0625rem; }

.entry-content p,
.entry-content li {
    font-size: 1.0625rem;
    line-height: 1.75;
    color: var(--grey-700);
}

.entry-content a {
    color: var(--navy-500);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.entry-content a:hover {
    color: var(--navy-700);
}

.entry-content a:focus-visible {
    outline: 2px solid var(--teal-500);
    outline-offset: 3px;
    border-radius: 2px;
}

.entry-content ul,
.entry-content ol {
    padding-left: 1.5rem;
}

.entry-content li + li {
    margin-top: 0.4rem;
}

.entry-content blockquote {
    border-left: 4px solid var(--teal-400);
    margin-left: 0;
    padding-left: 1.5rem;
    color: var(--grey-600);
    font-style: italic;
}

.entry-content figure {
    margin: 2rem 0;
}

.entry-content figure img {
    border-radius: var(--r-lg);
    max-width: 100%;
    height: auto;
}

.entry-content figcaption {
    font-size: 0.875rem;
    color: var(--grey-400);
    margin-top: 0.5rem;
    text-align: center;
}

.entry-content table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9375rem;
}

.entry-content th,
.entry-content td {
    text-align: left;
    padding: 0.75rem 1rem;
    border-bottom: 1px solid var(--grey-100);
}

.entry-content th {
    font-weight: 600;
    color: var(--navy-700);
    background: var(--navy-50);
}

.entry-content hr {
    border: none;
    border-top: 1px solid var(--grey-100);
    margin-block: 2.5rem;
}


/* ---------------------------------------------------------------
   Single post content
   --------------------------------------------------------------- */

.osg-post-content {
    padding-block: clamp(2.5rem, 6vw, 5rem);
}

.osg-post-nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1px;
    margin-top: 3rem;
    border-top: 1px solid var(--grey-100);
    background: var(--grey-100);
}

.osg-post-nav__prev,
.osg-post-nav__next {
    background: var(--surface);
}

.osg-post-nav__link {
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
    padding: 1.5rem;
    text-decoration: none;
    color: inherit;
    transition: background 0.15s ease;
}

.osg-post-nav__link:hover {
    background: var(--grey-50);
}

.osg-post-nav__link--right {
    align-items: flex-end;
    text-align: right;
}

.osg-post-nav__arrow {
    font-size: 1.25rem;
    color: var(--teal-500);
    line-height: 1;
}

.osg-post-nav__direction {
    font-family: var(--font-m);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--grey-500);
}

.osg-post-nav__title {
    font-family: var(--font-d);
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--navy-700);
    line-height: 1.35;
}

.osg-post-back {
    padding-bottom: 3rem;
}

.osg-back-link {
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--navy-500);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    transition: color 0.15s ease;
}

.osg-back-link:hover {
    color: var(--navy-700);
}

.osg-back-link:focus-visible {
    outline: 2px solid var(--teal-500);
    outline-offset: 3px;
    border-radius: 2px;
}


/* ---------------------------------------------------------------
   Archive hero - projects listing
   --------------------------------------------------------------- */

.osg-archive-hero {
    background: var(--navy-900);
    color: #fff;
    padding: 56px 0 48px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    position: relative;
    overflow: hidden;
}

/* Subtle grid pattern in hero */
.osg-archive-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
}

.osg-archive-hero .osg-wrap {
    position: relative;
    z-index: 1;
}

.osg-eyebrow {
    font-family: var(--font-m);
    font-size: 11px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--teal-400);
    margin: 0 0 16px;
    display: block;
}

.osg-archive-title {
    font-family: var(--font-d);
    font-size: clamp(32px, 4.5vw, 52px);
    font-weight: 700;
    color: #fff;
    margin: 0;
    letter-spacing: -0.025em;
    line-height: 1.08;
}

.osg-archive-content {
    padding: 64px 0 80px;
    background: var(--bg);
}


/* ---------------------------------------------------------------
   Project cards
   --------------------------------------------------------------- */

.osg-post-grid {
    list-style: none !important;
    margin: 0;
    padding: 0;
}

.osg-post-grid > li {
    list-style: none;
    padding: 0;
    margin: 0;
}

.osg-project-card {
    background: var(--navy-800);
    border-radius: var(--r-xl);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.07);
    height: 100%;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.osg-project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 24px 56px rgba(4, 15, 33, 0.55);
    border-color: rgba(78, 186, 180, 0.25);
}

.osg-project-card__link {
    display: flex;
    flex-direction: column;
    height: 100%;
    text-decoration: none;
    color: inherit;
}

.osg-project-card__link:focus-visible {
    outline: 2px solid var(--teal-400);
    outline-offset: 3px;
    border-radius: var(--r-xl);
}

/* Hero image area */
.osg-project-card__image {
    height: 200px;
    background: var(--navy-700) center / cover no-repeat;
    position: relative;
    flex-shrink: 0;
}

/* Default pattern when no image */
.osg-project-card__image:not([style]) {
    background-image: linear-gradient(135deg, var(--navy-700) 0%, var(--navy-900) 100%);
}

.osg-project-card__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,
        rgba(4, 15, 33, 0.15) 0%,
        rgba(4, 15, 33, 0.80) 100%);
}

/* Card body */
.osg-project-card__body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 0;
}

/* Meta row - region + status */
.osg-project-card__meta {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
    flex-wrap: wrap;
}

.osg-project-card__region {
    font-family: var(--font-m);
    font-size: 10px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.4);
}

.osg-project-card__status {
    display: flex;
    align-items: center;
    gap: 5px;
    font-family: var(--font-m);
    font-size: 10px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.4);
}

/* Separator dot between region and status */
.osg-project-card__region + .osg-project-card__status::before {
    content: '';
    display: inline-block;
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    margin-right: 4px;
}

/* Animated active dot */
.osg-project-card__status-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #72c05a;
    flex-shrink: 0;
    animation: osg-status-pulse 2.5s ease-in-out infinite;
}

@keyframes osg-status-pulse {
    0%, 100% { box-shadow: 0 0 0 2px rgba(114, 192, 90, 0.2); }
    50%       { box-shadow: 0 0 0 5px rgba(114, 192, 90, 0.06); }
}

/* Title */
.osg-project-card__title {
    font-family: var(--font-d);
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #fff;
    line-height: 1.15;
    margin: 0 0 10px;
}

/* Stage label */
.osg-project-card__stage {
    font-family: var(--font-m);
    font-size: 11px;
    color: var(--teal-400);
    letter-spacing: 0.04em;
    margin: 0 0 20px;
    flex: 1;
}

/* CTA strip */
.osg-project-card__cta {
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-m);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.45);
    padding-top: 16px;
    margin-top: auto;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    transition: color 0.2s ease, gap 0.2s ease;
}

.osg-project-card:hover .osg-project-card__cta {
    color: rgba(255, 255, 255, 0.9);
    gap: 10px;
}

/* Empty state */
.osg-archive-empty {
    text-align: center;
    padding: 80px 20px;
    font-family: var(--font-d);
    font-size: 15px;
    color: var(--grey-400);
}


/* ---------------------------------------------------------------
   Post card
   --------------------------------------------------------------- */

.osg-post-card {
    display: flex;
    flex-direction: column;
    padding: 0;
    overflow: hidden;
}

.osg-post-card__image-link {
    display: block;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 0;
}

.osg-post-card__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.osg-post-card:hover .osg-post-card__image {
    transform: scale(1.04);
}

.osg-post-card__body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 0.5rem;
}

.osg-post-card__title {
    font-family: var(--font-d);
    font-size: 1.125rem;
    font-weight: 600;
    line-height: 1.3;
    color: var(--navy-800);
    margin: 0;
}

.osg-post-card__title a {
    color: inherit;
    text-decoration: none;
}

.osg-post-card__title a:hover {
    color: var(--navy-600);
}

.osg-post-card__title a:focus-visible {
    outline: 2px solid var(--teal-500);
    outline-offset: 3px;
    border-radius: 2px;
}

.osg-post-card__meta {
    font-size: 0.8125rem;
    color: var(--grey-400);
    font-family: var(--font-m);
}

.osg-post-card__excerpt {
    font-size: 0.9375rem;
    line-height: 1.65;
    color: var(--grey-600);
    margin: 0;
    flex: 1;
}

.osg-post-card__read-more {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--navy-500);
    text-decoration: none;
    margin-top: 0.5rem;
    display: inline-block;
    transition: color 0.15s ease;
}

.osg-post-card__read-more:hover {
    color: var(--navy-700);
}

.osg-post-card__read-more:focus-visible {
    outline: 2px solid var(--teal-500);
    outline-offset: 3px;
    border-radius: 2px;
}

/* Empty state */
.osg-archive-empty {
    text-align: center;
    padding-block: 4rem;
    color: var(--grey-500);
}


/* ---------------------------------------------------------------
   Pagination
   --------------------------------------------------------------- */

.osg-pagination {
    margin-top: 3rem;
    display: flex;
    justify-content: center;
}

.osg-pagination .nav-links {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.osg-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding-inline: 0.75rem;
    border-radius: var(--r-sm);
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--navy-600);
    background: var(--surface);
    border: 1px solid var(--grey-100);
    text-decoration: none;
    transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.osg-pagination .page-numbers:hover {
    background: var(--navy-50);
    border-color: var(--navy-200);
    color: var(--navy-800);
}

.osg-pagination .page-numbers.current {
    background: var(--navy-700);
    border-color: var(--navy-700);
    color: #fff;
}

.osg-pagination .page-numbers:focus-visible {
    outline: 2px solid var(--teal-500);
    outline-offset: 3px;
}

.osg-pagination .dots {
    background: transparent;
    border-color: transparent;
    color: var(--grey-400);
}


/* ---------------------------------------------------------------
   Buttons (used in 404 and elsewhere)
   --------------------------------------------------------------- */

.osg-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.75rem;
    font-family: var(--font-b);
    font-size: 0.9375rem;
    font-weight: 600;
    border-radius: var(--r-md);
    text-decoration: none;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
    border: 2px solid transparent;
}

.osg-btn:focus-visible {
    outline: 2px solid var(--teal-400);
    outline-offset: 3px;
}

.osg-btn--primary {
    background: var(--navy-700);
    color: #fff;
    border-color: var(--navy-700);
}

.osg-btn--primary:hover {
    background: var(--navy-900);
    border-color: var(--navy-900);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.osg-btn--secondary {
    background: transparent;
    color: var(--navy-700);
    border-color: var(--navy-300, #8aa8c8);
}

.osg-btn--secondary:hover {
    background: var(--navy-50);
    border-color: var(--navy-600);
    transform: translateY(-1px);
}


/* ---------------------------------------------------------------
   404 page
   --------------------------------------------------------------- */

.osg-404 {
    background: var(--bg);
    text-align: center;
}

.osg-404__title {
    font-family: var(--font-d);
    font-size: clamp(2rem, 6vw, 3.5rem);
    font-weight: 700;
    color: var(--navy-800);
    margin: 0.5rem 0 1rem;
    letter-spacing: -0.02em;
}

.osg-404__actions {
    margin-top: 2rem;
    justify-content: center;
}


/* ---------------------------------------------------------------
   About Us page
   --------------------------------------------------------------- */

/* Hero - dark, full-width, inherits the osg-page-hero base for
   colour and font tokens but uses a taller padding and teal glow. */
.osg-about-hero {
    background:
        linear-gradient(
            to bottom,
            rgba(13, 30, 56, 0.82) 0%,
            rgba(13, 30, 56, 0.70) 60%,
            rgba(13, 30, 56, 0.88) 100%
        ),
        url('https://offshoresolutionsgroup.com/wp-content/uploads/2024/12/Flow-park-hero-scaled.jpg')
        center center / cover no-repeat;
    padding: 160px 0 96px;
    position: relative;
    overflow: hidden;
}

/* Teal glow - top right */
.osg-about-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 80% 20%, rgba(78, 186, 180, 0.10) 0%, transparent 55%);
    pointer-events: none;
    z-index: 1;
}

.osg-about-hero .osg-wrap {
    position: relative;
    z-index: 2;
}

.osg-about-hero__content {
    max-width: 720px;
}

.osg-about-hero__title {
    font-family: var(--font-d);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    color: #fff;
    line-height: 1.1;
    letter-spacing: -0.025em;
    margin: 0 0 24px;
}

.osg-about-hero__lead {
    font-size: 1.125rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.72);
    max-width: 580px;
    margin: 0;
}



/* Profile - light section */
.osg-about-profile {
    background: var(--bg);
    padding: 96px 0;
}

.osg-about-profile__inner {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 80px;
    align-items: start;
}

/* Stat sidebar */
.osg-about-stats {
    display: flex;
    flex-direction: column;
    gap: 0;
    border: 1px solid rgba(31, 56, 99, 0.1);
    border-radius: var(--r-lg);
    overflow: hidden;
    background: var(--surface);
}

.osg-about-stat {
    padding: 20px 24px;
    border-bottom: 1px solid rgba(31, 56, 99, 0.08);
}

.osg-about-stat:last-child {
    border-bottom: none;
}

.osg-about-stat--logo {
    padding: 24px 24px 20px;
    border-bottom: 1px solid rgba(31, 56, 99, 0.08);
}

.osg-about-stat__logo {
    display: block;
    max-width: 160px;
    height: auto;
    opacity: 0.85;
}

.osg-about-stat__label {
    font-family: var(--font-m);
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--grey-500);
    margin: 0 0 4px;
}

.osg-about-stat__value {
    font-family: var(--font-d);
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--navy-700);
    margin: 0;
}

/* Team - dark section */
.osg-about-team {
    background: var(--navy-900);
    padding: 96px 0;
}

.osg-about-team__header {
    margin-bottom: 64px;
}

/* Reuse osg-eyebrow but in teal for dark background */
.osg-about-team__header .osg-eyebrow {
    color: var(--teal-400);
}

.osg-about-team__title {
    font-family: var(--font-d);
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin: 0;
}

.osg-about-team__grid {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

/* Person card */
.osg-person {
    display: grid;
    grid-template-columns: 140px 1fr;
    gap: 28px;
    background: rgb(27 42 67 / 70%);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: var(--r-lg);
    padding: 28px;
    transition: background 0.3s ease, border-color 0.3s ease;
}

.osg-person:hover {
    background: rgb(27 42 67 / 100%);
    border-color: rgba(78, 186, 180, 0.2);
}

.osg-person__photo {
    width: 140px;
    height: 140px;
    object-fit: cover;
    object-position: center top;
    border-radius: 8px;
    display: block;
    flex-shrink: 0;
}

.osg-person__info {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.osg-person__name {
    font-family: var(--font-d);
    font-size: 1.125rem;
    font-weight: 700;
    color: #fff;
    margin: 0 0 4px;
    line-height: 1.2;
}

.osg-person__role {
    font-family: var(--font-m);
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--teal-400);
    margin: 0 0 14px;
}

.osg-person__bio {
    font-size: 0.875rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
}

/* About page responsive */
@media (max-width: 960px) {
    .osg-about-profile__inner {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .osg-about-stats {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }

    .osg-about-stat {
        border-bottom: none;
        border-right: 1px solid rgba(31, 56, 99, 0.08);
    }

    .osg-about-stat:nth-child(even) {
        border-right: none;
    }
}

@media (max-width: 768px) {
    .osg-about-hero {
        padding: 100px 0 64px;
    }

    .osg-about-team__grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .osg-about-profile,
    .osg-about-team {
        padding: 64px 0;
    }
}

@media (max-width: 560px) {
    .osg-person {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .osg-person__photo {
        width: 100px;
        height: 100px;
    }

    .osg-about-stats {
        grid-template-columns: 1fr;
    }

    .osg-about-stat {
        border-right: none;
        border-bottom: 1px solid rgba(31, 56, 99, 0.08);
    }
}


/* =============================================================
   Contact page
   ============================================================= */

.osg-contact-wrap {
    max-width: 900px;
    margin: 0 auto;
    padding: 64px 24px 96px;
}

.osg-contact-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 64px;
}

.osg-contact-card {
    background: var(--surface);
    border: 1px solid var(--grey-100);
    border-radius: 12px;
    padding: 28px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.osg-contact-card__icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(42, 138, 130, 0.08);
    color: var(--teal-500);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.osg-contact-card__label {
    font-family: var(--font-m);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--grey-500);
    margin: 0;
}

.osg-contact-card__value {
    font-style: normal;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.osg-contact-card__value a {
    font-size: 1rem;
    font-weight: 500;
    color: var(--navy-600);
    text-decoration: none;
}

.osg-contact-card__value a:hover {
    color: var(--navy-800);
    text-decoration: underline;
}

.osg-contact-card__value span,
.osg-contact-card__value address {
    font-size: 0.9375rem;
    color: var(--grey-600);
    line-height: 1.6;
}

/* CF7 form section */
.osg-contact-form {
    border-top: 1px solid var(--grey-100);
    padding-top: 48px;
}

.osg-contact-form__title {
    font-family: var(--font-d);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--navy-800);
    margin: 0 0 32px;
}

.osg-contact-form .wpcf7-form p {
    margin-bottom: 20px;
}

.osg-contact-form .wpcf7-form input[type="text"],
.osg-contact-form .wpcf7-form input[type="email"],
.osg-contact-form .wpcf7-form input[type="tel"],
.osg-contact-form .wpcf7-form textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--grey-300);
    border-radius: 6px;
    font-family: var(--font-b);
    font-size: 0.9375rem;
    color: var(--grey-800);
    background: var(--surface);
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
    box-sizing: border-box;
}

.osg-contact-form .wpcf7-form input:focus,
.osg-contact-form .wpcf7-form textarea:focus {
    outline: none;
    border-color: var(--teal-500);
    box-shadow: 0 0 0 3px rgba(42, 138, 130, 0.12);
}

.osg-contact-form .wpcf7-form textarea {
    min-height: 140px;
    resize: vertical;
}

.osg-contact-form .wpcf7-form input[type="submit"] {
    background: var(--navy-700);
    color: #fff;
    border: none;
    padding: 13px 32px;
    border-radius: 6px;
    font-family: var(--font-m);
    font-size: 0.9375rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.15s ease;
}

.osg-contact-form .wpcf7-form input[type="submit"]:hover {
    background: var(--navy-900);
}

@media (max-width: 640px) {
    .osg-contact-cards {
        grid-template-columns: 1fr;
    }
}
