/*
Theme Name: DenCo
Theme URI: https://denningconsultants.com/
Author: DenCo — Denning Consultants
Author URI: https://denningconsultants.com/
Description: Fast, page-builder-free theme for DenCo (study abroad consultants, Karachi), built on the DenCo Brand Guidelines — brand blues with charcoal, red, amber and grey; Barlow Condensed headings and Poppins text (self-hosted); official iD logo. No jQuery. Creates all pages and menus on activation. Built-in lead form saves enquiries to WordPress and emails them.
Version: 1.1.0
Requires at least: 6.4
Tested up to: 6.8
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: denco
*/

/* ==========================================================================
   0. Brand fonts (self-hosted, OFL — see assets/fonts/OFL-LICENSE.txt)
   Heading: Barlow Condensed · Sub-heading & paragraph: Poppins
   ========================================================================== */
@font-face { font-family: "Barlow Condensed"; font-style: normal; font-weight: 700; font-display: swap; src: url(assets/fonts/barlow-condensed-latin-700-normal.woff2) format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-style: normal; font-weight: 800; font-display: swap; src: url(assets/fonts/barlow-condensed-latin-800-normal.woff2) format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 400; font-display: swap; src: url(assets/fonts/poppins-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 500; font-display: swap; src: url(assets/fonts/poppins-latin-500-normal.woff2) format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 600; font-display: swap; src: url(assets/fonts/poppins-latin-600-normal.woff2) format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 700; font-display: swap; src: url(assets/fonts/poppins-latin-700-normal.woff2) format("woff2"); }

/* ==========================================================================
   1. Brand tokens (DenCo Brand Guidelines → Colors Identity)
   ========================================================================== */
:root {
	/* Primary */
	--blue: #0E72B7;
	--navy: #11499F;
	/* Secondary */
	--ink: #253238;
	--red: #D52E2F;
	--amber: #FCB64D;
	--grey: #B0BEC5;
	/* Logo accent (graduation-cap dot & "Co") */
	--sky: #3BAAE1;
	/* Neutrals derived from the palette */
	--paper: #FFFFFF;
	--mist: #EFF3F5;
	--line-c: #DCE3E7;
	--ink-2: #51626B;
	--blue-tint: #E4F0F8;

	--radius: 16px;
	--radius-sm: 10px;
	--shadow: 0 14px 34px rgba(37, 50, 56, .10);
	--shadow-sm: 0 6px 16px rgba(37, 50, 56, .08);
	--wrap: 1200px;
	--gutter: clamp(16px, 4vw, 40px);
	--font-head: "Barlow Condensed", "Arial Narrow", "Roboto Condensed", sans-serif;
	--font-body: "Poppins", "Roboto", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
	--step--1: clamp(.85rem, .82rem + .15vw, .94rem);
	--step-0: clamp(.98rem, .95rem + .18vw, 1.08rem);
	--step-1: clamp(1.15rem, 1.07rem + .4vw, 1.4rem);
	--step-2: clamp(1.7rem, 1.45rem + 1.2vw, 2.5rem);
	--step-3: clamp(2.3rem, 1.8rem + 2.5vw, 3.9rem);
	--step-4: clamp(3rem, 2rem + 5vw, 6.2rem);
}

/* ==========================================================================
   2. Base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
	margin: 0;
	background: var(--paper);
	color: var(--ink);
	font-family: var(--font-body);
	font-size: var(--step-0);
	line-height: 1.65;
	overflow-x: hidden;
	-webkit-font-smoothing: antialiased;
}
img, svg, video, iframe { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
a:hover { color: var(--navy); }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; border-radius: 4px; }
h1, h2 {
	font-family: var(--font-head);
	font-weight: 800;
	line-height: .98;
	letter-spacing: -.005em;
	margin: 0 0 .45em;
}
h1 { font-size: var(--step-4); }
h2 { font-size: var(--step-3); }
h3, h4 { font-family: var(--font-body); font-weight: 600; line-height: 1.25; margin: 0 0 .5em; letter-spacing: -.01em; }
h3 { font-size: var(--step-1); }
h4 { font-size: var(--step-0); }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.2em; }
strong { font-weight: 600; }
hr { border: 0; border-top: 1px solid var(--line-c); margin: 2rem 0; }
.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.skip-link:focus {
	position: fixed; top: 10px; left: 10px; z-index: 1000; width: auto; height: auto; clip: auto;
	background: var(--amber); color: var(--ink); padding: 10px 16px; border-radius: 8px; font-weight: 600;
}

/* Layout */
.dc-wrap, .entry-content > *:not(.alignfull):not(.dc-section) {
	width: min(100% - 2 * var(--gutter), var(--wrap));
	margin-inline: auto;
}
.entry-content > .dc-section, .alignfull { width: 100%; }
.dc-section { padding-block: clamp(56px, 8vw, 104px); position: relative; }
.dc-section > .wp-block-group__inner-container,
.dc-section > .dc-inner,
.dc-inner {
	width: min(100% - 2 * var(--gutter), var(--wrap));
	margin-inline: auto;
}

/* ==========================================================================
   3. Header
   ========================================================================== */
.site-header {
	position: sticky; top: 0; z-index: 50;
	background: rgba(255,255,255,.97);
	border-bottom: 1px solid var(--line-c);
	transition: box-shadow .2s;
}
.site-header.is-scrolled { box-shadow: var(--shadow-sm); }
.site-header .dc-wrap {
	display: flex; align-items: center; justify-content: space-between; gap: 20px;
	min-height: 78px;
}
.brand { display: inline-flex; align-items: center; text-decoration: none; }
.brand svg, .brand img { height: 52px; width: auto; }
@media (max-width: 600px) { .brand svg, .brand img { height: 44px; } }
.footer-brand .brand svg, .footer-brand .brand img { height: 58px; }

.nav-toggle {
	display: none; background: var(--blue); color: #fff; border: 0; border-radius: 8px;
	padding: 10px 16px; font: 600 .95rem var(--font-body); cursor: pointer;
}
.primary-nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 2px; }
.primary-nav li { position: relative; }
.primary-nav a {
	display: block; padding: 10px 14px; text-decoration: none; font-weight: 500; color: var(--ink); font-size: .97rem;
	border-radius: 8px;
}
.primary-nav a:hover { color: var(--blue); background: var(--blue-tint); }
.primary-nav .current-menu-item > a, .primary-nav .current_page_item > a, .primary-nav .current-menu-ancestor > a { color: var(--blue); font-weight: 600; }
.primary-nav .sub-menu {
	position: absolute; top: 100%; left: 0; min-width: 240px; display: block;
	background: var(--paper); border: 1px solid var(--line-c); border-top: 3px solid var(--blue); border-radius: 0 0 var(--radius-sm) var(--radius-sm); box-shadow: var(--shadow);
	padding: 8px; opacity: 0; visibility: hidden; transform: translateY(6px); transition: .15s;
}
.primary-nav li:hover > .sub-menu, .primary-nav li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.primary-nav .menu-item-has-children > a::after { content: ""; display: inline-block; width: 6px; height: 6px; border: solid currentColor; border-width: 0 2px 2px 0; transform: rotate(45deg) translateY(-3px); margin-left: 8px; }
.primary-nav .nav-cta > a { background: var(--red); color: #fff; margin-left: 10px; padding-inline: 20px; font-weight: 600; }
.primary-nav .nav-cta > a:hover { background: var(--ink); color: #fff; }

@media (max-width: 1020px) {
	.nav-toggle { display: inline-block; }
	.primary-nav {
		position: fixed; inset: 78px 0 auto 0; max-height: calc(100vh - 78px); overflow-y: auto;
		background: var(--paper); border-bottom: 1px solid var(--line-c); padding: 12px var(--gutter) 24px; display: none; box-shadow: var(--shadow);
	}
	.primary-nav.is-open { display: block; }
	.primary-nav ul { flex-direction: column; align-items: stretch; }
	.primary-nav a { font-size: 1.05rem; }
	.primary-nav .sub-menu {
		position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0;
		background: transparent; padding: 0 0 0 16px;
	}
	.primary-nav .nav-cta > a { margin: 10px 0 0; text-align: center; }
}

/* ==========================================================================
   4. Buttons
   ========================================================================== */
.wp-block-buttons { display: flex; flex-wrap: wrap; gap: 12px; margin: 1.6rem 0 0; }
.wp-block-button__link, .dc-btn, button.dc-btn {
	display: inline-flex; align-items: center; gap: .5em; justify-content: center;
	background: var(--red); color: #fff; text-decoration: none;
	font: 600 1rem/1.1 var(--font-body);
	padding: 16px 28px; border: 2px solid var(--red); border-radius: 8px;
	transition: background .15s, border-color .15s, color .15s, transform .15s; cursor: pointer;
}
.wp-block-button__link:hover, .dc-btn:hover { background: var(--ink); border-color: var(--ink); color: #fff; transform: translateY(-2px); }
.wp-block-button.is-style-outline .wp-block-button__link, .dc-btn--ghost {
	background: transparent; color: var(--ink); border-color: var(--ink);
}
.wp-block-button.is-style-outline .wp-block-button__link:hover, .dc-btn--ghost:hover { background: var(--ink); color: #fff; }
.dc-btn--amber .wp-block-button__link { background: var(--amber); border-color: var(--amber); color: var(--ink); }
.dc-btn--amber .wp-block-button__link:hover { background: #fff; border-color: #fff; color: var(--ink); }

/* Buttons on coloured backgrounds */
.dc-page-hero.is-blue .is-style-outline .wp-block-button__link,
.dc-page-hero.is-navy .is-style-outline .wp-block-button__link,
.dc-page-hero.is-red .is-style-outline .wp-block-button__link,
.dc-page-hero.is-ink .is-style-outline .wp-block-button__link,
.dc-cta .is-style-outline .wp-block-button__link { color: #fff; border-color: #fff; }
.dc-page-hero.is-red .wp-block-button:not(.is-style-outline) .wp-block-button__link { background: #fff; border-color: #fff; color: var(--red); }
.dc-page-hero.is-red .wp-block-button:not(.is-style-outline) .wp-block-button__link:hover { background: var(--ink); border-color: var(--ink); color: #fff; }

/* ==========================================================================
   5. Reusable bits
   ========================================================================== */
.dc-eyebrow {
	display: inline-flex; align-items: center; gap: 10px;
	font: 600 .8rem/1 var(--font-body); letter-spacing: .14em; text-transform: uppercase;
	color: var(--red); margin-bottom: 1.1rem;
}
.dc-eyebrow::before { content: ""; width: 28px; height: 3px; background: currentColor; border-radius: 2px; }
.dc-eyebrow.is-sun, .dc-eyebrow.is-amber { color: var(--amber); }
.dc-lead { font-size: var(--step-1); line-height: 1.55; color: var(--ink-2); max-width: 48ch; }
.dc-center { text-align: center; }
.dc-center .dc-lead { margin-inline: auto; }
.dc-center .dc-eyebrow { justify-content: center; }
.dc-center .wp-block-buttons { justify-content: center; }
.dc-section-head { max-width: 780px; margin-bottom: clamp(30px, 4vw, 54px); }
.dc-section-head.dc-center { margin-inline: auto; }
/* Guideline motif: bold title with a solid rule beneath */
.dc-section-head h2::after { content: ""; display: block; width: 72px; height: 6px; background: var(--ink); border-radius: 3px; margin-top: .3em; }
.dc-section-head.dc-center h2::after { margin-inline: auto; }
.is-bg-ink .dc-section-head h2::after, .dc-statband .dc-section-head h2::after { background: var(--amber); }

.dc-card {
	background: var(--paper); border-radius: var(--radius); box-shadow: var(--shadow-sm);
	border: 1px solid var(--line-c);
	padding: clamp(24px, 3vw, 36px); height: 100%;
}
.dc-card > :last-child { margin-bottom: 0; }
.dc-card h3 { margin-bottom: .45em; }
.dc-card--blue   { background: var(--blue);  border-color: var(--blue);  color: #fff; }
.dc-card--navy   { background: var(--navy);  border-color: var(--navy);  color: #fff; }
.dc-card--red    { background: var(--red);   border-color: var(--red);   color: #fff; }
.dc-card--amber  { background: var(--amber); border-color: var(--amber); color: var(--ink); }
.dc-card--sky    { background: var(--sky);   border-color: var(--sky);   color: var(--ink); }
.dc-card--grey   { background: var(--grey);  border-color: var(--grey);  color: var(--ink); }
.dc-card--ink    { background: var(--ink);   border-color: var(--ink);   color: #fff; }
.dc-card--blue a, .dc-card--navy a, .dc-card--red a, .dc-card--ink a { color: #fff; }
.dc-card--amber a, .dc-card--sky a, .dc-card--grey a { color: var(--ink); }
/* Legacy variant names from v1.0 → brand palette */
.dc-card--violet { background: var(--navy); border-color: var(--navy); color: #fff; }
.dc-card--teal   { background: var(--blue); border-color: var(--blue); color: #fff; }
.dc-card--coral  { background: var(--red); border-color: var(--red); color: #fff; }
.dc-card--sun    { background: var(--amber); border-color: var(--amber); color: var(--ink); }
.dc-card--pink   { background: var(--sky); border-color: var(--sky); color: var(--ink); }

/* Grids */
.wp-block-columns { display: flex; flex-wrap: wrap; gap: clamp(18px, 2.5vw, 30px); margin: 0; }
.wp-block-column { flex: 1 1 0; min-width: 0; }
@media (max-width: 781px) { .wp-block-columns { flex-direction: column; } .wp-block-column { flex-basis: 100% !important; } }
.dc-grid-3, .dc-grid-4, .dc-grid-2 { display: grid; gap: clamp(18px, 2.5vw, 28px); }
.dc-grid-2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); align-items: start; }
.dc-grid-3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.dc-grid-4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); }
.dc-grid-3 > .wp-block-group__inner-container,
.dc-grid-4 > .wp-block-group__inner-container,
.dc-grid-2 > .wp-block-group__inner-container { display: contents; }

/* Tick / cross lists */
.dc-ticks, .dc-crosses { list-style: none; padding: 0; margin: 0; }
.dc-ticks li, .dc-crosses li { position: relative; padding: 12px 0 12px 42px; font-weight: 500; font-size: var(--step-0); line-height: 1.4; }
.dc-ticks li + li, .dc-crosses li + li { border-top: 1px solid rgba(128,145,153,.3); }
.dc-ticks li::before, .dc-crosses li::before {
	position: absolute; left: 0; top: 11px; width: 26px; height: 26px; border-radius: 50%;
	display: grid; place-items: center; font-size: .8rem; font-weight: 700;
}
.dc-ticks li::before { content: "✓"; background: var(--blue); color: #fff; }
.dc-crosses li::before { content: "✕"; background: var(--mist); color: var(--red); }

/* ==========================================================================
   6. Home hero
   ========================================================================== */
.dc-hero { padding-top: clamp(40px, 6vw, 84px); padding-bottom: clamp(56px, 8vw, 100px); overflow: hidden; background: linear-gradient(180deg, var(--paper) 0%, var(--mist) 100%); }
.dc-hero .dc-inner, .dc-hero > .wp-block-group__inner-container {
	display: grid; grid-template-columns: 1.2fr .95fr; gap: clamp(30px, 5vw, 70px); align-items: center;
}
@media (max-width: 900px) { .dc-hero .dc-inner, .dc-hero > .wp-block-group__inner-container { grid-template-columns: 1fr; } }
.dc-hero h1 { margin-bottom: .3em; }
.dc-hero h1 em { font-style: normal; color: var(--red); display: block; }
.dc-hero-art { position: relative; min-height: 440px; }
.dc-blob { position: absolute; }
.dc-hero-art .b1 {
	width: 76%; aspect-ratio: 1; border-radius: 50%; background: var(--blue); right: 0; top: 4%;
	display: grid; place-items: center; box-shadow: 0 30px 60px rgba(14,114,183,.28);
}
.dc-hero-art .b1 svg { width: 46%; height: auto; }
.dc-hero-art .b2 { width: 34%; aspect-ratio: 1; border-radius: 24px; background: var(--amber); left: 2%; bottom: 6%; transform: rotate(-10deg); z-index: 0; }
.dc-hero-art .b3 { width: 15%; aspect-ratio: 1; border-radius: 50%; background: var(--sky); right: 4%; top: 0; }
.dc-hero-art .b4 { width: 11%; aspect-ratio: 1; border-radius: 50%; background: var(--red); left: 20%; top: 8%; }
.dc-sticker {
	position: absolute; background: var(--paper); border-radius: 14px; box-shadow: var(--shadow);
	padding: 14px 18px; font-weight: 500; font-size: .92rem; line-height: 1.2; z-index: 2; color: var(--ink);
}
.dc-sticker strong { display: block; font: 800 2.4rem/1 var(--font-head); color: var(--blue); }
.dc-hero-art .s1 { left: 0; top: 30%; }
.dc-hero-art .s2 { right: 0; bottom: 14%; }
.dc-hero-art .s2 strong { color: var(--red); }
.dc-hero-art .s3 { left: 26%; bottom: 0; background: var(--ink); color: #fff; font-weight: 600; }
.dc-plane { display: none; }
@media (prefers-reduced-motion: no-preference) {
	.dc-hero-art .b3 { animation: dc-float 6s ease-in-out infinite; }
	@keyframes dc-float { 50% { transform: translateY(-14px); } }
}
@media (max-width: 900px) {
	.dc-hero-art { min-height: 0; aspect-ratio: 1 / .82; max-width: 440px; width: 100%; margin-inline: auto; }
	.dc-hero-art .s1, .dc-hero-art .s2 { display: none; }
	.dc-hero-art .s3 { left: 50%; transform: translateX(-50%); white-space: nowrap; }
}
.dc-hero-stats { display: flex; flex-wrap: wrap; gap: 22px 40px; margin-top: 2.4rem; padding-top: 1.6rem; border-top: 1px solid var(--line-c); }
.dc-hero-stats div { font-weight: 500; color: var(--ink-2); font-size: var(--step--1); line-height: 1.35; }
.dc-hero-stats strong { display: block; font: 800 var(--step-2)/1 var(--font-head); color: var(--blue); margin-bottom: 4px; }

/* Inner page hero */
.dc-page-hero { padding-block: clamp(54px, 7vw, 100px) clamp(44px, 6vw, 76px); background: var(--blue); color: #fff; overflow: hidden; }
.dc-page-hero h1 { max-width: 16ch; }
.dc-page-hero .dc-lead { color: rgba(255,255,255,.92); }
.dc-page-hero .dc-eyebrow { color: var(--amber); }
.dc-page-hero.is-navy, .dc-page-hero.is-violet { background: var(--navy); }
.dc-page-hero.is-red, .dc-page-hero.is-coral { background: var(--red); }
.dc-page-hero.is-red .dc-eyebrow, .dc-page-hero.is-coral .dc-eyebrow { color: #fff; }
.dc-page-hero.is-ink { background: var(--ink); }
.dc-page-hero.is-amber, .dc-page-hero.is-sun { background: var(--amber); color: var(--ink); }
.dc-page-hero.is-sky, .dc-page-hero.is-pink { background: var(--sky); color: var(--ink); }
.dc-page-hero.is-grey { background: var(--grey); color: var(--ink); }
.dc-page-hero.is-amber .dc-lead, .dc-page-hero.is-sun .dc-lead, .dc-page-hero.is-sky .dc-lead, .dc-page-hero.is-pink .dc-lead, .dc-page-hero.is-grey .dc-lead { color: var(--ink); }
.dc-page-hero.is-amber .dc-eyebrow, .dc-page-hero.is-sun .dc-eyebrow, .dc-page-hero.is-sky .dc-eyebrow, .dc-page-hero.is-pink .dc-eyebrow, .dc-page-hero.is-grey .dc-eyebrow { color: var(--ink); }
.dc-page-hero.is-teal { background: var(--blue); }
.dc-flag-big {
	font: 800 clamp(5rem, 15vw, 12rem)/.8 var(--font-head); letter-spacing: -.02em; opacity: .14;
	position: absolute; right: var(--gutter); bottom: -.06em; pointer-events: none; margin: 0;
}

/* ==========================================================================
   7. Destination strip
   ========================================================================== */
.dc-marquee { background: var(--navy); color: #fff; overflow: hidden; padding: 0 !important; }
.dc-marquee p {
	display: inline-block; white-space: nowrap; margin: 0; padding: 20px 0;
	font: 800 var(--step-2)/1 var(--font-head); text-transform: uppercase; letter-spacing: .02em;
}
.dc-marquee p span { color: var(--amber); padding: 0 .55em; }
@media (prefers-reduced-motion: no-preference) {
	.dc-marquee p { animation: dc-scroll 40s linear infinite; padding-left: 100%; }
	@keyframes dc-scroll { to { transform: translateX(-100%); } }
}
@media (prefers-reduced-motion: reduce) { .dc-marquee p { white-space: normal; padding-inline: var(--gutter); } }

/* ==========================================================================
   8. Trust badges
   ========================================================================== */
.dc-trust { padding-block: 30px !important; background: var(--paper); border-bottom: 1px solid var(--line-c); }
.dc-trust-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 12px; }
.dc-trust p { margin: 0; }
.dc-trust .dc-trust-label { font-weight: 600; text-transform: uppercase; letter-spacing: .12em; font-size: .78rem; margin-right: 8px; color: var(--ink-2); }
.dc-badge {
	display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--line-c); border-radius: 999px;
	padding: 8px 16px; font-weight: 500; font-size: .88rem; background: var(--mist); color: var(--ink);
}
.dc-badge::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--blue); }
.dc-badge:nth-child(3n)::before { background: var(--red); }
.dc-badge:nth-child(3n+1)::before { background: var(--amber); }

/* ==========================================================================
   9. DenCo vs everyone else
   ========================================================================== */
.dc-versus .dc-them h3, .dc-versus .dc-us h3 { font: 800 var(--step-2)/1 var(--font-head); }
.dc-versus .dc-them { background: var(--mist); box-shadow: none; }
.dc-versus .dc-them h3 { color: var(--ink-2); }
.dc-versus .dc-us { background: var(--blue); border-color: var(--blue); color: #fff; box-shadow: 0 24px 50px rgba(14,114,183,.28); }
.dc-versus .dc-us .dc-ticks li::before { background: var(--amber); color: var(--ink); }
.dc-versus .dc-us .dc-ticks li + li { border-color: rgba(255,255,255,.25); }

/* ==========================================================================
   10. Route cards
   ========================================================================== */
.dc-route { display: flex; flex-direction: column; }
.dc-route .dc-route-tag {
	align-self: flex-start; font-weight: 600; font-size: .74rem; letter-spacing: .14em; text-transform: uppercase;
	background: rgba(255,255,255,.18); border-radius: 6px; padding: 6px 10px; margin-bottom: 1rem;
}
.dc-card--amber .dc-route-tag, .dc-card--sun .dc-route-tag, .dc-card--sky .dc-route-tag, .dc-card--grey .dc-route-tag { background: rgba(37,50,56,.1); }
.dc-route h3 { font: 800 var(--step-2)/1 var(--font-head); }
.dc-route .dc-route-countries { font-weight: 600; margin-top: auto; padding-top: 1rem; border-top: 1px solid rgba(128,128,128,.35); }

/* ==========================================================================
   11. Steps
   ========================================================================== */
.dc-steps { counter-reset: step; list-style: none; padding: 0; margin: 0; display: grid; gap: 18px;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr)); }
.dc-steps li {
	counter-increment: step; background: var(--paper); border: 1px solid var(--line-c); border-radius: var(--radius); padding: 78px 22px 26px;
	position: relative; box-shadow: var(--shadow-sm); line-height: 1.5; font-size: .95rem; color: var(--ink-2);
}
.dc-steps li::before {
	content: counter(step, decimal-leading-zero); position: absolute; top: 20px; left: 22px;
	font: 800 2.6rem/1 var(--font-head); color: var(--blue);
}
.dc-steps li::after { content: ""; position: absolute; left: 22px; right: 22px; top: 0; height: 5px; border-radius: 0 0 4px 4px; background: var(--blue); }
.dc-steps li strong { display: block; font: 600 var(--step-0)/1.25 var(--font-body); margin-bottom: 6px; color: var(--ink); }
.dc-steps li:nth-child(2)::before { color: var(--navy); } .dc-steps li:nth-child(2)::after { background: var(--navy); }
.dc-steps li:nth-child(3)::before { color: var(--sky); } .dc-steps li:nth-child(3)::after { background: var(--sky); }
.dc-steps li:nth-child(4)::before { color: var(--red); } .dc-steps li:nth-child(4)::after { background: var(--red); }
.dc-steps li:nth-child(5)::before { color: #D9901F; } .dc-steps li:nth-child(5)::after { background: var(--amber); }

/* ==========================================================================
   12. Stat band
   ========================================================================== */
.dc-statband { background: var(--navy); color: #fff; }
.dc-stat { text-align: center; }
.dc-stat strong { display: block; font: 800 clamp(3.4rem, 8vw, 6rem)/1 var(--font-head); color: var(--amber); }
.dc-stat span { font-weight: 500; }

/* ==========================================================================
   13. Founder quote
   ========================================================================== */
.dc-founder { background: var(--ink); color: #fff; }
.dc-founder blockquote, .dc-founder .wp-block-quote { margin: 0; border: 0; padding: 0; max-width: 980px; }
.dc-founder blockquote p {
	font: 500 var(--step-1)/1.6 var(--font-body);
}
.dc-founder blockquote > p:first-child::before {
	content: "“"; display: block; color: var(--red); font: 800 7rem/.6 var(--font-head); margin-bottom: .1em;
}
.dc-founder cite { font-style: normal; font: 800 var(--step-2)/1 var(--font-head); color: var(--amber); display: block; margin-top: 1.4rem; }
.dc-founder cite span { display: block; color: #fff; font: 400 var(--step--1)/1.5 var(--font-body); opacity: .8; margin-top: 6px; }
.dc-asal { display: inline-block; background: var(--amber); color: var(--ink); padding: 0 .3em; border-radius: 4px; font-weight: 600; }

/* ==========================================================================
   14. FAQ
   ========================================================================== */
.dc-faq { background: var(--mist); }
.dc-faq details, .wp-block-details {
	background: var(--paper); border: 1px solid var(--line-c); border-radius: var(--radius-sm); margin-bottom: 12px;
}
.dc-faq details[open], .wp-block-details[open] { border-color: var(--blue); box-shadow: var(--shadow-sm); }
.dc-faq summary, .wp-block-details summary {
	cursor: pointer; padding: 20px 60px 20px 22px; font: 600 var(--step-0)/1.35 var(--font-body); list-style: none; position: relative;
}
.dc-faq summary::-webkit-details-marker, .wp-block-details summary::-webkit-details-marker { display: none; }
.dc-faq summary::after, .wp-block-details summary::after {
	content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%);
	width: 30px; height: 30px; border-radius: 50%; background: var(--blue-tint); color: var(--blue);
	display: grid; place-items: center; font: 600 1.2rem/1 var(--font-body);
}
.dc-faq details[open] summary::after, .wp-block-details[open] summary::after { content: "–"; background: var(--blue); color: #fff; }
.dc-faq details > *:not(summary), .wp-block-details > *:not(summary) { padding: 0 22px; color: var(--ink-2); }
.dc-faq details > *:last-child, .wp-block-details > *:last-child { padding-bottom: 20px; }

/* ==========================================================================
   15. CTA band
   ========================================================================== */
.dc-cta { background: var(--red); color: #fff; overflow: hidden; }
.dc-cta h2 { font-size: var(--step-4); }
.dc-cta .dc-lead { color: #fff; }
.dc-cta .wp-block-button:not(.is-style-outline) .wp-block-button__link { background: #fff; border-color: #fff; color: var(--red); }
.dc-cta .wp-block-button:not(.is-style-outline) .wp-block-button__link:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.dc-cta::before, .dc-cta::after { content: ""; position: absolute; border-radius: 50%; pointer-events: none; }
.dc-cta::before { width: 260px; height: 260px; background: var(--amber); left: -110px; top: -110px; }
.dc-cta::after { width: 180px; height: 180px; background: var(--blue); right: -50px; bottom: -70px; }
.dc-cta > * { position: relative; z-index: 1; }

/* ==========================================================================
   16. Destination cards
   ========================================================================== */
.dc-dest {
	display: block; text-decoration: none; position: relative; overflow: hidden; color: var(--ink);
	transition: transform .15s, box-shadow .15s; min-height: 220px;
}
.dc-dest:hover { transform: translateY(-4px); box-shadow: var(--shadow); color: inherit; }
.dc-dest .dc-code { font: 800 4rem/1 var(--font-head); display: block; margin-bottom: .5rem; }
.dc-dest h3 { font-size: var(--step-1); }
.dc-dest p { margin: 0; font-size: .95rem; opacity: .92; }
.dc-dest .dc-arrow { position: absolute; right: 22px; top: 22px; width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid currentColor; display: grid; place-items: center; font-weight: 600; transition: .15s; }
.dc-dest:hover .dc-arrow { background: currentColor; }
.dc-dest:hover .dc-arrow { color: inherit; }
.dc-card--blue.dc-dest, .dc-card--navy.dc-dest, .dc-card--red.dc-dest, .dc-card--ink.dc-dest,
.dc-card--violet.dc-dest, .dc-card--coral.dc-dest, .dc-card--teal.dc-dest { color: #fff; }
.dc-card--blue.dc-dest:hover, .dc-card--navy.dc-dest:hover, .dc-card--red.dc-dest:hover, .dc-card--ink.dc-dest:hover { color: #fff; }

/* Facts table */
.dc-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); border: 1px solid var(--line-c); border-radius: var(--radius); overflow: hidden; background: var(--paper); box-shadow: var(--shadow-sm); }
.dc-facts > div { padding: 24px; border-right: 1px solid var(--line-c); border-bottom: 1px solid var(--line-c); margin: 0 -1px -1px 0; border-top: 4px solid var(--blue); }
.dc-facts > div:nth-child(2) { border-top-color: var(--navy); }
.dc-facts > div:nth-child(3) { border-top-color: var(--red); }
.dc-facts > div:nth-child(4) { border-top-color: var(--amber); }
.dc-facts p { margin: 0; }
.dc-facts .dc-fact-k { text-transform: uppercase; letter-spacing: .12em; font-size: .74rem; font-weight: 600; color: var(--ink-2); margin-bottom: 8px; }
.dc-facts .dc-fact-v { font: 800 var(--step-2)/1.05 var(--font-head); }

.dc-note {
	border-left: 5px solid var(--amber); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; background: #FFF6E6; padding: 18px 22px; color: var(--ink);
}

/* Prose */
.dc-prose { max-width: 760px; margin-inline: auto; }
.dc-prose h2 { font-size: var(--step-2); margin-top: 1.6em; }
.dc-prose h3 { margin-top: 1.6em; }

/* Section backgrounds */
.is-bg-paper { background: var(--mist); }
.is-bg-mist { background: var(--mist); }
.is-bg-sun, .is-bg-amber { background: var(--amber); }
.is-bg-blue, .is-bg-teal { background: var(--blue); color: #fff; }
.is-bg-navy { background: var(--navy); color: #fff; }
.is-bg-pink, .is-bg-sky { background: var(--sky); }
.is-bg-ink { background: var(--ink); color: #fff; }
.is-bg-amber .dc-eyebrow, .is-bg-sun .dc-eyebrow { color: var(--ink); }
.is-bg-amber .dc-lead, .is-bg-sun .dc-lead { color: var(--ink); }
.is-bg-amber .dc-card, .is-bg-sun .dc-card { border-color: transparent; }

/* ==========================================================================
   17. Forms
   ========================================================================== */
.dc-form {
	background: var(--paper); border: 1px solid var(--line-c); border-top: 6px solid var(--blue); border-radius: var(--radius); box-shadow: var(--shadow);
	padding: clamp(22px, 4vw, 44px); display: grid; gap: 18px; grid-template-columns: 1fr 1fr;
}
.dc-form .full { grid-column: 1 / -1; }
@media (max-width: 640px) { .dc-form { grid-template-columns: 1fr; } }
.dc-form label { display: block; font-weight: 600; margin-bottom: 6px; font-size: .92rem; }
.dc-form label .req { color: var(--red); }
.dc-form input[type=text], .dc-form input[type=email], .dc-form input[type=tel], .dc-form select, .dc-form textarea {
	width: 100%; font: 400 1rem var(--font-body); color: var(--ink); background: var(--mist);
	border: 1.5px solid var(--line-c); border-radius: 8px; padding: 13px 14px; appearance: none;
}
.dc-form select {
	background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%);
	background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 36px;
}
.dc-form textarea { min-height: 120px; resize: vertical; }
.dc-form input:focus, .dc-form select:focus, .dc-form textarea:focus { outline: none; border-color: var(--blue); background: #fff; box-shadow: 0 0 0 3px rgba(14,114,183,.18); }
.dc-form .dc-checks { display: flex; flex-wrap: wrap; gap: 8px; }
.dc-form .dc-checks label {
	display: inline-flex; align-items: center; gap: 8px; margin: 0; font-weight: 500; border: 1.5px solid var(--line-c); border-radius: 999px; padding: 8px 14px; cursor: pointer; background: var(--paper);
}
.dc-form .dc-checks input { accent-color: var(--blue); width: 18px; height: 18px; margin: 0; }
.dc-form .dc-checks label:has(input:checked) { background: var(--blue-tint); border-color: var(--blue); color: var(--navy); }
.dc-form .dc-consent { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; font-size: .9rem; color: var(--ink-2); }
.dc-form .dc-consent input { accent-color: var(--blue); width: 20px; height: 20px; margin-top: 2px; flex: none; }
.dc-form .dc-btn { width: 100%; }
.dc-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.dc-form-msg { border-radius: var(--radius-sm); padding: 18px 22px; font-weight: 500; margin-bottom: 20px; }
.dc-form-msg.is-ok { background: var(--blue); color: #fff; }
.dc-form-msg.is-err { background: #FBE3E3; color: #8E1A1B; border-left: 5px solid var(--red); }
.dc-form--compact { grid-template-columns: 1fr; }

/* ==========================================================================
   18. Contact list
   ========================================================================== */
.dc-contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
.dc-contact-list li { display: flex; gap: 14px; align-items: flex-start; font-weight: 500; }
.dc-contact-list .ico { flex: none; width: 46px; height: 46px; border-radius: 12px; background: var(--blue-tint); color: var(--blue); display: grid; place-items: center; }
.dc-contact-list .ico svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.dc-contact-list small { display: block; font-weight: 600; text-transform: uppercase; letter-spacing: .12em; font-size: .72rem; color: var(--ink-2); }

/* ==========================================================================
   19. Footer
   ========================================================================== */
.site-footer { background: var(--ink); color: #fff; padding: clamp(56px, 7vw, 90px) 0 0; }
.site-footer a { color: #fff; text-decoration: none; opacity: .88; }
.site-footer a:hover { color: var(--amber); opacity: 1; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h4 { font: 800 1.3rem/1 var(--font-head); text-transform: uppercase; letter-spacing: .04em; color: var(--amber); margin-bottom: 1.1rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: .94rem; }
.footer-brand p { opacity: .8; margin-top: 1.2rem; max-width: 36ch; font-size: .94rem; }
.footer-social { display: flex; gap: 10px; margin-top: 1.2rem; flex-wrap: wrap; }
.footer-social a {
	width: 42px; height: 42px; border-radius: 50%; background: rgba(255,255,255,.1); display: grid; place-items: center; opacity: 1;
}
.footer-social a:hover { background: var(--blue); color: #fff; }
.footer-social svg { width: 19px; height: 19px; fill: currentColor; }
.footer-bottom {
	margin-top: clamp(40px, 6vw, 70px); border-top: 1px solid rgba(255,255,255,.14); padding: 22px 0 28px;
	display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; font-size: .86rem; opacity: .75;
}
.footer-stripe { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr .6fr; height: 8px; }
.footer-stripe i:nth-child(1) { background: var(--blue); }
.footer-stripe i:nth-child(2) { background: var(--navy); }
.footer-stripe i:nth-child(3) { background: var(--red); }
.footer-stripe i:nth-child(4) { background: var(--amber); }
.footer-stripe i:nth-child(5) { background: var(--grey); }

/* WhatsApp float */
.dc-wa {
	position: fixed; right: 18px; bottom: 18px; z-index: 60; width: 58px; height: 58px; border-radius: 50%;
	background: #25D366; box-shadow: 0 10px 24px rgba(0,0,0,.2); display: grid; place-items: center; color: #fff;
	transition: transform .15s;
}
.dc-wa:hover { transform: scale(1.06); color: #fff; }
.dc-wa svg { width: 30px; height: 30px; fill: currentColor; }

/* ==========================================================================
   20. Blog / generic
   ========================================================================== */
.dc-posts { display: grid; gap: 26px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.dc-post-card a { text-decoration: none; color: var(--ink); }
.dc-post-card img { border-radius: 10px; margin-bottom: 14px; aspect-ratio: 16/9; object-fit: cover; width: 100%; }
.dc-meta { font-size: .8rem; font-weight: 600; text-transform: uppercase; letter-spacing: .1em; color: var(--ink-2); }
.dc-page-hero .dc-meta { color: inherit; opacity: .85; }
.pagination, .nav-links { display: flex; gap: 8px; justify-content: center; margin-top: 40px; }
.page-numbers { border: 1px solid var(--line-c); border-radius: 8px; padding: 8px 14px; text-decoration: none; font-weight: 600; background: var(--paper); color: var(--ink); }
.page-numbers.current { background: var(--blue); border-color: var(--blue); color: #fff; }
.single-wrap { padding-block: 60px 90px; }
.entry-content figure { margin: 2rem auto; }
.entry-content img { border-radius: 12px; }
.wp-block-image img { height: auto; }
.wp-block-embed iframe { width: 100%; aspect-ratio: 16/9; border-radius: var(--radius-sm); }
.alignwide { width: min(100% - 2 * var(--gutter), 1400px) !important; }

/* 404 */
.dc-404 { text-align: center; padding-block: 100px; }
.dc-404 h1 { font-size: clamp(7rem, 22vw, 15rem); color: var(--blue); margin: 0; }
.dc-404 h1 span { color: var(--red); }

@media print { .site-header, .site-footer, .dc-wa, .dc-marquee { display: none !important; } }
