@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;600;700&family=Roboto+Slab:wght@400;500&family=Playfair+Display:ital,wght@0,600;1,600&display=swap');

/* ── DelPorto Brand (see DelPorto Brand Implementation Rules.pdf) ──
   #6F8FAF  Dark Blue   → dominant color: ALL body text, headings, nav, icons
   #C9A86A  Gold        → accent only: decorative phrases, icon borders, dividers
   #A8C3D8  Light Blue  → structural backgrounds: header, footer, panels
   #F8F6F2  Warm White  → main page canvas (60-70% of design)
   ─────────────────────────────────────────────────────────────────── */
:root {
    --c-blue:        #6F8FAF;   /* primary brand / all text */
    --c-gold:        #C9A86A;   /* accent only */
    --c-gold-dark:   #b89550;
    --c-light-blue:  #A8C3D8;   /* structural bg */
    --c-canvas:      #F8F6F2;   /* page canvas */
    --c-white:       #FFFFFF;
    --c-border:      rgba(201,168,106,0.30);
    --c-overlay:     rgba(20, 35, 62, 0.72);
    --f-sans:   'Roboto', sans-serif;
    --f-serif:  'Roboto Slab', serif;
    --f-script: 'Playfair Display', Georgia, serif;  /* gold accent phrases */
}

/* ── Reset / Base ─────────────────────────────────────────────────── */
html { font-size: 17px; scroll-behavior: smooth; }

body {
    font-family: var(--f-sans);
    color: var(--c-blue);           /* ALL standard text is dark blue */
    background-color: var(--c-canvas);
    margin: 0;
}

/* Every text element defaults to dark blue unless intentionally overridden */
p, li, span, td, th, label, blockquote { color: var(--c-blue); }

h1, h2, h3, h4, h5, h6 {
    font-family: var(--f-sans);
    font-weight: 600;
    color: var(--c-blue);
    line-height: 1.2;
}

a { color: var(--c-gold); text-decoration: none; }
a:hover { color: var(--c-gold-dark); }

/* Gold script accent — wrap emotional/decorative words in headings */
.accent-gold {
    font-family: var(--f-script);
    color: var(--c-gold);
    font-style: italic;
    font-weight: 600;
}

/* ── Buttons ──────────────────────────────────────────────────────── */
.btn-dp-gold {
    display: inline-block;
    background-color: var(--c-gold);
    color: var(--c-white) !important;
    font-family: var(--f-sans);
    font-weight: 600;
    font-size: 0.875rem;
    padding: 10px 22px;
    border-radius: 4px;
    border: none;
    cursor: pointer;
    transition: background-color .2s;
    text-decoration: none;
}
.btn-dp-gold:hover { background-color: var(--c-gold-dark); }

.btn-dp-navy {                          /* secondary — blue outline */
    display: inline-block;
    background-color: transparent;
    color: var(--c-blue) !important;
    font-family: var(--f-sans);
    font-weight: 600;
    font-size: 0.875rem;
    padding: 11px 27px;
    border-radius: 4px;
    border: 1.5px solid var(--c-blue);
    cursor: pointer;
    transition: background-color .2s, color .2s;
    text-decoration: none;
}
.btn-dp-navy:hover { background-color: var(--c-blue); color: var(--c-white) !important; }

.btn-dp-outline {                       /* light text on dark/image bg */
    display: inline-block;
    background-color: transparent;
    color: var(--c-white) !important;
    font-family: var(--f-sans);
    font-weight: 600;
    font-size: 0.875rem;
    padding: 11px 27px;
    border-radius: 4px;
    border: 1.5px solid rgba(255,255,255,.6);
    cursor: pointer;
    transition: border-color .2s, background-color .2s;
    text-decoration: none;
}
.btn-dp-outline:hover { border-color: #fff; background-color: rgba(255,255,255,.1); }

/* ── Site Header ──────────────────────────────────────────────────── */
.site-header {
    background-color: var(--c-light-blue);   /* light blue per brand rules */
    box-shadow: 0 2px 12px rgba(111,143,175,.20);
    position: sticky;
    top: 0;
    z-index: 1030;
}

.header-grid {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 1rem;
    padding: .75rem 1.5rem;
    max-width: 1240px;
    margin: 0 auto;
}

.site-logo img { max-height: 110px; width: auto; display: block; }

.site-name { text-align: center; }
.site-name-primary {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--c-white);
    line-height: 1;
    letter-spacing: .01em;
}
.site-name-sub {
    display: block;
    font-size: .8125rem;
    font-weight: 600;
    color: var(--c-white);
    line-height: 1.3;
    letter-spacing: .02em;
    opacity: .85;
}

.header-nav-col {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: .5rem;
}
.header-nav-col .nav-links { display: flex; align-items: center; gap: .1rem; }

.nav-links .nav-link {
    color: var(--c-white);
    font-size: 1rem;
    font-weight: 600;
    padding: .35rem .7rem;
    white-space: nowrap;
    border-radius: 4px;
    transition: color .15s;
}
.nav-links .nav-link:hover,
.nav-links .nav-link:focus { color: var(--c-gold); }
.nav-links .nav-link.active {
    color: var(--c-white);
    border-bottom: 2px solid var(--c-gold);
    padding-bottom: calc(.35rem - 2px);
}

.nav-links .dropdown-menu {
    border: none;
    box-shadow: 0 4px 20px rgba(111,143,175,.25);
    border-radius: 8px;
    padding: .5rem 0;
    min-width: 230px;
    background: var(--c-white);
    border-top: 2px solid var(--c-gold);
}
.nav-links .dropdown-item {
    color: var(--c-blue);
    font-size: .9375rem;
    padding: .55rem 1.25rem;
}
.nav-links .dropdown-item:hover { background-color: var(--c-canvas); color: var(--c-gold); }

/* Mobile nav */
.mobile-nav {
    border-top: 2px solid var(--c-gold);
    padding: .75rem 1.5rem 1rem;
    max-width: 1240px;
    margin: 0 auto;
    background: var(--c-light-blue);
}
.mobile-nav .nav-link {
    color: var(--c-white);
    font-size: 1rem;
    font-weight: 600;
    padding: .55rem 0;
    display: block;
}
.mobile-nav .nav-link.sub { padding-left: 1rem; font-size: .9375rem; opacity: .8; }
.mobile-nav .nav-link:hover { color: var(--c-gold); }

.hamburger-btn {
    background: none;
    border: 1.5px solid rgba(255,255,255,.7);
    border-radius: 6px;
    padding: .45rem .65rem;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 5px;
    width: 44px; height: 44px;
    align-items: center; justify-content: center;
}
.hamburger-btn span {
    display: block;
    width: 22px; height: 2px;
    background-color: var(--c-white);
    border-radius: 2px;
}

@media (max-width: 1024px) {
    .header-grid { grid-template-columns: 1fr auto; padding: .75rem 1rem; }
    .site-name { display: none; }
    .header-nav-col { flex-direction: row; align-items: center; gap: .75rem; }
    .header-nav-col .nav-links, .header-nav-col .btn-dp-gold { display: none; }
}
@media (max-width: 544px) { .site-logo img { max-height: 80px; } }

/* ── Site Footer ──────────────────────────────────────────────────── */
.site-footer {
    background-color: var(--c-light-blue);
    color: var(--c-blue);
    border-top: 3px solid var(--c-gold);
}
.site-footer a { color: var(--c-gold); }
.site-footer a:hover { color: var(--c-blue); }

.footer-top {
    padding: 2.5rem 1.5rem 1.5rem;
    max-width: 1240px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 2rem;
}
.footer-brand-name {
    font-size: 1.0625rem;
    font-weight: 700;
    color: var(--c-blue);
    margin-bottom: .35rem;
}
.footer-brand-statement {
    font-size: .875rem;
    color: var(--c-blue);
    line-height: 1.65;
    opacity: .85;
    margin: 0;
}
.footer-col-title {
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--c-gold);
    margin-bottom: .75rem;
}
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: .4rem; }
.footer-links a { font-size: .9rem; color: var(--c-blue); opacity: .85; }
.footer-links a:hover { opacity: 1; color: var(--c-gold); }

.footer-social { display: flex; gap: .75rem; margin-top: .5rem; }
.footer-social a {
    width: 36px; height: 36px;
    border: 1.5px solid var(--c-gold);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: var(--c-blue);
    font-size: .9375rem;
    transition: background-color .2s, color .2s;
}
.footer-social a:hover { background-color: var(--c-gold); color: var(--c-white); }

.footer-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--c-gold), transparent);
    margin: 0 1.5rem;
    opacity: .6;
}
.footer-bottom {
    padding: 1rem 1.5rem;
    text-align: center;
    font-size: .875rem;
    color: var(--c-blue);
    opacity: .8;
}

@media (max-width: 767px) {
    .footer-top { grid-template-columns: 1fr; gap: 1.5rem; }
}

/* ── Hero (home) ──────────────────────────────────────────────────── */
.hero-section { background-color: var(--c-canvas); overflow: hidden; }
.hero-inner {
    display: grid;
    grid-template-columns: 1fr 42%;
    min-height: 560px;
    max-width: 1240px;
    margin: 0 auto;
}
.hero-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 3.5rem 3rem 3.5rem 1.5rem;
}
.hero-text h1 {
    font-size: 2.625rem;
    font-weight: 700;
    color: var(--c-blue);
    line-height: 1.12;
    letter-spacing: -.01em;
    margin-bottom: 1.25rem;
}
.hero-text .hero-sub {
    font-family: var(--f-serif);
    font-size: 1.0625rem;
    color: var(--c-blue);
    opacity: .8;
    line-height: 1.7;
    margin-bottom: 2rem;
}
.hero-text .hero-actions { display: flex; gap: .875rem; flex-wrap: wrap; }
.hero-image img { width: 100%; height: 100%; object-fit: cover; object-position: top center; display: block; }

@media (max-width: 900px) {
    .hero-inner { grid-template-columns: 1fr; }
    .hero-text { padding: 2.5rem 1.25rem; }
    .hero-text h1 { font-size: 2rem; }
    .hero-image { display: none; }
}
@media (max-width: 544px) { .hero-text h1 { font-size: 1.75rem; } }

/* ── Trust bar ────────────────────────────────────────────────────── */
.trust-bar { background-color: var(--c-blue); padding: .875rem 1.5rem; }
.trust-items {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.5rem 2.5rem;
    max-width: 1000px;
    margin: 0 auto;
}
.trust-item {
    display: flex;
    align-items: center;
    gap: .45rem;
    font-size: .875rem;
    font-weight: 600;
    color: var(--c-white);
}
.trust-item i { color: var(--c-gold); font-size: 1rem; }

/* ── Gold decorative divider ─────────────────────────────────────── */
.gold-divider {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 0 auto 2rem;
    max-width: 200px;
}
.gold-divider::before,
.gold-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--c-gold);
}
.gold-divider i { color: var(--c-gold); font-size: .75rem; }

/* ── Section wrappers ────────────────────────────────────────────── */
.section-white { padding: 4.5rem 0; background: var(--c-canvas); }
.section-panel  { padding: 4.5rem 0; background: rgba(168,195,216,0.28); }  /* light blue panel */
.section-blue   { padding: 4.5rem 0; background: var(--c-blue); }

.section-label {
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--c-gold);
    margin-bottom: .4rem;
    display: block;
}
.section-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--c-blue);
    margin-bottom: .875rem;
}
.section-title.on-blue { color: var(--c-white); }
.section-sub {
    font-family: var(--f-serif);
    font-size: 1.0625rem;
    color: var(--c-blue);
    line-height: 1.65;
    max-width: 620px;
    margin: 0 auto 2.5rem;
}
.section-sub.on-blue { color: rgba(255,255,255,.88); }

/* ── Service cards ───────────────────────────────────────────────── */
.svc-card {
    background: var(--c-white);
    border: 1px solid var(--c-border);
    border-radius: 16px;
    padding: 1.875rem 1.5rem;
    height: 100%;
    box-shadow: 0 4px 20px rgba(111,143,175,.10);
    transition: box-shadow .2s, transform .2s;
}
.svc-card:hover {
    box-shadow: 0 10px 36px rgba(111,143,175,.20);
    transform: translateY(-3px);
}

/* Gold ring + blue icon (per brand rules) */
.svc-icon {
    width: 56px; height: 56px;
    background: transparent;
    border: 2px solid var(--c-gold);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 1.25rem;
    color: var(--c-blue);
    font-size: 1.375rem;
    transition: background-color .2s;
}
.svc-card:hover .svc-icon { background-color: rgba(201,168,106,.08); }

.svc-card h3 { font-size: 1.0625rem; font-weight: 700; margin-bottom: .625rem; color: var(--c-blue); }
.svc-card p  { font-size: .9375rem; color: var(--c-blue); line-height: 1.65; margin: 0; opacity: .85; }

/* ── Steps ───────────────────────────────────────────────────────── */
.step-wrap { text-align: center; padding: 1rem; }
.step-num {
    width: 60px; height: 60px;
    background: var(--c-gold);
    color: var(--c-white);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem; font-weight: 700;
    margin: 0 auto 1.25rem;
}
.step-wrap h3 { font-size: 1.0625rem; font-weight: 700; color: var(--c-blue); margin-bottom: .625rem; }
.step-wrap p  { font-size: .9375rem; color: var(--c-blue); line-height: 1.65; opacity: .85; }

/* ── Specialty tags ──────────────────────────────────────────────── */
.specialty-cloud { display: flex; flex-wrap: wrap; gap: .65rem; justify-content: center; }
.spec-tag {
    background: var(--c-white);
    border: 1px solid rgba(201,168,106,.45);
    border-radius: 24px;
    padding: .45rem 1.2rem;
    font-size: .9375rem;
    color: var(--c-blue);
    font-weight: 500;
    transition: background-color .15s, border-color .15s;
}
.spec-tag:hover { background: rgba(168,195,216,.35); border-color: var(--c-light-blue); }

/* ── CTA band ────────────────────────────────────────────────────── */
.cta-band {
    background: var(--c-blue);
    padding: 4rem 1.5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.cta-band::before {       /* subtle gold top accent line */
    content: '';
    position: absolute;
    top: 0; left: 10%; right: 10%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--c-gold), transparent);
}
.cta-band h2 { color: var(--c-white); font-size: 2rem; margin-bottom: .875rem; }
.cta-band p  {
    color: rgba(255,255,255,.88);
    font-size: 1.0625rem;
    max-width: 560px;
    margin: 0 auto 2rem;
    font-family: var(--f-serif);
}
.cta-band .cta-actions { display: flex; gap: .875rem; justify-content: center; flex-wrap: wrap; }

/* ── Inner page hero ─────────────────────────────────────────────── */
.page-hero {
    position: relative;
    background-color: var(--c-blue);
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    padding: 5rem 1.5rem;
    text-align: center;
    overflow: hidden;
}
.page-hero::before {      /* dark overlay for image heroes */
    content: '';
    position: absolute;
    inset: 0;
    background: var(--c-overlay);
    z-index: 0;
}
.page-hero:not([style])::before { display: none; }  /* no overlay on solid color */
.page-hero > * { position: relative; z-index: 1; }
.page-hero h1 { color: var(--c-white); font-size: 2.25rem; margin-bottom: .75rem; }
.page-hero p  {
    color: rgba(255,255,255,.9);
    font-size: 1.0625rem;
    max-width: 640px;
    margin: 0 auto;
    font-family: var(--f-serif);
}
/* gold decorative underline on hero heading */
.page-hero h1::after {
    content: '';
    display: block;
    width: 60px;
    height: 2px;
    background: var(--c-gold);
    margin: .75rem auto 0;
}

/* ── Who We Help cards ───────────────────────────────────────────── */
.help-card {
    border: 1px solid var(--c-border);
    border-radius: 16px;
    padding: 1.75rem 1.5rem;
    height: 100%;
    background: var(--c-white);
    box-shadow: 0 4px 16px rgba(111,143,175,.10);
    transition: box-shadow .2s, transform .2s;
}
.help-card:hover { box-shadow: 0 8px 28px rgba(111,143,175,.18); transform: translateY(-2px); }
.help-card-icon {
    width: 48px; height: 48px;
    background: transparent;
    border: 2px solid var(--c-gold);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: var(--c-blue); font-size: 1.125rem;
    margin-bottom: 1rem;
}
.help-card h3 { font-size: 1.0625rem; font-weight: 700; margin-bottom: .625rem; color: var(--c-blue); }
.help-card ul  { margin: 0; padding-left: 1.125rem; }
.help-card li  { font-size: .9375rem; color: var(--c-blue); line-height: 1.6; margin-bottom: .3rem; opacity: .85; }

/* ── About: expertise cards ──────────────────────────────────────── */
.expertise-card {
    border-left: 3px solid var(--c-gold);
    padding: 1.5rem;
    background: rgba(168,195,216,.18);
    border-radius: 0 10px 10px 0;
    height: 100%;
}
.expertise-card h3 { font-size: 1.0625rem; font-weight: 700; color: var(--c-blue); margin-bottom: .625rem; }
.expertise-card ul  { margin: 0; padding-left: 1.125rem; }
.expertise-card li  { font-size: .9375rem; color: var(--c-blue); line-height: 1.65; margin-bottom: .3rem; opacity: .85; }

/* ── Contact / list ──────────────────────────────────────────────── */
.coverage-list { list-style: none; padding: 0; margin: 0; }
.coverage-list li {
    padding: .75rem 0;
    border-bottom: 1px solid rgba(201,168,106,.25);
    display: flex; gap: .75rem;
    font-size: .9375rem; color: var(--c-blue);
    align-items: flex-start;
}
.coverage-list li:last-child { border-bottom: none; }
.coverage-list li i { color: var(--c-gold); font-size: 1.125rem; margin-top: .05rem; flex-shrink: 0; }

/* ── Service detail list ─────────────────────────────────────────── */
.detail-list { list-style: none; padding: 0; margin: 0; }
.detail-list li {
    padding: .6rem 0;
    border-bottom: 1px solid rgba(201,168,106,.22);
    display: flex; gap: .65rem;
    font-size: .9375rem; color: var(--c-blue);
    align-items: flex-start;
}
.detail-list li:last-child { border-bottom: none; }
.detail-list li i { color: var(--c-gold); flex-shrink: 0; margin-top: .15rem; }

/* ── Form ────────────────────────────────────────────────────────── */
.dp-form .form-control {
    border: 1px solid rgba(201,168,106,.35);
    border-radius: 6px;
    padding: .75rem 1rem;
    font-size: .9375rem;
    background-color: var(--c-white);
    color: var(--c-blue);
}
.dp-form .form-control:focus {
    border-color: var(--c-blue);
    box-shadow: 0 0 0 .2rem rgba(111,143,175,.2);
    outline: none;
}
.dp-form label { font-weight: 600; color: var(--c-blue); margin-bottom: .4rem; display: block; }
.dp-form textarea { resize: vertical; min-height: 130px; }

/* ── Utilities ───────────────────────────────────────────────────── */
.text-gold       { color: var(--c-gold) !important; }
.text-blue       { color: var(--c-blue) !important; }
.bg-canvas       { background-color: var(--c-canvas) !important; }
.bg-panel        { background-color: rgba(168,195,216,.28) !important; }
.container-dp    { max-width: 1240px; margin: 0 auto; padding: 0 1.5rem; }
