@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;700&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&display=swap');

:root {
  --primary-color: #0d9488; /* Trustworthy Teal */
  --primary-hover: #0f766e;
  --secondary-color: #1e293b; /* Premium Navy/Slate */
  --accent-color: #f59e0b; /* Warm Gold */
  --text-dark: #0f172a;
  --text-light: #64748b;
  --bg-light: #f8fafc;
  --bg-white: #ffffff;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --radius-sm: 0.375rem;
  --radius-md: 0.75rem;
  --radius-lg: 1.25rem;
}

/* Reset */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body.remortgage-body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  color: var(--text-dark);
  background-color: var(--bg-light);
  line-height: 1.6;
}

/* Header */
.site-header {
  background-color: var(--bg-white);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-sm);
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-area {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.logo-icon {
  font-size: 2.25rem;
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-title {
  font-family: 'Outfit', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--secondary-color);
  letter-spacing: -0.02em;
}

.logo-subtitle {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--primary-color);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.header-nav .nav-list {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.header-nav .nav-list a {
  text-decoration: none;
  color: var(--text-dark);
  font-weight: 600;
  font-size: 0.95rem;
  transition: color 0.2s ease;
}

.header-nav .nav-list a:hover {
  color: var(--primary-color);
}

.header-nav .nav-list a.nav-cta {
  background-color: var(--primary-color);
  color: var(--bg-white);
  padding: 0.6rem 1.25rem;
  border-radius: var(--radius-sm);
  box-shadow: 0 4px 10px rgba(13, 148, 136, 0.25);
  transition: all 0.2s ease;
}

.header-nav .nav-list a.nav-cta:hover {
  background-color: var(--primary-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 14px rgba(13, 148, 136, 0.35);
}

/* Hero Section */
.hero-banner {
  background: radial-gradient(circle at 70% 30%, #0d9488 0%, #1e1b4b 100%);
  color: var(--bg-white);
  padding: 5rem 1.5rem;
  position: relative;
  overflow: hidden;
}

.hero-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(30, 41, 59, 0.9) 0%, rgba(15, 23, 42, 0.5) 100%);
  z-index: 1;
}

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
  text-align: left;
}

.hero-badge {
  display: inline-block;
  background-color: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: var(--bg-white);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.4rem 1rem;
  border-radius: 100px;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.hero-title {
  font-family: 'Outfit', sans-serif;
  font-size: 3rem;
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 1.25rem;
  letter-spacing: -0.03em;
  max-width: 800px;
}

.hero-tagline {
  font-size: 1.15rem;
  color: rgba(241, 245, 249, 0.9);
  max-width: 650px;
  margin-bottom: 2rem;
  font-weight: 300;
}

.hero-ctas {
  display: flex;
  gap: 1rem;
}

.btn {
  display: inline-block;
  padding: 0.85rem 1.75rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
  border: none;
}

.btn-primary {
  background-color: var(--primary-color);
  color: var(--bg-white);
  box-shadow: 0 4px 12px rgba(13, 148, 136, 0.3);
}

.btn-primary:hover {
  background-color: var(--primary-hover);
  transform: translateY(-1px);
}

.btn-outline {
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--bg-white);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-outline:hover {
  background-color: rgba(255, 255, 255, 0.2);
  border-color: var(--bg-white);
}

/* Layout Wrapper */
.main-content-wrapper {
  max-width: 1200px;
  margin: 3rem auto;
  padding: 0 1.5rem;
}

.layout-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 2.5rem;
}

/* Content Area */
.content-area {
  background-color: var(--bg-white);
  padding: 2.5rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(226, 232, 240, 0.8);
}

.article-header {
  margin-bottom: 2rem;
  border-bottom: 2px solid var(--bg-light);
  padding-bottom: 1rem;
}

.article-title {
  font-family: 'Outfit', sans-serif;
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--secondary-color);
  letter-spacing: -0.02em;
}

.article-content {
  font-size: 1.05rem;
  color: #334155;
}

.article-content p {
  margin-bottom: 1.5rem;
}

.article-content h2 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.5rem;
  margin: 2.5rem 0 1rem 0;
  color: var(--secondary-color);
}

/* Sidebar */
.site-sidebar {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.sidebar-widget {
  background-color: var(--bg-white);
  padding: 1.75rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(226, 232, 240, 0.8);
}

.sidebar-widget h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.2rem;
  margin-bottom: 1.25rem;
  color: var(--secondary-color);
  border-left: 4px solid var(--primary-color);
  padding-left: 0.75rem;
}

/* Consultation Form Widget */
.quote-widget {
  background: linear-gradient(185deg, var(--bg-white) 0%, rgba(13, 148, 136, 0.03) 100%);
  border-top: 4px solid var(--primary-color);
}

.quote-widget p {
  font-size: 0.85rem;
  color: var(--text-light);
  margin-bottom: 1.25rem;
}

.sidebar-form .form-group {
  margin-bottom: 1rem;
}

.sidebar-form label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
  color: var(--secondary-color);
}

.sidebar-form input,
.sidebar-form select {
  width: 100%;
  padding: 0.7rem 0.9rem;
  border: 1px solid #cbd5e1;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  color: var(--text-dark);
  background-color: var(--bg-white);
  transition: all 0.2s ease;
}

.sidebar-form input:focus,
.sidebar-form select:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.15);
}

.btn-submit {
  width: 100%;
  background-color: var(--primary-color);
  color: var(--bg-white);
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  margin-top: 0.5rem;
  border: none;
  box-shadow: 0 4px 8px rgba(13, 148, 136, 0.2);
}

.btn-submit:hover {
  background-color: var(--primary-hover);
  transform: translateY(-1px);
}

/* Recent Posts Widget */
.posts-widget ul {
  list-style: none;
}

.posts-widget ul li {
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(226, 232, 240, 0.6);
}

.posts-widget ul li:last-child {
  border-bottom: none;
}

.posts-widget ul li a {
  text-decoration: none;
  color: var(--text-dark);
  font-weight: 500;
  font-size: 0.9rem;
  transition: color 0.2s;
  display: block;
}

.posts-widget ul li a:hover {
  color: var(--primary-color);
}

/* Footer */
.site-footer {
  background-color: var(--secondary-color);
  color: #94a3b8;
  padding: 4rem 1.5rem 2rem 1.5rem;
  margin-top: 5rem;
  border-top: 4px solid var(--primary-color);
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  margin-bottom: 3rem;
}

.footer-col h4 {
  font-family: 'Outfit', sans-serif;
  color: var(--bg-white);
  font-size: 1.1rem;
  margin-bottom: 1.25rem;
}

.footer-col p {
  font-size: 0.875rem;
  line-height: 1.7;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 0.75rem;
}

.footer-col ul li a {
  color: #94a3b8;
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.2s;
}

.footer-col ul li a:hover {
  color: var(--primary-color);
}

.disclaimer-text {
  font-size: 0.75rem !important;
  line-height: 1.5;
  color: #64748b;
}

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  border-top: 1px solid #334155;
  padding-top: 1.5rem;
  text-align: center;
  font-size: 0.8rem;
  color: #64748b;
}

/* Responsive */
@media (max-width: 900px) {
  .layout-grid {
    grid-template-columns: 1fr;
  }
  .footer-container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .hero-title {
    font-size: 2.25rem;
  }
}
