/* ====================================================
 *  Custom Styles – Rich & High-Quality
 *  This file overrides default theme styles and adds
 *  polished visuals, modern UI patterns, and animations.
 *  Author: Simple Theme
 * ==================================================== */

/* -------- Global Variables & Resets -------- */
:root {
  /* Brand Colors */
  --color-primary: #008080;
  --color-primary-dark: #008080;
  --color-secondary: #6c757d;
  --color-accent: #f39c12;
  --color-light: #f8f9fa;
  --color-dark: #212529;
  --color-muted: #6c757d;

  /* Typography */
  --font-base: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
  --base-font-size: 16px;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 15px 30px rgba(0, 0, 0, 0.15);

  /* Transitions */
  --transition-base: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  font-size: var(--base-font-size);
}

body {
  font-family: var(--font-base);
  line-height: 1.7;
  color: var(--color-dark);
  background-color: #ffffff;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* --------------------------------------------
   Page Hero
--------------------------------------------- */
.page-hero {
  background-image: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  color: #fff;
  padding: 5rem 0 4rem;
}

.page-title {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  margin: 0;
}

/* --------------------------------------------
   Typography
--------------------------------------------- */
.entry-content p,
.section p,
.container.prose p {
  margin-bottom: 1.75rem;
  line-height: 1.7;
}

.entry-content ul,
.section ul,
.entry-content ol,
.section ol,
.container.prose ul,
.container.prose ol {
  margin-bottom: 2rem;
  padding-left: 1.5rem;
}

.entry-content ul li::marker,
.section ul li::marker,
.container.prose ul li::marker,
.entry-content ol li::marker,
.section ol li::marker,
.container.prose ol li::marker {
  color: var(--color-primary);
}

.entry-content li,
.section li,
.container.prose li {
  margin-bottom: 0.75rem;
  line-height: 1.6;
}

.section blockquote,
blockquote {
  margin: 2rem 0;
  padding: 1.5rem 1.5rem 1.5rem 1.25rem;
  border-left: 4px solid var(--color-primary);
  background-color: #f9fafb;
  color: #374151;
  font-style: italic;
}

blockquote > p:last-child {
  margin-bottom: 0;
}

pre,
code {
  font-family: SFMono-Regular, Consolas, 'Liberation Mono', Menlo, monospace;
  font-size: 0.95rem;
  background: #f1f5f9;
}

pre {
  padding: 1rem 1.25rem;
  overflow-x: auto;
  border-radius: 0.25rem;
  margin-bottom: 2rem;
}

hr {
  border: none;
  border-top: 1px solid #e5e7eb;
  margin: 3rem 0;
}

/* --------------------------------------------
   Header
--------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(12px);
  background: rgba(255, 255, 255, 0.8);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-base);
}

.site-header:hover {
  box-shadow: var(--shadow-md);
}

/* Logo */
.custom-logo-link img {
  max-height: 48px;
  height: auto;
  width: auto;
}

@media (max-width: 768px) {
  .header-inner {
    padding: 0.4rem 0;
  }
  .custom-logo-link img {
  height: 34px;
  }
}

/* Navigation */
.primary-navigation ul {
  display: flex;
  gap: 2rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

.primary-navigation a {
  position: relative;
  display: inline-block;
  padding: 0.25rem 0;
  color: var(--color-dark);
  text-decoration: none;
  font-weight: 500;
  transition: color var(--transition-base);
}

.primary-navigation a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 2px;
  background: var(--color-primary);
  transition: width var(--transition-base);
}

.primary-navigation a:hover {
  color: var(--color-primary);
}

.primary-navigation a:hover::after {
  width: 100%;
}

/* --------------------------------------------
   Navigation (Global Header)
--------------------------------------------- */
.site-navigation {
  margin-left: auto;
}

.site-navigation .front-page-nav,
.site-navigation .primary-page-nav {
  display: flex;
  gap: 1rem;
  align-items: center;
  list-style: none;
  padding: 0;
  margin: 0;
}

.site-navigation .nav-link {
  position: relative;
  display: inline-block;
  padding: 0.25rem 0;
  color: var(--color-dark);
  font-weight: 500;
  text-decoration: none;
  transition: color var(--transition-base);
}

.site-navigation .nav-link:hover,
.site-navigation .nav-link:focus {
  color: var(--color-primary);
}


/* Hamburger (mobile) */
.menu-toggle {
  display: none;
  background: transparent;
  border: none;
  padding: 0.5rem;
  cursor: pointer;
}

.menu-toggle .hamburger-line {
  width: 24px;
  height: 2px;
  background: var(--color-dark);
  margin: 4px 0;
  transition: transform var(--transition-base), opacity var(--transition-base);
}

.menu-toggle[aria-expanded="true"] .hamburger-line:nth-child(1) {
  transform: translateY(10px) rotate(45deg);
}
.menu-toggle[aria-expanded="true"] .hamburger-line:nth-child(2) {
  opacity: 0;
}
.menu-toggle[aria-expanded="true"] .hamburger-line:nth-child(3) {
  transform: translateY(-10px) rotate(-45deg);
}

/* Mobile overlay */
.mobile-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(0, 0, 0, 0.4);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-base);
  z-index: 0;
}
.mobile-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* Responsive nav */
@media (max-width: 991.98px) {
  .menu-toggle {
    display: inline-flex;
    flex-direction: column;
    gap: 0px;
  }

  .site-navigation {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    max-width: unset;
    height: 100vh;
    padding: 8rem 2rem;
    background: #ffffff;
    box-shadow: var(--shadow-lg);
    transform: translateX(100%);
    transition: tr01100;
  }

  .site-navigation.active {
    transform: translateX(0);
  }

  .site-navigation .front-page-nav,
  .site-navigation .primary-page-nav {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
  }
}

@media (min-width: 992px) {
  .site-navigation {
    position: static;
    transform: none !important;
    width: auto;
    height: auto;
    background: transparent;
    box-shadow: none;
    padding: 0;
  }

  .site-navigation .front-page-nav,
  .site-navigation .primary-page-nav {
    flex-direction: row;
  }
}

/* --------------------------------------------
   Buttons
--------------------------------------------- */
.button {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 50rem;
  transition: transform var(--transition-base), box-shadow var(--transition-base);
  text-align: center;
  text-decoration: none;
  background-color: rgba(156, 156, 156, 0.3);
}

.button-primary {
  background-image: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  color: #fff;
  box-shadow: var(--shadow-sm);
  border: none;
}

.button-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.button-outline {
  border: 2px solid var(--color-primary);
  color: var(--color-primary);
}

.button-outline:hover {
  background: var(--color-primary);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* Small button variant used inside cards */
.card-more {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.5rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 600;
  border: 2px solid var(--color-primary);
  color: var(--color-primary);
  border-radius: 50rem;
  line-height: 1;
  transition: transform var(--transition-base), background var(--transition-base), color var(--transition-base), box-shadow var(--transition-base);
}

.card-more:hover {
  background: var(--color-primary);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* --------------------------------------------
   Hero Section
--------------------------------------------- */
.hero-section {
  position: relative;
  padding: 6rem 0 7rem;
  background: linear-gradient(135deg, rgba(0, 123, 123, 0.07) 0%, #ffffff 100%);
  overflow: hidden;
}

.hero-title {
  font-size: clamp(1.9rem, 6vw, 3rem);
  font-weight: 900;
  line-height: 1.4;
  color: var(--color-dark);
}

.hero-description {
  font-size: 1.25rem;
  max-width: unset;
  margin-bottom: 0rem;
  color: var(--color-dark);
}

/* --------------------------------------------
   Hero Key Visual Layout
--------------------------------------------- */
.hero-container{
  min-height: 100%;
  display:flex;
  position: relative;
  z-index: 2;
  flex-direction: column;
}

.hero-text{
  position: relative;
  z-index: 3;
  flex:1 1 1;
  min-width:280px;
}
.hero-slideshow{
  /* opacity handled via overlay */
  z-index: 1;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 0;
  box-shadow: none;
  aspect-ratio: auto;
  pointer-events: none;
}

/* --------------------------------------------
   Hero Slideshow Overlay Tint
--------------------------------------------- */
.hero-slideshow::after{
  content: "";
  position: absolute;
  inset: 0;
  background: #fff;
  opacity: 0.7; /* adjust intensity */
  pointer-events: none;
}

.hero-slideshow img{
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1s ease;
}
/* show the current slide */
.auto-fade-slideshow .slide.active{
  opacity: 1;
}

@media (max-width: 768px) {
  .hero-slideshow {
    height: 100%;
  }
}

/* --------------------------------------------
   Bottom Slider Section
--------------------------------------------- */
.bottom-slider-section{
  overflow: hidden;
  background:linear-gradient(135deg, rgba(0,123,123,0.05) 0%, #ffffff 100%);
}
.bottom-carousel{display:flex;gap:0;height:240px;} .bottom-carousel .slide{flex:0 0 auto;height:100%;object-fit:cover;}
.auto-scroll-carousel{animation:carousel-scroll 40s linear infinite;}
@keyframes carousel-scroll{from{transform:translateX(0);}to{transform:translateX(-33.3333%);} }


/* --------------------------------------------
   Sections
--------------------------------------------- */
.section {
  padding: 4rem 0;
}

.section-title {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: 3rem;
}

.section-title .en {
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--color-primary);
  text-transform: uppercase;
}

.section-title .ja {
  font-size: 2rem;
  font-weight: 900;
  color: var(--color-dark);
  margin-top: 0.25rem;
}

.section.flex {
  display: flex;
  flex-direction: column;
  max-width: 1200px;
  margin: auto;
  background: none;
  padding-bottom: 0;
}

.section.flex:last-child {
  padding-bottom: 4rem;
}

/* --------------------------------------------
   Service Section Images
--------------------------------------------- */
.service-img {
  width: 100%;
  height: auto;
  border-radius: 0.75rem;
  margin-bottom: 2rem;
  object-fit: cover;
}

@media (max-width: 768px) {
  .service-img {
    border-radius: 0rem;
  }
}

/* --------------------------------------------
   Cards
--------------------------------------------- */
.card {
  background: #ffffff;
  border-radius: 0.75rem;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  margin-bottom: 0;
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.card-img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.card-body {
  padding: 1.5rem;
}

.card-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.card-text {
  font-size: 0.95rem;
  color: var(--color-muted);
}

/* --------------------------------------------
   Footer
--------------------------------------------- */
.footer-company-info h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: #fff;
}

.footer-company-info p,
.footer-company-info a {
  font-size: 0.95rem;
  color: #ddd;
  margin: 0.25rem 0;
  text-decoration: none;
}

.footer-company-info a:hover {
  color: #fff;
}

.site-footer {
  background: #111;
  color: #eee;
  position: relative;
  overflow: hidden;
}

.site-footer::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -25%;
  width: 150%;
  height: 200%;
  background: linear-gradient(135deg, var(--color-primary-dark) 0%, transparent 70%);
  opacity: 0.05;
  z-index: -1;
}

.footer-content {
  padding: 3rem 0;
  display: grid;
  gap: 1.5rem;
}

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

.footer-widget-area h2 {
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 1rem;
  color: #fff;
}

.footer-menu ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-menu a {
  color: #ddd;
  text-decoration: none;
  font-size: 0.9rem;
  transition: color var(--transition-base);
}

.footer-menu a:hover {
  color: #fff;
}

/* Footer Nav – 2 Column Sitemap (Without Heading) */
.footer-nav {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}

.footer-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
}

.footer-nav .nav-col {
  flex-direction: column;
}

.footer-nav .nav-col li {
  width: 100%; /* full width inside column */
}

@media (max-width: 480px) {
  .footer-nav li {
    width: 100%; /* single column on very small screens */
  }
}

.footer-nav a {
  color: #ddd;
  text-decoration: none;
  font-size: 0.9rem;
  transition: color var(--transition-base);
}

.footer-nav a:hover {
  color: #fff;
}

/* Copyright */
.copyright {
  background: rgba(0, 0, 0, 0.85);
  padding: 1rem 0;
  text-align: center;
  font-size: 0.875rem;
}

/* --------------------------------------------
   Animations – Reveal on Scroll
--------------------------------------------- */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

[data-animate="fade-up"] {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

[data-animate="fade-up"].is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Utility */
.text-center { text-align: center; }
.text-right { text-align: right; }
.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }

/* ===============================
   Additional Rich Styles (2025) 
   =============================== */

:root {
  /* Additional palette from reference */
  --highlight-color: #e94560;
  --gradient-1: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  --gradient-dark: linear-gradient(135deg, #004f4f 0%, #002a2a 100%);
}

/* Loader */
.loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gradient-dark);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  animation: fadeOut 1s forwards 2s;
}

@keyframes fadeOut {
  to { opacity: 0; visibility: hidden; }
}

.loader-logo {
  font-size: 3rem;
  font-weight: bold;
  color: #fff;
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0%,100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.1); opacity: .8; }
}

/* Header Scrolled */
.site-header.scrolled {
  box-shadow: var(--shadow-md);
}

/* Particles */
.particle {
  position: absolute;
  background: #fff;
  border-radius: 50%;
  opacity: 0.5;
  animation: float 20s linear infinite;
}

@keyframes float {
  from { transform: translateY(100vh) rotate(0deg); }
  to   { transform: translateY(-100vh) rotate(360deg); }
}

/* Scroll Top */
.scroll-top,
#backToTop {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 50px;
  height: 50px;
  background: var(--gradient-1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all .3s ease;
  box-shadow: 0 5px 20px rgba(0,123,123,.35);
  z-index: 900;
}

.scroll-top.visible,#backToTop.visible {
  opacity: 1;
  visibility: visible;
  border: none;
}

.scroll-top:hover,#backToTop:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0,123,123,.6);
}

/* Mobile Nav Slide */
.primary-navigation.open {
  right: 0;
}

@media (max-width: 768px) {
  .primary-navigation {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    height: 100vh;
    background: var(--color-primary, #1a1a2e);
    flex-direction: column;
    padding: 5rem 2rem;
    transition: right .3s ease;
    gap: 1.5rem;
  }

  .primary-navigation a {
    font-size: 1.2rem;
  }
}

/* Contact Form layout grid */
.contact-page .form-grid {
  display: grid;
  gap: 1.5rem 2rem;
}

/* Two-column layout for screens >= 768px */
@media (min-width: 768px) {
  .contact-page .form-grid {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }
  /* Make message textarea & consent & submit span full width */
  .contact-page .form-grid p:nth-last-child(3), /* textarea wrapper (5th item) */
  .contact-page .form-grid .consent,
  .contact-page .form-grid .submit-btn {
    grid-column: 1 / -1;
  }
}

/* Align submit button center */
.contact-page .submit-btn {
  text-align: center;
}

/* --------------------------------------------
   Static Page Hero (No Slideshow)
--------------------------------------------- */
.hero-section.page-hero {
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
  height: 60vh;
  padding: 0;
  display: flex;
  align-items: center;
}

.hero-section.page-hero.no-hero {
  height: 20vh;
}

/* remove decorative swirl for static heroes */
.hero-section.page-hero::before {
  display: none;
}

/* color overlay */
.hero-section.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: #fff;
  opacity: 0.6; /* match hero overlay */
  pointer-events: none;
}

/* ensure text layers above overlay */
.hero-section.page-hero .container {
  position: relative;
  z-index: 2;
}

/* --------------------------------------------
   Breadcrumb
--------------------------------------------- */
.breadcrumb {
  font-size: 0.9rem;
  margin: 0 auto 0rem;
  padding: 0.5rem 0.5rem;
  background: #222;
}
.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
  margin: auto;
  padding: 0;
  max-width: 1200px;
}
.breadcrumb li {
  color: #fff;
}
.breadcrumb li+li:before {
  content: "/";
  margin-right: 0.5rem;
  color: #fff;
}
.breadcrumb a {
  color: var(--color-primary);
  text-decoration: none;
  text-decoration: underline;
}
.breadcrumb a:hover {
  text-decoration: underline;
}


/* --------------------------------------------
   Company Section
--------------------------------------------- */
.company-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 1rem;
  margin-bottom: 2rem;
}
.company-table th,
.company-table td {
  padding: 0.75rem 1rem;
  border: 1px solid #e5e7eb;
}
.company-table th {
  width: 30%;
  background: #f1f5f9;
  font-weight: 600;
  color: var(--color-dark);
  text-align: left;
}
.company-table td {
  background: #ffffff;
}
@media (max-width: 600px) {
  .company-table th {
    width: 40%;
  }
}

.map-embed {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 0.5rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.map-embed iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* --------------------------------------------
   About List Section
--------------------------------------------- */
.entry-content .about-list{
  list-style: none;
  margin: 2rem 0;
  padding: 0;
  display: grid;
  gap: 2rem;
  padding-left: 0;
  margin-bottom: 0;
}

/* 3 カラム（768px〜） */
@media (min-width: 768px){
  .entry-content .about-list{
    grid-template-columns: repeat(3,1fr);
  }
}

.entry-content .about-list li{
  background: #f8fafc;               /* 淡いグレー */
  border-radius: .5rem;
  box-shadow: 0 2px 6px rgba(0,0,0,.05);
  padding: 1.5rem 2rem;
  height: 100%;
}

.entry-content .about-list li strong{
  display: block;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--color-primary, #0066cc);
  margin-bottom: .75rem;
  line-height: 1.5;
}

.entry-content .about-list li p{
  margin: 0;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--color-dark, #333);
}

/* --------------------------------------------
   Contact Form (Table Layout)
--------------------------------------------- */

/* Form Wrapper */
.contact-form-wrapper {
  background: #f8fafc;
  border: 1px solid #e5e7eb;
  border-radius: 0.75rem;
  padding: 2rem;
  margin: 2rem auto;
  max-width: 800px;
  box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05);
}

/* Form Table */
.contact-form-wrapper .contact-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1.5rem;
}

.contact-form-wrapper .contact-table th,
.contact-form-wrapper .contact-table td {
  padding: 1rem;
  border-bottom: 1px solid #e5e7eb;
  text-align: left;
}

.contact-form-wrapper .contact-table tr:last-child th,
.contact-form-wrapper .contact-table tr:last-child td {
  border-bottom: none;
}

.contact-form-wrapper .contact-table th {
  width: 30%;
  font-weight: 600;
  vertical-align: top;
  padding-top: 1.25rem;
}

/* Required Badge */
.contact-form-wrapper .required {
  display: inline-block;
  background: var(--color-primary, #007b7b);
  color: #fff;
  font-size: 0.75rem;
  padding: 2px 8px;
  border-radius: 99px;
  margin-right: 0.5rem;
  font-weight: normal;
  vertical-align: middle;
}

/* Input Fields */
.contact-form-wrapper input[type="text"],
.contact-form-wrapper input[type="email"],
.contact-form-wrapper input[type="tel"],
.contact-form-wrapper textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid #d1d5db;
  border-radius: 0.375rem;
  font-size: 1rem;
  background: #fff;
  transition: border-color .2s ease, box-shadow .2s ease;
}

.contact-form-wrapper input:focus,
.contact-form-wrapper textarea:focus {
  outline: none;
  border-color: var(--color-primary, #007b7b);
  box-shadow: 0 0 0 3px rgba(0, 123, 123, 0.15);
}

.contact-form-wrapper textarea {
  min-height: 150px;
  resize: vertical;
}

/* Consent & Submit */
.privacy-policy-consent {
  text-align: center;
  margin: 1.5rem 0;
  font-size: 0.875rem;
}
.privacy-policy-consent .wpcf7-list-item {
  margin: 0;
}
.privacy-policy-consent a {
  color: var(--color-primary);
  text-decoration: underline;
}

.submit-button-wrapper {
  text-align: center;
}

.contact-form-wrapper .wpcf7-submit {
  /* Re-use button styles from theme */
  display: inline-block;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  border: 1px solid transparent;
  padding: 0.75rem 2.5rem;
  font-size: 1rem;
  border-radius: 0.375rem;
  transition: all .2s ease-in-out;
  background-color: var(--color-primary, #007b7b);
  color: #ffffff;
}
.contact-form-wrapper .wpcf7-submit:hover {
  opacity: 0.9;
}

/* Responsive (Mobile) */
@media (max-width: 768px) {
  .contact-form-wrapper {
    padding: 1.5rem;
  }
  .contact-form-wrapper .contact-table th,
  .contact-form-wrapper .contact-table td {
    display: block;
    width: 100%;
    padding-left: 0;
    padding-right: 0;
  }
  .contact-form-wrapper .contact-table th {
    padding-bottom: 0.5rem;
    border-bottom: none;
    padding-top: 1rem;
  }
  .contact-form-wrapper .contact-table td {
    padding-top: 0;
  }
  .contact-form-wrapper .contact-table th p,.contact-form-wrapper .contact-table td p {
    margin-bottom: 4px;
  }
}