/* Ruby House Alerts — calm clinical aesthetic */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 17px; scroll-behavior: smooth; }
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: #2d3748;
    background: #fafaf7;
    line-height: 1.6;
}
h1, h2, h3 { font-family: Georgia, "Times New Roman", serif; color: #1a365d; line-height: 1.25; margin-bottom: 0.6em; }
h1 { font-size: 2.4rem; }
h2 { font-size: 1.8rem; margin-top: 2rem; }
h3 { font-size: 1.25rem; margin-top: 1.4rem; }
p { margin-bottom: 1em; }
a { color: #2c5282; }
a:hover { color: #1a365d; }

header {
    background: #1a365d;
    color: white;
    padding: 1rem 0;
    border-bottom: 4px solid #c19a6b;
}
.container { max-width: 1100px; margin: 0 auto; padding: 0 1.5rem; }
header .container { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.logo { font-family: Georgia, serif; font-size: 1.5rem; font-weight: bold; letter-spacing: 0.5px; }
.logo span { color: #c19a6b; }
nav ul { list-style: none; display: flex; gap: 1.5rem; flex-wrap: wrap; }
nav a { color: #e2e8f0; text-decoration: none; padding: 0.4rem 0; border-bottom: 2px solid transparent; transition: border-color 0.2s; }
nav a:hover { border-bottom-color: #c19a6b; color: white; }
nav a.active { border-bottom-color: #c19a6b; color: white; }

.hero {
    background: linear-gradient(135deg, #ebf4ff 0%, #f7fafc 100%);
    padding: 4rem 0;
    text-align: center;
    border-bottom: 1px solid #e2e8f0;
}
.hero h1 { color: #1a365d; margin-bottom: 1rem; }
.hero p.lead { font-size: 1.2rem; color: #4a5568; max-width: 700px; margin: 0 auto 2rem; }
.btn {
    display: inline-block;
    background: #1a365d;
    color: white;
    padding: 0.8rem 1.8rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 500;
    transition: background 0.2s;
}
.btn:hover { background: #2c5282; color: white; }
.btn.secondary { background: transparent; border: 2px solid #1a365d; color: #1a365d; padding: 0.65rem 1.8rem; }
.btn.secondary:hover { background: #1a365d; color: white; }

main { padding: 3rem 0; }
section { margin-bottom: 3rem; }

.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2rem; margin-top: 2rem; }
.feature {
    background: white;
    padding: 1.8rem;
    border-radius: 6px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}
.feature h3 { margin-top: 0; color: #1a365d; }
.feature-icon { font-size: 2rem; margin-bottom: 0.8rem; }

.service-tier {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    padding: 1.8rem;
    margin-bottom: 1.5rem;
}
.service-tier h3 { margin-top: 0; display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 0.5rem; }
.service-tier .tag { font-size: 0.85rem; background: #c19a6b; color: white; padding: 0.2rem 0.6rem; border-radius: 4px; font-weight: normal; font-family: sans-serif; }
.service-tier ul { margin-left: 1.5rem; }
.service-tier li { margin-bottom: 0.5rem; }

.testimonial {
    background: white;
    border-left: 4px solid #c19a6b;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border-radius: 0 6px 6px 0;
}
.testimonial blockquote { font-style: italic; font-size: 1.08rem; color: #2d3748; }
.testimonial blockquote::before { content: "\201C"; font-size: 2.5rem; color: #c19a6b; font-family: Georgia, serif; vertical-align: -0.4em; line-height: 0; margin-right: 0.2em; }
.testimonial cite { display: block; margin-top: 0.8rem; font-style: normal; color: #718096; font-size: 0.95rem; }
.testimonial cite::before { content: "— "; }

.photo-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.5rem; margin: 2rem 0; }
.photo-grid img { width: 100%; height: 220px; object-fit: cover; border-radius: 6px; box-shadow: 0 2px 6px rgba(0,0,0,0.08); }

.hero-img { max-width: 100%; height: 320px; object-fit: cover; border-radius: 6px; margin: 1.5rem auto; display: block; box-shadow: 0 4px 12px rgba(0,0,0,0.1); }

.resource-list { list-style: none; }
.resource-list li {
    background: white;
    padding: 1.2rem;
    margin-bottom: 0.8rem;
    border-radius: 6px;
    border-left: 4px solid #1a365d;
}
.resource-list li strong { display: block; font-size: 1.1rem; color: #1a365d; margin-bottom: 0.3rem; }
.resource-list li small { color: #718096; }

.contact-form { background: white; padding: 2rem; border-radius: 6px; border: 1px solid #e2e8f0; }
.contact-form label { display: block; margin-top: 1rem; font-weight: 500; color: #2d3748; }
.contact-form input, .contact-form textarea {
    width: 100%;
    padding: 0.7rem;
    margin-top: 0.3rem;
    border: 1px solid #cbd5e0;
    border-radius: 4px;
    font-family: inherit;
    font-size: 1rem;
}
.contact-form textarea { min-height: 140px; resize: vertical; }
.contact-form button { margin-top: 1.5rem; }

footer {
    background: #2d3748;
    color: #cbd5e0;
    padding: 2rem 0;
    margin-top: 4rem;
    font-size: 0.92rem;
}
footer a { color: #c19a6b; text-decoration: none; }
footer a:hover { text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 2rem; margin-bottom: 1.5rem; }
.footer-grid h4 { color: white; margin-bottom: 0.8rem; font-family: Georgia, serif; }
.footer-grid ul { list-style: none; }
.footer-grid li { margin-bottom: 0.4rem; }
.copyright { text-align: center; padding-top: 1.5rem; border-top: 1px solid #4a5568; color: #a0aec0; }

@media (max-width: 640px) {
    h1 { font-size: 1.9rem; }
    .hero { padding: 2.5rem 0; }
    nav ul { gap: 1rem; }
}
