/* ------------------------------------------------------------------
   Agentic Solar — contact section (form + booking), modelled on the
   two-column pattern from gloura.io: write to us on the left, book a
   call on the right.
   ------------------------------------------------------------------ */

.as-contact {
    --as-bg: #0b2242;
    --as-accent: #4a86d0;
    --as-line: rgba(11, 34, 66, 0.12);

    width: 100%;
    max-width: 1560px;
    margin: 0 auto;
    padding: 96px 64px 24px;
    font-family: Inter, "Inter Placeholder", sans-serif;
    color: var(--as-bg);
}

.as-contact__head {
    max-width: 720px;
    margin-bottom: 56px;
}

.as-contact__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 24px;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(11, 34, 66, 0.55);
}

.as-contact__eyebrow::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 100px;
    background: var(--as-accent);
}

.as-contact__title {
    margin: 0 0 16px;
    font-family: "Fraunces Variable", "Fraunces", "Fraunces Variable Placeholder", serif;
    font-variation-settings: "opsz" 56, "wght" 350, "SOFT" 100, "WONK" 1;
    font-feature-settings: "ss01" on;
    font-size: clamp(30px, 3.4vw, 48px);
    line-height: 1.08;
    letter-spacing: -0.04em;
    font-weight: 400;
}

.as-contact__lede {
    margin: 0;
    font-size: 17px;
    line-height: 1.6;
    color: rgba(11, 34, 66, 0.66);
}

.as-contact__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 32px;
    align-items: start;
}

.as-card-panel {
    background: #fff;
    border: 1px solid var(--as-line);
    border-radius: 24px;
    padding: 40px;
}

.as-contact__panel-title {
    margin: 0 0 8px;
    font-size: 20px;
    font-weight: 500;
    letter-spacing: -0.02em;
}

.as-contact__panel-note {
    margin: 0 0 28px;
    font-size: 14px;
    line-height: 1.55;
    color: rgba(11, 34, 66, 0.6);
}

/* ---------- form ---------- */

.as-form__row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 16px;
}

.as-form__field {
    margin-bottom: 16px;
}

.as-form input,
.as-form select,
.as-form textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid var(--as-line);
    border-radius: 12px;
    background: #fbfcfe;
    color: var(--as-bg);
    font: inherit;
    font-size: 15px;
    transition: border-color 160ms ease, box-shadow 160ms ease;
}

.as-form input,
.as-form select {
    text-overflow: ellipsis;
}

.as-form textarea {
    min-height: 132px;
    resize: vertical;
}

.as-form input::placeholder,
.as-form textarea::placeholder {
    color: rgba(11, 34, 66, 0.42);
}

.as-form input:focus,
.as-form select:focus,
.as-form textarea:focus {
    outline: none;
    border-color: var(--as-accent);
    box-shadow: 0 0 0 3px rgba(74, 134, 208, 0.18);
}

.as-form__field.is-invalid input,
.as-form__field.is-invalid select,
.as-form__field.is-invalid textarea {
    border-color: #c0463c;
}

.as-form__err {
    display: block;
    min-height: 16px;
    margin-top: 6px;
    font-size: 12px;
    color: #c0463c;
}

.as-form__consent {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 4px 0 24px;
    font-size: 13px;
    line-height: 1.5;
    color: rgba(11, 34, 66, 0.66);
}

.as-form__consent input {
    width: 16px;
    height: 16px;
    margin-top: 2px;
    flex: none;
}

.as-form__consent a {
    color: var(--as-bg);
}

.as-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 48px;
    padding: 0 28px;
    border: 0;
    border-radius: 100px;
    background: var(--as-bg);
    color: #fff;
    font: inherit;
    font-size: 15px;
    font-weight: 500;
    letter-spacing: -0.02em;
    cursor: pointer;
    text-decoration: none;
    transition: transform 200ms ease, background-color 200ms ease;
}

.as-btn:hover {
    transform: translateY(-2px);
    background: #10305a;
}

.as-form__status {
    margin: 14px 0 0;
    font-size: 13px;
    line-height: 1.5;
    color: rgba(11, 34, 66, 0.66);
}

.as-form__status[data-state="error"] {
    color: #c0463c;
}

/* ---------- booking ---------- */

.as-book__meta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 20px;
    font-size: 13px;
    color: rgba(11, 34, 66, 0.6);
}

.as-book__slot {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 420px;
    padding: 32px;
    border: 1px dashed rgba(11, 34, 66, 0.25);
    border-radius: 16px;
    background: #f5f8fc;
    text-align: center;
    color: rgba(11, 34, 66, 0.6);
    font-size: 14px;
    line-height: 1.55;
}

.as-book__slot strong {
    font-weight: 500;
    color: var(--as-bg);
}

/* the real widget replaces .as-book__slot; give it room when it lands.
   width is explicit, not just min-width, so Calendly's own script reads
   a stable container size on first paint instead of measuring mid-reflow
   (that mid-reflow read is what produces the mismatched day-number sizes
   inside the calendar grid on narrow screens). */
.as-book .calendly-inline-widget {
    width: 100%;
    min-width: 280px;
    height: 640px;
}

@media (max-width: 1199px) {
    .as-contact {
        padding-left: 40px;
        padding-right: 40px;
    }
}

@media (max-width: 809px) {
    .as-contact {
        padding: 72px 24px 16px;
    }

    .as-contact__grid,
    .as-form__row {
        grid-template-columns: minmax(0, 1fr);
    }

    .as-card-panel {
        padding: 28px;
    }
}

/* ---------- founders ---------- */

.as-team__head {
    margin: 72px 0 32px;
}

.as-team__title {
    margin: 0;
    font-family: "Fraunces Variable", "Fraunces", "Fraunces Variable Placeholder", serif;
    font-variation-settings: "opsz" 40, "wght" 350, "SOFT" 100, "WONK" 1;
    font-size: clamp(24px, 2.4vw, 34px);
    line-height: 1.12;
    letter-spacing: -0.03em;
    font-weight: 400;
}

.as-team__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px;
}

.as-team__card {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    padding: 24px;
    background: #fff;
    border: 1px solid var(--as-line);
    border-radius: 20px;
}

.as-team__card img {
    width: 96px;
    height: 96px;
    flex: none;
    border-radius: 16px;
    object-fit: cover;
}

.as-team__card h4 {
    margin: 0 0 2px;
    font-size: 17px;
    font-weight: 500;
    letter-spacing: -0.02em;
}

.as-team__role {
    margin: 0 0 10px;
    font-size: 13px;
    color: rgba(11, 34, 66, 0.55);
}

.as-team__bio {
    margin: 0 0 12px;
    font-size: 14px;
    line-height: 1.55;
    color: rgba(11, 34, 66, 0.66);
}

.as-team__links {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin: 0;
    font-size: 13px;
}

.as-team__links a {
    color: var(--as-bg);
    text-decoration: none;
    border-bottom: 1px solid rgba(11, 34, 66, 0.25);
}

.as-team__links a:hover {
    border-bottom-color: var(--as-accent);
}

/* ---------- footer sitemap ---------- */

.as-legal-wrap {
    width: 100%;
    margin-top: 8px;
}

.as-sitemap {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 40px 32px;
    padding: 8px 0 32px;
    font-family: Inter, "Inter Placeholder", sans-serif;
}

.as-sitemap__col {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
}

.as-sitemap__h {
    margin: 0 0 6px;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: rgba(11, 34, 66, 0.45);
}

.as-sitemap a {
    font-size: 14px;
    line-height: 1.4;
    color: rgba(11, 34, 66, 0.75);
    text-decoration: none;
    transition: color 160ms ease;
}

.as-sitemap a:hover {
    color: #0b2242;
}

.as-sitemap__plain {
    font-size: 14px;
    line-height: 1.4;
    color: rgba(11, 34, 66, 0.55);
}

.as-sitemap__person {
    display: flex;
    flex-direction: column;
    gap: 3px;
    margin: 0 0 6px;
}

.as-sitemap__name {
    font-family: "Fraunces Variable", "Fraunces", serif;
    font-style: italic;
    font-size: 19px;
    letter-spacing: -0.02em;
    color: #0b2242;
}

.as-sitemap__role {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(11, 34, 66, 0.45);
}

.as-sitemap__fine {
    max-width: 70ch;
    margin: 0 0 8px;
    padding-top: 24px;
    border-top: 1px solid rgba(11, 34, 66, 0.1);
    font-size: 12px;
    line-height: 1.55;
    color: rgba(11, 34, 66, 0.5);
}

@media (max-width: 1199px) {
    .as-sitemap {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 809px) {
    .as-sitemap {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 28px 20px;
    }
}

/* the footer lockup replaces the template's oversized word-art */
.as-sitemap__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 24px;
    padding: 8px 0 40px;
}

.as-sitemap__logo {
    display: block;
    width: min(560px, 62vw);
    height: 124px;
    background: url("img/logo-navy.png") left center / contain no-repeat;
}

.as-sitemap__cta {
    display: inline-flex;
    align-items: center;
    height: 46px;
    padding: 0 26px;
    border-radius: 100px;
    background: #0b2242;
    color: #fff;
    font-size: 15px;
    font-weight: 500;
    letter-spacing: -0.02em;
    text-decoration: none;
    transition: transform 200ms ease, background-color 200ms ease;
}

.as-sitemap__cta:hover {
    transform: translateY(-2px);
    background: #10305a;
}

/* the template's own copyright line — ours lives in the fine print.
   Only the text node: its wrapper is the parent of our sitemap block. */
.framer-9q8obi {
    display: none !important;
}

.framer-13sswi4 {
    display: block !important;
    overflow: visible !important;
    height: auto !important;
}

.as-legal-wrap {
    flex: 1 1 100%;
}
