/* Landing page styles. Load AFTER style.css. */

:root {
    --coal-accent: #FF6B35;
    --calcite-accent: #B8A98C;
    --ink-muted: #4b5563;
}

html { scroll-behavior: smooth; }

a:focus-visible,
button:focus-visible {
    outline: 3px solid var(--coal-accent);
    outline-offset: 3px;
}

.logo { display: block; }

/* ── Hero ───────────────────────────────────────────── */
.hero {
    isolation: isolate;
    align-items: flex-end;
    padding: 0 2rem 18vh;
}

.hero-video { z-index: 0; filter: none; }

.hero-overlay {
    z-index: 1;
    background:
        linear-gradient(90deg, rgba(11, 25, 44, 0.88) 0%, rgba(11, 25, 44, 0.55) 55%, rgba(11, 25, 44, 0.25) 100%),
        linear-gradient(0deg, rgba(11, 25, 44, 0.7) 0%, transparent 45%);
}

.hero-content {
    z-index: 2;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

.hero-title {
    font-size: clamp(2.4rem, 6.5vw, 4.5rem);
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -0.02em;
    margin-bottom: 1.5rem;
}

.hero-content h1 { font-size: clamp(2.4rem, 6.5vw, 4.5rem); }

.hero-title .line {
    display: block;
    overflow: hidden;
    padding-bottom: 0.08em;
}

.hero-title .line > span {
    display: block;
    transform: translateY(110%);
    animation: lineUp 0.9s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-title .line:nth-child(2) > span { animation-delay: 0.12s; }

.hero-sub,
.hero-actions {
    opacity: 0;
    animation: fadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.45s forwards;
}

.hero-actions { animation-delay: 0.6s; }

.hero .quote {
    max-width: 560px;
    font-size: clamp(1.05rem, 2.5vw, 1.25rem);
    font-weight: 400;
    margin-bottom: 2rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.btn-hero {
    background-color: var(--secondary-white);
    color: var(--primary-navy);
    border-color: var(--secondary-white);
}

.btn-hero:hover {
    background-color: transparent;
    color: var(--secondary-white);
    box-shadow: none;
}

.btn-ghost {
    display: inline-block;
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    border-radius: 8px;
    border: 2px solid rgba(255, 255, 255, 0.7);
    color: var(--secondary-white);
    transition: background-color var(--transition-speed) ease, color var(--transition-speed) ease;
}

.btn-ghost:hover {
    background-color: var(--secondary-white);
    color: var(--primary-navy);
}

@keyframes lineUp { to { transform: translateY(0); } }
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(16px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ── Sections ───────────────────────────────────────── */
.lp-section { padding: 6rem 2rem; }
.lp-tint { background-color: var(--accent-gray); }

.lp-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.lp-head { max-width: 560px; margin-bottom: 3rem; }

.lp-head h2,
.lp-cta h2 {
    font-size: clamp(1.9rem, 4vw, 2.75rem);
    line-height: 1.15;
    letter-spacing: -0.01em;
    margin-bottom: 0.75rem;
}

.lp-head p { color: var(--ink-muted); font-size: 1.05rem; }

/* ── Product tiles ──────────────────────────────────── */
.product-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 340px));
    gap: 1.5rem;
}

.product-tile {
    display: flex;
    flex-direction: column;
    background: var(--secondary-white);
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid #e5e7eb;
    border-top: 5px solid var(--coal-accent);
}

.tile-calcite { border-top-color: var(--calcite-accent); }

.product-tile img {
    width: 100%;
    height: 190px;
    object-fit: cover;
    display: block;
    background: var(--accent-gray);
}

.tile-body { padding: 1.25rem; }

.tile-body h3 { font-size: 1.25rem; margin-bottom: 0.5rem; }

.tile-body p { color: var(--ink-muted); font-size: 0.95rem; margin-bottom: 1rem; }

.tile-link {
    font-weight: 600;
    border-bottom: 2px solid currentColor;
    padding-bottom: 2px;
}

/* ── Enquiry steps ──────────────────────────────────── */
.lp-split {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    align-items: start;
}

.lp-split .lp-head { margin-bottom: 0; }

.steps {
    list-style: none;
    counter-reset: step;
    display: grid;
    gap: 1.75rem;
}

.steps li {
    counter-increment: step;
    position: relative;
    padding-left: 3.5rem;
}

.steps li::before {
    content: counter(step);
    position: absolute;
    left: 0;
    top: 0;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 50%;
    background: var(--primary-navy);
    color: var(--secondary-white);
    font-weight: 600;
    display: grid;
    place-items: center;
}

.steps h3 { font-size: 1.2rem; margin-bottom: 0.25rem; }
.steps p { color: var(--ink-muted); }

/* ── CTA ────────────────────────────────────────────── */
.lp-cta {
    background: var(--primary-navy);
    color: var(--secondary-white);
    padding: 5rem 2rem;
}

.lp-cta p { color: #cbd5e1; margin-bottom: 2rem; font-size: 1.1rem; }

.btn-light {
    display: inline-block;
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    border-radius: 8px;
    border: 2px solid var(--secondary-white);
    background: var(--secondary-white);
    color: var(--primary-navy);
    transition: background-color var(--transition-speed) ease, color var(--transition-speed) ease;
}

.btn-light:hover {
    background: transparent;
    color: var(--secondary-white);
}

/* ── Footer ─────────────────────────────────────────── */
.lp-footer {
    background: #07111f;
    color: #cbd5e1;
    padding: 3.5rem 2rem 1.5rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 2rem;
}

.footer-logo {
    color: var(--secondary-white);
    font-weight: 700;
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.lp-footer h4 {
    color: var(--secondary-white);
    font-size: 1rem;
    margin-bottom: 0.75rem;
}

.lp-footer nav a,
.lp-footer .footer-grid > div a {
    display: block;
    padding: 0.2rem 0;
}

.lp-footer a:hover { color: var(--secondary-white); text-decoration: underline; }

.footer-base {
    margin-top: 2.5rem;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    font-size: 0.9rem;
    color: #94a3b8;
}

/* ── Responsive ─────────────────────────────────────── */
@media (max-width: 900px) {
    .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .lp-split { grid-template-columns: 1fr; gap: 2rem; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
    .lp-section { padding: 4rem 1.25rem; }
    .hero { padding: 0 1rem 14vh; }
    .hero-content { padding: 0 1rem; }
    .product-tile img { height: 180px; }
    .product-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .hero-actions a { width: 100%; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .hero-title .line > span,
    .hero-sub,
    .hero-actions { animation: none; transform: none; opacity: 1; }
}