/*
Theme Name: Gondor Wordpress
Author: Elenith
Author URI: http://
Description: Elenith Custom Theme.
Version: 1.0
License: GNU General Public License

-------------------------------------------------------------- */
/* Reset
-------------------------------------------------------------- */

/* ── TOKENS ── */
:root {
    --navy-deep: #12182b;
    --navy: #1b2340;
    --gold: #e8b84b;
    --gold-dark: #c99a2e;
    --gold-text: #e8b84b;
    --blue: #00aaff;
    --white: #ffffff;
    --body-text: rgb(221, 226, 240);
    --muted: #ffffff;
    --border: #e8b84b;
    --font-d: 'Gilda Display', serif;
    --font-b: 'Cardo', serif;
}

/* ── LIGHT MODE TOKENS ── */
body.light {
    --navy-deep: #f2f4f8;
    --navy: #ffffff;
    --gold: #e8b84b;
    --gold-dark: #0088cc;
    --gold-text: #1b2340;
    --blue: #0088cc;
    --white: #1b2340;
    --body-text: #1B2340;
    --muted: rgb(27, 35, 64);
    --border: #e8b84b;
    --nav-cta-bg: #1b2340;
    --nav-cta-fg: #e8b84b;
    --card-bg: #ffffff;
    --card-border: rgba(27, 35, 64, 0.07);
    --section-bg: #f2f4f8;
    --cta-box-bg: #1b2340;
    --cta-box-text: #ffffff;
    --cta-box-sub: rgba(255, 255, 255, 0.9);
    --work-thumb-bg: #1b2340;
}

body.dark {
    --gold-text: var(--gold);
    --nav-cta-bg: var(--gold);
    --nav-cta-fg: #1b2340;
    --card-bg: #1b2340;
    --card-border: rgba(255, 255, 255, 0.07);
    --section-bg: #12182b;
    --cta-box-bg: #1b2340;
    --cta-box-text: #ffffff;
    --cta-box-sub: rgba(221, 226, 240, 0.9);
    --work-thumb-bg: #0d1220;
}

/* ── BASE ── */
html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-b);
    background: var(--navy-deep);
    color: var(--body-text);
    transition: background 0.25s, color 0.25s;
}

body.dark {
    background: var(--navy-deep);
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    display: block;
    max-width: 100%;
}

* {
    box-sizing: border-box;
    font-family: var(--font-b);
    margin: 0;
    padding: 0;
}

.clearfix:after {
    content: ".";
    display: block;
    height: 0;
    clear: both;
    visibility: hidden;
}

.clearfix {
    display: inline-block;
}

* html .clearfix {
    height: 1%;
}

.clearfix {
    display: block;
}

html {
    /* overflow-y: scroll;
    overflow-x: hidden; */
    max-width: 100%;
}

body {
    display: block !important;
    width: 100%;
    position: relative;
}

/* .main-content {
    overflow-x: hidden;
} */

a {
    color: inherit;
    text-decoration: none;
    transition: all ease-in-out 0.3s;
}

h1,
h2 {
    font-family: var(--font-d);
    line-height: 1.2;
}

h2 {
    margin: 1rem 0;
    line-height: 1.2;
}

h3 {
    font-family: var(--font-d);
    font-style: italic;
    line-height: 1.2;
    margin: 1rem 0;
}

h4,
h5,
h6 {
    font-family: var(--font-d);
    line-height: 1.2;
    margin: 1rem 0;
}

h1 {
    font-size: 50px;
}

h2 {
    font-size: 45px;
}

h3 {
    font-size: 40px;
}


h4 {
    font-size: 35px;
}

h5 {
    font-size: 30px;
}

h6 {
    font-size: 25px;
}

p {
    font-size: 18px;
    line-height: 1.5;
    margin: 1rem 0;
}

ul,
ol {
    margin: 1rem 0 1rem 5%;
}

ul li,
ol li {
    margin: 0.5rem 0;
    line-height: 1.5;
    font-size: 18px;
}

p a,
ol a,
ul a {
    text-decoration: underline;
    color: var(--blue);
    transition: color 0.15s, text-decoration 0.15s;
}

p a:hover,
ol a:hover,
ul a:hover {
    color: var(--gold-dark);
    text-decoration: none;
}

em {
    font-family: inherit;
    font-style: italic;
}

strong,
b {
    font-family: inherit;
    font-weight: 800;
}

.inner {
    margin: auto;
    max-width: 1400px;
    width: 90%;
}

/* ── HEADER ── */
.main-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--navy);
    border-bottom: 1px solid var(--border);
    transition: background 0.25s, border-color 0.25s;
}

.main-header .inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 66px;
}

.header-logo {
    font-family: var(--font-d);
    font-size: 22px;
    color: var(--gold-text);
    letter-spacing: 0.02em;
    flex-shrink: 0;
}

.header-logo span {
    color: var(--white);
}

body.light .header-logo span,
body.light .footer-logo span {
    color: var(--blue);
}

body.light .eyebrow-text {
    color: var(--blue);
}

.nav-links {
    display: flex;
    gap: 36px;
    margin: 0;
}

.nav-links li {
    margin: 0;
}

.nav-links a {
    font-family: var(--font-b);
    font-size: 14px;
    color: var(--muted);
    letter-spacing: 0.02em;
    transition: color 0.15s;
}

.nav-links a:hover {
    color: var(--white);
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.btn-mode {
    font-family: var(--font-b);
    font-size: 16px;
    line-height: 1;
    color: var(--muted);
    background: transparent;
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 8px 10px;
    cursor: pointer;
    transition: color 0.15s, border-color 0.15s;
}

.btn-mode:hover {
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.25);
}

.btn-nav-cta {
    font-family: var(--font-b);
    font-size: 14px;
    font-weight: 700;
    color: var(--nav-cta-fg);
    background: var(--nav-cta-bg);
    border: none;
    border-radius: 7px;
    padding: 9px 22px;
    cursor: pointer;
    transition: opacity 0.15s;
}

.btn-nav-cta:hover {
    opacity: 0.88;
}

.hamburger-icon,
.mobile-nav {
    display: none;
}

/* ── HERO ── */
.hero {
    background: var(--navy);
    padding: 104px 0 96px;
    transition: background 0.25s;
}

.hero .inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.hero-eyebrow {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 30px;
}

.eyebrow-line {
    width: 36px;
    height: 1px;
    background: var(--gold);
    opacity: 0.55;
}

.eyebrow-text {
    font-family: var(--font-b);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold-text);
}

.hero h1 {
    font-family: var(--font-d);
    font-size: clamp(38px, 5vw, 54px);
    font-weight: 400;
    line-height: 1.15;
    color: var(--white);
    max-width: 660px;
    margin: 0 0 22px;
    letter-spacing: 0.01em;
}

.hero h1 em {
    font-style: italic;
    color: var(--gold-text);
}

.hero-sub {
    font-size: 17px;
    line-height: 1.85;
    color: var(--body-text);
    max-width: 440px;
    margin: 0 0 46px;
}

.hero-btns {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    justify-content: center;
}

.btn-primary,
.btn-secondary {
    display: inline-block;
    font-family: var(--font-b);
    font-size: 15px;
    border: none;
    border-radius: 8px;
    padding: 13px 30px;
    cursor: pointer;
    transition: opacity 0.15s;
}

.btn-primary {
    font-weight: 700;
    color: #1b2340;
    background: var(--gold);
}

.btn-primary:hover {
    opacity: 0.88;
}

.btn-secondary {
    font-weight: 400;
    color: var(--navy-deep);
    background: var(--white);
}

body.dark .btn-secondary {
    color: #1b2340;
    background: #dde2f0;
}

.btn-secondary:hover {
    opacity: 0.88;
}

/* ── SECTIONS ── */
.section {
    padding: 80px 0;
    background: var(--section-bg);
    transition: background 0.25s;
}

.section.alt {
    background: var(--navy);
}

.section-eyebrow {
    font-family: var(--font-b);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--blue);
    margin: 0 0 12px;
}

.section-title {
    font-family: var(--font-d);
    font-size: 34px;
    font-weight: 400;
    color: var(--white);
    margin: 0 0 12px;
    letter-spacing: 0.01em;
    font-style: normal;
}

.section-sub {
    font-size: 16px;
    line-height: 1.8;
    color: var(--body-text);
    max-width: 460px;
    margin: 0;
}

/* ── SERVICES ── */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 14px;
    margin-top: 48px;
}

.service-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    padding: 28px 24px;
    transition: border-color 0.2s;
}

.service-card:hover {
    border-color: rgba(232, 184, 75, 0.35);
}

.service-icon {
    width: 40px;
    height: 40px;
    background: var(--gold);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    color: var(--body-text);
}

body.dark .service-icon {
    color: var(--navy);
}

.service-icon svg {
    width: 20px;
    height: 20px;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.service-card h3 {
    font-family: var(--font-d);
    font-size: 18px;
    font-weight: 400;
    color: var(--white);
    margin: 0 0 8px;
    font-style: normal;
}

.service-card p {
    font-size: 14px;
    line-height: 1.75;
    color: var(--body-text);
    margin: 0;
}

/* ── INCLUDES ── */
.includes-section {
    padding: 80px 0;
    background: var(--navy);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    transition: background 0.25s, border-color 0.25s;
}

.includes-inner {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 64px;
    align-items: center;
}

.includes-copy h2 {
    font-family: var(--font-d);
    font-size: 32px;
    font-weight: 400;
    color: var(--white);
    margin: 0 0 16px;
    letter-spacing: 0.01em;
    line-height: 1.25;
    font-style: normal;
}

.includes-copy h2 em {
    font-style: italic;
    color: var(--gold-text);
}

.includes-copy p {
    font-size: 15px;
    line-height: 1.85;
    color: var(--body-text);
    margin: 0;
}

.includes-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin: 0;
    list-style: none;
}

.includes-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 10px;
    padding: 14px 16px;
    transition: border-color 0.2s;
}

.includes-item:hover {
    border-color: rgba(232, 184, 75, 0.3);
}

.includes-check {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
    background: rgba(232, 184, 75, 0.12);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 1px;
    color: var(--gold-text);
}

.includes-check svg {
    width: 11px;
    height: 11px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.includes-item p {
    font-size: 14px;
    line-height: 1.6;
    color: var(--body-text);
    margin: 0;
}

.includes-item strong {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 2px;
}

/* ── CTA ── */
.cta-section {
    padding: 80px 0;
    background: var(--section-bg);
    text-align: center;
    transition: background 0.25s;
}

.cta-box {
    background: var(--cta-box-bg);
    border-radius: 18px;
    padding: 72px 48px;
    max-width: 560px;
    margin: 0 auto;
    border: 1px solid rgba(232, 184, 75, 0.15);
}

.cta-box h2 {
    font-family: var(--font-d);
    font-size: 36px;
    font-weight: 400;
    color: var(--cta-box-text);
    margin: 0 0 16px;
    letter-spacing: 0.01em;
    font-style: normal;
    line-height: 1.2;
}

.cta-box h2 em {
    font-style: italic;
    color: var(--gold);
}

.cta-box p {
    font-size: 16px;
    line-height: 1.85;
    color: var(--cta-box-sub);
    margin: 0 0 36px;
}

.cta-box .btn-primary {
    margin: 0;
}

/* ── FOOTER ── */
.main-footer {
    background: var(--navy);
    border-top: 1px solid var(--border);
    padding: 28px 0;
    transition: background 0.25s, border-color 0.25s;
}

.main-footer .inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 28px;
}

.footer-logo {
    font-family: var(--font-d);
    font-size: 16px;
    color: var(--muted);
    flex-shrink: 0;
}

.footer-logo span {
    color: var(--gold-text);
}

.footer-links {
    display: flex;
    gap: 28px;
    margin: 0;
    list-style: none;
}

.footer-links li {
    margin: 0;
}

.footer-links a {
    font-size: 13px;
    color: var(--muted);
    transition: color 0.15s;
}

.footer-links a:hover {
    color: var(--body-text);
}

.footer-bottom {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
    flex-shrink: 0;
}

.footer-copy {
    font-size: 12px;
    color: var(--muted);
    margin: 0;
}

.footer-privacy {
    font-size: 12px;
    color: var(--muted);
    transition: color 0.15s;
}

.footer-privacy:hover {
    color: var(--body-text);
}

