/* ==========================================================
   styles.css — COTSWOLD TOWNHOUSE RETREATS
========================================================== */

:root {
	--brand-forest: #173b32;
	--brand-green: #486d57;
	--brand-sage: #dfe8dc;
	--brand-cream: #f7f2ea;
	--brand-warm: #efe3d3;
	--brand-gold: #b98d4e;
	--brand-gold-dark: #9b743c;
	--brand-clay: #a9634b;
	--brand-charcoal: #101c18;
	--brand-ink: #2f332f;
}

h1,
h2,
h3,
h4 {
	color: var(--brand-forest);
}

.btn {
	font-family: "Source Sans 3", Arial, sans-serif;
	font-weight: 800;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	border-radius: 999px;
	padding: 0.85rem 1.45rem;
}

.btn-primary {
	background: var(--brand-gold);
	border-color: var(--brand-gold);
	color: #111;
}

.btn-primary:hover,
.btn-primary:focus {
	background: var(--brand-gold-dark);
	border-color: var(--brand-gold-dark);
	color: #fff;
}

.btn-secondary {
	background: var(--brand-forest);
	border-color: var(--brand-forest);
	color: #fff;
}

.btn-secondary:hover,
.btn-secondary:focus {
	background: var(--brand-charcoal);
	border-color: var(--brand-charcoal);
	color: #fff;
}

/* -------------------------
   CONTACT BAR
-------------------------- */
.contact-bar {
	padding: 0.5rem 0;
	background: var(--brand-cream);
	border-bottom: 1px solid rgba(23,59,50,0.12);
}

.contact-desktop {
	display: flex;
	justify-content: center;
	gap: 52px;
}

.contact-desktop a,
.contact-mobile a {
	font-size: 0.95rem;
	font-weight: 600;
	color: var(--brand-forest);
	text-decoration: none;
	white-space: nowrap;
}

.contact-desktop a:hover,
.contact-mobile a:hover {
	color: var(--brand-gold);
}

.contact-bar i {
	color: var(--brand-gold);
}

.contact-desktop i {
	font-size: 1.05rem;
	margin-right: 6px;
}

.contact-mobile {
	display: none;
	width: 100%;
}

.contact-mobile a {
	display: flex;
	flex: 1 0 33.33%;
	justify-content: center;
	align-items: center;
	padding: 10px 0;
}

.contact-mobile i {
	font-size: 1.75rem;
}

/* -------------------------
   HEADER
-------------------------- */
.site-header {
	padding: 1.7rem 0;
	background: #fff;
}

.brand-logo {
	font-family: "Cormorant Garamond", Georgia, serif;
	font-size: 2.05rem;
	font-weight: 700;
	line-height: 1;
	letter-spacing: 0.02em;
	color: var(--brand-forest);
	text-decoration: none;
}

.brand-logo span {
	display: block;
	margin-top: 0.25rem;
	font-family: "Source Sans 3", Arial, sans-serif;
	font-size: 0.72rem;
	font-weight: 800;
	letter-spacing: 0.28em;
	text-transform: uppercase;
	color: var(--brand-gold);
}

.brand-logo:hover {
	color: var(--brand-forest);
}

.header-icons {
	display: flex;
	align-items: center;
	gap: 14px;
}

.header-icons i {
	font-size: 2rem;
	line-height: 1;
	color: var(--brand-forest);
}

.header-icons a:hover i {
	color: var(--brand-gold);
}

/* -------------------------
   HERO
-------------------------- */
.townhouse-hero {
	position: relative;
	padding: 6.5rem 0;
	background: url("../images/townhouse-lounge-1.jpg") center / cover no-repeat;
	overflow: hidden;
}

.hero-overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, rgba(247,242,234,0.98) 0%, rgba(247,242,234,0.88) 46%, rgba(247,242,234,0.16) 100%);
}

.townhouse-hero .container {
	position: relative;
	z-index: 2;
}

.eyebrow {
	margin-bottom: 0.85rem;
	font-family: "Source Sans 3", Arial, sans-serif;
	font-size: 0.82rem;
	font-weight: 900;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--brand-gold);
}

.townhouse-hero .lead {
	max-width: 610px;
	font-size: 1.22rem;
	line-height: 1.75;
	color: var(--brand-forest);
}

/* -------------------------
   PROPERTY SUMMARY
-------------------------- */
#property-summary {
	padding: 2.5rem 0;
	background: var(--brand-forest);
	color: #fff;
}

.summary-card {
	border-right: 1px solid rgba(255,255,255,0.2);
}

.summary-card strong {
	display: block;
	font-family: "Cormorant Garamond", Georgia, serif;
	font-size: 2.6rem;
	font-weight: 700;
	line-height: 1;
	color: #fff;
}

.summary-card span {
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: rgba(255,255,255,0.78);
}

.row > div:last-child .summary-card {
	border-right: none;
}

/* -------------------------
   SECTIONS
-------------------------- */
.section-light {
	padding: 4.25rem 0;
	background: var(--brand-cream);
}

.section-white {
	padding: 4.25rem 0;
	background: #fff;
}

.section-divider {
	width: 72px;
	height: 2px;
	margin: 1rem auto 0;
	background: var(--brand-gold);
}

.intro {
	margin-top: 1rem;
	color: #5c625c;
}

.rounded-image {
	border-radius: 24px;
	box-shadow: 0 1rem 2rem rgba(16,28,24,0.13);
}

/* -------------------------
   GALLERY
-------------------------- */
#gallery .gallery-img {
	width: 100%;
	object-fit: cover;
	border-radius: 20px;
	box-shadow: 0 0.75rem 1.5rem rgba(16,28,24,0.1);
}

.gallery-large {
	height: 520px;
}

.gallery-small {
	height: 248px;
}

/* -------------------------
   HIGHLIGHTS
-------------------------- */
#highlights {
	padding: 4.25rem 0;
	background: var(--brand-forest);
	color: #fff;
}

#highlights h2,
#highlights h3 {
	color: #fff;
}

#highlights .section-divider {
	background: rgba(255,255,255,0.35);
}

.feature-card {
	height: 100%;
	padding: 1.8rem;
	background: #fff;
	border: 1px solid rgba(185,141,78,0.18);
	border-radius: 20px;
	box-shadow: 0 0.65rem 1.4rem rgba(16,28,24,0.08);
}

.feature-card i {
	display: block;
	margin-bottom: 1rem;
	font-size: 2rem;
	color: var(--brand-gold);
}

.feature-card p {
	margin-bottom: 0;
	color: var(--brand-ink);
}

/* -------------------------
   LOCATION MAP
-------------------------- */
#location-map {
	width: 100%;
}

#location-map iframe {
	display: block;
	width: 100%;
	height: 420px;
	border: 0;
}

/* -------------------------
   CTA
-------------------------- */
.section-dark {
	padding: 3.25rem 0;
	background: var(--brand-forest);
	color: #fff;
}

.section-dark h3 {
	margin: 0;
	font-size: 2.7rem;
	color: #fff;
}

/* -------------------------
   FOOTER
-------------------------- */
#site-footer {
	padding: 3.5rem 0 2rem;
	background: var(--brand-charcoal);
	color: #fff;
}

#site-footer h4 {
	padding-bottom: 0.75rem;
	font-family: "Source Sans 3", Arial, sans-serif;
	font-size: 0.9rem;
	font-weight: 900;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: #fff;
	border-bottom: 1px solid rgba(255,255,255,0.25);
}

#site-footer p {
	font-size: 0.95rem;
	line-height: 1.7;
}

#site-footer a {
	color: rgba(255,255,255,0.76);
	text-decoration: none;
}

#site-footer a:hover {
	color: var(--brand-gold);
}

.footer-meta {
	margin-bottom: 0.5rem;
	font-size: 0.85rem !important;
	color: rgba(255,255,255,0.68);
}

/* -------------------------
   COOKIE BANNER
-------------------------- */
.cookie-banner {
	position: fixed;
	bottom: 0;
	left: 0;
	width: 100%;
	background: #fff;
	border-top: 1px solid rgba(23,59,50,0.12);
	box-shadow: 0 -2px 10px rgba(16,28,24,0.08);
	z-index: 9999;
	padding: 1.25rem 0;
	font-size: 0.85rem;
	line-height: 1.35;
}

.cookie-banner strong {
	display: block;
	margin-bottom: 0.75rem;
	font-weight: 800;
	color: var(--brand-forest);
}

.cookie-banner p {
	margin: 0.5rem 0;
	color: #444;
}

.cookie-banner .container {
	display: flex;
	align-items: stretch;
	gap: 1rem;
}

.cookie-text {
	flex: 1;
}

.cookie-actions {
	display: flex;
	gap: 0.5rem;
	align-self: flex-end;
}

.cookie-btn {
	border: none;
	border-radius: 999px;
	padding: 0.5rem 1.25rem;
	font-weight: 700;
	cursor: pointer;
	white-space: nowrap;
}

.cookie-reject {
	background: #e5e1d8;
	color: var(--brand-ink);
}

.cookie-accept {
	background: var(--brand-forest);
	color: #fff;
}

.cookie-btn:hover {
	opacity: 0.9;
}

@media (max-width: 768px) {
	.contact-desktop {
		display: none !important;
	}

	.contact-mobile {
		display: flex !important;
	}

	:root {
		--contactbar-h: 60px;
		--nav-h: 50px;
	}

	.contact-bar {
		position: fixed;
		top: 0;
		left: 0;
		right: 0;
		z-index: 1100;
	}

	#nav {
		position: fixed;
		top: var(--contactbar-h);
		left: 0;
		right: 0;
		z-index: 1090;
	}

	.site-header {
		margin-top: 0;
		padding: 1.25rem 0;
	}

	.brand-logo {
		font-size: 1.55rem;
	}

	.brand-logo span {
		font-size: 0.62rem;
	}

	.header-icons i {
		font-size: 1.7rem;
	}

	.townhouse-hero {
		padding: 3.25rem 0;
	}

	.hero-overlay {
		background: rgba(247,242,234,0.93);
	}

	.townhouse-hero .lead {
		font-size: 1.05rem;
	}

	.summary-card {
		border-right: none;
	}

	.section-light,
	.section-white,
	#highlights {
		padding: 3rem 0;
	}

	.gallery-large,
	.gallery-small {
		height: 260px;
	}

	.section-dark h3 {
		margin-bottom: 1rem;
		font-size: 2rem;
	}

	#location-map iframe {
		height: 320px;
	}

	.cookie-banner .container {
		flex-direction: column;
	}

	.cookie-actions {
		align-self: flex-start;
	}
}

/* Holding-site wordmark: centred on desktop, left-aligned on mobile. */
@media (max-width: 700px) {
    .brand-logo {
        align-items: flex-start;
    }
}
:root{--brand-forest:#173b32;--brand-green:#486d57;--brand-sage:#dfe8dc;--brand-cream:#f7f2ea;--brand-warm:#efe3d3;--brand-gold:#b98d4e;--brand-gold-dark:#9b743c;--brand-ink:#2f332f}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;color:var(--brand-ink);font-family:"Source Sans 3",Arial,sans-serif;background:var(--brand-cream);line-height:1.65}.container{max-width:1160px;margin:auto;padding:0 26px}h1,h2{font-family:"Cormorant Garamond",Georgia,serif;font-weight:600;line-height:1.06;letter-spacing:-.025em}a{color:inherit}.site-header{background:var(--brand-cream);border-bottom:1px solid #d8d6ce}.header-inner{min-height:92px;display:flex;justify-content:space-between;align-items:center;gap:20px}.brand-logo{text-decoration:none;color:var(--brand-forest);font-family:"Cormorant Garamond",serif;font-size:28px;font-weight:700;line-height:.88}.brand-logo span{display:block;letter-spacing:.21em;font:700 12px "Source Sans 3",sans-serif;text-transform:uppercase;margin-top:10px}.header-link{text-decoration:none;font-weight:700;color:var(--brand-forest);font-size:14px}.holding-hero{background:radial-gradient(ellipse at 90% 10%,#57705d 0%,transparent 50%),linear-gradient(120deg,#102f28,#224b3c);color:#fff;position:relative;overflow:hidden}.holding-hero:after{content:"";position:absolute;width:390px;height:390px;border:1px solid #ffffff26;transform:rotate(45deg);right:-130px;bottom:-200px}.hero-inner{padding-top:130px;padding-bottom:135px;max-width:1160px}.eyebrow{text-transform:uppercase;letter-spacing:.19em;font-size:12px;font-weight:800;color:var(--brand-gold)}.holding-hero h1{font-size:clamp(50px,7vw,92px);color:#fff;margin:22px 0 27px;max-width:1000px}.holding-hero h1 em{font-weight:500;color:#e8d5b7}.holding-hero p{max-width:630px;font-size:20px;line-height:1.6;color:#f0f0e9}.btn.btn-primary{display:inline-block;background:var(--brand-gold);color:#172b22;border:1px solid var(--brand-gold);border-radius:40px;padding:14px 28px;text-decoration:none;text-transform:uppercase;letter-spacing:.06em;font-weight:800;font-size:13px;cursor:pointer;margin-top:18px}.btn.btn-primary:hover{background:#d0a56b}.holding-hero .coming-soon{font-size:13px;margin:24px 0 0;color:#d4e0d6;letter-spacing:.04em}.introduction{padding:100px 0;background:var(--brand-cream)}.intro-inner{display:grid;grid-template-columns:1fr 1fr;gap:90px}.introduction h2,.registration h2{font-size:clamp(42px,5vw,65px);margin:16px 0 22px}.introduction p{font-size:18px;margin:0 0 19px}.registration{background:var(--brand-warm);padding:100px 0}.register-inner{max-width:760px}.registration h2{max-width:700px}.registration p{font-size:18px}.interest-form{margin-top:30px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}.interest-form label:not(.consent){display:block;font-size:14px;font-weight:700;margin:16px 0 7px}.interest-form input:not([type=checkbox]){width:100%;border:1px solid #b8beb4;border-radius:3px;background:#fff;min-height:52px;padding:12px 15px;font:inherit;color:#172b22}.interest-form input:focus{outline:2px solid var(--brand-gold);outline-offset:1px}.consent{display:flex;gap:12px;align-items:flex-start;font-size:14px;line-height:1.45;margin:23px 0 6px}.consent input{margin-top:4px;accent-color:var(--brand-forest)}.form-footnote{font-size:13px!important;margin-top:22px}.form-message{padding:15px;background:#dce8da;color:#163a2d}.form-message.error{background:#f4dddd;color:#6a2525}.honeypot{position:absolute;left:-10000px}.site-footer{background:#102d26;color:#eee;padding:43px 0}.footer-inner{display:flex;justify-content:space-between;gap:30px}.site-footer p{margin:6px 0;font-size:13px;color:#d3ddd5}.site-footer a{color:#fff}.privacy-content{padding:75px 0;max-width:820px}.privacy-content h1{font-size:60px}.privacy-content h2{font-size:32px;margin-top:34px}@media(max-width:700px){.header-inner{min-height:82px}.brand-logo{font-size:23px}.header-link{font-size:12px;text-align:right}.hero-inner{padding-top:85px;padding-bottom:90px}.holding-hero p{font-size:17px}.intro-inner,.form-grid{grid-template-columns:1fr;gap:0}.introduction,.registration{padding:70px 0}.footer-inner{display:block}.footer-inner>div+div{margin-top:22px}}
/* Refined wordmark: more balanced second line */
.brand-logo{display:inline-flex;flex-direction:column;align-items:center;line-height:1}
.brand-logo span{font-size:15px;font-weight:800;letter-spacing:.17em;margin-top:5px;line-height:1.1}
@media(max-width:700px){.brand-logo span{font-size:13px;letter-spacing:.14em;margin-top:4px}}

/* Atmospheric imagery only; no individual property is advertised */
.holding-hero{background:linear-gradient(90deg,rgba(16,47,40,.93),rgba(16,47,40,.73)),url("../images/interior-inspiration.jpg") center/cover no-repeat}

/* Holding-page logo alignment: desktop centred, mobile left-aligned. */
@media (max-width: 700px) {
    .brand-logo {
        align-items: flex-start;
    }
}


/* ==========================================================
   ANALYTICS DASHBOARD
========================================================== */
body { background: #f7f2ea; color: #173b32; }
.analytics-shell { max-width: 1050px; margin: 0 auto; padding: 45px 22px 80px; }
.analytics-header { display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.analytics-header h1 { margin: 0; font-size: 2rem; line-height: 1.2; }
.analytics-kicker { text-transform: uppercase; letter-spacing: .15em; font-size: .8rem; }
.analytics-period { display: flex; gap: 20px; margin: 30px 0; }
.analytics-cards { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 18px; margin: 30px 0; }
.analytics-cards section { background: #fff; padding: 24px; border: 1px solid #e6ded1; border-radius: 8px; }
.analytics-cards p { margin: 0 0 10px; }
.analytics-cards strong { font-size: 2.6rem; }
.analytics-shell table { width: 100%; border-collapse: collapse; background: white; }
.analytics-shell th, .analytics-shell td { padding: 13px 16px; border-bottom: 1px solid #e6ded1; text-align: left; }
.analytics-shell button { padding: 10px 18px; background: #173b32; color: white; border: 0; cursor: pointer; }
.analytics-login { max-width: 420px; display: grid; gap: 12px; margin-top: 40px; }
.analytics-login input { padding: 12px; border: 1px solid #b5b5b5; }
.analytics-note { margin-top: 22px; font-size: .9rem; }
@media(max-width:600px) { .analytics-cards { grid-template-columns: 1fr; } .analytics-shell th,.analytics-shell td { padding: 10px 7px; } }

/* Registered interest management */
.analytics-subscribers { margin-top: 48px; }
.analytics-actions { display: flex; flex-wrap: wrap; align-items: end; gap: 18px; margin: 20px 0; }
.analytics-actions form { display: flex; flex-wrap: wrap; align-items: end; gap: 10px; }
.analytics-actions input { padding: 10px 12px; border: 1px solid #b5b5b5; min-width: 220px; }
.analytics-table-wrap { overflow-x: auto; }
.analytics-subscribers td { overflow-wrap: anywhere; }
.analytics-subscribers td button { padding: 7px 10px; }


/* Compact dashboard headings, scoped to analytics only. */
.analytics-shell h2 { font-size: 1.5rem; line-height: 1.25; }

/* Keep the subscriber search controls together and aligned. */
.analytics-actions { align-items: center; gap: 14px; }
.analytics-actions form { align-items: center; gap: 10px; margin: 0; }
.analytics-actions label { margin: 0; white-space: nowrap; }
.analytics-actions input[type="search"] { margin: 0; min-width: 220px; }
.analytics-actions button { margin: 0; white-space: nowrap; }
@media (max-width: 600px) {
    .analytics-actions form { flex-wrap: wrap; }
    .analytics-actions label { width: 100%; }
}
