/* ==========================================================================
   Goedhuys Vastgoed — main stylesheet
   Palette + typography mirror the source design.
   ========================================================================== */

:root {
	--gh-accent: #149FA5;     /* teal */
	--gh-accent-d: #0f7e83;
	--gh-secondary: #67BE6C;  /* green */
	--gh-dark: #05122D;       /* deep navy */
	--gh-navy: #212445;       /* panel navy */
	--gh-ink: #07080F;
	--gh-muted: #5b6477;
	--gh-light: #F3F3FD;
	--gh-line: #e7e7ef;
	--gh-white: #ffffff;
	--font-head: "Golos Text", "IBM Plex Sans", sans-serif;
	--font-body: "IBM Plex Sans", "Golos Text", sans-serif;
	--container: 1180px;
	--radius: 16px;
	--shadow: 0 18px 50px rgba(5, 18, 45, .12);
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
	margin: 0;
	font-family: var(--font-body);
	color: var(--gh-ink);
	background: var(--gh-white);
	line-height: 1.65;
	font-size: 17px;
	-webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gh-accent); text-decoration: none; }
a:hover { color: var(--gh-accent-d); }
h1, h2, h3, h4, h5, h6 { font-family: var(--font-head); color: var(--gh-dark); line-height: 1.15; margin: 0 0 .5em; font-weight: 700; }
p { margin: 0 0 1.1em; }
ul { margin: 0 0 1.1em; padding-left: 1.1em; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.container--narrow { max-width: 820px; }

.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; overflow: hidden;
	clip: rect(1px,1px,1px,1px); white-space: nowrap;
}
.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: 16px; top: 16px; background: #fff; padding: 10px 16px; z-index: 9999; border-radius: 8px; }

/* ---------- buttons ---------- */
.btn {
	display: inline-block; font-family: var(--font-head); font-weight: 600;
	font-size: 16px; padding: 13px 26px; border-radius: 999px; cursor: pointer;
	border: 2px solid transparent; transition: .2s ease; text-align: center;
}
.btn--accent { background: var(--gh-accent); color: #fff; }
.btn--accent:hover { background: var(--gh-accent-d); color: #fff; transform: translateY(-2px); }
.btn--dark { background: var(--gh-dark); color: #fff; }
.btn--dark:hover { background: var(--gh-navy); color: #fff; }
.btn--lg { padding: 16px 34px; font-size: 17px; }
.btn--block { display: block; width: 100%; }

/* ---------- eyebrow & section heads ---------- */
.eyebrow {
	display: inline-block; font-family: var(--font-head); font-weight: 600;
	text-transform: uppercase; letter-spacing: .12em; font-size: 13px;
	color: var(--gh-accent); margin-bottom: 14px;
}
.eyebrow--light { color: #9fe3e6; }
.section { padding: 90px 0; }
.section--light { background: var(--gh-light); }
.section--dark { background: var(--gh-dark); }
.section__head { margin-bottom: 56px; }
.section__head--center { text-align: center; max-width: 760px; margin-left: auto; margin-right: auto; }
.section__title { font-size: clamp(28px, 4vw, 44px); font-weight: 800; }
.section__title--light { color: #fff; }
.section__lead { font-size: 19px; color: var(--gh-muted); }

/* ==========================================================================
   Header
   ========================================================================== */
.topbar { background: var(--gh-dark); color: #cdd5e6; font-size: 14px; }
.topbar__inner { display: flex; justify-content: space-between; align-items: center; min-height: 42px; gap: 16px; }
.topbar__contact { font-weight: 600; color: #fff; }
.topbar__note { opacity: .8; }

.site-header { position: sticky; top: 0; z-index: 999; background: #fff; box-shadow: 0 2px 18px rgba(5,18,45,.06); }
.header__inner { display: flex; align-items: center; gap: 28px; min-height: 84px; }
.site-branding img, .brand-logo img, .custom-logo { max-height: 56px; width: auto; }
.main-nav { margin-left: auto; }
.nav-menu { list-style: none; display: flex; gap: 26px; margin: 0; padding: 0; }
.nav-menu a {
	font-family: var(--font-head); font-weight: 500; color: var(--gh-dark);
	font-size: 15.5px; padding: 8px 0; position: relative;
}
.nav-menu a:hover { color: var(--gh-accent); }
.nav-menu .current-menu-item > a { color: var(--gh-accent); }
.nav-menu .sub-menu {
	position: absolute; background: #fff; box-shadow: var(--shadow); list-style: none;
	padding: 10px; min-width: 220px; border-radius: 12px; display: none; z-index: 50;
}
.nav-menu li { position: relative; }
.nav-menu li:hover > .sub-menu { display: block; }
.nav-menu .sub-menu a { padding: 8px 12px; display: block; }

.header__cta .btn { padding: 11px 22px; }

.nav-toggle {
	display: none; background: none; border: 0; width: 44px; height: 44px;
	flex-direction: column; justify-content: center; gap: 5px; cursor: pointer; margin-left: 8px;
}
.nav-toggle__bar { display: block; height: 3px; width: 26px; background: var(--gh-dark); border-radius: 3px; transition: .25s; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero { position: relative; color: #fff; padding: 130px 0; overflow: hidden;
	background: var(--hero-img) center/cover no-repeat, var(--gh-dark); }
.hero__overlay { position: absolute; inset: 0;
	background: linear-gradient(100deg, rgba(5,18,45,.86) 0%, rgba(5,18,45,.55) 55%, rgba(5,18,45,.25) 100%); }
.hero__inner { position: relative; max-width: 680px; }
.hero__title { color: #fff; font-size: clamp(34px, 5.2vw, 58px); font-weight: 800; margin-bottom: .35em; }
.hero__text { font-size: 20px; color: #e4e9f5; margin-bottom: 1.8em; }
.hero__buttons { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.hero__badge { font-family: var(--font-head); font-weight: 600; color: #9fe3e6; }

/* ==========================================================================
   Intro
   ========================================================================== */
.intro__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 60px; align-items: center; }
.intro__media img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; object-fit: cover; }

/* ==========================================================================
   Process / steps
   ========================================================================== */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.step {
	background: #fff; border: 1px solid var(--gh-line); border-radius: var(--radius);
	padding: 34px 26px; position: relative; transition: .25s;
}
.step:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.step__num {
	font-family: var(--font-head); font-weight: 800; font-size: 40px;
	color: var(--gh-light); -webkit-text-stroke: 1px var(--gh-accent); position: absolute; top: 18px; right: 22px;
}
.step__eyebrow { font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .1em; color: var(--gh-accent); }
.step__title { font-size: 20px; margin: 8px 0 10px; }
.step p { color: var(--gh-muted); font-size: 15.5px; margin: 0; }

/* ==========================================================================
   CTA band
   ========================================================================== */
.cta-band { position: relative; color: #fff; padding: 96px 0; text-align: center;
	background: var(--cta-img) center/cover no-repeat fixed, var(--gh-navy); }
.cta-band__overlay { position: absolute; inset: 0; background: rgba(5,18,45,.82); }
.cta-band__inner { position: relative; max-width: 720px; margin: 0 auto; }
.cta-band__title { color: #fff; font-size: clamp(28px, 4vw, 44px); font-weight: 800; }
.cta-band p { color: #d7ddec; font-size: 18px; margin-bottom: 1.6em; }

/* ==========================================================================
   Why us
   ========================================================================== */
.why__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 60px; align-items: center; }
.why__media img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; }
.why__list { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 12px; }
.why__list li { position: relative; padding-left: 34px; font-weight: 500; }
.why__list li::before {
	content: "✓"; position: absolute; left: 0; top: -1px; width: 24px; height: 24px;
	background: var(--gh-secondary); color: #fff; border-radius: 50%; display: grid; place-items: center; font-size: 14px;
}

/* ==========================================================================
   Features
   ========================================================================== */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.feature-card {
	background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1);
	border-radius: var(--radius); padding: 34px 30px; transition: .25s;
}
.feature-card:hover { background: rgba(255,255,255,.08); transform: translateY(-6px); }
.feature-card__icon {
	display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 14px;
	background: var(--gh-accent); color: #fff; font-family: var(--font-head); font-weight: 800; margin-bottom: 18px;
}
.feature-card__title { color: #fff; font-size: 20px; }
.feature-card p { color: #b9c1d6; margin: 0; font-size: 15.5px; }

/* ==========================================================================
   About / property types
   ========================================================================== */
.type-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.type-card { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: #fff; transition: .25s; }
.type-card:hover { transform: translateY(-6px); }
.type-card__img { aspect-ratio: 16/10; background-size: cover; background-position: center; }
.type-card__title { font-size: 19px; padding: 20px 22px; margin: 0; }

/* ==========================================================================
   Testimonials slider
   ========================================================================== */
.slider { overflow: hidden; position: relative; }
.slider__track { display: flex; transition: transform .5s ease; }
.testimonial {
	min-width: 100%; margin: 0; padding: 10px 8%; text-align: center; box-sizing: border-box;
}
.testimonial blockquote { font-family: var(--font-head); font-size: clamp(20px, 2.6vw, 28px); font-weight: 600; color: var(--gh-dark); margin: 0 0 18px; line-height: 1.4; }
.testimonial figcaption { color: var(--gh-accent); font-weight: 600; }
.slider__dots { display: flex; justify-content: center; gap: 10px; margin-top: 28px; }
.slider__dots button { width: 11px; height: 11px; border-radius: 50%; border: 0; background: #c8cede; cursor: pointer; padding: 0; }
.slider__dots button.is-active { background: var(--gh-accent); width: 28px; border-radius: 6px; }

/* ==========================================================================
   Contact
   ========================================================================== */
.contact__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 60px; align-items: start; }
.contact__email a { font-family: var(--font-head); font-weight: 600; font-size: 19px; }
.contact__form {
	background: #fff; border: 1px solid var(--gh-line); border-radius: var(--radius);
	padding: 34px; box-shadow: var(--shadow);
}
.lead-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.lead-form input, .lead-form textarea, .contact__form input, .contact__form textarea {
	width: 100%; padding: 14px 16px; border: 1px solid var(--gh-line); border-radius: 10px;
	font-family: var(--font-body); font-size: 16px; margin-bottom: 16px; background: var(--gh-light);
}
.lead-form input:focus, .lead-form textarea:focus { outline: 2px solid var(--gh-accent); background: #fff; }

/* Contact Form 7 — match the native lead-form look */
.contact__form .wpcf7-form p { margin: 0; }
.contact__form .lead-form__row { margin-bottom: 0; }
.contact__form .wpcf7 input[type="text"],
.contact__form .wpcf7 input[type="email"],
.contact__form .wpcf7 input[type="tel"],
.contact__form .wpcf7 textarea {
	width: 100%; padding: 14px 16px; border: 1px solid var(--gh-line); border-radius: 10px;
	font-family: var(--font-body); font-size: 16px; margin-bottom: 16px; background: var(--gh-light);
}
.contact__form .wpcf7 input:focus,
.contact__form .wpcf7 textarea:focus { outline: 2px solid var(--gh-accent); background: #fff; }
.contact__form .wpcf7 .wpcf7-submit { margin-top: 4px; }
.contact__form .wpcf7-spinner { margin: 12px auto 0; display: block; }
.contact__form .wpcf7-not-valid-tip { color: #d63638; font-size: 13px; margin: -10px 0 14px; }
.contact__form .wpcf7-response-output {
	border-radius: 10px; padding: 12px 16px; margin: 8px 0 0; font-size: 15px;
	border: 1px solid var(--gh-line);
}
.contact__form .wpcf7 form.invalid .wpcf7-response-output,
.contact__form .wpcf7 form.unaccepted .wpcf7-response-output { border-color: #d63638; color: #d63638; }
.contact__form .wpcf7 form.sent .wpcf7-response-output { border-color: var(--gh-secondary); color: #2f7a34; background: #f0faf1; }

/* ==========================================================================
   FAQ accordion
   ========================================================================== */
.accordion__item { background: #fff; border: 1px solid var(--gh-line); border-radius: 12px; margin-bottom: 14px; overflow: hidden; }
.accordion__head {
	width: 100%; text-align: left; background: none; border: 0; cursor: pointer;
	display: flex; align-items: center; justify-content: space-between; gap: 16px;
	padding: 20px 24px; font-family: var(--font-head); font-weight: 600; font-size: 17px; color: var(--gh-dark);
}
.accordion__icon { position: relative; width: 18px; height: 18px; flex: none; }
.accordion__icon::before, .accordion__icon::after {
	content: ""; position: absolute; background: var(--gh-accent); border-radius: 2px; transition: .25s;
}
.accordion__icon::before { top: 8px; left: 0; width: 18px; height: 2px; }
.accordion__icon::after { left: 8px; top: 0; width: 2px; height: 18px; }
.accordion__head[aria-expanded="true"] .accordion__icon::after { transform: scaleY(0); }
.accordion__panel { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.accordion__panel p { padding: 0 24px 22px; margin: 0; color: var(--gh-muted); }
.hero--compact { padding: 96px 0; }

/* ==========================================================================
   Inner pages
   ========================================================================== */
.page-hero { position: relative; background: var(--gh-dark); color: #fff; padding: 80px 0; text-align: center; }
.page-hero__overlay { position: absolute; inset: 0;
	background: radial-gradient(120% 120% at 50% 0%, rgba(20,159,165,.35), transparent 60%); }
.page-hero .container { position: relative; }
.page-hero__title { color: #fff; font-size: clamp(30px, 4vw, 46px); font-weight: 800; }
.page-hero__lead { color: #cdd5e6; font-size: 18px; margin: 0; }
.entry-content { font-size: 17.5px; }
.entry-content h2 { font-size: 30px; margin-top: 1.4em; }
.entry-content h3 { font-size: 23px; margin-top: 1.2em; }
.entry-thumb { border-radius: var(--radius); margin-bottom: 28px; width: 100%; }

.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.post-card { background: #fff; border: 1px solid var(--gh-line); border-radius: var(--radius); overflow: hidden; }
.post-card__img img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.post-card__body { padding: 22px 24px; }
.post-card__title { font-size: 21px; }
.read-more { font-weight: 600; font-family: var(--font-head); }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: var(--gh-ink); color: #c2c9da; padding-top: 70px; font-size: 15.5px; }
.footer__grid { display: grid; grid-template-columns: 1.3fr 2fr; gap: 50px; padding-bottom: 50px; }
.footer__logo, .site-footer .custom-logo { max-height: 52px; margin-bottom: 18px; filter: brightness(0) invert(1); }
.footer__tagline { max-width: 360px; }
.footer__contact a { color: #fff; font-weight: 600; }
.footer__cols { display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px; }
.footer-widget__title { color: #fff; font-size: 18px; margin-bottom: 16px; }
.footer-menu { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer-menu a { color: #c2c9da; }
.footer-menu a:hover { color: var(--gh-accent); }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 22px 0; font-size: 14px; color: #8c95ab; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1024px) {
	.steps { grid-template-columns: repeat(2, 1fr); }
	.feature-grid, .type-grid, .post-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
	.header__cta { display: none; }
	.nav-toggle { display: flex; }
	.main-nav {
		position: absolute; top: 100%; left: 0; right: 0; background: #fff;
		box-shadow: var(--shadow); max-height: 0; overflow: hidden; transition: max-height .35s ease; margin: 0;
	}
	.site-header.nav-open .main-nav { max-height: 80vh; overflow: auto; }
	.nav-menu { flex-direction: column; gap: 0; padding: 12px 24px 24px; }
	.nav-menu > li { border-bottom: 1px solid var(--gh-line); }
	.nav-menu a { display: block; padding: 14px 0; }
	.nav-menu .sub-menu { position: static; display: block; box-shadow: none; padding: 0 0 8px 14px; }

	.intro__grid, .why__grid, .contact__grid { grid-template-columns: 1fr; gap: 36px; }
	.why__media { order: -1; }
	.cta-band { background-attachment: scroll; }
}
@media (max-width: 640px) {
	.section { padding: 60px 0; }
	.hero { padding: 90px 0; }
	.steps, .feature-grid, .type-grid, .post-grid { grid-template-columns: 1fr; }
	.lead-form__row { grid-template-columns: 1fr; }
	.topbar__note { display: none; }
	.hero__buttons { gap: 14px; }
	.btn { width: 100%; }
	.hero__badge { width: auto; }
}
