:root{
  --brand:#aaa;        
  --brand-600:#5c0015;   
  --brand-light:#a83248;  
  --text:#1b1f24;
  --muted:#6b7280;
  --bg:#fdf8f9;           
  --card:#ffffff;
  --danger:white;
  --ring: #aaa;
}

*{ box-sizing:border-box; }

html, body{
  height:100%;
}

body{
  margin:0;
  font-family:'Poppins', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color:var(--text);
  background:var(--bg);
  line-height:1.55;
  animation: fadeIn 1s ease;
}

/* Topbar */
.topbar{
  font-size:small; 
  width:100%;
  padding:14px 20px;
  display:flex;
  align-items:center;
  justify-content:center;
  background-color:#800020;
  backdrop-filter:saturate(120%) blur(8px);
  border-bottom:1px solid rgba(0,0,0,.05);
  position:sticky; top:0; z-index:10;
  animation: slideDown .8s ease;
}

.brand{
  font-weight:700;
  font-size:1.25rem;
  letter-spacing:.2px;
  text-decoration:none;
  color:#fff;
}

/* Layout */
.page{
  display:flex;
  align-items:center;
  justify-content:center;
  padding:40px 16px 64px;
}

.container{
  width:100%;
  max-width: 920px;
  margin:0 auto;
}

.card{
  background:var(--card);
  box-shadow: 0 10px 30px rgba(128,0,32,.15);
  padding:28px;
  animation: fadeUp 1s ease;
  transition: transform .3s ease, box-shadow .3s ease;
}

.card:hover{
  transform: translateY(-6px);
  box-shadow: 0 15px 40px rgba(128,0,32,.25);
}

/* Typography */
.title{
  margin:0 0 6px 0;
  font-size: clamp(1.4rem, 1.1rem + 1.2vw, 2rem);
  font-weight:700;
  color:black;
}

.subtitle{
  margin:0 0 24px 0;
  color:var(--muted);
}

/* Form */
.contact-form{ display:block; }

.form-row{
  display:grid;
  grid-template-columns: 1fr;
  gap:16px;
}

@media (min-width: 640px){
  .form-row{
    grid-template-columns: 1fr 1fr;
  }
}

.form-group{
  display:flex;
  flex-direction:column;
  gap:8px;
  margin-bottom:16px;
}

.full-width{
  grid-column: 1 / -1;
}

.label{
  font-weight:600;
  font-size:.95rem;
  color:black;
}

input[type="text"],
input[type="email"],
input[type="tel"],
textarea{
  width:100%;
  padding:12px 14px;
  border:1.5px solid #e5e7eb;
  border-radius:12px;
  background:#fff;
  font: inherit;
  transition: border-color .3s ease, box-shadow .3s ease, transform .2s ease;
}

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

input:focus,
textarea:focus{
  outline:none;
  border-color:var(--brand);
  box-shadow: 0 0 0 4px var(--ring);
  transform: scale(1.02);
}

input:invalid:focus,
textarea:invalid:focus{
  border-color:var(--danger);
  box-shadow: 0 0 0 4px rgba(220,38,38,.15);
}

.hint{
  color:var(--muted);
  font-size:.85rem;
}

.meta{
  display:flex;
  justify-content:flex-end;
}

.counter{
  color:var(--muted);
  font-size:.85rem;
}

.privacy .checkbox{
  display:flex;
  gap:10px;
  align-items:flex-start;
  line-height:1.4;
}

.privacy a{
  color:brown;
  text-decoration:none;
}

.privacy a:hover{
  text-decoration:underline;
}

/* Buttons */
.submit-btn{
  appearance:none;
  border:none;
  padding:12px 18px;
  background:var(--brand);
  color:#fff;
  font-weight:700;
  font-size:1rem;
  cursor:pointer;
  display:inline-flex;
  align-items:center;
  gap:10px;
  transition: transform .2s ease, background .3s ease, box-shadow .3s ease;
  box-shadow: 0 8px 20px rgba(128,0,32,.25);
}

.submit-btn:hover{
  background:var(--brand-600);
  transform: translateY(-2px);
  box-shadow: 0 12px 25px rgba(128,0,32,.35);
}

.submit-btn:active{
  transform: translateY(1px);
}

.submit-btn:disabled{
  opacity:.8;
  cursor:not-allowed;
}

.btn-spinner{
  width:16px; height:16px;
  border: 2px solid rgba(255,255,255,.6);
  border-top-color:#fff;
  display:none;
  animation: spin .8s linear infinite;
}

.submit-btn.is-loading .btn-spinner{
  display:inline-block;
}

/* After text */
.aftertext{
  margin-top:18px;
  color:var(--muted);
  font-size:.95rem;
}

.aftertext a{
  color:var(--brand);
  text-decoration:none;
}
.aftertext a:hover{
  text-decoration:underline;
}


   footer {
      background:#800020;
      color: #aaa;
      padding: 20px 0;
      text-align: center;
      position: relative ; 
      z-index:1 ; 
    }

footer a {
      color: #00b894;
      text-decoration: none;
    }

.social-icons:hover{
         transform: translateY(-10px);
     }

.social-icons a {
	color: white;
	margin: 10px;
	font-size: 28px;
	transition: transition: transform 0.3s ease;;
}
    

@keyframes spin{
  to{ transform: rotate(360deg); }
}

@keyframes fadeIn{
  from{ opacity:0; }
  to{ opacity:1; }
}

@keyframes fadeUp{
  from{ opacity:0; transform:translateY(20px); }
  to{ opacity:1; transform:translateY(0); }
}

@keyframes slideDown{
  from{ transform: translateY(-100%); }
  to{ transform: translateY(0); }
}


.reduce-motion *{
  transition:none !important;
  animation:none !important;
}

ì
.noscript{
  background:#fde68a;
  color:#92400e;
  padding:10px 16px;
  text-align:center;
  font-size:.95rem;
}