/* ============================================================================
   DESIGN: Basic — conventional, safe corporate look.
   Sans-serif, blue primary, white cards with light borders, modest shadows.
   ========================================================================== */
@import url("https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;600;700&display=swap");

:root {
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --ink: #1f2937;
    --muted: #6b7280;
    --line: #e5e7eb;
    --bg: #ffffff;
    --bg-alt: #f8fafc;
    --radius: 8px;
    --font: "Open Sans", Arial, sans-serif;
}

body { font-family: var(--font); color: var(--ink); background: var(--bg); font-size: 17px; }
.inset { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
h1, h2, h3, h4 { font-weight: 700; line-height: 1.2; color: var(--ink); }
p { margin: 0 0 1em; }
section { padding: 80px 0; }
section:nth-of-type(even) { background: var(--bg-alt); }
.subheading { color: var(--muted); font-size: 1.1rem; margin-bottom: 2.5rem; }
.fancy-text { font-size: 2rem; font-weight: 700; margin-bottom: .5rem; }

.theme-button, .button {
    display: inline-block; background: var(--primary); color: #fff;
    padding: 12px 24px; border-radius: var(--radius); font-weight: 600; font-size: .95rem;
    transition: background .15s ease;
}
.theme-button:hover, .button:hover { background: var(--primary-dark); }
.buttons { margin-top: 1.5rem; display: flex; gap: 12px; flex-wrap: wrap; }

/* ── Header ─────────────────────────────────────────────────────────────── */
#header { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 100; }
#header .inset { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.wordmark { font-size: 1.5rem; font-weight: 700; letter-spacing: -.01em; color: var(--ink); }
#main-menu .menu { display: flex; align-items: center; gap: 28px; list-style: none; }
.menu-item a { font-size: .95rem; font-weight: 600; color: var(--ink); }
.menu-item a:hover { color: var(--primary); }
.menu-item--cta a { background: var(--primary); color: #fff; padding: 9px 18px; border-radius: var(--radius); }
.menu-item--cta a:hover { color: #fff; }
.mobile-menu-button { display: none; }

/* ── Hero ──────────────────────────────────────────────────────────────── */
.hero { height: 600px; color: #fff; padding: 0; }
.hero__slide { height: 600px; background: linear-gradient(120deg, #1e3a8a, #2563eb); }
.hero__background { background: linear-gradient(120deg, #1e3a8a, #2563eb); }
.hero__overlay { background: var(--bg-color, #000); opacity: var(--bg-opacity, .4); }
.hero .inset { position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column; justify-content: center; }
.hero__copy { max-width: 620px; }
.hero__copy h1 { font-size: 3rem; color: #fff; margin-bottom: 1rem; }
.hero__subheading { font-size: 1.25rem; opacity: .9; margin-bottom: 1.75rem; }

/* ── Work grid ─────────────────────────────────────────────────────────── */
.work__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.work__item { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; transition: box-shadow .15s ease; }
.work__item:hover { box-shadow: 0 8px 24px rgba(0,0,0,.1); }
.work__item__image { aspect-ratio: 4/3; background: #dbe3ef; }
.work__item__meta { padding: 18px; }
.work__item__title { font-size: 1.15rem; }
.work__item__category { color: var(--primary); font-size: .85rem; font-weight: 600; }

/* ── About (Basic section) ─────────────────────────────────────────────── */
.basic .inset { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: center; }
.basic h3 { font-size: 2rem; margin-bottom: 1rem; }
.basic .image { aspect-ratio: 4/3; background: #dbe3ef; border-radius: var(--radius); }

/* ── Services (Boxes section) ──────────────────────────────────────────── */
.grid-slider .strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.boxes__item { display: block; padding: 28px 22px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.boxes__item:hover { border-color: var(--primary); }
.boxes__item__content h4 { font-size: 1.15rem; margin-bottom: .5rem; }
.boxes__item__content span { color: var(--muted); font-size: .95rem; display: block; }
.boxes__item__button { display: inline-block; margin-top: 1rem; color: var(--primary); font-weight: 600; font-size: .9rem; }
.boxes .arrow, .boxes .dots { display: none; }

/* ── Contact (form) ────────────────────────────────────────────────────── */
.contact-form .inset { max-width: 760px; text-align: center; }
.contact-form__form { margin-top: 2.5rem; text-align: left; }
.contact-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.contact-form__field { margin-bottom: 18px; }
.contact-form__field label { display: block; font-weight: 600; font-size: .85rem; margin-bottom: 6px; }
.contact-form__field input, .contact-form__field textarea { width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius); font: inherit; background: #fff; color: var(--ink); }
.contact-form__field input:focus, .contact-form__field textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(37,99,235,.12); }
.contact-form__field textarea { resize: vertical; }
.contact-form__actions { margin-top: 4px; }

/* ── Footer ────────────────────────────────────────────────────────────── */
#footer { background: #0f172a; color: #cbd5e1; padding: 64px 0 0; }
#footer .columns { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; }
#footer .wordmark { color: #fff; display: inline-block; margin-bottom: 1rem; }
#footer h3 { color: #fff; font-size: 1rem; margin-bottom: 1rem; }
#footer a { color: #cbd5e1; }
#footer a:hover { color: #fff; }
#footer li { list-style: none; margin-bottom: 8px; }
.social-links { display: flex; flex-direction: column; gap: 8px; }
#copyright { margin-top: 48px; border-top: 1px solid rgba(255,255,255,.1); padding: 20px 0; text-align: center; font-size: .85rem; }

@media (max-width: 900px) {
    .work__grid, .grid-slider .strip, .contact-form__row,
    .basic .inset, #footer .columns { grid-template-columns: 1fr; }
    #main-menu { display: none; }
    .hero__copy h1 { font-size: 2.2rem; }
}
