/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --bg: #faf9f6;
    --text: #363636;
    --heading: #1a1a2e;
    --accent: #b8510d;
    --accent-hover: #9a430b;
    --accent-light: #fdf0e6;
    --muted: #757575;
    --border: #e5e2db;
    --card-bg: #ffffff;
    --footer-bg: #1a1a2e;
    --footer-text: rgba(255,255,255,.7);
    --serif: 'Georgia', 'Times New Roman', serif;
    --sans: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    --max-w: 1120px;
    --content-w: 740px;
    --radius: 8px;
    --shadow: 0 2px 12px rgba(0,0,0,.07);
    --transition: .25s ease;
}

html { scroll-behavior: smooth; }

body {
    font-family: var(--serif);
    background: var(--bg);
    color: var(--text);
    line-height: 1.8;
    font-size: 17px;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--accent); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--accent-hover); }

/* ===== NAVIGATION ===== */
.nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255,255,255,.97);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--border);
}

.nav-inner {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 62px;
}

.nav-logo {
    font-family: var(--sans);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--heading);
    letter-spacing: -.01em;
}
.nav-logo span { color: var(--accent); }

.nav-links {
    list-style: none;
    display: flex;
    gap: 1.8rem;
}

.nav-links a {
    font-family: var(--sans);
    font-size: .88rem;
    color: var(--text);
    font-weight: 500;
    padding: .3rem 0;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width var(--transition);
}

.nav-links a:hover,
.nav-links a.active { color: var(--accent); }
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }

/* Mobile nav toggle */
.nav-toggle { display: none; }
.nav-toggle-label {
    display: none;
    cursor: pointer;
    width: 28px;
    height: 22px;
    position: relative;
}
.nav-toggle-label span,
.nav-toggle-label span::before,
.nav-toggle-label span::after {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--heading);
    border-radius: 2px;
    position: absolute;
    transition: all .3s;
}
.nav-toggle-label span { top: 10px; }
.nav-toggle-label span::before { content: ''; top: -8px; }
.nav-toggle-label span::after { content: ''; top: 8px; }

/* ===== HERO ===== */
.hero {
    position: relative;
    min-height: 420px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
}

.hero--small { min-height: 280px; }

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(184,81,13,.12) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(52,152,219,.08) 0%, transparent 50%);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 700px;
    padding: 2rem;
}

.hero .tag {
    font-family: var(--sans);
    font-size: .8rem;
    color: rgba(255,255,255,.55);
    text-transform: uppercase;
    letter-spacing: .12em;
    font-weight: 500;
}

.hero .divider {
    width: 50px;
    height: 3px;
    background: var(--accent);
    margin: 1rem auto;
    border-radius: 2px;
}

.hero h1 {
    font-family: var(--serif);
    font-size: clamp(1.8rem, 4.5vw, 3rem);
    color: #fff;
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -.02em;
}

.hero .lead {
    font-family: var(--sans);
    font-size: .95rem;
    color: rgba(255,255,255,.65);
    margin-top: 1rem;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

/* ===== BREADCRUMB ===== */
.breadcrumb {
    font-family: var(--sans);
    font-size: .82rem;
    color: var(--muted);
    padding: 1rem 0;
}
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb span { margin: 0 .4rem; }

/* ===== CONTAINERS ===== */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 1.5rem; }
.container--narrow { max-width: var(--content-w); margin: 0 auto; padding: 0 1.5rem; }

/* ===== SECTION SPACING ===== */
.section { padding: 3.5rem 0; }
.section--gray { background: #f3f1ed; }
.section-title {
    font-family: var(--serif);
    font-size: 1.8rem;
    color: var(--heading);
    text-align: center;
    margin-bottom: .5rem;
}
.section-subtitle {
    font-family: var(--sans);
    font-size: .9rem;
    color: var(--muted);
    text-align: center;
    margin-bottom: 2.5rem;
}

/* ===== ARTICLE CARDS ===== */
.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.8rem;
}

.card {
    background: var(--card-bg);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform var(--transition), box-shadow var(--transition);
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,.1);
}

.card-img {
    height: 200px;
    background-size: cover;
    background-position: center;
}

.card-img--canals {
    background: linear-gradient(135deg, #16213e, #0f3460);
}
.card-img--cafes {
    background: linear-gradient(135deg, #5b3a29, #8b6914);
}
.card-img--transport {
    background: linear-gradient(135deg, #1a5276, #2e86c1);
}

.card-body {
    padding: 1.4rem 1.6rem 1.6rem;
}

.card-tag {
    font-family: var(--sans);
    font-size: .72rem;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: .08em;
    font-weight: 600;
    margin-bottom: .5rem;
    display: block;
}

.card-body h3 {
    font-family: var(--serif);
    font-size: 1.25rem;
    color: var(--heading);
    line-height: 1.35;
    margin-bottom: .6rem;
}

.card-body p {
    font-family: var(--sans);
    font-size: .88rem;
    color: var(--muted);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.card-link {
    font-family: var(--sans);
    font-size: .85rem;
    font-weight: 600;
    color: var(--accent);
    display: inline-flex;
    align-items: center;
    gap: .3rem;
}
.card-link:hover { gap: .5rem; }

/* ===== ARTICLE BODY ===== */
.article-meta {
    font-family: var(--sans);
    font-size: .82rem;
    color: var(--muted);
    margin-bottom: 2.5rem;
    padding-bottom: 1.2rem;
    border-bottom: 1px solid var(--border);
}

.article-body p { margin-bottom: 1.4rem; text-align: justify; hyphens: auto; }

.article-body h2 {
    font-family: var(--serif);
    font-size: 1.55rem;
    color: var(--heading);
    margin-top: 2.5rem;
    margin-bottom: .8rem;
    padding-bottom: .35rem;
    border-bottom: 2px solid var(--accent);
    display: inline-block;
    line-height: 1.3;
}

.article-body h3 {
    font-family: var(--serif);
    font-size: 1.2rem;
    color: var(--heading);
    margin-top: 1.8rem;
    margin-bottom: .6rem;
}

.article-body ul, .article-body ol {
    margin: 1rem 0 1.4rem 1.5rem;
    line-height: 1.9;
}

.article-body blockquote {
    background: var(--card-bg);
    border-left: 4px solid var(--accent);
    padding: 1.2rem 1.6rem;
    margin: 1.8rem 0;
    border-radius: 0 var(--radius) var(--radius) 0;
    box-shadow: var(--shadow);
    font-style: italic;
    color: var(--muted);
}

/* Read-also box */
.read-also {
    background: var(--accent-light);
    border: 1px solid #f0d9c4;
    border-radius: var(--radius);
    padding: 1.4rem 1.6rem;
    margin: 2.5rem 0;
}

.read-also h4 {
    font-family: var(--sans);
    font-size: .85rem;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: .05em;
    margin-bottom: .6rem;
}

.read-also ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.read-also li {
    font-family: var(--sans);
    font-size: .9rem;
    padding: .3rem 0;
}

.read-also li::before {
    content: '\2192';
    margin-right: .5rem;
    color: var(--accent);
}

/* ===== ABOUT PAGE ===== */
.about-card {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
    margin: 2rem 0;
}

.about-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--sans);
    font-size: 2rem;
    font-weight: 700;
    color: #fff;
}
.about-avatar--mark { background: linear-gradient(135deg, #16213e, #0f3460); }
.about-avatar--lisa { background: linear-gradient(135deg, #5b3a29, #8b6914); }
.about-avatar--tom  { background: linear-gradient(135deg, #1a5276, #2e86c1); }

.about-card h3 {
    font-size: 1.15rem;
    color: var(--heading);
    margin-bottom: .2rem;
}
.about-card .role {
    font-family: var(--sans);
    font-size: .82rem;
    color: var(--muted);
    margin-bottom: .5rem;
}

/* ===== CONTACT FORM ===== */
.form-group { margin-bottom: 1.4rem; }

.form-group label {
    font-family: var(--sans);
    font-size: .88rem;
    font-weight: 600;
    color: var(--heading);
    display: block;
    margin-bottom: .4rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    font-family: var(--sans);
    font-size: .92rem;
    padding: .75rem 1rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--card-bg);
    color: var(--text);
    transition: border-color var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(184,81,13,.1);
}

.form-group textarea { min-height: 150px; resize: vertical; }

.btn {
    font-family: var(--sans);
    font-size: .9rem;
    font-weight: 600;
    padding: .8rem 2rem;
    border: none;
    border-radius: var(--radius);
    cursor: pointer;
    transition: all var(--transition);
}

.btn--primary {
    background: var(--accent);
    color: #fff;
}
.btn--primary:hover {
    background: var(--accent-hover);
    transform: translateY(-1px);
}

/* ===== CONTACT INFO ===== */
.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.contact-info-item {
    font-family: var(--sans);
    font-size: .9rem;
}

.contact-info-item strong {
    display: block;
    color: var(--heading);
    margin-bottom: .2rem;
}

/* ===== FOOTER ===== */
.footer {
    background: var(--footer-bg);
    color: var(--footer-text);
    padding-top: 3rem;
}

.footer-inner {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 1.5rem;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 2rem;
}

.footer-col h4 {
    font-family: var(--sans);
    font-size: .95rem;
    color: #fff;
    margin-bottom: 1rem;
    font-weight: 600;
}

.footer-col p {
    font-family: var(--sans);
    font-size: .85rem;
    line-height: 1.7;
}

.footer-col ul {
    list-style: none;
    padding: 0;
}

.footer-col li { margin-bottom: .5rem; }

.footer-col a {
    font-family: var(--sans);
    font-size: .85rem;
    color: var(--footer-text);
    transition: color var(--transition);
}
.footer-col a:hover { color: #fff; }

.footer-bottom {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 1.5rem;
    margin-top: 2rem;
    border-top: 1px solid rgba(255,255,255,.1);
    text-align: center;
    font-family: var(--sans);
    font-size: .8rem;
}

/* ===== LEGAL PAGES ===== */
.legal-body h2 {
    font-size: 1.3rem;
    color: var(--heading);
    margin-top: 2rem;
    margin-bottom: .6rem;
}

.legal-body p, .legal-body li {
    font-family: var(--sans);
    font-size: .92rem;
    line-height: 1.8;
    color: var(--text);
}

.legal-body ul { margin: .8rem 0 1.2rem 1.5rem; }

/* ===== SEPARATOR ===== */
.sep {
    text-align: center;
    margin: 2rem 0;
    color: var(--border);
    font-size: 1.2rem;
    letter-spacing: .5em;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .nav-toggle-label { display: block; }

    .nav-links {
        position: absolute;
        top: 62px;
        left: 0;
        right: 0;
        background: #fff;
        flex-direction: column;
        padding: 1rem 1.5rem;
        gap: 0;
        border-bottom: 1px solid var(--border);
        display: none;
    }

    .nav-links li { padding: .6rem 0; }

    .nav-toggle:checked ~ .nav-links { display: flex; }
    .nav-toggle:checked ~ .nav-toggle-label span { background: transparent; }
    .nav-toggle:checked ~ .nav-toggle-label span::before { top: 0; transform: rotate(45deg); }
    .nav-toggle:checked ~ .nav-toggle-label span::after { top: 0; transform: rotate(-45deg); }

    body { font-size: 16px; }
    .hero { min-height: 320px; }
    .hero--small { min-height: 220px; }
    .footer-inner { grid-template-columns: 1fr; gap: 1.5rem; }
    .about-card { flex-direction: column; align-items: center; text-align: center; }
    .cards { grid-template-columns: 1fr; }
}

/* ===== AD PLACEHOLDERS ===== */
.ad-slot {
    background: #f5f4f0;
    border: 2px dashed #d5d2ca;
    border-radius: var(--radius);
    padding: 1.8rem 1.5rem;
    text-align: center;
    margin: 2rem 0;
    position: relative;
    overflow: hidden;
}

.ad-slot::before {
    content: 'AD';
    position: absolute;
    top: .5rem;
    right: .8rem;
    font-family: var(--sans);
    font-size: .65rem;
    font-weight: 700;
    color: #bbb;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.ad-slot-label {
    font-family: var(--sans);
    font-size: .8rem;
    color: #aaa;
    text-transform: uppercase;
    letter-spacing: .08em;
    font-weight: 600;
    margin-bottom: .3rem;
}

.ad-slot-text {
    font-family: var(--sans);
    font-size: .88rem;
    color: #999;
    line-height: 1.5;
}

.ad-slot-text a {
    color: var(--accent);
    font-weight: 600;
}

.ad-slot--banner {
    min-height: 90px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.ad-slot--sidebar {
    min-height: 250px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.ad-slot--inline {
    min-height: 100px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* Article layout with sidebar for ads */
.article-with-sidebar {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 2.5rem;
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.article-main { max-width: var(--content-w); }

.article-sidebar {
    padding-top: 3rem;
}

.article-sidebar .ad-slot { margin-bottom: 1.5rem; }

.sidebar-widget {
    background: var(--card-bg);
    border-radius: var(--radius);
    padding: 1.4rem;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow);
}

.sidebar-widget h4 {
    font-family: var(--sans);
    font-size: .85rem;
    color: var(--heading);
    text-transform: uppercase;
    letter-spacing: .05em;
    margin-bottom: .8rem;
    padding-bottom: .5rem;
    border-bottom: 1px solid var(--border);
}

.sidebar-widget ul { list-style: none; padding: 0; margin: 0; }
.sidebar-widget li { padding: .35rem 0; }
.sidebar-widget a {
    font-family: var(--sans);
    font-size: .88rem;
    color: var(--text);
}
.sidebar-widget a:hover { color: var(--accent); }

/* ===== ADVERTISE PAGE ===== */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.pricing-card {
    background: var(--card-bg);
    border-radius: var(--radius);
    padding: 2rem 1.8rem;
    box-shadow: var(--shadow);
    text-align: center;
    border: 2px solid transparent;
    transition: all var(--transition);
}

.pricing-card:hover {
    border-color: var(--accent);
    transform: translateY(-3px);
}

.pricing-card--featured {
    border-color: var(--accent);
    position: relative;
}

.pricing-card--featured::before {
    content: 'Most Popular';
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent);
    color: #fff;
    font-family: var(--sans);
    font-size: .72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    padding: .3rem 1rem;
    border-radius: 20px;
}

.pricing-card h3 {
    font-family: var(--sans);
    font-size: 1.1rem;
    color: var(--heading);
    margin-bottom: .5rem;
}

.pricing-card .price {
    font-family: var(--sans);
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent);
    margin: .8rem 0;
}

.pricing-card .price span {
    font-size: .85rem;
    font-weight: 400;
    color: var(--muted);
}

.pricing-card .desc {
    font-family: var(--sans);
    font-size: .88rem;
    color: var(--muted);
    margin-bottom: 1.2rem;
    line-height: 1.6;
}

.pricing-card ul {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem;
    text-align: left;
}

.pricing-card li {
    font-family: var(--sans);
    font-size: .85rem;
    color: var(--text);
    padding: .4rem 0;
    padding-left: 1.4rem;
    position: relative;
}

.pricing-card li::before {
    content: '\2713';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: 700;
}

/* Ad preview mock */
.ad-preview {
    background: #f9f8f5;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1rem;
    margin: 1.5rem 0;
    text-align: center;
}

.ad-preview-label {
    font-family: var(--sans);
    font-size: .7rem;
    color: #bbb;
    text-transform: uppercase;
    letter-spacing: .1em;
    margin-bottom: .5rem;
}

.ad-preview-box {
    background: repeating-linear-gradient(
        45deg,
        #f0efe9,
        #f0efe9 10px,
        #e8e6df 10px,
        #e8e6df 20px
    );
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--sans);
    font-size: .8rem;
    color: #bbb;
}

.ad-preview-box--banner { height: 90px; }
.ad-preview-box--rect { height: 250px; }
.ad-preview-box--inline { height: 120px; }

@media (max-width: 768px) {
    .article-with-sidebar {
        grid-template-columns: 1fr;
    }
    .article-sidebar { padding-top: 0; }
    .pricing-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
    .hero h1 { font-size: 1.5rem; }
    .container, .container--narrow { padding: 0 1rem; }
}
