*{box-sizing:border-box}body{margin:0;font:16px Arial,sans-serif;line-height:1.65;color:#243044}.head,footer{padding:22px 6%;color:#17243a}.brand{font-size:1.4rem;font-weight:bold;margin:0}nav{display:flex;gap:22px;flex-wrap:wrap;padding:14px 6%;background:white}nav a{font-weight:bold;color:#17324d;text-decoration:none}nav a:hover{text-decoration:underline}main{max-width:1100px;margin:auto;padding:30px 6%;min-height:60vh}h1{font-size:2rem}figure{margin:0;width:38%;max-width:360px;flex-shrink:0}figure img{width:100%;display:block;border-radius:10px}figcaption{font-size:.9rem;color:#45566a;font-style:italic;margin-top:8px}.intro{display:flex;gap:26px;align-items:center;margin-bottom:28px}.home .head,.home footer{background:#b9dcf5}.about .head,.about footer{background:#c8e6c9}.services .head,.services footer{background:#ffe0b2}.contact .head,.contact footer{background:#e1bee7}.home main{background:#edf7fd}.about main{background:#eff8ef}.services main{background:#fff7eb}.contact main{background:#faf1fb}.cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:24px 0}.cards article{padding:18px;background:#ffffffbb;border:1px solid #ccc;border-radius:8px}section{margin:26px 0}footer p{margin:4px 0}@media(max-width:700px){.intro{display:block}figure{width:100%;max-width:100%;margin-bottom:18px}.cards{grid-template-columns:1fr}nav{gap:14px}h1{font-size:1.65rem}}.social-media a {
    color: #17324d;
    font-weight: bold;
    text-decoration: none;
    margin: 8px;
}

.social-media a:hover {
    color: #3978a8;
    text-decoration: underline;
}