/* assets/css/pages/contact.css */

/* Small Hero override (same approach you asked) */


/* Hero Section */
.hero {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--olive-leaf-4);
  opacity: 0.65;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--white);
  width: 100%;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 5vw, 4rem);
  margin-bottom: 20px;
  animation: fadeIn 0.8s ease-out;
}

.hero-subtitle {
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  margin-bottom: 32px;
  opacity: 0.95;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  animation: fadeIn 0.8s ease-out 0.2s both;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;

  padding: 16px 32px;
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
  border-radius: var(--button-radius);
  text-decoration: none;

  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 600;
  line-height: 1;

  cursor: pointer;
  transition: var(--transition-smooth);

  /* ✅ pushes CTA a bit down + prevents overlap with scroll indicator */
  margin-top: 18px;
  margin-bottom: 90px;

  white-space: nowrap;
  will-change: transform;

  animation: fadeInUp 0.8s ease-out 0.4s both;
  position: relative;
  z-index: 2;
}

.hero-cta:hover {
  background: var(--golden-bronze);
  border-color: var(--golden-bronze);
  color: var(--white);
  transform: translateY(-2px);
}

.hero-cta:focus-visible {
  outline: 3px solid rgba(255, 255, 255, 0.6);
  outline-offset: 3px;
  background: var(--golden-bronze);
  border-color: var(--golden-bronze);
}

.hero-cta:active {
  transform: translateY(0);
}

@media (max-width: 768px) {
  .hero-cta {
    margin-top: 14px;
    margin-bottom: 72px;
    padding: 14px 26px;
    font-size: 15px;
  }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-cta {
    animation: none !important;
    transition: none !important;
  }
}

.hero.hero--small{
  min-height: 380px;
  padding: 80px 0;
}
.hero.hero--small .hero-title{
  margin-bottom: 14px;
  font-size: clamp(2rem, 4vw, 3rem);
}
.hero.hero--small .hero-subtitle{
  margin-bottom: 22px;
  max-width: 720px;
  font-size: clamp(1rem, 2vw, 1.15rem);
}
.hero.hero--small .hero-cta{
  margin-top: 10px;
  margin-bottom: 0;
  padding: 14px 28px;
}
@media (max-width: 991px){
  .hero.hero--small{ min-height: 320px; padding: 70px 0; }
}
@media (max-width: 768px){
  .hero.hero--small{ min-height: 260px; padding: 56px 0; }
  .hero.hero--small .hero-title{ font-size: clamp(1.7rem, 6vw, 2.2rem); }
  .hero.hero--small .hero-subtitle{ padding: 0 16px; margin-bottom: 18px; }
  .hero.hero--small .hero-cta{ padding: 13px 22px; font-size: 15px; }
}
@media (prefers-reduced-motion: reduce){
  .hero.hero--small .hero-title,
  .hero.hero--small .hero-subtitle,
  .hero.hero--small .hero-cta{
    animation: none !important;
    transition: none !important;
  }
}

/* Contact Page Layout */
.section{
  padding: var(--section-spacing-desktop) 0;
}
@media (max-width: 991px){
  .section{ padding: var(--section-spacing-tablet) 0; }
}
@media (max-width: 767px){
  .section{ padding: var(--section-spacing-mobile) 0; }
}

.contact-grid{
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
  align-items: start;
}

.contact-tag{
  display: inline-block;
  padding: 8px 16px;
  background: transparent;
  color: var(--golden-bronze);
  border: 1px solid var(--golden-bronze);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 16px;
}

.contact-heading{
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3vw, 2.3rem);
  color: var(--olive-leaf);
  margin-bottom: 14px;
}

.contact-text{
  font-size: 16px;
  line-height: 1.7;
  color: var(--olive-leaf-2);
  margin-bottom: 18px;
}

.contact-link-inline{
  color: var(--golden-bronze);
  text-decoration: none;
  font-weight: 600;
}
.contact-link-inline:hover,
.contact-link-inline:focus{
  text-decoration: underline;
}

.contact-lines{
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 22px;
}

.contact-line{
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: var(--olive-leaf);
  font-weight: 600;
  transition: var(--transition-smooth);
}
.contact-line:hover,
.contact-line:focus{
  color: var(--golden-bronze);
  text-decoration: underline;
}

.office-blocks{
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.office-card{
  background: var(--white);
  border-radius: var(--border-radius);
  box-shadow: 0 4px 18px rgba(0,0,0,0.06);
  padding: 18px;
  border: 1px solid rgba(0,0,0,0.06);
}

.office-title{
  font-family: var(--font-heading);
  font-size: 1.1rem;
  margin: 0 0 10px;
  color: var(--olive-leaf);
}

.office-address{
  margin: 0;
  font-style: normal;
  color: var(--olive-leaf-2);
  line-height: 1.6;
  font-size: 15px;
}

.contact-visual{
  position: relative;
}
.contact-visual-img{
  width: 100%;
  height: 520px;
  object-fit: cover;
  border-radius: var(--border-radius);
  display: block;
  box-shadow: 0 10px 30px rgba(0,0,0,0.10);
}

/* Map Section */
.contact-map{
  background: var(--white);
}
.location-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.location-title{
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3vw, 2.2rem);
  color: var(--olive-leaf);
  margin-bottom: 10px;
}
.location-subtitle{
  color: var(--olive-leaf-2);
  margin-bottom: 18px;
  line-height: 1.6;
}
.location-address{
  margin: 0 0 18px;
  font-style: normal;
  color: var(--olive-leaf-2);
  line-height: 1.6;
}

.contact-map-btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-radius: var(--button-radius);
  background: transparent;
  border: 2px solid var(--golden-bronze);
  color: var(--olive-leaf);
  text-decoration: none;
  font-weight: 700;
  transition: var(--transition-smooth);
}
.contact-map-btn:hover,
.contact-map-btn:focus{
  background: var(--golden-bronze);
  color: var(--white);
  transform: translateY(-2px);
}

.location-map{
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: 0 8px 26px rgba(0,0,0,0.10);
  height: 380px;
  background: #f4f4f4;
}
.map-frame,
.map-frame iframe{
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* CTA */
.contact-cta{
  position: relative;
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.contact-cta .cta-background{
  position: absolute;
  inset: 0;
  z-index: 1;
}
.contact-cta .cta-background img{
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.contact-cta .cta-overlay{
  position: absolute;
  inset: 0;
  background: var(--olive-leaf-4);
  opacity: 0.65;
}
.contact-cta .cta-content{
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--white);
}
.contact-cta .cta-title{
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  margin-bottom: 10px;
}
.contact-cta .cta-subtitle{
  max-width: 760px;
  margin: 0 auto 22px;
  opacity: 0.95;
  line-height: 1.6;
}

/* Form */
.get-in-touch{
  background: #f9f9f9;
}
.contact-form-card{
  max-width: 860px;
  margin: 0 auto;
  background: var(--white);
  border-radius: var(--border-radius);
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  padding: 40px;
}
.contact-form-title{
  font-family: var(--font-heading);
  color: var(--olive-leaf);
  font-size: clamp(1.6rem, 2.6vw, 2rem);
  margin: 0 0 10px;
  text-align: center;
}
.contact-form-subtitle{
  text-align: center;
  color: var(--olive-leaf-2);
  margin: 0 0 26px;
  line-height: 1.6;
}

.contact-form-grid{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.form-field.full-width{ grid-column: 1 / -1; }
.form-field.half-width{ grid-column: span 1; }

.form-status{
  margin-top: 16px;
  font-weight: 600;
  text-align: center;
}
.form-status.is-success{ color: #1b7a3a; }
.form-status.is-error{ color: #b32020; }

.hp-field{
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

@media (max-width: 991px){
  .contact-grid{ grid-template-columns: 1fr; gap: 34px; }
  .contact-visual-img{ height: 380px; }
  .location-grid{ grid-template-columns: 1fr; gap: 28px; }
  .location-map{ height: 300px; }
  .contact-form-card{ padding: 32px; }
}

@media (max-width: 767px){
  .contact-visual-img{ height: 280px; }
  .location-map{ height: 260px; }
  .contact-form-card{ padding: 24px; }
  .contact-form-grid{ grid-template-columns: 1fr; }
}

/* Reduce motion */
@media (prefers-reduced-motion: reduce){
  .contact-map-btn,
  .hero-cta{
    transition: none !important;
  }
}
