/* Galvan – site design system (header, footer, banners, sections, buttons).
   Brand red from the logo; neutrals, type scale and spacing follow the reference design. */
:root {
	--gp-accent: #ef4b43;
	--gp-accent-dark: #d63b33;
	--gp-text: #0d0d0d;
	--gp-body: #2c2d2f;
	--gp-muted: #5f6368;
	--gp-bg-soft: #f0f2f4;
	--gp-dark: #141414;
	--gp-radius: 12px;
	--gp-space: clamp(56px, 8vw, 100px);
}

/* Typography */
body, .et_pb_module, .et_pb_text, input, select, textarea, button {
	font-family: "Poppins", sans-serif !important;
}
body { color: var(--gp-body); font-size: 16px; line-height: 1.65; }
h1, h2, h3, h4, h5, h6 { font-family: "Poppins", sans-serif !important; color: var(--gp-text); font-weight: 600; line-height: 1.2; padding-bottom: .35em; }
.gp-h-xl, .gp-banner-title { font-size: clamp(34px, 5.5vw, 64px); font-weight: 700; text-transform: uppercase; letter-spacing: -.01em; }
.gp-section h2, .gp-h-lg { font-size: clamp(28px, 3.6vw, 44px); font-weight: 700; }
.gp-eyebrow { color: var(--gp-accent); text-transform: uppercase; letter-spacing: .12em; font-size: 13px; font-weight: 600; margin-bottom: 8px !important; }
a { color: var(--gp-accent); }
.gp-section-head { max-width: 720px; margin: 0 auto 40px; text-align: center; }
.gp-section-head p { color: var(--gp-muted); }

/* Sections */
.gp-section { padding: var(--gp-space) 0 !important; }
.gp-section--gray { background: var(--gp-bg-soft) !important; }
.gp-section--dark { background: var(--gp-dark) !important; color: #e8e8e8; }
.gp-section--dark h2, .gp-section--dark h3 { color: #fff; }
.gp-section .et_pb_row { width: 90%; max-width: 1240px; padding: 0 !important; }

/* Buttons */
.gp-btn, .et_pb_button.gp-btn, .et_pb_contact_submit, .gp-search button {
	display: inline-block; background: var(--gp-accent) !important; color: #fff !important; border: 0 !important;
	border-radius: 8px !important; padding: 13px 26px !important; font-weight: 600 !important; font-size: 16px !important;
	line-height: 1.2 !important; text-decoration: none; transition: background .2s;
}
.gp-btn:hover, .et_pb_contact_submit:hover, .gp-search button:hover { background: var(--gp-accent-dark) !important; }
.gp-btn::after, .et_pb_contact_submit::after { display: none !important; }
.gp-btn--ghost { background: transparent !important; border: 2px solid #fff !important; }
.gp-btn--ghost:hover { background: #fff !important; color: var(--gp-text) !important; }

/* Header */
.gp-header { background: #fff; box-shadow: 0 2px 16px rgba(0,0,0,.06); position: relative; z-index: 100; }
.gp-header .et_pb_row { width: 92%; max-width: 1320px; padding: 10px 0 !important; }
.gp-header .et_pb_menu__logo img { max-height: 64px; width: auto; }
.gp-header .et-menu > li > a { font-weight: 500; font-size: 15px; color: var(--gp-text); padding-bottom: 0 !important; }
.gp-header .et-menu > li > a:hover, .gp-header .et-menu > li.current-menu-item > a { color: var(--gp-accent); opacity: 1; }
.gp-header .et-menu .menu-item-has-children > a::after { top: 0; }
.gp-header .sub-menu { border-top: 3px solid var(--gp-accent) !important; border-radius: 0 0 8px 8px; }
.gp-header .et-menu > li.gp-menu-phone > a { background: var(--gp-accent); color: #fff !important; padding: 10px 16px !important; border-radius: 8px; }
.gp-header .et_mobile_menu { border-top-color: var(--gp-accent) !important; }
.gp-header .mobile_menu_bar::before { color: var(--gp-text) !important; }
@media (min-width: 981px) { .et-db #et-boc .et-l .gp-header .et_pb_menu .et-menu-nav > ul > li, .gp-header .et-menu > li { padding-left: 10px; padding-right: 10px; } }

/* Banners */
.gp-hero { position: relative; min-height: min(86vh, 760px); display: flex; align-items: center; background-size: cover !important; background-position: center !important; }
.gp-hero::before, .gp-banner::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.55), rgba(0,0,0,.35)); }
.gp-hero > *, .gp-banner > * { position: relative; z-index: 1; }
.gp-hero .gp-h-xl, .gp-hero p { color: #fff; text-align: center; }
.gp-hero p.gp-lead { font-size: clamp(16px, 2vw, 20px); max-width: 720px; margin: 0 auto 28px; }
.gp-hero .gp-search { max-width: 1100px; margin: 0 auto; }
.gp-banner { position: relative; padding: clamp(80px, 12vw, 140px) 0 clamp(60px, 8vw, 100px) !important; background: var(--gp-dark) center/cover no-repeat; text-align: center; }
.gp-banner .gp-banner-title, .gp-banner h1, .gp-banner p { color: #fff; }
.gp-banner-desc { color: #eee; max-width: 760px; margin: 8px auto 0; }

/* Content blocks */
.gp-prose { max-width: 820px; margin: 0 auto; font-size: 17px; }
.gp-prose h2 { margin-top: 1.2em; }
.gp-prose img { border-radius: var(--gp-radius); }
.gp-split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.gp-split img { width: 100%; border-radius: var(--gp-radius); object-fit: cover; aspect-ratio: 4 / 3; }
@media (max-width: 980px) { .gp-split { grid-template-columns: 1fr; } }

.gp-services { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; }
.gp-service { background: #fff; border-radius: var(--gp-radius); padding: 28px 24px; box-shadow: 0 2px 14px rgba(0,0,0,.06); transition: transform .2s; color: inherit; display: block; }
.gp-service:hover { transform: translateY(-4px); }
.gp-service-icon { width: 52px; height: 52px; border-radius: 12px; background: rgba(239,75,67,.1); color: var(--gp-accent); display: flex; align-items: center; justify-content: center; font-size: 24px; margin-bottom: 16px; }
.gp-service h3 { font-size: 19px; font-weight: 600; }
.gp-service p { color: var(--gp-muted); font-size: 15px; padding: 0; }

.gp-types { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.gp-type { background: #fff; border-radius: var(--gp-radius); padding: 16px 22px; min-width: 150px; text-align: center; box-shadow: 0 2px 14px rgba(0,0,0,.07); color: var(--gp-text); transition: transform .2s; }
.gp-type:hover { transform: translateY(-3px); color: var(--gp-accent); }
.gp-type-name { display: block; font-weight: 600; }
.gp-type-count { display: block; font-size: 13px; color: var(--gp-muted); }
.gp-hero .gp-types { margin-top: 28px; }

.gp-agents { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 24px; }
.gp-agent-card { background: #fff; border-radius: var(--gp-radius); overflow: hidden; box-shadow: 0 2px 14px rgba(0,0,0,.07); text-align: center; padding-bottom: 18px; }
.gp-agent-card img, .gp-agent-ph { width: 100%; aspect-ratio: 1; object-fit: cover; display: block; background: var(--gp-bg-soft); }
.gp-agent-card h3 { font-size: 18px; margin: 14px 12px 0; }
.gp-agent-card h3 a { color: var(--gp-text); }
.gp-agent-card .gp-agent-title { color: var(--gp-muted); font-size: 14px; padding: 0 12px; }
.gp-agent-contact a { display: block; font-size: 14px; word-break: break-word; padding: 0 12px; }

.gp-posts { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px; }
.gp-post-card { background: #fff; border-radius: var(--gp-radius); overflow: hidden; box-shadow: 0 2px 14px rgba(0,0,0,.07); }
.gp-post-card .gp-card-media { aspect-ratio: 16 / 10; }
.gp-post-date { color: var(--gp-accent); font-size: 13px; font-weight: 600; }

.gp-cta { text-align: center; }
.gp-cta h2 { color: #fff; }
.gp-cta p { color: #ddd; max-width: 640px; margin: 0 auto 24px; }

/* Single property */
.gp-prop-header { display: flex; justify-content: space-between; gap: 20px; align-items: flex-end; flex-wrap: wrap; margin-bottom: 20px; }
.gp-prop-title { font-size: clamp(26px, 3.4vw, 40px); margin: 6px 0 4px; padding: 0; }
.gp-prop-location { color: var(--gp-muted); margin: 0; padding: 0; }
.gp-prop-price { text-align: right; }
.gp-prop-price span { display: block; color: var(--gp-accent); font-size: clamp(22px, 2.6vw, 30px); font-weight: 700; }
.gp-prop-price small { color: var(--gp-muted); }
.gp-badge-inline { position: static; display: inline-block; }
.gp-box { background: #fff; border-radius: var(--gp-radius); padding: 24px; box-shadow: 0 2px 14px rgba(0,0,0,.07); margin-bottom: 24px; }
.gp-box h3 { font-size: 20px; }
.gp-video iframe, .gp-video video { width: 100%; aspect-ratio: 16 / 9; height: auto; border-radius: var(--gp-radius); }
.gp-sticky { position: sticky; top: 24px; }
.gp-inquiry .et_pb_contact_field input, .gp-inquiry .et_pb_contact_field textarea { background: var(--gp-bg-soft) !important; border-radius: 8px !important; border: 1px solid transparent !important; color: var(--gp-text) !important; }
.gp-inquiry .et_pb_contact_field input:focus, .gp-inquiry .et_pb_contact_field textarea:focus { border-color: var(--gp-accent) !important; }

/* Archive */
.gp-count { color: var(--gp-muted); margin-bottom: 14px !important; }
.gp-empty { text-align: center; padding: 40px 0; }
.gp-pagination ul { display: flex; gap: 8px; justify-content: center; list-style: none !important; padding: 0 !important; margin: 36px 0 0; flex-wrap: wrap; }
.gp-pagination li { list-style: none !important; }
.gp-pagination a, .gp-pagination span { display: block; min-width: 42px; padding: 9px 12px; text-align: center; border-radius: 8px; background: #fff; color: var(--gp-text); box-shadow: 0 1px 6px rgba(0,0,0,.08); }
.gp-pagination .current { background: var(--gp-accent); color: #fff; }

/* Offices / contact */
.gp-offices { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 20px; }
.gp-office { background: #fff; border-radius: var(--gp-radius); padding: 22px; box-shadow: 0 2px 14px rgba(0,0,0,.07); }
.gp-office h3 { font-size: 18px; }
.gp-office p { padding: 0 0 6px; font-size: 15px; }

/* Footer */
.gp-footer { background: var(--gp-dark) !important; color: #c9c9c9; font-size: 15px; }
.gp-footer .et_pb_row { width: 90%; max-width: 1240px; }
.gp-footer h4 { color: #fff; font-size: 17px; margin-bottom: 12px; }
.gp-footer a { color: #c9c9c9; }
.gp-footer a:hover { color: #fff; }
.gp-footer ul { list-style: none !important; padding: 0 !important; }
.gp-footer li { padding: 3px 0; }
.gp-footer-logo { max-width: 220px; margin-bottom: 14px; }
.gp-footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding: 18px 0 !important; font-size: 13px; }
.gp-footer-bottom .et_pb_row { padding: 0 !important; }

/* Search inside banners on mobile */
@media (max-width: 767px) {
	.gp-search { grid-template-columns: 1fr 1fr; }
	.gp-search button { grid-column: 1 / -1; }
	.gp-prop-price { text-align: left; }
}
.gp-block-title { font-size: 22px; margin: 28px 0 14px; }
.gp-block-title:first-child { margin-top: 0; }
@media (min-width: 1100px) {
	.gp-search:not(.gp-search-sidebar) { grid-template-columns: repeat(6, minmax(0, 1fr)) auto; }
}

/* Long emails/links must wrap on small screens. */
.gp-footer a, .gp-office a, .gp-prose a, .gp-agent-contact a { overflow-wrap: anywhere; }
@media (max-width: 980px) {
	.gp-footer .et_pb_row { display: grid !important; grid-template-columns: 1fr 1fr; gap: 28px; }
	.gp-footer .et_pb_column { width: auto !important; margin: 0 !important; }
}
@media (max-width: 600px) {
	.gp-footer .et_pb_row { grid-template-columns: 1fr; }
}
.gp-agent-links a, .et_pb_post_content, .gp-prose { overflow-wrap: anywhere; }
.et_pb_post_content img, .et_pb_post_content iframe { max-width: 100%; height: auto; }
.et_pb_contact_main_title { font-size: 22px !important; overflow-wrap: anywhere; }
.gp-post-card h2.gp-card-title { font-size: 19px; font-weight: 500; }

/* Divi 5 flex rows: stack multi-column rows on tablet and phone. */
@media (max-width: 980px) {
	.gp-section .et_pb_row, .gp-banner .et_pb_row { flex-wrap: wrap !important; }
	.gp-section .et_pb_row > .et_pb_column, .gp-banner .et_pb_row > .et_pb_column {
		flex: 0 0 100% !important; width: 100% !important; max-width: 100% !important; margin-right: 0 !important; margin-bottom: 28px;
	}
	.gp-section .et_pb_row > .et_pb_column:last-child { margin-bottom: 0; }
	.gp-sticky { position: static; }
}
@media (max-width: 980px) {
	.gp-header .et_pb_row { padding: 6px 0 !important; }
	.gp-header .et_pb_menu__logo img { max-height: 46px; }
	.gp-header .et_pb_menu_inner_container { min-height: 0; }
	.gp-header .et_pb_menu__wrap { min-height: 0; }
}

/* Compact header (Divi sections add 54px top/bottom padding by default). */
.gp-header.et_pb_section, .gp-header { padding: 0 !important; }
.gp-header .et_pb_row { padding: 8px 0 !important; }
.gp-header .et_pb_menu__logo img { max-height: 56px; }
.gp-header .et-menu > li > a { padding-top: 0 !important; padding-bottom: 0 !important; }
.gp-header .et-menu-nav, .gp-header .et-menu, .gp-header .et-menu > li { height: 56px; display: flex; align-items: center; }
.gp-header .et-menu-nav > ul { flex-wrap: nowrap; }
.gp-header .sub-menu { top: 56px !important; }

/* Shorter hero so headline, intro and search sit above the fold. */
.gp-hero { min-height: 0 !important; padding: clamp(48px, 7vh, 88px) 0 clamp(40px, 6vh, 72px) !important; }
.gp-hero .gp-h-xl { font-size: clamp(32px, 4.2vw, 56px); margin-bottom: 6px; }
.gp-hero p.gp-lead { font-size: clamp(15px, 1.4vw, 18px); margin-bottom: 22px; }
.gp-hero .gp-eyebrow { margin-bottom: 4px !important; }

/* Category tiles (4). */
.gp-types--groups { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; max-width: 1100px; margin-left: auto; margin-right: auto; }
.gp-types--groups .gp-type { min-width: 0; padding: 18px 14px; display: flex; flex-direction: column; align-items: center; gap: 4px; }
.gp-type-icon { width: 44px; height: 44px; border-radius: 12px; background: rgba(239,75,67,.1); color: var(--gp-accent); display: flex; align-items: center; justify-content: center; margin-bottom: 4px; }
.gp-type-icon svg { width: 24px; height: 24px; }
@media (max-width: 767px) { .gp-types--groups { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } }
.gp-form-privacy { font-size: 12px; color: var(--gp-muted); margin-top: -12px; padding: 0 4px; }
.gp-legal h3 { font-size: 19px; margin-top: 1.4em; }
.gp-legal ul { padding-left: 1.2em; }
.gp-legal hr { margin: 48px 0; border: 0; border-top: 1px solid #e3e5e8; }
.gp-services { grid-template-columns: repeat(4, minmax(0, 1fr)); align-items: stretch; }
.gp-service { height: 100%; }
@media (max-width: 980px) { .gp-services { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .gp-services { grid-template-columns: 1fr; } }
