:root{
  --text:#333;
  --border:#e5e5e5;
  --input-border:#dddddd;

  --accent:#1f4e79;
  --accent-hover:#173c5d;
  --focus:#1f4e79;

  --section-light:#f7f7f7;
  --section-dark:#1f4e79;

  --max-width:920px;
  --radius:18px;
}

*{
  box-sizing:border-box;
}

html{
  scroll-behavior:smooth;
}

body{
  margin:0;
  background:#fff;
  color:var(--text);
  font-family:system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size:18px;
  line-height:1.7;
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
}

a{
  color:var(--accent);
}

a:hover,
a:focus{
  text-decoration:underline;
}

a:focus,
button:focus,
input:focus,
textarea:focus{
  outline:2px solid var(--focus);
  outline-offset:2px;
}

ol{
  margin:0;
  padding-left:1.25rem;
}

li{
  margin-bottom:1rem;
  padding-left:0.2rem;
}

li:last-child{
  margin-bottom:0;
}

li strong{
  color:var(--text);
}

.container{
  width:min(100% - 2rem, var(--max-width));
  margin:0 auto;
}

/* Header */

header{
  background:#fff;
  border-bottom:3px solid #fdbb2f;
}

.brand{
  padding:1rem 0;
  margin:0;
}

.brand a{
  display:inline-flex;
  align-items:center;
  gap:0.5rem;
  text-decoration:none;
  color:var(--text);
}

.brand a:hover,
.brand a:focus{
  text-decoration:none;
}

.brand-text{
  font-family:Arial, Helvetica, sans-serif;
  font-size:4rem;
  font-weight:700;
  line-height:1;
  color:#333333;
}

.brand-symbol{
  height:70px;
  width:auto;
  display:block;
}

.tagline{
  display:block;
  font-size:1.5rem;
  color:#666;
  margin-top:0.35rem;
}

/* Sections */

section{
  padding:6rem 0;
}

.hero-section{
  background:var(--section-light);
}

.why-section{
  background:var(--section-light);
}

.what-section{
  background:var(--section-light);
}

.process-section{
  background:var(--section-light);
}

.contact-section{
  background:var(--section-light);
}

.testimonials-section{
  background:var(--section-light);
}

.hero,
form{
  background:#fff;
  border:1px solid var(--border);
  border-radius:var(--radius);
  padding:2rem;
  box-shadow:0 8px 24px rgba(0,0,0,0.08);
}

h1,
h2,
h3{
  line-height:1.15;
  margin-top:0;
  margin-bottom:1rem;
  color:var(--text);
  font-weight:700;
}

footer h1,
footer h2,
footer h3{
  color:#fff;
}

h1{
  font-size:2.8rem;
}

h2{
  font-size:2.1rem;
}

h3{
  font-size:1.2rem;
}

p{
  margin-top:0;
  margin-bottom:1.25rem;
}

.button-wrap{
  text-align:center;
  margin-top:1.8rem;
}

.button{
  display:inline-block;
  min-width:240px;
  background:var(--accent);
  color:#fff;
  text-decoration:none;
  text-align:center;
  font-weight:700;
  padding:1rem 1.4rem;
  border:none;
  border-radius:999px;
  cursor:pointer;
}

.button:hover,
.button:focus{
  background:var(--accent-hover);
  color:#fff;
  text-decoration:underline;
}

label{
  display:block;
  font-weight:700;
  margin-top:1rem;
  margin-bottom:0.35rem;
  color:var(--text);
}

input,
textarea{
  width:100%;
  padding:0.9rem 1rem;
  border:1px solid var(--input-border);
  border-radius:10px;
  background:#fff;
  color:var(--text);
  font:inherit;
}

textarea{
  min-height:140px;
  resize:vertical;
}

.form-button-wrap{
  text-align:center;
  margin-top:1.5rem;
}

.cards{
  display:grid;
  gap:2rem;
}

@media (min-width:800px){
  .cards{
    grid-template-columns:repeat(3, 1fr);
  }
}

.card{
  background:#fff;
  color:#333;
  border-radius:var(--radius);
  padding:1.5rem 1.7rem;
  border:none;
  box-shadow:0 2px 6px rgba(0,0,0,0.18);
}

.card p{
  color:#333;
}

.card p:first-child{
  font-style:italic;
  margin-bottom:1rem;
}

.card p:first-child::before{
  content:"“";
}

.card p:first-child::after{
  content:"”";
}

.card strong{
  display:block;
  margin-top:0.6rem;
  font-weight:600;
}

footer{
  background:#333;
  color:#fff;
  padding:3rem 0;
  border-top:3px solid #fdbb2f;
}

footer a{
  color:#fff;
}

footer a:hover,
footer a:focus{
  color:#fff;
  text-decoration:underline;
}

footer p{
  margin-bottom:0.35rem;
  max-width:none;
  color:#fff;
}

.footer-brand{
  font-weight:700;
  font-size:1.08rem;
}

.footer-copy{
  margin-top:1rem;
  font-size:0.9rem;
}

.footer-grid{
  display:grid;
  gap:2rem;
  margin-bottom:2rem;
}

.footer-copy{
  margin-top:2rem;
  padding-top:1.5rem;
  border-top:1px solid rgba(255,255,255,0.15);
  font-size:0.9rem;
}

@media (min-width:700px){
  .footer-grid{
    grid-template-columns:2fr 1fr 1fr;
  }
}

.footer-brand{
  font-weight:700;
  font-size:1.2rem;
  margin-bottom:0.4rem;
}

.footer-tagline{
  margin:0;
}

.footer-contact h3,
.footer-legal h3{
  font-size:1rem;
  margin-bottom:0.5rem;
}

.footer-contact p,
.footer-legal p{
  margin-bottom:0.3rem;
}

.footer-copy{
  margin-top:1rem;
  font-size:0.9rem;
}

@media (max-width:800px){

  body{
    font-size:18px;
  }

  .brand-text{
    font-size:2rem;
  }

  .brand-symbol{
    height:35px;
  }

  .tagline{
    display:block;
    margin-left:0;
    margin-top:0.15rem;
    font-size:0.9rem;
  }

  section{
    padding:3rem 0;
  }

  .hero,
  form{
    padding:1.5rem 1.25rem;
  }

  h1{
    font-size:2.1rem;
    line-height:1.15;
  }

  h2{
    font-size:1.7rem;
    line-height:1.2;
  }

  h3{
    font-size:1.15rem;
    line-height:1.25;
  }

  .button{
    width:100%;
    min-width:0;
  }

  .card{
    padding:1.25rem 1.35rem;
  }
}

@media (max-width:480px){

  .container{
    width:min(100% - 1.25rem, var(--max-width));
  }

  .hero,
  form{
    padding:1.25rem 1rem;
  }

  h1{
    font-size:1.9rem;
  }
}
